Dagger
Search

elixir-script-sdk

No long description provided.

Installation

dagger install github.com/wingyplus/elixir-script-sdk@cca2c21b7b1ae811cc355ec8ec32288316ef5a87

Entrypoint

Return Type
ElixirScriptSdk
Example
dagger -m github.com/wingyplus/elixir-script-sdk@cca2c21b7b1ae811cc355ec8ec32288316ef5a87 call \
func (m *myModule) example() *ElixirScriptSdk  {
	return dag.
			ElixirScriptSdk()
}
@function
def example() -> dag.ElixirScriptSdk:
	return (
		dag.elixir_script_sdk()
	)
@func()
example(): ElixirScriptSdk {
	return dag
		.elixirScriptSdk()
}

Types

ElixirScriptSdk 🔗

requiredPaths() 🔗

Return Type
[String ! ] !
Example
dagger -m github.com/wingyplus/elixir-script-sdk@cca2c21b7b1ae811cc355ec8ec32288316ef5a87 call \
 required-paths
func (m *myModule) example(ctx context.Context) []string  {
	return dag.
			ElixirScriptSdk().
			RequiredPaths(ctx)
}
@function
async def example() -> List[str]:
	return await (
		dag.elixir_script_sdk()
		.required_paths()
	)
@func()
async example(): Promise<string[]> {
	return dag
		.elixirScriptSdk()
		.requiredPaths()
}

moduleRuntime() 🔗

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 *ModuleSource, introspectionJson *File) *Container  {
	return dag.
			ElixirScriptSdk().
			ModuleRuntime(modSource, introspectionJson)
}
@function
def example(mod_source: dag.ModuleSource, introspection_json: dagger.File) -> dagger.Container:
	return (
		dag.elixir_script_sdk()
		.module_runtime(mod_source, introspection_json)
	)
@func()
example(modSource: ModuleSource, introspectionJson: File): Container {
	return dag
		.elixirScriptSdk()
		.moduleRuntime(modSource, introspectionJson)
}

codegen() 🔗

Return Type
GeneratedCode !
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 *ModuleSource, introspectionJson *File) *GeneratedCode  {
	return dag.
			ElixirScriptSdk().
			Codegen(modSource, introspectionJson)
}
@function
def example(mod_source: dag.ModuleSource, introspection_json: dagger.File) -> dag.GeneratedCode:
	return (
		dag.elixir_script_sdk()
		.codegen(mod_source, introspection_json)
	)
@func()
example(modSource: ModuleSource, introspectionJson: File): GeneratedCode {
	return dag
		.elixirScriptSdk()
		.codegen(modSource, introspectionJson)
}