Dagger
Search

dagger-dev

https://dagger.io

Installation

dagger install github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56

Entrypoint

Return Type
DaggerDev
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 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

checkGenerated() 🔗

Verify that generated code is up to date

Return Type
Void !
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 check-generated
func (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()
}

generate() 🔗

Run all code generation - SDKs, docs, grpc stubs, changelog

Return Type
Changeset !
Arguments
NameTypeDefault ValueDescription
checkBoolean -No description provided
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 generate
func (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()
}

changelog() 🔗

A module to generate changelog

Return Type
Changelog !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 changelog
func (m *MyModule) Example() *dagger.Changelog  {
	return dag.
			DaggerDev().
			Changelog()
}
@function
def example() -> dagger.Changelog:
	return (
		dag.dagger_dev()
		.changelog()
	)
@func()
example(): Changelog {
	return dag
		.daggerDev()
		.changelog()
}

ci() 🔗

“CI in CI”: check that Dagger can still run its own CI

Return Type
Ci !
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 ci
func (m *MyModule) Example() *dagger.Ci  {
	return dag.
			DaggerDev().
			Ci()
}
@function
def example() -> dagger.Ci:
	return (
		dag.dagger_dev()
		.ci()
	)
@func()
example(): Ci {
	return dag
		.daggerDev()
		.ci()
}

cli() 🔗

Develop the Dagger CLI

Return Type
Cli !
Arguments
NameTypeDefault ValueDescription
runnerHostString -No description provided
sourceDirectory -No description provided
baseContainer -Base image for go build environment
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 cli
func (m *MyModule) Example() *dagger.Cli  {
	return dag.
			DaggerDev().
			Cli()
}
@function
def example() -> dagger.Cli:
	return (
		dag.dagger_dev()
		.cli()
	)
@func()
example(): Cli {
	return dag
		.daggerDev()
		.cli()
}

docs() 🔗

Dagger docs toolchain

Return Type
Docs !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
nginxConfigFile -No description provided
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 docs
func (m *MyModule) Example() *dagger.Docs  {
	return dag.
			DaggerDev().
			Docs()
}
@function
def example() -> dagger.Docs:
	return (
		dag.dagger_dev()
		.docs()
	)
@func()
example(): Docs {
	return dag
		.daggerDev()
		.docs()
}

elixirSdk() 🔗

Develop the Dagger Elixir SDK (experimental)

Return Type
ElixirSdk !
Arguments
NameTypeDefault ValueDescription
baseImageString -No description provided
workspaceDirectory -No description provided
sourcePathString -No description provided
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 elixir-sdk
func (m *MyModule) Example() *dagger.ElixirSdk  {
	return dag.
			DaggerDev().
			ElixirSdk()
}
@function
def example() -> dagger.ElixirSdk:
	return (
		dag.dagger_dev()
		.elixir_sdk()
	)
@func()
example(): ElixirSdk {
	return dag
		.daggerDev()
		.elixirSdk()
}

engineDev() 🔗

Creates a complete end-to-end build environment with CLI and engine for interactive testing

Return Type
EngineDev !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
subnetNumberInteger !89A configurable part of the IP subnet managed by the engine Change this to allow nested dagger engines
clientDockerConfigSecret -A docker config file with credentials to install on clients, to ensure they can access private registries
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 engine-dev --subnet-number integer
func (m *MyModule) Example(subnetNumber int) *dagger.EngineDev  {
	return dag.
			DaggerDev().
			EngineDev(subnetNumber)
}
@function
def example(subnet_number: int) -> dagger.EngineDev:
	return (
		dag.dagger_dev()
		.engine_dev(subnet_number)
	)
@func()
example(subnetNumber: number): EngineDev {
	return dag
		.daggerDev()
		.engineDev(subnetNumber)
}

go() 🔗

A module to develop, build, test Go softwares

