Dagger
Search

dagger-dev

https://dagger.io

Installation

dagger install github.com/dagger/dagger/dev@77739574bf7c598abf7a8f22e6697eaf2c19f8b4

Entrypoint

Return Type
DaggerDev !
Arguments
NameTypeDescription
sourceDirectory !No description provided
versionString No description provided
dockerCfgSecret No description provided
Example
func (m *myModule) example(source *Directory) *DaggerDev  {
	return dag.
			DaggerDev(source)
}
@function
def example(source: dagger.Directory, ) -> dag.DaggerDev:
	return (
		dag.dagger_dev(source)
	)
@func()
example(source: Directory, ): DaggerDev {
	return dag
		.daggerDev(source)
}

Types

DaggerDev 🔗

A dev environment for the DaggerDev Engine

version() 🔗

Return Type
DaggerDevVersionInfo !
Example
func (m *myModule) example(source *Directory) *DaggerDevVersionInfo  {
	return dag.
			DaggerDev(source).
			Version()
}
@function
def example(source: dagger.Directory, ) -> dag.DaggerDevVersionInfo:
	return (
		dag.dagger_dev(source)
		.version()
	)
@func()
example(source: Directory, ): DaggerDevVersionInfo {
	return dag
		.daggerDev(source)
		.version()
}

check() 🔗

Check that everything works. Use this as CI entrypoint.

Return Type
Void !
Example
func (m *myModule) example(ctx context.Context, source *Directory)   {
	return dag.
			DaggerDev(source).
			Check(ctx)
}
@function
async def example(source: dagger.Directory, ) -> None:
	return await (
		dag.dagger_dev(source)
		.check()
	)
@func()
async example(source: Directory, ): Promise<void> {
	return dag
		.daggerDev(source)
		.check()
}

cli() 🔗

Develop the Dagger CLI

Return Type
DaggerDevCli !
Example
func (m *myModule) example(source *Directory) *DaggerDevCli  {
	return dag.
			DaggerDev(source).
			Cli()
}
@function
def example(source: dagger.Directory, ) -> dag.DaggerDevCli:
	return (
		dag.dagger_dev(source)
		.cli()
	)
@func()
example(source: Directory, ): DaggerDevCli {
	return dag
		.daggerDev(source)
		.cli()
}

go() 🔗

Dagger’s Go toolchain

Return Type
DaggerDevGoToolchain !
Example
func (m *myModule) example(source *Directory) *DaggerDevGoToolchain  {
	return dag.
			DaggerDev(source).
			Go()
}
@function
def example(source: dagger.Directory, ) -> dag.DaggerDevGoToolchain:
	return (
		dag.dagger_dev(source)
		.go()
	)
@func()
example(source: Directory, ): DaggerDevGoToolchain {
	return dag
		.daggerDev(source)
		.go()
}

engine() 🔗

Develop the Dagger engine container

Return Type
DaggerDevEngine !
Example
func (m *myModule) example(source *Directory) *DaggerDevEngine  {
	return dag.
			DaggerDev(source).
			Engine()
}
@function
def example(source: dagger.Directory, ) -> dag.DaggerDevEngine:
	return (
		dag.dagger_dev(source)
		.engine()
	)
@func()
example(source: Directory, ): DaggerDevEngine {
	return dag
		.daggerDev(source)
		.engine()
}

docs() 🔗

Develop the Dagger documentation

Return Type
DaggerDevDocs !
Example
func (m *myModule) example(source *Directory) *DaggerDevDocs  {
	return dag.
			DaggerDev(source).
			Docs()
}
@function
def example(source: dagger.Directory, ) -> dag.DaggerDevDocs:
	return (
		dag.dagger_dev(source)
		.docs()
	)
@func()
example(source: Directory, ): DaggerDevDocs {
	return dag
		.daggerDev(source)
		.docs()
}

scripts() 🔗

Run Dagger scripts

Return Type
DaggerDevScripts !
Example
func (m *myModule) example(source *Directory) *DaggerDevScripts  {
	return dag.
			DaggerDev(source).
			Scripts()
}
@function
def example(source: dagger.Directory, ) -> dag.DaggerDevScripts:
	return (
		dag.dagger_dev(source)
		.scripts()
	)
@func()
example(source: Directory, ): DaggerDevScripts {
	return dag
		.daggerDev(source)
		.scripts()
}

test() 🔗

Run all tests

Return Type
DaggerDevTest !
Example
func (m *myModule) example(source *Directory) *DaggerDevTest  {
	return dag.
			DaggerDev(source).
			Test()
}
@function
def example(source: dagger.Directory, ) -> dag.DaggerDevTest:
	return (
		dag.dagger_dev(source)
		.test()
	)
@func()
example(source: Directory, ): DaggerDevTest {
	return dag
		.daggerDev(source)
		.test()
}

sdk() 🔗

Develop Dagger SDKs

Return Type
DaggerDevSdk !
Example
func (m *myModule) example(source *Directory) *DaggerDevSdk  {
	return dag.
			DaggerDev(source).
			Sdk()
}
@function
def example(source: dagger.Directory, ) -> dag.DaggerDevSdk:
	return (
		dag.dagger_dev(source)
		.sdk()
	)
@func()
example(source: Directory, ): DaggerDevSdk {
	return dag
		.daggerDev(source)
		.sdk()
}

helm() 🔗

Develop the Dagger helm chart

