Dagger
Search

codegen

No long description provided.

Installation

dagger install github.com/dagger/dagger/cmd/codegen@184ad152bf3ab34294b679261d576e641ecdacc0

Entrypoint

Return Type
Codegen
Example
dagger -m github.com/dagger/dagger/cmd/codegen@184ad152bf3ab34294b679261d576e641ecdacc0 call \
func (m *myModule) example() *Codegen  {
	return dag.
			Codegen()
}
@function
def example() -> dag.Codegen:
	return (
		dag.codegen()
	)
@func()
example(): Codegen {
	return dag
		.codegen()
}

Types

Codegen 🔗

build() 🔗

Build the codegen binary

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
platformScalar -No description provided
Example
dagger -m github.com/dagger/dagger/cmd/codegen@184ad152bf3ab34294b679261d576e641ecdacc0 call \
 build
func (m *myModule) example() *Directory  {
	return dag.
			Codegen().
			Build()
}
@function
def example() -> dagger.Directory:
	return (
		dag.codegen()
		.build()
	)
@func()
example(): Directory {
	return dag
		.codegen()
		.build()
}

dev() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
platformScalar -No description provided
Example
dagger -m github.com/dagger/dagger/cmd/codegen@184ad152bf3ab34294b679261d576e641ecdacc0 call \
 dev
func (m *myModule) example() *Container  {
	return dag.
			Codegen().
			Dev()
}
@function
def example() -> dagger.Container:
	return (
		dag.codegen()
		.dev()
	)
@func()
example(): Container {
	return dag
		.codegen()
		.dev()
}

binary() 🔗

Return Type
File !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
platformScalar -No description provided
Example
dagger -m github.com/dagger/dagger/cmd/codegen@184ad152bf3ab34294b679261d576e641ecdacc0 call \
 binary
func (m *myModule) example() *File  {
	return dag.
			Codegen().
			Binary()
}
@function
def example() -> dagger.File:
	return (
		dag.codegen()
		.binary()
	)
@func()
example(): File {
	return dag
		.codegen()
		.binary()
}

container() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
platformScalar -No description provided
Example
dagger -m github.com/dagger/dagger/cmd/codegen@184ad152bf3ab34294b679261d576e641ecdacc0 call \
 container
func (m *myModule) example() *Container  {
	return dag.
			Codegen().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.codegen()
		.container()
	)
@func()
example(): Container {
	return dag
		.codegen()
		.container()
}

introspect() 🔗

Return Type
File !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
platformScalar -No description provided
engineInterface -No description provided
Example
dagger -m github.com/dagger/dagger/cmd/codegen@184ad152bf3ab34294b679261d576e641ecdacc0 call \
 introspect
func (m *myModule) example() *File  {
	return dag.
			Codegen().
			Introspect()
}
@function
def example() -> dagger.File:
	return (
		dag.codegen()
		.introspect()
	)
@func()
example(): File {
	return dag
		.codegen()
		.introspect()
}