dang-sdk
No long description provided.
Installation
dagger install github.com/vito/dang/dagger-sdk@ec3d2214cefe652cc14df31f5959965912b659feEntrypoint
Return Type
DangSdk !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| dangRoot | Directory | - | No description provided | 
Example
dagger -m github.com/vito/dang/dagger-sdk@ec3d2214cefe652cc14df31f5959965912b659fe call \
func (m *MyModule) Example() *dagger.DangSdk  {
	return dag.
			DangSdk()
}@function
def example() -> dagger.DangSdk:
	return (
		dag.dang_sdk()
	)@func()
example(): DangSdk {
	return dag
		.dangSdk()
}Types
DangSdk 🔗
dangRoot() 🔗
Return Type
Directory !Example
dagger -m github.com/vito/dang/dagger-sdk@ec3d2214cefe652cc14df31f5959965912b659fe call \
 dang-rootfunc (m *MyModule) Example() *dagger.Directory  {
	return dag.
			DangSdk().
			DangRoot()
}@function
def example() -> dagger.Directory:
	return (
		dag.dang_sdk()
		.dang_root()
	)@func()
example(): Directory {
	return dag
		.dangSdk()
		.dangRoot()
}moduleRuntime() 🔗
ModuleRuntime returns a container with the node entrypoint ready to be called.
Return Type
Container !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| modSource | ModuleSource ! | - | No description provided | 
| introspectionJson | File ! | - | 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.
			DangSdk().
			ModuleRuntime(modSource, introspectionJson)
}@function
def example(mod_source: dagger.ModuleSource, introspection_json: dagger.File) -> dagger.Container:
	return (
		dag.dang_sdk()
		.module_runtime(mod_source, introspection_json)
	)@func()
example(modSource: ModuleSource, introspectionJson: File): Container {
	return dag
		.dangSdk()
		.moduleRuntime(modSource, introspectionJson)
}base() 🔗
Return Type
Container !Example
dagger -m github.com/vito/dang/dagger-sdk@ec3d2214cefe652cc14df31f5959965912b659fe call \
 basefunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			DangSdk().
			Base()
}@function
def example() -> dagger.Container:
	return (
		dag.dang_sdk()
		.base()
	)@func()
example(): Container {
	return dag
		.dangSdk()
		.base()
}entrypoint() 🔗
Return Type
File !Example
dagger -m github.com/vito/dang/dagger-sdk@ec3d2214cefe652cc14df31f5959965912b659fe call \
 entrypointfunc (m *MyModule) Example() *dagger.File  {
	return dag.
			DangSdk().
			Entrypoint()
}@function
def example() -> dagger.File:
	return (
		dag.dang_sdk()
		.entrypoint()
	)@func()
example(): File {
	return dag
		.dangSdk()
		.entrypoint()
}repl() 🔗
Return Type
Container !Example
dagger -m github.com/vito/dang/dagger-sdk@ec3d2214cefe652cc14df31f5959965912b659fe call \
 replfunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			DangSdk().
			Repl()
}@function
def example() -> dagger.Container:
	return (
		dag.dang_sdk()
		.repl()
	)@func()
example(): Container {
	return dag
		.dangSdk()
		.repl()
}