Return Type
DaggerDevHelm !
Example
func (m *myModule) example(source *Directory) *DaggerDevHelm  {
	return dag.
			DaggerDev(source).
			Helm()
}
@function
def example(source: dagger.Directory, ) -> dag.DaggerDevHelm:
	return (
		dag.dagger_dev(source)
		.helm()
	)
@func()
example(source: Directory, ): DaggerDevHelm {
	return dag
		.daggerDev(source)
		.helm()
}

dev() 🔗

Creates a dev container that has a running CLI connected to a dagger engine

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
targetDirectory -Mount a directory into the container's workdir, for convenience
experimentalGpusupportBoolean -Enable experimental GPU support
Example
func (m *myModule) example(source *Directory) *Container  {
	return dag.
			DaggerDev(source).
			Dev()
}
@function
def example(source: dagger.Directory, ) -> dagger.Container:
	return (
		dag.dagger_dev(source)
		.dev()
	)
@func()
example(source: Directory, ): Container {
	return dag
		.daggerDev(source)
		.dev()
}

DaggerDevCli 🔗

file() 🔗

Build the CLI binary

Return Type
File !
Arguments
NameTypeDefault ValueDescription
platformScalar -No description provided
Example
func (m *myModule) example() *File  {
	return dag.
			DaggerDev().
			Cli().
			File()
}
@function
def example() -> dagger.File:
	return (
		dag.dagger_dev()
		.cli()
		.file()
	)
@func()
example(): File {
	return dag
		.daggerDev()
		.cli()
		.file()
}

publish() 🔗

Publish the CLI using GoReleaser

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
gitDirDirectory !-No description provided
githubOrgNameString !-No description provided
githubTokenSecret !-No description provided
goreleaserKeySecret !-No description provided
awsAccessKeyIdSecret !-No description provided
awsSecretAccessKeySecret !-No description provided
awsRegionSecret !-No description provided
awsBucketSecret !-No description provided
artefactsFqdnSecret !-No description provided
Example
func (m *myModule) example(ctx context.Context, gitDir *Directory, githubOrgName string, githubToken *Secret, goreleaserKey *Secret, awsAccessKeyId *Secret, awsSecretAccessKey *Secret, awsRegion *Secret, awsBucket *Secret, artefactsFqdn *Secret)   {
	return dag.
			DaggerDev().
			Cli().
			Publish(ctx, gitDir, githubOrgName, githubToken, goreleaserKey, awsAccessKeyId, awsSecretAccessKey, awsRegion, awsBucket, artefactsFqdn)
}
@function
async def example(git_dir: dagger.Directory, github_org_name: str, github_token: dagger.Secret, goreleaser_key: dagger.Secret, aws_access_key_id: dagger.Secret, aws_secret_access_key: dagger.Secret, aws_region: dagger.Secret, aws_bucket: dagger.Secret, artefacts_fqdn: dagger.Secret) -> None:
	return await (
		dag.dagger_dev()
		.cli()
		.publish(git_dir, github_org_name, github_token, goreleaser_key, aws_access_key_id, aws_secret_access_key, aws_region, aws_bucket, artefacts_fqdn)
	)
@func()
async example(gitDir: Directory, githubOrgName: string, githubToken: Secret, goreleaserKey: Secret, awsAccessKeyId: Secret, awsSecretAccessKey: Secret, awsRegion: Secret, awsBucket: Secret, artefactsFqdn: Secret): Promise<void> {
	return dag
		.daggerDev()
		.cli()
		.publish(gitDir, githubOrgName, githubToken, goreleaserKey, awsAccessKeyId, awsSecretAccessKey, awsRegion, awsBucket, artefactsFqdn)
}

testPublish() 🔗

Verify that the CLI builds without actually publishing anything

Return Type
Void !
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			DaggerDev().
			Cli().
			TestPublish(ctx)
}
@function
async def example() -> None:
	return await (
		dag.dagger_dev()
		.cli()
		.test_publish()
	)
@func()
async example(): Promise<void> {
	return dag
		.daggerDev()
		.cli()
		.testPublish()
}

DaggerDevGoToolchain 🔗

withCodegen() 🔗

Run codegen (equivalent to dagger develop) in the specified subdirectories

Return Type
DaggerDevGoToolchain !
Arguments
NameTypeDefault ValueDescription
subdirs[String ! ] !-No description provided
Example
func (m *myModule) example(subdirs []string) *DaggerDevGoToolchain  {
	return dag.
			DaggerDev().
			Go().
			WithCodegen(subdirs)
}
@function
def example(subdirs: List[str]) -> dag.DaggerDevGoToolchain:
	return (
		dag.dagger_dev()
		.go()
		.with_codegen(subdirs)
	)
@func()
example(subdirs: string[]): DaggerDevGoToolchain {
	return dag
		.daggerDev()
		.go()
		.withCodegen(subdirs)
}

env() 🔗

Return Type
Container !
Example
func (m *myModule) example() *Container  {
	return dag.
			DaggerDev().
			Go().
			Env()
}
@function
def example() -> dagger.Container:
	return (
		dag.dagger_dev()
		.go()
		.env()
	)
@func()
example(): Container {
	return dag
		.daggerDev()
		.go()
		.env()
}

lint() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
packages[String ! ] !-No description provided
allBoolean -No description provided
Example
func (m *myModule) example(ctx context.Context, packages []string)   {
	return dag.
			DaggerDev().
			Go().
			Lint(ctx, packages)
}
@function
async def example(packages: List[str]) -> None:
	return await (
		dag.dagger_dev()
		.go()
		.lint(packages)
	)
