Dagger
Search

dang

No long description provided.

Installation

dagger install github.com/shykes/dagger/sdk/dang@0669219e3bfe3ac7c28437fea2fac114de0add15

Entrypoint

Return Type
Dang
Example
dagger -m github.com/shykes/dagger/sdk/dang@0669219e3bfe3ac7c28437fea2fac114de0add15 call \
func (m *MyModule) Example() *dagger.Dang  {
	return dag.
			Dang()
}
@function
def example() -> dagger.Dang:
	return (
		dag.dang()
	)
@func()
example(): Dang {
	return dag
		.dang()
}

Types

Dang 🔗

moduleRuntime() 🔗

ModuleRuntime returns a container with the node entrypoint ready to be called.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonFile !-No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(modSource *dagger.ModuleSource, introspectionJson *dagger.File) *dagger.Container  {
	return dag.
			Dang().
			ModuleRuntime(modSource, introspectionJson)
}
@function
def example(mod_source: dagger.ModuleSource, introspection_json: dagger.File) -> dagger.Container:
	return (
		dag.dang()
		.module_runtime(mod_source, introspection_json)
	)
@func()
example(modSource: ModuleSource, introspectionJson: File): Container {
	return dag
		.dang()
		.moduleRuntime(modSource, introspectionJson)
}

base() 🔗

Return Type
Container !
Example
dagger -m github.com/shykes/dagger/sdk/dang@0669219e3bfe3ac7c28437fea2fac114de0add15 call \
 base
func (m *MyModule) Example() *dagger.Container  {
	return dag.
			Dang().
			Base()
}
@function
def example() -> dagger.Container:
	return (
		dag.dang()
		.base()
	)
@func()
example(): Container {
	return dag
		.dang()
		.base()
}

entrypoint() 🔗

Return Type
File !
Example
dagger -m github.com/shykes/dagger/sdk/dang@0669219e3bfe3ac7c28437fea2fac114de0add15 call \
 entrypoint
func (m *MyModule) Example() *dagger.File  {
	return dag.
			Dang().
			Entrypoint()
}
@function
def example() -> dagger.File:
	return (
		dag.dang()
		.entrypoint()
	)
@func()
example(): File {
	return dag
		.dang()
		.entrypoint()
}

repl() 🔗

Return Type
Container !
Example
dagger -m github.com/shykes/dagger/sdk/dang@0669219e3bfe3ac7c28437fea2fac114de0add15 call \
 repl
func (m *MyModule) Example() *dagger.Container  {
	return dag.
			Dang().
			Repl()
}
@function
def example() -> dagger.Container:
	return (
		dag.dang()
		.repl()
	)
@func()
example(): Container {
	return dag
		.dang()
		.repl()
}