elixir-sdk
No long description provided.
Installation
dagger install github.com/wingyplus/dagger/sdk/elixir@9d64d9ed34ed809c9df7dd7a6c0ed003c85d79ebEntrypoint
Return Type
ElixirSdk !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| sdkSourceDir | Directory | - | Directory with the Elixir SDK source code. |
Example
dagger -m github.com/wingyplus/dagger/sdk/elixir@9d64d9ed34ed809c9df7dd7a6c0ed003c85d79eb call \
func (m *MyModule) Example() *dagger.ElixirSdk {
return dag.
Elixirsdk()
}@function
def example() -> dagger.ElixirSdk:
return (
dag.elixir_sdk()
)@func()
example(): ElixirSdk {
return dag
.elixirSdk()
}Types
ElixirSdk 🔗
sdkSourceDir() 🔗
Directory with the Elixir SDK source code.
Return Type
Directory ! Example
dagger -m github.com/wingyplus/dagger/sdk/elixir@9d64d9ed34ed809c9df7dd7a6c0ed003c85d79eb call \
sdk-source-dirfunc (m *MyModule) Example() *dagger.Directory {
return dag.
Elixirsdk().
Sdksourcedir()
}@function
def example() -> dagger.Directory:
return (
dag.elixir_sdk()
.sdksourcedir()
)@func()
example(): Directory {
return dag
.elixirSdk()
.sdkSourceDir()
}moduleRuntime() 🔗
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.
Elixirsdk().
Moduleruntime(modSource, introspectionJson)
}@function
def example(modsource: dagger.ModuleSource, introspectionjson: dagger.File) -> dagger.Container:
return (
dag.elixir_sdk()
.moduleruntime(modsource, introspectionjson)
)@func()
example(modSource: ModuleSource, introspectionJson: File): Container {
return dag
.elixirSdk()
.moduleRuntime(modSource, introspectionJson)
}codegen() 🔗
Return Type
GeneratedCode !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.GeneratedCode {
return dag.
Elixirsdk().
Codegen(modSource, introspectionJson)
}@function
def example(modsource: dagger.ModuleSource, introspectionjson: dagger.File) -> dagger.GeneratedCode:
return (
dag.elixir_sdk()
.codegen(modsource, introspectionjson)
)@func()
example(modSource: ModuleSource, introspectionJson: File): GeneratedCode {
return dag
.elixirSdk()
.codegen(modSource, introspectionJson)
}