@func()
async example(packages: string[]): Promise<void> {
	return dag
		.daggerDev()
		.go()
		.lint(packages)
}

DaggerDevEngine 🔗

withConfig() 🔗

Return Type
DaggerDevEngine !
Arguments
NameTypeDefault ValueDescription
keyString !-No description provided
valueString !-No description provided
Example
func (m *myModule) example(key string, value string) *DaggerDevEngine  {
	return dag.
			DaggerDev().
			Engine().
			WithConfig(key, value)
}
@function
def example(key: str, value: str) -> dag.DaggerDevEngine:
	return (
		dag.dagger_dev()
		.engine()
		.with_config(key, value)
	)
@func()
example(key: string, value: string): DaggerDevEngine {
	return dag
		.daggerDev()
		.engine()
		.withConfig(key, value)
}

withArg() 🔗

Return Type
DaggerDevEngine !
Arguments
NameTypeDefault ValueDescription
keyString !-No description provided
valueString !-No description provided
Example
func (m *myModule) example(key string, value string) *DaggerDevEngine  {
	return dag.
			DaggerDev().
			Engine().
			WithArg(key, value)
}
@function
def example(key: str, value: str) -> dag.DaggerDevEngine:
	return (
		dag.dagger_dev()
		.engine()
		.with_arg(key, value)
	)
@func()
example(key: string, value: string): DaggerDevEngine {
	return dag
		.daggerDev()
		.engine()
		.withArg(key, value)
}

withRace() 🔗

Return Type
DaggerDevEngine !
Example
func (m *myModule) example() *DaggerDevEngine  {
	return dag.
			DaggerDev().
			Engine().
			WithRace()
}
@function
def example() -> dag.DaggerDevEngine:
	return (
		dag.dagger_dev()
		.engine()
		.with_race()
	)
@func()
example(): DaggerDevEngine {
	return dag
		.daggerDev()
		.engine()
		.withRace()
}

withTrace() 🔗

Return Type
DaggerDevEngine !
Example
func (m *myModule) example() *DaggerDevEngine  {
	return dag.
			DaggerDev().
			Engine().
			WithTrace()
}
@function
def example() -> dag.DaggerDevEngine:
	return (
		dag.dagger_dev()
		.engine()
		.with_trace()
	)
@func()
example(): DaggerDevEngine {
	return dag
		.daggerDev()
		.engine()
		.withTrace()
}

withBase() 🔗

Return Type
DaggerDevEngine !
Arguments
NameTypeDefault ValueDescription
imageString -No description provided
gpuSupportBoolean -No description provided
Example
func (m *myModule) example() *DaggerDevEngine  {
	return dag.
			DaggerDev().
			Engine().
			WithBase()
}
@function
def example() -> dag.DaggerDevEngine:
	return (
		dag.dagger_dev()
		.engine()
		.with_base()
	)
@func()
example(): DaggerDevEngine {
	return dag
		.daggerDev()
		.engine()
		.withBase()
}

container() 🔗

Build the engine container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
platformScalar -No description provided
Example
func (m *myModule) example() *Container  {
	return dag.
			DaggerDev().
			Engine().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.dagger_dev()
		.engine()
		.container()
	)
@func()
example(): Container {
	return dag
		.daggerDev()
		.engine()
		.container()
}

service() 🔗

Create a test engine service

Return Type
Service !
Arguments
NameTypeDefault ValueDescription
nameString !-No description provided
versionDaggerDevVersionInfo -No description provided
Example
func (m *myModule) example(name string) *Service  {
	return dag.
			DaggerDev().
			Engine().
			Service(name)
}
@function
def example(name: str) -> dagger.Service:
	return (
		dag.dagger_dev()
		.engine()
		.service(name)
	)
@func()
example(name: string): Service {
	return dag
		.daggerDev()
		.engine()
		.service(name)
}

lint() 🔗

Lint the engine

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
allBoolean -No description provided
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			DaggerDev().
			Engine().
			Lint(ctx)
}
@function
async def example() -> None:
	return await (
		dag.dagger_dev()
		.engine()
		.lint()
	)
@func()
async example(): Promise<void> {
	return dag
		.daggerDev()
		.engine()
		.lint()
}

generate() 🔗

Generate any engine-related files

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			DaggerDev().
			Engine().
			Generate()
}
@function
def example() -> dagger.Directory:
	return (
		dag.dagger_dev()
		.engine()
		.generate()
	)
@func()
example(): Directory {
	return dag
		.daggerDev()
		.engine()
		.generate()
}

lintGenerate() 🔗

Lint any generated engine-related files

Return Type
Void !
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			DaggerDev().
			Engine().
			LintGenerate(ctx)
}
@function
async def example() -> None:
	return await (
		dag.dagger_dev()
		.engine()
		.lint_generate()
	)
@func()
async example(): Promise<void> {
	return dag
		.daggerDev()
		.engine()
		.lintGenerate()
}

publish() 🔗

Publish all engine images to a registry

