dagger-dev
https://dagger.ioInstallation
dagger install github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6Entrypoint
Return Type
DaggerDev !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory | - | No description provided |
| git | GitRepository | - | No description provided |
| dockerCfg | Secret | - | No description provided |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
func (m *MyModule) Example() *dagger.DaggerDev {
return dag.
DaggerDev()
}@function
def example() -> dagger.DaggerDev:
return (
dag.dagger_dev()
)@func()
example(): DaggerDev {
return dag
.daggerDev()
}Types
DaggerDev 🔗
A dev environment for the DaggerDev Engine
source() 🔗
Return Type
Directory ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
sourcefunc (m *MyModule) Example() *dagger.Directory {
return dag.
DaggerDev().
Source()
}@function
def example() -> dagger.Directory:
return (
dag.dagger_dev()
.source()
)@func()
example(): Directory {
return dag
.daggerDev()
.source()
}version() 🔗
Return Type
String ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
versionfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
DaggerDev().
Version(ctx)
}@function
async def example() -> str:
return await (
dag.dagger_dev()
.version()
)@func()
async example(): Promise<string> {
return dag
.daggerDev()
.version()
}tag() 🔗
Return Type
String ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
tagfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
DaggerDev().
Tag(ctx)
}@function
async def example() -> str:
return await (
dag.dagger_dev()
.tag()
)@func()
async example(): Promise<string> {
return dag
.daggerDev()
.tag()
}git() 🔗
Return Type
GitRepository ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
gitfunc (m *MyModule) Example() *dagger.GitRepository {
return dag.
DaggerDev().
Git()
}@function
def example() -> dagger.GitRepository:
return (
dag.dagger_dev()
.git()
)@func()
example(): GitRepository {
return dag
.daggerDev()
.git()
}lintHelm() 🔗
Lint the helm chart
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
lint-helmfunc (m *MyModule) Example() {
return dag.
DaggerDev().
LintHelm()
}@function
def example() -> :
return (
dag.dagger_dev()
.lint_helm()
)@func()
example(): {
return dag
.daggerDev()
.lintHelm()
}testHelm() 🔗
Verify that helm works correctly
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
test-helmfunc (m *MyModule) Example() {
return dag.
DaggerDev().
TestHelm()
}@function
def example() -> :
return (
dag.dagger_dev()
.test_helm()
)@func()
example(): {
return dag
.daggerDev()
.testHelm()
}bench() 🔗
Find benchmark suites to run
Return Type
DaggerDevBench ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
benchfunc (m *MyModule) Example() *dagger.DaggerDevBench {
return dag.
DaggerDev().
Bench()
}@function
def example() -> dagger.DaggerDevBench:
return (
dag.dagger_dev()
.bench()
)@func()
example(): DaggerDevBench {
return dag
.daggerDev()
.bench()
}lint() 🔗
Run all linters
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
lintfunc (m *MyModule) Example() {
return dag.
DaggerDev().
Lint()
}@function
def example() -> :
return (
dag.dagger_dev()
.lint()
)@func()
example(): {
return dag
.daggerDev()
.lint()
}ciInCi() 🔗
“CI in CI”: check that Dagger can still run its own CI Note: this doesn’t actually call all CI checks: only a small subset, selected for maximum coverage of Dagger features with limited compute expenditure. The actual checks being performed is an implementation detail, and should NOT be relied on. In other words, don’t skip running just because it happens to be run here!
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
ci-in-cifunc (m *MyModule) Example() {
return dag.
DaggerDev().
CiInCi()
}@function
def example() -> :
return (
dag.dagger_dev()
.ci_in_ci()
)@func()
example(): {
return dag
.daggerDev()
.ciInCi()
}cli() 🔗
Develop the Dagger CLI
Return Type
DaggerDevCli ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
clifunc (m *MyModule) Example() *dagger.DaggerDevCli {
return dag.
DaggerDev().
Cli()
}@function
def example() -> dagger.DaggerDevCli:
return (
dag.dagger_dev()
.cli()
)@func()
example(): DaggerDevCli {
return dag
.daggerDev()
.cli()
}playground() 🔗
Creates a complete end-to-end build environment with CLI and engine for interactive testing
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| target | Directory | - | Mount a directory into the container's workdir, for convenience |
| image | Enum ! | "ALPINE" | Set target distro |
| gpuSupport | Boolean | - | Enable experimental GPU support |
| sharedCache | Boolean | - | Share cache globally |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
playgroundfunc (m *MyModule) Example(image ) *dagger.Container {
return dag.
DaggerDev().
Playground(image)
}@function
def example(image: ) -> dagger.Container:
return (
dag.dagger_dev()
.playground(image)
)@func()
example(image: ): Container {
return dag
.daggerDev()
.playground(image)
}releaseDryRun() 🔗
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
release-dry-runfunc (m *MyModule) Example() {
return dag.
DaggerDev().
ReleaseDryRun()
}@function
def example() -> :
return (
dag.dagger_dev()
.release_dry_run()
)@func()
example(): {
return dag
.daggerDev()
.releaseDryRun()
}bump() 🔗
Bump the version of all versioned components
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | - | No description provided |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
bump --version stringfunc (m *MyModule) Example(version string) *dagger.Changeset {
return dag.
DaggerDev().
Bump(version)
}@function
def example(version: str) -> dagger.Changeset:
return (
dag.dagger_dev()
.bump(version)
)@func()
example(version: string): Changeset {
return dag
.daggerDev()
.bump(version)
}scan() 🔗
Scan source code and artifacts for security vulnerabilities
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
scanfunc (m *MyModule) Example() {
return dag.
DaggerDev().
Scan()
}@function
def example() -> :
return (
dag.dagger_dev()
.scan()
)@func()
example(): {
return dag
.daggerDev()
.scan()
}scripts() 🔗
Run Dagger scripts
Return Type
DaggerDevScripts ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
scriptsfunc (m *MyModule) Example() *dagger.DaggerDevScripts {
return dag.
DaggerDev().
Scripts()
}@function
def example() -> dagger.DaggerDevScripts:
return (
dag.dagger_dev()
.scripts()
)@func()
example(): DaggerDevScripts {
return dag
.daggerDev()
.scripts()
}sdk() 🔗
Develop Dagger SDKs
Return Type
DaggerDevSdk ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
sdkfunc (m *MyModule) Example() *dagger.DaggerDevSdk {
return dag.
DaggerDev().
Sdk()
}@function
def example() -> dagger.DaggerDevSdk:
return (
dag.dagger_dev()
.sdk()
)@func()
example(): DaggerDevSdk {
return dag
.daggerDev()
.sdk()
}testSdks() 🔗
Run all checks for all SDKs
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
test-sdksfunc (m *MyModule) Example() {
return dag.
DaggerDev().
TestSdks()
}@function
def example() -> :
return (
dag.dagger_dev()
.test_sdks()
)@func()
example(): {
return dag
.daggerDev()
.testSdks()
}lintSdks() 🔗
Run linters for all SDKs
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
lint-sdksfunc (m *MyModule) Example() {
return dag.
DaggerDev().
LintSdks()
}@function
def example() -> :
return (
dag.dagger_dev()
.lint_sdks()
)@func()
example(): {
return dag
.daggerDev()
.lintSdks()
}lintGo() 🔗
Lint the Go codebase
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
lint-gofunc (m *MyModule) Example() {
return dag.
DaggerDev().
LintGo()
}@function
def example() -> :
return (
dag.dagger_dev()
.lint_go()
)@func()
example(): {
return dag
.daggerDev()
.lintGo()
}checkTidy() 🔗
Check that go modules have up-to-date go.mod and go.sum
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
check-tidyfunc (m *MyModule) Example() {
return dag.
DaggerDev().
CheckTidy()
}@function
def example() -> :
return (
dag.dagger_dev()
.check_tidy()
)@func()
example(): {
return dag
.daggerDev()
.checkTidy()
}checkGenerated() 🔗
Verify that generated code is up to date
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
check-generatedfunc (m *MyModule) Example() {
return dag.
DaggerDev().
CheckGenerated()
}@function
def example() -> :
return (
dag.dagger_dev()
.check_generated()
)@func()
example(): {
return dag
.daggerDev()
.checkGenerated()
}generate() 🔗
Run all code generation - SDKs, docs, grpc stubs, changelog
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| check | Boolean | - | No description provided |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
generatefunc (m *MyModule) Example() *dagger.Changeset {
return dag.
DaggerDev().
Generate()
}@function
def example() -> dagger.Changeset:
return (
dag.dagger_dev()
.generate()
)@func()
example(): Changeset {
return dag
.daggerDev()
.generate()
}lintDocs() 🔗
Lint the documentation
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
lint-docsfunc (m *MyModule) Example() {
return dag.
DaggerDev().
LintDocs()
}@function
def example() -> :
return (
dag.dagger_dev()
.lint_docs()
)@func()
example(): {
return dag
.daggerDev()
.lintDocs()
}test() 🔗
Find test suites to run
Return Type
DaggerDevTest ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
testfunc (m *MyModule) Example() *dagger.DaggerDevTest {
return dag.
DaggerDev().
Test()
}@function
def example() -> dagger.DaggerDevTest:
return (
dag.dagger_dev()
.test()
)@func()
example(): DaggerDevTest {
return dag
.daggerDev()
.test()
}DaggerDevBench 🔗
all() 🔗
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| failfast | Boolean | - | No description provided |
| timeout | String | - | No description provided |
| race | Boolean | - | No description provided |
| testVerbose | Boolean | - | No description provided |
| prewarm | Boolean | - | run benchmarks once with metrics tagged "prewarm" before running for real |
| discordWebhook | Secret | - | notify this discord webhook on failure |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
bench \
allfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
Bench().
All(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.bench()
.all()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.bench()
.all()
}specific() 🔗
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| run | String | - | Only run these benchmarks |
| skip | String | - | Skip these benchmarks |
| pkg | String | "./..." | No description provided |
| failfast | Boolean | - | Abort bench run on first failure |
| timeout | String | - | How long before timing out the benchmark run |
| race | Boolean | - | No description provided |
| count | Integer | 1 | No description provided |
| testVerbose | Boolean | - | Enable verbose output |
| prewarm | Boolean | - | run benchmarks once with metrics tagged "prewarm" before running for real |
| discordWebhook | Secret | - | notify this discord webhook on failure |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
bench \
specificfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
Bench().
Specific(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.bench()
.specific()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.bench()
.specific()
}dump() 🔗
Run specific benchmarks while curling (pprof) dumps from their associated dev engine:
defaults to heap dumps, eg: take a heap dump every second and one after the tests complete:
dagger call test dump --run=TestCache/TestVolume --pkg=./core/integration --interval=1s export --path=/tmp/dump-$(date +"%Y%m%d_%H%M%S")
but also works for profiles:
dagger call test dump --run=TestCache/TestVolume --pkg=./core/integration --route=pprof/profile --no-final export --path=/tmp/dump-$(date +"%Y%m%d_%H%M%S")
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| run | String | - | Only run these tests |
| skip | String | - | Skip these tests |
| pkg | String | "./..." | No description provided |
| failfast | Boolean | - | Abort test run on first failure |
| timeout | String | - | How long before timing out the test run |
| race | Boolean | - | No description provided |
| count | Integer | 1 | No description provided |
| testVerbose | Boolean | - | Enable verbose output |
| route | String | "pprof/heap" | debug subroute to dump, like pprof/profile, pprof/heap, or requests |
| noFinal | Boolean ! | false | when set, don't take a final dump after the tests have completed. usually good with --route="pprof/profile". |
| delay | String | "1s" | wait this long before starting to take dumps. delay does not include engine startup. |
| interval | String | "-1s" | wait this long between dumps. negative values will fetch exactly 1 dump excluding the one controlled by "final" |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
bench \
dump --no-final booleanfunc (m *MyModule) Example(noFinal bool) *dagger.Directory {
return dag.
DaggerDev().
Bench().
Dump(noFinal)
}@function
def example(no_final: bool) -> dagger.Directory:
return (
dag.dagger_dev()
.bench()
.dump(no_final)
)@func()
example(noFinal: boolean): Directory {
return dag
.daggerDev()
.bench()
.dump(noFinal)
}DaggerDevCli 🔗
binary() 🔗
Build the CLI binary
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| runnerHost | String | - | No description provided |
| platform | Scalar | - | No description provided |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
cli \
binaryfunc (m *MyModule) Example() *dagger.File {
return dag.
DaggerDev().
Cli().
Binary()
}@function
def example() -> dagger.File:
return (
dag.dagger_dev()
.cli()
.binary()
)@func()
example(): File {
return dag
.daggerDev()
.cli()
.binary()
}devBinaries() 🔗
Build dev CLI binaries TODO: remove this
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| runnerHost | String | - | No description provided |
| platform | Scalar | - | No description provided |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
cli \
dev-binariesfunc (m *MyModule) Example() *dagger.Directory {
return dag.
DaggerDev().
Cli().
DevBinaries()
}@function
def example() -> dagger.Directory:
return (
dag.dagger_dev()
.cli()
.dev_binaries()
)@func()
example(): Directory {
return dag
.daggerDev()
.cli()
.devBinaries()
}DaggerDevScripts 🔗
lint() 🔗
Lint scripts files
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
scripts \
lintfunc (m *MyModule) Example() {
return dag.
DaggerDev().
Scripts().
Lint()
}@function
def example() -> :
return (
dag.dagger_dev()
.scripts()
.lint()
)@func()
example(): {
return dag
.daggerDev()
.scripts()
.lint()
}test() 🔗
Test install scripts
Return Type
Enum ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
scripts \
testfunc (m *MyModule) Example() {
return dag.
DaggerDev().
Scripts().
Test()
}@function
def example() -> :
return (
dag.dagger_dev()
.scripts()
.test()
)@func()
example(): {
return dag
.daggerDev()
.scripts()
.test()
}DaggerDevSdk 🔗
A dev environment for the official Dagger SDKs
go() 🔗
Develop the Dagger Go SDK
Return Type
DaggerDevGoSdk ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
sdk \
gofunc (m *MyModule) Example() *dagger.DaggerDevGoSdk {
return dag.
DaggerDev().
Sdk().
Go()
}@function
def example() -> dagger.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
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
sdk \
pythonfunc (m *MyModule) Example() *dagger.DaggerDevPythonSdk {
return dag.
DaggerDev().
Sdk().
Python()
}@function
def example() -> dagger.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
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
sdk \
typescriptfunc (m *MyModule) Example() *dagger.DaggerDevTypescriptSdk {
return dag.
DaggerDev().
Sdk().
Typescript()
}@function
def example() -> dagger.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
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
sdk \
elixirfunc (m *MyModule) Example() *dagger.DaggerDevElixirSdk {
return dag.
DaggerDev().
Sdk().
Elixir()
}@function
def example() -> dagger.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
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
sdk \
rustfunc (m *MyModule) Example() *dagger.DaggerDevRustSdk {
return dag.
DaggerDev().
Sdk().
Rust()
}@function
def example() -> dagger.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
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
sdk \
phpfunc (m *MyModule) Example() *dagger.DaggerDevPhpsdk {
return dag.
DaggerDev().
Sdk().
Php()
}@function
def example() -> dagger.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
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
sdk \
javafunc (m *MyModule) Example() *dagger.DaggerDevJavaSdk {
return dag.
DaggerDev().
Sdk().
Java()
}@function
def example() -> dagger.DaggerDevJavaSdk:
return (
dag.dagger_dev()
.sdk()
.java()
)@func()
example(): DaggerDevJavaSdk {
return dag
.daggerDev()
.sdk()
.java()
}dotnet() 🔗
Develop the Dagger Dotnet SDK (experimental)
Return Type
DaggerDevDotnetSdk ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
sdk \
dotnetfunc (m *MyModule) Example() *dagger.DaggerDevDotnetSdk {
return dag.
DaggerDev().
Sdk().
Dotnet()
}@function
def example() -> dagger.DaggerDevDotnetSdk:
return (
dag.dagger_dev()
.sdk()
.dotnet()
)@func()
example(): DaggerDevDotnetSdk {
return dag
.daggerDev()
.sdk()
.dotnet()
}DaggerDevTest 🔗
all() 🔗
Run all engine tests
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| failfast | Boolean | - | No description provided |
| parallel | Integer | - | No description provided |
| timeout | String | - | No description provided |
| race | Boolean | - | No description provided |
| envFile | Secret | - | No description provided |
| testVerbose | Boolean | - | No description provided |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
test \
allfunc (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()
}telemetry() 🔗
Run telemetry tests
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| run | String | - | Only run these tests |
| skip | String | - | Skip these tests |
| update | Boolean | - | No description provided |
| failfast | Boolean | - | No description provided |
| parallel | Integer | - | No description provided |
| timeout | String | - | No description provided |
| race | Boolean | - | No description provided |
| count | Integer ! | 1 | No description provided |
| envFile | Secret | - | No description provided |
| testVerbose | Boolean | - | No description provided |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
test \
telemetry --count integerfunc (m *MyModule) Example(count int) *dagger.Directory {
return dag.
DaggerDev().
Test().
Telemetry(count)
}@function
def example(count: int) -> dagger.Directory:
return (
dag.dagger_dev()
.test()
.telemetry(count)
)@func()
example(count: number): Directory {
return dag
.daggerDev()
.test()
.telemetry(count)
}list() 🔗
List all tests
Return Type
String ! Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
test \
listfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
DaggerDev().
Test().
List(ctx)
}@function
async def example() -> str:
return await (
dag.dagger_dev()
.test()
.list()
)@func()
async example(): Promise<string> {
return dag
.daggerDev()
.test()
.list()
}specific() 🔗
Run specific tests
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| run | String | - | Only run these tests |
| skip | String | - | Skip these tests |
| pkg | String | "./..." | No description provided |
| failfast | Boolean | - | Abort test run on first failure |
| parallel | Integer | - | How many tests to run in parallel - defaults to the number of CPUs |
| timeout | String | - | How long before timing out the test run |
| race | Boolean | - | No description provided |
| count | Integer | 1 | No description provided |
| envFile | Secret | - | No description provided |
| testVerbose | Boolean | - | Enable verbose output |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
test \
specificfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
Test().
Specific(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.test()
.specific()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.test()
.specific()
}update() 🔗
Update specific tests
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| run | String | - | Only run these tests |
| skip | String | - | Skip these tests |
| pkg | String | "./..." | No description provided |
| failfast | Boolean | - | Abort test run on first failure |
| parallel | Integer | - | How many tests to run in parallel - defaults to the number of CPUs |
| timeout | String | - | How long before timing out the test run |
| race | Boolean | - | No description provided |
| count | Integer | 1 | No description provided |
| envFile | Secret | - | No description provided |
| testVerbose | Boolean | - | Enable verbose output |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
test \
updatefunc (m *MyModule) Example() *dagger.Changeset {
return dag.
DaggerDev().
Test().
Update()
}@function
def example() -> dagger.Changeset:
return (
dag.dagger_dev()
.test()
.update()
)@func()
example(): Changeset {
return dag
.daggerDev()
.test()
.update()
}dump() 🔗
Run specific tests while curling (pprof) dumps from their associated dev engine:
defaults to heap dumps, eg: take a heap dump every second and one after the tests complete:
dagger call test dump --run=TestCache/TestVolume --pkg=./core/integration --interval=1s export --path=/tmp/dump-$(date +"%Y%m%d_%H%M%S")
but also works for profiles:
dagger call test dump --run=TestCache/TestVolume --pkg=./core/integration --route=pprof/profile --no-final export --path=/tmp/dump-$(date +"%Y%m%d_%H%M%S")
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| run | String | - | Only run these tests |
| skip | String | - | Skip these tests |
| pkg | String | "./..." | No description provided |
| failfast | Boolean | - | Abort test run on first failure |
| parallel | Integer | - | How many tests to run in parallel - defaults to the number of CPUs |
| timeout | String | - | How long before timing out the test run |
| race | Boolean | - | No description provided |
| count | Integer | 1 | No description provided |
| testVerbose | Boolean | - | Enable verbose output |
| route | String | "pprof/heap" | debug subroute to dump, like pprof/profile, pprof/heap, or requests |
| noFinal | Boolean ! | false | when set, don't take a final dump after the tests have completed. usually good with --route="pprof/profile". |
| delay | String | "1s" | wait this long before starting to take dumps. delay does not include engine startup. |
| interval | String | "-1s" | wait this long between dumps. negative values will fetch exactly 1 dump excluding the one controlled by "final" |
Example
dagger -m github.com/shykes/dagger@e0a1a07f10ce28ac9e5ae99265f0426c45f509e6 call \
test \
dump --no-final booleanfunc (m *MyModule) Example(noFinal bool) *dagger.Directory {
return dag.
DaggerDev().
Test().
Dump(noFinal)
}@function
def example(no_final: bool) -> dagger.Directory:
return (
dag.dagger_dev()
.test()
.dump(no_final)
)@func()
example(noFinal: boolean): Directory {
return dag
.daggerDev()
.test()
.dump(noFinal)
}DaggerDevGoSdk 🔗
name() 🔗
Return Type
String ! Example
Function DaggerDevGoSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.name is not accessible from the dagger-dev modulesource() 🔗
Return Type
Directory ! Example
Function DaggerDevGoSdk.source is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.source is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.source is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.source is not accessible from the dagger-dev moduletest() 🔗
Test the Go SDK
Return Type
Enum ! Example
Function DaggerDevGoSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.test is not accessible from the dagger-dev modulebaseContainer() 🔗
Return Type
Container ! Example
Function DaggerDevGoSdk.baseContainer is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.baseContainer is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.baseContainer is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.baseContainer is not accessible from the dagger-dev moduledevContainer() 🔗
Return Type
Container ! Example
Function DaggerDevGoSdk.devContainer is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.devContainer is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.devContainer is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.devContainer is not accessible from the dagger-dev modulegenerate() 🔗
Regenerate the Go SDK API
Return Type
Changeset ! Example
Function DaggerDevGoSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.generate is not accessible from the dagger-dev modulereleaseDryRun() 🔗
Test the release
Return Type
Enum ! Example
Function DaggerDevGoSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.releaseDryRun is not accessible from the dagger-dev modulepublish() 🔗
Publish the Go SDK
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| tag | String ! | - | No description provided |
| dryRun | Boolean | - | No description provided |
| gitRepo | String | "https://github.com/dagger/dagger-go-sdk.git" | No description provided |
| gitUserName | String | "dagger-ci" | No description provided |
| gitUserEmail | String | "hello@dagger.io" | No description provided |
| githubToken | Secret | - | No description provided |
Example
Function DaggerDevGoSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.publish is not accessible from the dagger-dev modulebump() 🔗
Bump the Go SDK’s Engine dependency
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | - | No description provided |
Example
Function DaggerDevGoSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.bump is not accessible from the dagger-dev moduleDaggerDevPythonSdk 🔗
name() 🔗
Return Type
String ! Example
Function DaggerDevPythonSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.name is not accessible from the dagger-dev modulelintPython() 🔗
CheckPythonFormat checks the Python code formatting
Return Type
Enum ! Example
Function DaggerDevPythonSdk.lintPython is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.lintPython is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.lintPython is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.lintPython is not accessible from the dagger-dev moduleruntimeSource() 🔗
Return Type
Directory ! Example
Function DaggerDevPythonSdk.runtimeSource is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.runtimeSource is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.runtimeSource is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.runtimeSource is not accessible from the dagger-dev modulelintGo() 🔗
CheckGoFormat checks the Go code formatting for the Python runtime
Return Type
Enum ! Example
Function DaggerDevPythonSdk.lintGo is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.lintGo is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.lintGo is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.lintGo is not accessible from the dagger-dev moduletest() 🔗
Test the Python SDK
Return Type
Enum ! Example
Function DaggerDevPythonSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.test is not accessible from the dagger-dev modulegenerate() 🔗
Regenerate the Python SDK API
Return Type
Changeset ! Example
Function DaggerDevPythonSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.generate is not accessible from the dagger-dev modulereleaseDryRun() 🔗
Test the publishing process
Return Type
Enum ! Example
Function DaggerDevPythonSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.releaseDryRun is not accessible from the dagger-dev modulepublish() 🔗
Publish the Python SDK
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| tag | String ! | - | No description provided |
| dryRun | Boolean | - | No description provided |
| pypiRepo | String | - | No description provided |
| pypiToken | Secret | - | No description provided |
Example
Function DaggerDevPythonSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.publish is not accessible from the dagger-dev modulebump() 🔗
Bump the Python SDK’s Engine dependency
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | - | No description provided |
Example
Function DaggerDevPythonSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.bump is not accessible from the dagger-dev moduleDaggerDevTypescriptSdk 🔗
name() 🔗
Return Type
String ! Example
Function DaggerDevTypescriptSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.name is not accessible from the dagger-dev modulelintTypescript() 🔗
CheckTypescriptFormat checks the formatting of the Typescript SDK code
Return Type
Enum ! Example
Function DaggerDevTypescriptSdk.lintTypescript is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.lintTypescript is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.lintTypescript is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.lintTypescript is not accessible from the dagger-dev modulelintDocsSnippets() 🔗
CheckDocsSnippetsFormat checks the formatting of Typescript snippets in the docs
Return Type
Enum ! Example
Function DaggerDevTypescriptSdk.lintDocsSnippets is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.lintDocsSnippets is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.lintDocsSnippets is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.lintDocsSnippets is not accessible from the dagger-dev modulelintGo() 🔗
CheckGoFormat checks the formatting of the typescript runtime, which is written in Go
Return Type
Enum ! Example
Function DaggerDevTypescriptSdk.lintGo is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.lintGo is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.lintGo is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.lintGo is not accessible from the dagger-dev moduleruntimeSource() 🔗
Return Type
Directory ! Example
Function DaggerDevTypescriptSdk.runtimeSource is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.runtimeSource is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.runtimeSource is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.runtimeSource is not accessible from the dagger-dev moduletest() 🔗
Test the Typescript SDK
Return Type
Enum ! Example
Function DaggerDevTypescriptSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.test is not accessible from the dagger-dev modulegenerate() 🔗
Regenerate the Typescript client bindings
Return Type
Changeset ! Example
Function DaggerDevTypescriptSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.generate is not accessible from the dagger-dev modulereleaseDryRun() 🔗
Test the publishing process
Return Type
Enum ! Example
Function DaggerDevTypescriptSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.releaseDryRun is not accessible from the dagger-dev modulepublish() 🔗
Publish the Typescript SDK
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| tag | String ! | - | No description provided |
| dryRun | Boolean | - | No description provided |
| npmToken | Secret | - | No description provided |
Example
Function DaggerDevTypescriptSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.publish is not accessible from the dagger-dev modulebump() 🔗
Bump the Typescript SDK’s Engine dependency
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | - | No description provided |
Example
Function DaggerDevTypescriptSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.bump is not accessible from the dagger-dev modulenodeJsContainer() 🔗
Return an actual nodejs base image A base image does not have application source code mounted This allows cleaner control over mounting later, for example for the purposes of generating changes before/after running the container
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String | - | No description provided |
Example
Function DaggerDevTypescriptSdk.nodeJsContainer is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.nodeJsContainer is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.nodeJsContainer is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.nodeJsContainer is not accessible from the dagger-dev moduleDaggerDevElixirSdk 🔗
name() 🔗
Return Type
String ! Example
Function DaggerDevElixirSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.name is not accessible from the dagger-dev modulelint() 🔗
Lint the Elixir SDK
Return Type
Enum ! Example
Function DaggerDevElixirSdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.lint is not accessible from the dagger-dev moduletest() 🔗
Test the Elixir SDK
Return Type
Enum ! Example
Function DaggerDevElixirSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.test is not accessible from the dagger-dev modulegenerate() 🔗
Regenerate the Elixir SDK API
Return Type
Changeset ! Example
Function DaggerDevElixirSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.generate is not accessible from the dagger-dev modulereleaseDryRun() 🔗
Test the publishing process
Return Type
Enum ! Example
Function DaggerDevElixirSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.releaseDryRun is not accessible from the dagger-dev modulepublish() 🔗
Publish the Elixir SDK
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| tag | String ! | - | No description provided |
| dryRun | Boolean | - | No description provided |
| hexApikey | Secret | - | No description provided |
Example
Function DaggerDevElixirSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.publish is not accessible from the dagger-dev modulebump() 🔗
Bump the Elixir SDK’s Engine dependency
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | - | No description provided |
Example
Function DaggerDevElixirSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.bump is not accessible from the dagger-dev modulecontainer() 🔗
Return the dev container from the native elixir SDK dev
Return Type
Container ! Example
Function DaggerDevElixirSdk.container is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.container is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.container is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.container is not accessible from the dagger-dev moduleDaggerDevRustSdk 🔗
name() 🔗
Return Type
String ! Example
Function DaggerDevRustSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.name is not accessible from the dagger-dev modulelint() 🔗
Lint the Rust SDK Note: technically this is a code format check, not a lint check
Return Type
Enum ! Example
Function DaggerDevRustSdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.lint is not accessible from the dagger-dev moduletest() 🔗
Test the Rust SDK
Return Type
Enum ! Example
Function DaggerDevRustSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.test is not accessible from the dagger-dev modulesource() 🔗
Return Type
Directory ! Example
Function DaggerDevRustSdk.source is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.source is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.source is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.source is not accessible from the dagger-dev modulegenerate() 🔗
Regenerate the Rust SDK API
Return Type
Changeset ! Example
Function DaggerDevRustSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.generate is not accessible from the dagger-dev modulereleaseDryRun() 🔗
Test the publishing process
Return Type
Enum ! Example
Function DaggerDevRustSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.releaseDryRun is not accessible from the dagger-dev modulepublish() 🔗
Publish the Rust SDK
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| tag | String ! | - | No description provided |
| dryRun | Boolean | - | No description provided |
| cargoRegistryToken | Secret | - | No description provided |
Example
Function DaggerDevRustSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.publish is not accessible from the dagger-dev modulebump() 🔗
Bump the Rust SDK’s Engine dependency
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | - | No description provided |
Example
Function DaggerDevRustSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.bump is not accessible from the dagger-dev moduledevContainer() 🔗
Return a Rust dev container with the dagger source mounted and the workdir set to ./sdk/rust within it
Return Type
Container ! Example
Function DaggerDevRustSdk.devContainer is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.devContainer is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.devContainer is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.devContainer is not accessible from the dagger-dev moduleDaggerDevPhpsdk 🔗
name() 🔗
Return Type
String ! Example
Function DaggerDevPhpsdk.name is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.name is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.name is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.name is not accessible from the dagger-dev modulesource() 🔗
Return Type
Directory ! Example
Function DaggerDevPhpsdk.source is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.source is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.source is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.source is not accessible from the dagger-dev modulelint() 🔗
Lint the PHP SDK
Return Type
Enum ! Example
Function DaggerDevPhpsdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.lint is not accessible from the dagger-dev moduletest() 🔗
Test the PHP SDK
Return Type
Enum ! Example
Function DaggerDevPhpsdk.test is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.test is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.test is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.test is not accessible from the dagger-dev modulegenerate() 🔗
Regenerate the PHP SDK API + docs
Return Type
Changeset ! Example
Function DaggerDevPhpsdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.generate is not accessible from the dagger-dev modulereleaseDryRun() 🔗
Test the publishing process
Return Type
Enum ! Example
Function DaggerDevPhpsdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.releaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.releaseDryRun is not accessible from the dagger-dev modulepublish() 🔗
Publish the PHP SDK
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| tag | String ! | - | No description provided |
| dryRun | Boolean | - | No description provided |
| gitRepo | String | "https://github.com/dagger/dagger-php-sdk.git" | No description provided |
| gitUserName | String | "dagger-ci" | No description provided |
| gitUserEmail | String | "hello@dagger.io" | No description provided |
| githubToken | Secret | - | No description provided |
Example
Function DaggerDevPhpsdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.publish is not accessible from the dagger-dev modulebump() 🔗
Bump the PHP SDK’s Engine dependency
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | - | No description provided |
Example
Function DaggerDevPhpsdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.bump is not accessible from the dagger-dev moduleDaggerDevJavaSdk 🔗
name() 🔗
Return Type
String ! Example
Function DaggerDevJavaSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.name is not accessible from the dagger-dev modulelint() 🔗
Lint the Java SDK
Return Type
Enum ! Example
Function DaggerDevJavaSdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.lint is not accessible from the dagger-dev moduletest() 🔗
Test the Java SDK
Return Type
Enum ! Example
Function DaggerDevJavaSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.test is not accessible from the dagger-dev modulepublish() 🔗
Publish the Java SDK
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| tag | String ! | - | No description provided |
| dryRun | Boolean | - | No description provided |
Example
Function DaggerDevJavaSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.publish is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.publish is not accessible from the dagger-dev modulebump() 🔗
Bump the Java SDK’s Engine dependency
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | - | No description provided |
Example
Function DaggerDevJavaSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.bump is not accessible from the dagger-dev modulebumpDeps() 🔗
Bump dependencies in the Java SDK
Return Type
Changeset ! Example
Function DaggerDevJavaSdk.bumpDeps is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.bumpDeps is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.bumpDeps is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.bumpDeps is not accessible from the dagger-dev modulemaven() 🔗
Return Type
Container ! Example
Function DaggerDevJavaSdk.maven is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.maven is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.maven is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.maven is not accessible from the dagger-dev moduleDaggerDevDotnetSdk 🔗
name() 🔗
Return Type
String ! Example
Function DaggerDevDotnetSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.name is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.name is not accessible from the dagger-dev modulelint() 🔗
Return Type
Enum ! Example
Function DaggerDevDotnetSdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.lint is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.lint is not accessible from the dagger-dev moduletest() 🔗
Return Type
Enum ! Example
Function DaggerDevDotnetSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.test is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.test is not accessible from the dagger-dev moduleinstall() 🔗
Install the SDK locally so that it can be imported NOTE: this was initially called Generate(), but it doesn’t do what our CI expects an SDK Generate() function to do.
- Expected: generate client library to be committed and published
- Actual: generate introspection.json which allows using the SDK from a local checkout
Since this SDK at the moment cannot be published or installed, the standard Generate() function does not need to exist. WARNING: if you rename this to Generate(), it wil break CI because it adds a file to the repo (introspection.json) which is git-ignored and therefore not present in a clean checkout This is why the same check may not fail locally - you have the gitignored copy.
Return Type
Changeset ! Example
Function DaggerDevDotnetSdk.install is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.install is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.install is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.install is not accessible from the dagger-dev modulebump() 🔗
Return Type
Changeset !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | - | No description provided |
Example
Function DaggerDevDotnetSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.bump is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.bump is not accessible from the dagger-dev module