Return Type
Go !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -Project source directory
versionString "1.25.3"Go version
moduleCacheCacheVolume -Use a custom module cache
buildCacheCacheVolume -Use a custom build cache
baseContainer -Use a custom base container. The container must have Go installed.
ldflags[String ! ] -Pass arguments to 'go build -ldflags''
values[String ! ] -Add string value definition of the form importpath.name=value Example: "github.com/my/module.Foo=bar"
cgoBoolean -Enable CGO
raceBoolean -Enable race detector. Implies cgo=true
experiment[String ! ] -Enable go experiments https://pkg.go.dev/internal/goexperiment
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 go
func (m *MyModule) Example() *dagger.Go  {
	return dag.
			DaggerDev().
			Go()
}
@function
def example() -> dagger.Go:
	return (
		dag.dagger_dev()
		.go()
	)
@func()
example(): Go {
	return dag
		.daggerDev()
		.go()
}

goSdk() 🔗

Toolchain to develop the Dagger Go SDK

Return Type
GoSdk !
Arguments
NameTypeDefault ValueDescription
workspaceDirectory -No description provided
sourcePathString -No description provided
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 go-sdk
func (m *MyModule) Example() *dagger.GoSdk  {
	return dag.
			DaggerDev().
			GoSdk()
}
@function
def example() -> dagger.GoSdk:
	return (
		dag.dagger_dev()
		.go_sdk()
	)
@func()
example(): GoSdk {
	return dag
		.daggerDev()
		.goSdk()
}

helm() 🔗

A toolchain to develop and test helm charts

Return Type
Helm !
Arguments
NameTypeDefault ValueDescription
chartDirectory -The dagger helm chart directory
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 helm
func (m *MyModule) Example() *dagger.Helm  {
	return dag.
			DaggerDev().
			Helm()
}
@function
def example() -> dagger.Helm:
	return (
		dag.dagger_dev()
		.helm()
	)
@func()
example(): Helm {
	return dag
		.daggerDev()
		.helm()
}

installers() 🔗

A toolchain to test Dagger installers

Return Type
Installers !
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 installers
func (m *MyModule) Example() *dagger.Installers  {
	return dag.
			DaggerDev().
			Installers()
}
@function
def example() -> dagger.Installers:
	return (
		dag.dagger_dev()
		.installers()
	)
@func()
example(): Installers {
	return dag
		.daggerDev()
		.installers()
}

javaSdk() 🔗

Toolchain to develop the Dagger Java SDK (experimental)

Return Type
JavaSdk !
Arguments
NameTypeDefault ValueDescription
workspaceDirectory -No description provided
sourcePathString -No description provided
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 java-sdk
func (m *MyModule) Example() *dagger.JavaSdk  {
	return dag.
			DaggerDev().
			JavaSdk()
}
@function
def example() -> dagger.JavaSdk:
	return (
		dag.dagger_dev()
		.java_sdk()
	)
@func()
example(): JavaSdk {
	return dag
		.daggerDev()
		.javaSdk()
}

phpSdk() 🔗

Toolchain to develop the Dagger PHP SDK (experimental)

Return Type
PhpSdk !
Arguments
NameTypeDefault ValueDescription
workspaceDirectory -A directory with all the files needed to develop the SDK
sourcePathString !"sdk/php"The path of the SDK source in the workspace
doctumConfigPathString !"docs/doctum-config.php"The path of the doctum config in the workspace
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 php-sdk --source-path string --doctum-config-path string
func (m *MyModule) Example(sourcePath string, doctumConfigPath string) *dagger.PhpSdk  {
	return dag.
			DaggerDev().
			PhpSdk(sourcePath, doctumConfigPath)
}
@function
def example(source_path: str, doctum_config_path: str) -> dagger.PhpSdk:
	return (
		dag.dagger_dev()
		.php_sdk(source_path, doctum_config_path)
	)
@func()
example(sourcePath: string, doctumConfigPath: string): PhpSdk {
	return dag
		.daggerDev()
		.phpSdk(sourcePath, doctumConfigPath)
}

pythonSdk() 🔗

Toolchain to develop the Dagger Python SDK