Return Type
[String ! ] !
Arguments
NameTypeDefault ValueDescription
imageString !-No description provided
tagsString !-Comma-separated list of tags to use
platform[Scalar ! ] -No description provided
registryString -No description provided
registryUsernameString -No description provided
registryPasswordSecret -No description provided
Example
func (m *myModule) example(ctx context.Context, image string, tags string) []string  {
	return dag.
			DaggerDev().
			Engine().
			Publish(ctx, image, tags)
}
@function
async def example(image: str, tags: str) -> List[str]:
	return await (
		dag.dagger_dev()
		.engine()
		.publish(image, tags)
	)
@func()
async example(image: string, tags: string): Promise<string[]> {
	return dag
		.daggerDev()
		.engine()
		.publish(image, tags)
}

testPublish() 🔗

Verify that the engine builds without actually publishing anything

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
platform[Scalar ! ] -No description provided
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			DaggerDev().
			Engine().
			TestPublish(ctx)
}
@function
async def example() -> None:
	return await (
		dag.dagger_dev()
		.engine()
		.test_publish()
	)
@func()
async example(): Promise<void> {
	return dag
		.daggerDev()
		.engine()
		.testPublish()
}

scan() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			DaggerDev().
			Engine().
			Scan(ctx)
}
@function
async def example() -> str:
	return await (
		dag.dagger_dev()
		.engine()
		.scan()
	)
@func()
async example(): Promise<string> {
	return dag
		.daggerDev()
		.engine()
		.scan()
}

DaggerDevDocs 🔗

site() 🔗

Build the docs website

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			DaggerDev().
			Docs().
			Site()
}
@function
def example() -> dagger.Directory:
	return (
		dag.dagger_dev()
		.docs()
		.site()
	)
@func()
example(): Directory {
	return dag
		.daggerDev()
		.docs()
		.site()
}

server() 🔗

Build the docs server

Return Type
Container !
Example
func (m *myModule) example() *Container  {
	return dag.
			DaggerDev().
			Docs().
			Server()
}
@function
def example() -> dagger.Container:
	return (
		dag.dagger_dev()
		.docs()
		.server()
	)
@func()
example(): Container {
	return dag
		.daggerDev()
		.docs()
		.server()
}

lint() 🔗

Lint documentation files

Return Type
Void !
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			DaggerDev().
			Docs().
			Lint(ctx)
}
@function
async def example() -> None:
	return await (
		dag.dagger_dev()
		.docs()
		.lint()
	)
@func()
async example(): Promise<void> {
	return dag
		.daggerDev()
		.docs()
		.lint()
}

generate() 🔗

Regenerate the API schema and CLI reference docs

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			DaggerDev().
			Docs().
			Generate()
}
@function
def example() -> dagger.Directory:
	return (
		dag.dagger_dev()
		.docs()
		.generate()
	)
@func()
example(): Directory {
	return dag
		.daggerDev()
		.docs()
		.generate()
}

generateSdl() 🔗

Regenerate the API schema

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			DaggerDev().
			Docs().
			GenerateSdl()
}
@function
def example() -> dagger.Directory:
	return (
		dag.dagger_dev()
		.docs()
		.generate_sdl()
	)
@func()
example(): Directory {
	return dag
		.daggerDev()
		.docs()
		.generateSdl()
}

generateCli() 🔗

Regenerate the CLI reference docs

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			DaggerDev().
			Docs().
			GenerateCli()
}
@function
def example() -> dagger.Directory:
	return (
		dag.dagger_dev()
		.docs()
		.generate_cli()
	)
@func()
example(): Directory {
	return dag
		.daggerDev()
		.docs()
		.generateCli()
}

DaggerDevScripts 🔗

lint() 🔗

Lint scripts files

Return Type
Void !
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			DaggerDev().
			Scripts().
			Lint(ctx)
}
@function
async def example() -> None:
	return await (
		dag.dagger_dev()
		.scripts()
		.lint()
	)
@func()
async example(): Promise<void> {
	return dag
		.daggerDev()
		.scripts()
		.lint()
}

DaggerDevTest 🔗

withCache() 🔗

Return Type
DaggerDevTest !
Arguments
NameTypeDefault ValueDescription
configString !-No description provided
Example
func (m *myModule) example(config string) *DaggerDevTest  {
	return dag.
			DaggerDev().
			Test().
			WithCache(config)
}
@function
def example(config: str) -> dag.DaggerDevTest:
	return (
		dag.dagger_dev()
		.test()
		.with_cache(config)
	)
@func()
example(config: string): DaggerDevTest {
	return dag
		.daggerDev()
		.test()
		.withCache(config)
}

all() 🔗

Run all engine tests

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
failfastBoolean -No description provided
parallelInteger -No description provided
timeoutString -No description provided
raceBoolean -No description provided
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			DaggerDev().
			Test().
			All(ctx)
}
@function
async def example() -> None:
	return await (
		dag.dagger_dev()
		.test()
		.all()
	)
@func()
async example(): Promise<void> {
	return dag
		.daggerDev()
		.test()
		.all()
}

important() 🔗

Run “important” engine tests

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
failfastBoolean -No description provided
parallelInteger -No description provided
timeoutString -No description provided
raceBoolean -No description provided
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			DaggerDev().
			Test().
			Important(ctx)
}
@function
async def example() -> None:
	return await (
		dag.dagger_dev()
		.test()
		.important()
	)
@func()
async example(): Promise<void> {
	return dag
		.daggerDev()
		.test()
		.important()
}

custom() 🔗

