Dagger
Search

elixir-sdk

No long description provided.

Installation

dagger install github.com/dagger/dagger/sdk/elixir/runtime@v0.11.6

Entrypoint

Return Type
ElixirSdk !
Arguments
NameTypeDescription
sdkSourceDirDirectory No description provided
Example
func (m *myModule) example() *ElixirSdk  {
	return dag.
			ElixirSdk()
}
@function
def example() -> dag.ElixirSdk:
	return (
		dag.elixir_sdk()
	)
@func()
example(): ElixirSdk {
	return dag
		.elixirSdk()
}

Types

ElixirSdk 🔗

sdksourceDir() 🔗

Return Type
Directory !
Example
dagger -m github.com/dagger/dagger/sdk/elixir/runtime@fdfde1d7cbcf0ac05f7f1c9ffb694f0da6412505 call \
 sdksource-dir
func (m *myModule) example() *Directory  {
	return dag.
			ElixirSdk().
			SdksourceDir()
}
@function
def example() -> dagger.Directory:
	return (
		dag.elixir_sdk()
		.sdksource_dir()
	)
@func()
example(): Directory {
	return dag
		.elixirSdk()
		.sdksourceDir()
}

requiredPaths() 🔗

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

container() 🔗

Return Type
Container !
Example
dagger -m github.com/dagger/dagger/sdk/elixir/runtime@fdfde1d7cbcf0ac05f7f1c9ffb694f0da6412505 call \
 container
func (m *myModule) example() *Container  {
	return dag.
			ElixirSdk().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.elixir_sdk()
		.container()
	)
@func()
example(): Container {
	return dag
		.elixirSdk()
		.container()
}

moduleRuntime() 🔗

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

codegen() 🔗

Return Type
GeneratedCode !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonString !-No description provided
Example
Function ElixirSdk.codegen is not accessible from the elixir-sdk module
func (m *myModule) example(modSource *ModuleSource, introspectionJson string) *GeneratedCode  {
	return dag.
			ElixirSdk().
			Codegen(modSource, introspectionJson)
}
@function
def example(mod_source: dag.ModuleSource, introspection_json: str) -> dag.GeneratedCode:
	return (
		dag.elixir_sdk()
		.codegen(mod_source, introspection_json)
	)
@func()
example(modSource: ModuleSource, introspectionJson: string): GeneratedCode {
	return dag
		.elixirSdk()
		.codegen(modSource, introspectionJson)
}

common() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonString !-No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example(modSource *ModuleSource, introspectionJson string) *Container  {
	return dag.
			ElixirSdk().
			Common(modSource, introspectionJson)
}
@function
def example(mod_source: dag.ModuleSource, introspection_json: str) -> dagger.Container:
	return (
		dag.elixir_sdk()
		.common(mod_source, introspection_json)
	)
@func()
example(modSource: ModuleSource, introspectionJson: string): Container {
	return dag
		.elixirSdk()
		.common(modSource, introspectionJson)
}

base() 🔗

Return Type
ElixirSdk !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
subPathString !-No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example(modSource *ModuleSource, subPath string) *ElixirSdk  {
	return dag.
			ElixirSdk().
			Base(modSource, subPath)
}
@function
def example(mod_source: dag.ModuleSource, sub_path: str) -> dag.ElixirSdk:
	return (
		dag.elixir_sdk()
		.base(mod_source, sub_path)
	)
@func()
example(modSource: ModuleSource, subPath: string): ElixirSdk {
	return dag
		.elixirSdk()
		.base(modSource, subPath)
}

withNewElixirPackage() 🔗

Generate a new Elixir package named by modName. This step will ignored if the package already generated.

Return Type
ElixirSdk !
Arguments
NameTypeDefault ValueDescription
modNameString !-No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example(modName string) *ElixirSdk  {
	return dag.
			ElixirSdk().
			WithNewElixirPackage(modName)
}
@function
def example(mod_name: str) -> dag.ElixirSdk:
	return (
		dag.elixir_sdk()
		.with_new_elixir_package(mod_name)
	)
@func()
example(modName: string): ElixirSdk {
	return dag
		.elixirSdk()
		.withNewElixirPackage(modName)
}

withSdk() 🔗

Generate the SDK into the container.

Return Type
ElixirSdk !
Arguments
NameTypeDefault ValueDescription
introspectionJsonString !-No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example(introspectionJson string) *ElixirSdk  {
	return dag.
			ElixirSdk().
			WithSdk(introspectionJson)
}
@function
def example(introspection_json: str) -> dag.ElixirSdk:
	return (
		dag.elixir_sdk()
		.with_sdk(introspection_json)
	)
@func()
example(introspectionJson: string): ElixirSdk {
	return dag
		.elixirSdk()
		.withSdk(introspectionJson)
}

withDaggerCodegen() 🔗

Return Type
Container !
Example
dagger -m github.com/dagger/dagger/sdk/elixir/runtime@fdfde1d7cbcf0ac05f7f1c9ffb694f0da6412505 call \
 with-dagger-codegen
func (m *myModule) example() *Container  {
	return dag.
			ElixirSdk().
			WithDaggerCodegen()
}
@function
def example() -> dagger.Container:
	return (
		dag.elixir_sdk()
		.with_dagger_codegen()
	)
@func()
example(): Container {
	return dag
		.elixirSdk()
		.withDaggerCodegen()
}

generateCode() 🔗

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
introspectionJsonString !-No description provided
Example
dagger -m github.com/dagger/dagger/sdk/elixir/runtime@fdfde1d7cbcf0ac05f7f1c9ffb694f0da6412505 call \
 generate-code --introspection-json string
func (m *myModule) example(introspectionJson string) *Directory  {
	return dag.
			ElixirSdk().
			GenerateCode(introspectionJson)
}
@function
def example(introspection_json: str) -> dagger.Directory:
	return (
		dag.elixir_sdk()
		.generate_code(introspection_json)
	)
@func()
example(introspectionJson: string): Directory {
	return dag
		.elixirSdk()
		.generateCode(introspectionJson)
}