dagger-dev
https://dagger.ioInstallation
dagger install github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939cEntrypoint
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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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()
}checkGenerated() 🔗
Verify that generated code is up to date
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
check-generatedfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
CheckGenerated(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.check_generated()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.checkGenerated()
}checkReleaseDryRun() 🔗
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
check-release-dry-runfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
CheckReleaseDryRun(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.check_release_dry_run()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.checkReleaseDryRun()
}checkLint() 🔗
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
check-lintfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
CheckLint(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.check_lint()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.checkLint()
}checkTidy() 🔗
Check that go modules have up-to-date go.mod and go.sum
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
check-tidyfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
CheckTidy(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.check_tidy()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.checkTidy()
}checkLintSdks() 🔗
Run linters for all SDKs
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
check-lint-sdksfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
CheckLintSdks(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.check_lint_sdks()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.checkLintSdks()
}checkLintHelm() 🔗
Lint the helm chart
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
check-lint-helmfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
CheckLintHelm(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.check_lint_helm()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.checkLintHelm()
}checkLintDocs() 🔗
Lint the documentation
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
check-lint-docsfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
CheckLintDocs(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.check_lint_docs()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.checkLintDocs()
}checkLintScripts() 🔗
Lint the install scripts
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
check-lint-scriptsfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
CheckLintScripts(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.check_lint_scripts()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.checkLintScripts()
}checkLintGo() 🔗
Lint the Go codebase
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
check-lint-gofunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
CheckLintGo(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.check_lint_go()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.checkLintGo()
}checkTestScripts() 🔗
Verify that scripts work correctly
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
check-test-scriptsfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
CheckTestScripts(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.check_test_scripts()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.checkTestScripts()
}checkTestHelm() 🔗
Verify that helm works correctly
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
check-test-helmfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
CheckTestHelm(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.check_test_helm()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.checkTestHelm()
}checkTestSdks() 🔗
Run all checks for all SDKs
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
check-test-sdksfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
CheckTestSdks(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.check_test_sdks()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.checkTestSdks()
}cli() 🔗
Develop the Dagger CLI
Return Type
DaggerDevCli ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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()
}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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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)
}scripts() 🔗
Run Dagger scripts
Return Type
DaggerDevScripts ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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()
}test() 🔗
Find test suites to run
Return Type
DaggerDevTest ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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()
}bench() 🔗
Find benchmark suites to run
Return Type
DaggerDevBench ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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()
}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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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()
}sdk() 🔗
Develop Dagger SDKs
Return Type
DaggerDevSdk ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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()
}dev() 🔗
Creates a dev container that has a running CLI connected to a dagger engine
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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
devfunc (m *MyModule) Example(image ) *dagger.Container {
return dag.
DaggerDev().
Dev(image)
}@function
def example(image: ) -> dagger.Container:
return (
dag.dagger_dev()
.dev(image)
)@func()
example(image: ): Container {
return dag
.daggerDev()
.dev(image)
}checkScan() 🔗
Scan source code and artifacts for security vulnerabilities
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
check-scanfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
CheckScan(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.check_scan()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.checkScan()
}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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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 🔗
checkLint() 🔗
Lint scripts files
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
scripts \
check-lintfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
Scripts().
CheckLint(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.scripts()
.check_lint()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.scripts()
.checkLint()
}test() 🔗
Test install scripts
Return Type
Void ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c call \
scripts \
testfunc (m *MyModule) Example(ctx context.Context) {
return dag.
DaggerDev().
Scripts().
Test(ctx)
}@function
async def example() -> None:
return await (
dag.dagger_dev()
.scripts()
.test()
)@func()
async example(): Promise<void> {
return dag
.daggerDev()
.scripts()
.test()
}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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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)
}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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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)
}DaggerDevSdk 🔗
A dev environment for the official Dagger SDKs
go() 🔗
Develop the Dagger Go SDK
Return Type
DaggerDevGoSdk ! Example
dagger -m github.com/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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/AmirulAndalib/dagger@686f6d2dfdc88871525d413a7f6590fffc6e939c 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()
}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
Void ! 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 modulecheckReleaseDryRun() 🔗
Test the release
Return Type
Void ! Example
Function DaggerDevGoSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevGoSdk.checkReleaseDryRun 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 modulecheckLintPython() 🔗
CheckPythonFormat checks the Python code formatting
Return Type
Void ! Example
Function DaggerDevPythonSdk.checkLintPython is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.checkLintPython is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.checkLintPython is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.checkLintPython 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 modulecheckLintGo() 🔗
CheckGoFormat checks the Go code formatting for the Python runtime
Return Type
Void ! Example
Function DaggerDevPythonSdk.checkLintGo is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.checkLintGo is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.checkLintGo is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.checkLintGo is not accessible from the dagger-dev modulecheckLint() 🔗
Lint the Python SDK
Return Type
Void ! Example
Function DaggerDevPythonSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.checkLint is not accessible from the dagger-dev moduletest() 🔗
Test the Python SDK
Return Type
Void ! 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 modulecheckReleaseDryRun() 🔗
Test the publishing process
Return Type
Void ! Example
Function DaggerDevPythonSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevPythonSdk.checkReleaseDryRun 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 modulecheckLint() 🔗
Lint the Typescript SDK
Return Type
Void ! Example
Function DaggerDevTypescriptSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkLint is not accessible from the dagger-dev modulecheckLintTypescript() 🔗
CheckTypescriptFormat checks the formatting of the Typescript SDK code
Return Type
Void ! Example
Function DaggerDevTypescriptSdk.checkLintTypescript is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkLintTypescript is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkLintTypescript is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkLintTypescript is not accessible from the dagger-dev modulecheckLintSnippets() 🔗
CheckDocsSnippetsFormat checks the formatting of Typescript snippets in the docs
Return Type
Void ! Example
Function DaggerDevTypescriptSdk.checkLintSnippets is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkLintSnippets is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkLintSnippets is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkLintSnippets is not accessible from the dagger-dev modulecheckGoLint() 🔗
CheckGoFormat checks the formatting of the typescript runtime, which is written in Go
Return Type
Void ! Example
Function DaggerDevTypescriptSdk.checkGoLint is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkGoLint is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkGoLint is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkGoLint 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
Void ! 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 modulecheckReleaseDryRun() 🔗
Test the publishing process
Return Type
Void ! Example
Function DaggerDevTypescriptSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevTypescriptSdk.checkReleaseDryRun 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 modulecheckLint() 🔗
Lint the Elixir SDK
Return Type
Void ! Example
Function DaggerDevElixirSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.checkLint is not accessible from the dagger-dev moduletest() 🔗
Test the Elixir SDK
Return Type
Void ! 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 modulecheckReleaseDryRun() 🔗
Test the publishing process
Return Type
Void ! Example
Function DaggerDevElixirSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevElixirSdk.checkReleaseDryRun 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 modulecheckLint() 🔗
Lint the Rust SDK Note: technically this is a code format check, not a lint check
Return Type
Void ! Example
Function DaggerDevRustSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.checkLint is not accessible from the dagger-dev moduletest() 🔗
Test the Rust SDK
Return Type
Void ! 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 modulecheckReleaseDryRun() 🔗
Test the publishing process
Return Type
Void ! Example
Function DaggerDevRustSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevRustSdk.checkReleaseDryRun 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 modulecheckLint() 🔗
Lint the PHP SDK
Return Type
Void ! Example
Function DaggerDevPhpsdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.checkLint is not accessible from the dagger-dev moduletest() 🔗
Test the PHP SDK
Return Type
Void ! 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 modulecheckReleaseDryRun() 🔗
Test the publishing process
Return Type
Void ! Example
Function DaggerDevPhpsdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.checkReleaseDryRun is not accessible from the dagger-dev moduleFunction DaggerDevPhpsdk.checkReleaseDryRun 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 modulecheckLint() 🔗
Lint the Java SDK
Return Type
Void ! Example
Function DaggerDevJavaSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.checkLint is not accessible from the dagger-dev moduletest() 🔗
Test the Java SDK
Return Type
Void ! 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 modulegenerate() 🔗
Regenerate the Java SDK API
Return Type
Changeset ! Example
Function DaggerDevJavaSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.generate is not accessible from the dagger-dev moduleFunction DaggerDevJavaSdk.generate 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 modulecheckLint() 🔗
Return Type
Void ! Example
Function DaggerDevDotnetSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.checkLint is not accessible from the dagger-dev moduleFunction DaggerDevDotnetSdk.checkLint is not accessible from the dagger-dev moduletest() 🔗
Return Type
Void ! 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