Run custom engine tests

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
runString !-No description provided
pkgString "./..."No description provided
failfastBoolean -No description provided
parallelInteger -No description provided
timeoutString -No description provided
raceBoolean -No description provided
countInteger 1No description provided
Example
func (m *myModule) example(ctx context.Context, run string)   {
	return dag.
			DaggerDev().
			Test().
			Custom(ctx, run)
}
@function
async def example(run: str) -> None:
	return await (
		dag.dagger_dev()
		.test()
		.custom(run)
	)
@func()
async example(run: string): Promise<void> {
	return dag
		.daggerDev()
		.test()
		.custom(run)
}

DaggerDevSdk 🔗

A dev environment for the official Dagger SDKs

go() 🔗

Develop the Dagger Go SDK

Return Type
DaggerDevGoSdk !
Example
func (m *myModule) example() *DaggerDevGoSdk  {
	return dag.
			DaggerDev().
			Sdk().
			Go()
}
@function
def example() -> dag.DaggerDevGoSdk:
	return (
		dag.dagger_dev()
		.sdk()
		.go()
	)
@func()
example(): DaggerDevGoSdk {
	return dag
		.daggerDev()
		.sdk()
		.go()
}

python() 🔗

Develop the Dagger Python SDK

Return Type
DaggerDevPythonSdk !
Example
func (m *myModule) example() *DaggerDevPythonSdk  {
	return dag.
			DaggerDev().
			Sdk().
			Python()
}
@function
def example() -> dag.DaggerDevPythonSdk:
	return (
		dag.dagger_dev()
		.sdk()
		.python()
	)
@func()
example(): DaggerDevPythonSdk {
	return dag
		.daggerDev()
		.sdk()
		.python()
}

typescript() 🔗

Develop the Dagger Typescript SDK

Return Type
DaggerDevTypescriptSdk !
Example
func (m *myModule) example() *DaggerDevTypescriptSdk  {
	return dag.
			DaggerDev().
			Sdk().
			Typescript()
}
@function
def example() -> dag.DaggerDevTypescriptSdk:
	return (
		dag.dagger_dev()
		.sdk()
		.typescript()
	)
@func()
example(): DaggerDevTypescriptSdk {
	return dag
		.daggerDev()
		.sdk()
		.typescript()
}

elixir() 🔗

Develop the Dagger Elixir SDK (experimental)

Return Type
DaggerDevElixirSdk !
Example
func (m *myModule) example() *DaggerDevElixirSdk  {
	return dag.
			DaggerDev().
			Sdk().
			Elixir()
}
@function
def example() -> dag.DaggerDevElixirSdk:
	return (
		dag.dagger_dev()
		.sdk()
		.elixir()
	)
@func()
example(): DaggerDevElixirSdk {
	return dag
		.daggerDev()
		.sdk()
		.elixir()
}

rust() 🔗

Develop the Dagger Rust SDK (experimental)

Return Type
DaggerDevRustSdk !
Example
func (m *myModule) example() *DaggerDevRustSdk  {
	return dag.
			DaggerDev().
			Sdk().
			Rust()
}
@function
def example() -> dag.DaggerDevRustSdk:
	return (
		dag.dagger_dev()
		.sdk()
		.rust()
	)
@func()
example(): DaggerDevRustSdk {
	return dag
		.daggerDev()
		.sdk()
		.rust()
}

php() 🔗

Develop the Dagger PHP SDK (experimental)

Return Type
DaggerDevPhpsdk !
Example
func (m *myModule) example() *DaggerDevPhpsdk  {
	return dag.
			DaggerDev().
			Sdk().
			Php()
}
@function
def example() -> dag.DaggerDevPhpsdk:
	return (
		dag.dagger_dev()
		.sdk()
		.php()
	)
@func()
example(): DaggerDevPhpsdk {
	return dag
		.daggerDev()
		.sdk()
		.php()
}

java() 🔗

Develop the Dagger Java SDK (experimental)

Return Type
DaggerDevJavaSdk !
Example
func (m *myModule) example() *DaggerDevJavaSdk  {
	return dag.
			DaggerDev().
			Sdk().
			Java()
}
@function
def example() -> dag.DaggerDevJavaSdk:
	return (
		dag.dagger_dev()
		.sdk()
		.java()
	)
@func()
example(): DaggerDevJavaSdk {
	return dag
		.daggerDev()
		.sdk()
		.java()
}

all() 🔗

Return Type
DaggerDevAllSdk !
Example
func (m *myModule) example() *DaggerDevAllSdk  {
	return dag.
			DaggerDev().
			Sdk().
			All()
}
@function
def example() -> dag.DaggerDevAllSdk:
	return (
		dag.dagger_dev()
		.sdk()
		.all()
	)
@func()
example(): DaggerDevAllSdk {
	return dag
		.daggerDev()
		.sdk()
		.all()
}

DaggerDevHelm 🔗

test() 🔗

Return Type
Void !
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			DaggerDev().
			Helm().
			Test(ctx)
}
@function
async def example() -> None:
	return await (
		dag.dagger_dev()
		.helm()
		.test()
	)
@func()
async example(): Promise<void> {
	return dag
		.daggerDev()
		.helm()
		.test()
}

setVersion() 🔗

Set chart & app version

Return Type
File !
Arguments
NameTypeDefault ValueDescription
versionString !-Version to set the chart & app to, e.g. --version=0.12.0
Example
func (m *myModule) example(version string) *File  {
	return dag.
			DaggerDev().
			Helm().
			SetVersion(version)
}
@function
def example(version: str) -> dagger.File:
	return (
		dag.dagger_dev()
		.helm()
		.set_version(version)
	)