Return Type
PythonSdk !
Arguments
NameTypeDefault ValueDescription
workspaceDirectory -A workspace containing the SDK source code and other relevant files
sourcePathString !"sdk/python"No description provided
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 python-sdk --source-path string
func (m *MyModule) Example(sourcePath string) *dagger.PythonSdk  {
	return dag.
			DaggerDev().
			PythonSdk(sourcePath)
}
@function
def example(source_path: str) -> dagger.PythonSdk:
	return (
		dag.dagger_dev()
		.python_sdk(source_path)
	)
@func()
example(sourcePath: string): PythonSdk {
	return dag
		.daggerDev()
		.pythonSdk(sourcePath)
}

release() 🔗

A module that encodes the official release process of the Dagger Engine

Return Type
Release !
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 release
func (m *MyModule) Example() *dagger.Release  {
	return dag.
			DaggerDev().
			Release()
}
@function
def example() -> dagger.Release:
	return (
		dag.dagger_dev()
		.release()
	)
@func()
example(): Release {
	return dag
		.daggerDev()
		.release()
}

rustSdk() 🔗

Toolchain to develop the Dagger Rust SDK (experimental)

Return Type
RustSdk !
Arguments
NameTypeDefault ValueDescription
workspaceDirectory -A directory with all the files needed to develop the SDK
sourcePathString !"sdk/rust"The path of the SDK source in the workspace
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 rust-sdk --source-path string
func (m *MyModule) Example(sourcePath string) *dagger.RustSdk  {
	return dag.
			DaggerDev().
			RustSdk(sourcePath)
}
@function
def example(source_path: str) -> dagger.RustSdk:
	return (
		dag.dagger_dev()
		.rust_sdk(source_path)
	)
@func()
example(sourcePath: string): RustSdk {
	return dag
		.daggerDev()
		.rustSdk(sourcePath)
}

sdks() 🔗

Develop Dagger SDKs

Return Type
Sdks !
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 sdks
func (m *MyModule) Example() *dagger.Sdks  {
	return dag.
			DaggerDev().
			Sdks()
}
@function
def example() -> dagger.Sdks:
	return (
		dag.dagger_dev()
		.sdks()
	)
@func()
example(): Sdks {
	return dag
		.daggerDev()
		.sdks()
}

security() 🔗

A toolchain for supply chain security of the Dagger project

Return Type
Security !
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 security
func (m *MyModule) Example() *dagger.Security  {
	return dag.
			DaggerDev().
			Security()
}
@function
def example() -> dagger.Security:
	return (
		dag.dagger_dev()
		.security()
	)
@func()
example(): Security {
	return dag
		.daggerDev()
		.security()
}

typescriptSdk() 🔗

Toolchain to develop the Dagger Typescript SDK

Return Type
TypescriptSdk !
Arguments
NameTypeDefault ValueDescription
nodeVersionPrevLtsString -No description provided
nodeVersionLtsString -No description provided
bunVersionString -No description provided
workspaceDirectory -No description provided
sourcePathString -No description provided
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 typescript-sdk
func (m *MyModule) Example() *dagger.TypescriptSdk  {
	return dag.
			DaggerDev().
			TypescriptSdk()
}
@function
def example() -> dagger.TypescriptSdk:
	return (
		dag.dagger_dev()
		.typescript_sdk()
	)
@func()
example(): TypescriptSdk {
	return dag
		.daggerDev()
		.typescriptSdk()
}

testSplit() 🔗

Test suites to run

Return Type
TestSplit !
Example
dagger -m github.com/kpenfound/dagger@97f17797af905219494c866899349a6ad9d53c56 call \
 test-split
func (m *MyModule) Example() *dagger.TestSplit  {
	return dag.
			DaggerDev().
			TestSplit()
}
@function
def example() -> dagger.TestSplit:
	return (
		dag.dagger_dev()
		.test_split()
	)
@func()
example(): TestSplit {
	return dag
		.daggerDev()
		.testSplit()
}