@func()
example(version: string): File {
	return dag
		.daggerDev()
		.helm()
		.setVersion(version)
}

publish() 🔗

Package & publish chart to our registry

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
tagString !-No description provided
githubTokenSecret -No description provided
dryRunBoolean -No description provided
Example
func (m *myModule) example(ctx context.Context, tag string)   {
	return dag.
			DaggerDev().
			Helm().
			Publish(ctx, tag)
}
@function
async def example(tag: str) -> None:
	return await (
		dag.dagger_dev()
		.helm()
		.publish(tag)
	)
@func()
async example(tag: string): Promise<void> {
	return dag
		.daggerDev()
		.helm()
		.publish(tag)
}

DaggerDevVersionInfo 🔗

tag() 🔗

Return Type
String !
Example
Function DaggerDevVersionInfo.tag is not accessible from the dagger-dev module
Function DaggerDevVersionInfo.tag is not accessible from the dagger-dev module
Function DaggerDevVersionInfo.tag is not accessible from the dagger-dev module

commit() 🔗

Return Type
String !
Example
Function DaggerDevVersionInfo.commit is not accessible from the dagger-dev module
Function DaggerDevVersionInfo.commit is not accessible from the dagger-dev module
Function DaggerDevVersionInfo.commit is not accessible from the dagger-dev module

dev() 🔗

Return Type
String !
Example
Function DaggerDevVersionInfo.dev is not accessible from the dagger-dev module
Function DaggerDevVersionInfo.dev is not accessible from the dagger-dev module
Function DaggerDevVersionInfo.dev is not accessible from the dagger-dev module

string() 🔗

Return Type
String !
Example
Function DaggerDevVersionInfo.string is not accessible from the dagger-dev module
Function DaggerDevVersionInfo.string is not accessible from the dagger-dev module
Function DaggerDevVersionInfo.string is not accessible from the dagger-dev module

DaggerDevAllSdk 🔗

lint() 🔗

Return Type
Void !
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			DaggerDev().
			Sdk().
			All().
			Lint(ctx)
}
@function
async def example() -> None:
	return await (
		dag.dagger_dev()
		.sdk()
		.all()
		.lint()
	)
@func()
async example(): Promise<void> {
	return dag
		.daggerDev()
		.sdk()
		.all()
		.lint()
}

test() 🔗

Return Type
Void !
Example
func (m *myModule) example(ctx context.Context)   {
	return dag.
			DaggerDev().
			Sdk().
			All().
			Test(ctx)
}
@function
async def example() -> None:
	return await (
		dag.dagger_dev()
		.sdk()
		.all()
		.test()
	)
@func()
async example(): Promise<void> {
	return dag
		.daggerDev()
		.sdk()
		.all()
		.test()
}

generate() 🔗

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			DaggerDev().
			Sdk().
			All().
			Generate()
}
@function
def example() -> dagger.Directory:
	return (
		dag.dagger_dev()
		.sdk()
		.all()
		.generate()
	)
@func()
example(): Directory {
	return dag
		.daggerDev()
		.sdk()
		.all()
		.generate()
}

bump() 🔗

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
versionString !-No description provided
Example
func (m *myModule) example(version string) *Directory  {
	return dag.
			DaggerDev().
			Sdk().
			All().
			Bump(version)
}
@function
def example(version: str) -> dagger.Directory:
	return (
		dag.dagger_dev()
		.sdk()
		.all()
		.bump(version)
	)
@func()
example(version: string): Directory {
	return dag
		.daggerDev()
		.sdk()
		.all()
		.bump(version)
}

DaggerDevGoSdk 🔗

lint() 🔗

Lint the Go SDK

Return Type
Void !
Example
Function DaggerDevGoSdk.lint is not accessible from the dagger-dev module
Function DaggerDevGoSdk.lint is not accessible from the dagger-dev module
Function DaggerDevGoSdk.lint is not accessible from the dagger-dev module

test() 🔗

Test the Go SDK

Return Type
Void !
Example
Function DaggerDevGoSdk.test is not accessible from the dagger-dev module
Function DaggerDevGoSdk.test is not accessible from the dagger-dev module
Function DaggerDevGoSdk.test is not accessible from the dagger-dev module

generate() 🔗

Regenerate the Go SDK API

Return Type
Directory !
Example
Function DaggerDevGoSdk.generate is not accessible from the dagger-dev module
Function DaggerDevGoSdk.generate is not accessible from the dagger-dev module
Function DaggerDevGoSdk.generate is not accessible from the dagger-dev module

publish() 🔗

Publish the Go SDK

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
tagString !-No description provided
dryRunBoolean -No description provided
gitRepoString "https://github.com/dagger/dagger-go-sdk.git"No description provided
gitUserNameString "dagger-ci"No description provided
gitUserEmailString "hello@dagger.io"No description provided
githubTokenSecret -No description provided
Example
Function DaggerDevGoSdk.publish is not accessible from the dagger-dev module
Function DaggerDevGoSdk.publish is not accessible from the dagger-dev module
Function DaggerDevGoSdk.publish is not accessible from the dagger-dev module

bump() 🔗

Bump the Go SDK’s Engine dependency

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
versionString !-No description provided
Example
Function DaggerDevGoSdk.bump is not accessible from the dagger-dev module
Function DaggerDevGoSdk.bump is not accessible from the dagger-dev module
Function DaggerDevGoSdk.bump is not accessible from the dagger-dev module

DaggerDevPythonSdk 🔗

lint() 🔗

Lint the Python SDK

Return Type
Void !
Example
Function DaggerDevPythonSdk.lint is not accessible from the dagger-dev module
Function DaggerDevPythonSdk.lint is not accessible from the dagger-dev module
Function DaggerDevPythonSdk.lint is not accessible from the dagger-dev module

test() 🔗

Test the Python SDK

Return Type
Void !
Example
Function DaggerDevPythonSdk.test is not accessible from the dagger-dev module
Function DaggerDevPythonSdk.test is not accessible from the dagger-dev module
Function DaggerDevPythonSdk.test is not accessible from the dagger-dev module

generate() 🔗

Regenerate the Python SDK API

Return Type
Directory !
Example
Function DaggerDevPythonSdk.generate is not accessible from the dagger-dev module
Function DaggerDevPythonSdk.generate is not accessible from the dagger-dev module
Function DaggerDevPythonSdk.generate is not accessible from the dagger-dev module

publish() 🔗

Publish the Python SDK

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
tagString !-No description provided
dryRunBoolean -No description provided
pypiRepoString -No description provided
pypiTokenSecret -No description provided
Example
Function DaggerDevPythonSdk.publish is not accessible from the dagger-dev module
Function DaggerDevPythonSdk.publish is not accessible from the dagger-dev module
Function DaggerDevPythonSdk.publish is not accessible from the dagger-dev module

bump() 🔗

Bump the Python SDK’s Engine dependency

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
versionString !-No description provided
Example
Function DaggerDevPythonSdk.bump is not accessible from the dagger-dev module
Function DaggerDevPythonSdk.bump is not accessible from the dagger-dev module
Function DaggerDevPythonSdk.bump is not accessible from the dagger-dev module

DaggerDevTypescriptSdk 🔗

lint() 🔗

Lint the Typescript SDK

Return Type
Void !
Example
Function DaggerDevTypescriptSdk.lint is not accessible from the dagger-dev module
Function DaggerDevTypescriptSdk.lint is not accessible from the dagger-dev module
Function DaggerDevTypescriptSdk.lint is not accessible from the dagger-dev module

test() 🔗

Test the Typescript SDK

Return Type
Void !
Example
Function DaggerDevTypescriptSdk.test is not accessible from the dagger-dev module
Function DaggerDevTypescriptSdk.test is not accessible from the dagger-dev module
Function DaggerDevTypescriptSdk.test is not accessible from the dagger-dev module

generate() 🔗

Regenerate the Typescript SDK API

Return Type
Directory !
Example
Function DaggerDevTypescriptSdk.generate is not accessible from the dagger-dev module
Function DaggerDevTypescriptSdk.generate is not accessible from the dagger-dev module
Function DaggerDevTypescriptSdk.generate is not accessible from the dagger-dev module

publish() 🔗

Publish the Typescript SDK

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
tagString !-No description provided
dryRunBoolean -No description provided
npmTokenSecret -No description provided
Example
Function DaggerDevTypescriptSdk.publish is not accessible from the dagger-dev module
Function DaggerDevTypescriptSdk.publish is not accessible from the dagger-dev module
Function DaggerDevTypescriptSdk.publish is not accessible from the dagger-dev module

bump() 🔗

Bump the Typescript SDK’s Engine dependency

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
versionString !-No description provided
Example
Function DaggerDevTypescriptSdk.bump is not accessible from the dagger-dev module
Function DaggerDevTypescriptSdk.bump is not accessible from the dagger-dev module
Function DaggerDevTypescriptSdk.bump is not accessible from the dagger-dev module

DaggerDevElixirSdk 🔗

lint() 🔗

Lint the Elixir SDK

Return Type
Void !
Example
Function DaggerDevElixirSdk.lint is not accessible from the dagger-dev module
Function DaggerDevElixirSdk.lint is not accessible from the dagger-dev module
Function DaggerDevElixirSdk.lint is not accessible from the dagger-dev module

test() 🔗

Test the Elixir SDK

Return Type
Void !
Example
Function DaggerDevElixirSdk.test is not accessible from the dagger-dev module
Function DaggerDevElixirSdk.test is not accessible from the dagger-dev module
Function DaggerDevElixirSdk.test is not accessible from the dagger-dev module

generate() 🔗

Regenerate the Elixir SDK API

Return Type
Directory !
Example
Function DaggerDevElixirSdk.generate is not accessible from the dagger-dev module
Function DaggerDevElixirSdk.generate is not accessible from the dagger-dev module
Function DaggerDevElixirSdk.generate is not accessible from the dagger-dev module

publish() 🔗

Publish the Elixir SDK

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
tagString !-No description provided
dryRunBoolean -No description provided
hexApikeySecret -No description provided
Example
Function DaggerDevElixirSdk.publish is not accessible from the dagger-dev module
Function DaggerDevElixirSdk.publish is not accessible from the dagger-dev module
Function DaggerDevElixirSdk.publish is not accessible from the dagger-dev module

bump() 🔗

Bump the Elixir SDK’s Engine dependency

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
versionString !-No description provided
Example
Function DaggerDevElixirSdk.bump is not accessible from the dagger-dev module
Function DaggerDevElixirSdk.bump is not accessible from the dagger-dev module
Function DaggerDevElixirSdk.bump is not accessible from the dagger-dev module

DaggerDevRustSdk 🔗

lint() 🔗

Lint the Rust SDK

Return Type
Void !
Example
Function DaggerDevRustSdk.lint is not accessible from the dagger-dev module
Function DaggerDevRustSdk.lint is not accessible from the dagger-dev module
Function DaggerDevRustSdk.lint is not accessible from the dagger-dev module

test() 🔗

Test the Rust SDK

Return Type
Void !
Example
Function DaggerDevRustSdk.test is not accessible from the dagger-dev module
Function DaggerDevRustSdk.test is not accessible from the dagger-dev module
Function DaggerDevRustSdk.test is not accessible from the dagger-dev module

generate() 🔗

Regenerate the Rust SDK API

Return Type
Directory !
Example
Function DaggerDevRustSdk.generate is not accessible from the dagger-dev module
Function DaggerDevRustSdk.generate is not accessible from the dagger-dev module
Function DaggerDevRustSdk.generate is not accessible from the dagger-dev module

publish() 🔗

Publish the Rust SDK

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
tagString !-No description provided
dryRunBoolean -No description provided
cargoRegistryTokenSecret -No description provided
Example
Function DaggerDevRustSdk.publish is not accessible from the dagger-dev module
Function DaggerDevRustSdk.publish is not accessible from the dagger-dev module
Function DaggerDevRustSdk.publish is not accessible from the dagger-dev module

bump() 🔗

Bump the Rust SDK’s Engine dependency

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
versionString !-No description provided
Example
Function DaggerDevRustSdk.bump is not accessible from the dagger-dev module
Function DaggerDevRustSdk.bump is not accessible from the dagger-dev module
Function DaggerDevRustSdk.bump is not accessible from the dagger-dev module

DaggerDevPhpsdk 🔗

lint() 🔗

Lint the PHP SDK

Return Type
Void !
Example
Function DaggerDevPhpsdk.lint is not accessible from the dagger-dev module
Function DaggerDevPhpsdk.lint is not accessible from the dagger-dev module
Function DaggerDevPhpsdk.lint is not accessible from the dagger-dev module

test() 🔗

Test the PHP SDK

Return Type
Void !
Example
Function DaggerDevPhpsdk.test is not accessible from the dagger-dev module
Function DaggerDevPhpsdk.test is not accessible from the dagger-dev module
Function DaggerDevPhpsdk.test is not accessible from the dagger-dev module

generate() 🔗

Regenerate the PHP SDK API

Return Type
Directory !
Example
Function DaggerDevPhpsdk.generate is not accessible from the dagger-dev module
Function DaggerDevPhpsdk.generate is not accessible from the dagger-dev module
Function DaggerDevPhpsdk.generate is not accessible from the dagger-dev module

publish() 🔗

Publish the PHP SDK

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
tagString !-No description provided
dryRunBoolean -No description provided
gitRepoString "https://github.com/dagger/dagger-php-sdk.git"No description provided
gitUserNameString "dagger-ci"No description provided
gitUserEmailString "hello@dagger.io"No description provided
githubTokenSecret -No description provided
Example
Function DaggerDevPhpsdk.publish is not accessible from the dagger-dev module
Function DaggerDevPhpsdk.publish is not accessible from the dagger-dev module
Function DaggerDevPhpsdk.publish is not accessible from the dagger-dev module

bump() 🔗

Bump the PHP SDK’s Engine dependency

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
versionString !-No description provided
Example
Function DaggerDevPhpsdk.bump is not accessible from the dagger-dev module
Function DaggerDevPhpsdk.bump is not accessible from the dagger-dev module
Function DaggerDevPhpsdk.bump is not accessible from the dagger-dev module

DaggerDevJavaSdk 🔗

lint() 🔗

Lint the Java SDK

Return Type
Void !
Example
Function DaggerDevJavaSdk.lint is not accessible from the dagger-dev module
Function DaggerDevJavaSdk.lint is not accessible from the dagger-dev module
Function DaggerDevJavaSdk.lint is not accessible from the dagger-dev module

test() 🔗

Test the Java SDK

Return Type
Void !
Example
Function DaggerDevJavaSdk.test is not accessible from the dagger-dev module
Function DaggerDevJavaSdk.test is not accessible from the dagger-dev module
Function DaggerDevJavaSdk.test is not accessible from the dagger-dev module

generate() 🔗

Regenerate the Java SDK API

Return Type
Directory !
Example
Function DaggerDevJavaSdk.generate is not accessible from the dagger-dev module
Function DaggerDevJavaSdk.generate is not accessible from the dagger-dev module
Function DaggerDevJavaSdk.generate is not accessible from the dagger-dev module

publish() 🔗

Publish the Java SDK

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
tagString !-No description provided
dryRunBoolean -No description provided
Example
Function DaggerDevJavaSdk.publish is not accessible from the dagger-dev module
Function DaggerDevJavaSdk.publish is not accessible from the dagger-dev module
Function DaggerDevJavaSdk.publish is not accessible from the dagger-dev module

bump() 🔗

Bump the Java SDK’s Engine dependency

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
versionString !-No description provided
Example
Function DaggerDevJavaSdk.bump is not accessible from the dagger-dev module
Function DaggerDevJavaSdk.bump is not accessible from the dagger-dev module
Function DaggerDevJavaSdk.bump is not accessible from the dagger-dev module