elixir-sdk
No long description provided.
Installation
dagger install github.com/dagger/dagger/sdk/elixir@v0.14.0Entrypoint
Return Type
ElixirSdk !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| sdkSourceDir | Directory | - | Directory with the Elixir SDK source code. |
Example
dagger -m github.com/dagger/dagger/sdk/elixir@ec9686a4b922e278614ed1754d308c75eaa59586 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() 🔗
Return Type
Directory ! Example
dagger -m github.com/dagger/dagger/sdk/elixir@ec9686a4b922e278614ed1754d308c75eaa59586 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()
}requiredPaths() 🔗
Return Type
[String ! ] ! Example
dagger -m github.com/dagger/dagger/sdk/elixir@ec9686a4b922e278614ed1754d308c75eaa59586 call \
required-pathsfunc (m *MyModule) Example(ctx context.Context) []string {
return dag.
Elixirsdk().
Requiredpaths(ctx)
}@function
async def example() -> List[str]:
return await (
dag.elixir_sdk()
.requiredpaths()
)@func()
async example(): Promise<string[]> {
return dag
.elixirSdk()
.requiredPaths()
}container() 🔗
Return Type
Container ! Example
dagger -m github.com/dagger/dagger/sdk/elixir@ec9686a4b922e278614ed1754d308c75eaa59586 call \
containerfunc (m *MyModule) Example() *dagger.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
| 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)
}common() 🔗
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().
Common(modSource, introspectionJson)
}@function
def example(modsource: dagger.ModuleSource, introspectionjson: dagger.File) -> dagger.Container:
return (
dag.elixir_sdk()
.common(modsource, introspectionjson)
)@func()
example(modSource: ModuleSource, introspectionJson: File): Container {
return dag
.elixirSdk()
.common(modSource, introspectionJson)
}base() 🔗
Return Type
ElixirSdk !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| modSource | ModuleSource ! | - | No description provided |
| subPath | String ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(modSource *dagger.ModuleSource, subPath string) *dagger.ElixirSdk {
return dag.
Elixirsdk().
Base(modSource, subPath)
}@function
def example(modsource: dagger.ModuleSource, subpath: str) -> dagger.ElixirSdk:
return (
dag.elixir_sdk()
.base(modsource, subpath)
)@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
| Name | Type | Default Value | Description |
|---|---|---|---|
| modName | String ! | - | No description provided |
Example
dagger -m github.com/dagger/dagger/sdk/elixir@ec9686a4b922e278614ed1754d308c75eaa59586 call \
with-new-elixir-package --mod-name stringfunc (m *MyModule) Example(modName string) *dagger.ElixirSdk {
return dag.
Elixirsdk().
Withnewelixirpackage(modName)
}@function
def example(modname: str) -> dagger.ElixirSdk:
return (
dag.elixir_sdk()
.withnewelixirpackage(modname)
)@func()
example(modName: string): ElixirSdk {
return dag
.elixirSdk()
.withNewElixirPackage(modName)
}withSdk() 🔗
Generate the SDK into the container.
Return Type
ElixirSdk !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| introspectionJson | File ! | - | No description provided |
Example
dagger -m github.com/dagger/dagger/sdk/elixir@ec9686a4b922e278614ed1754d308c75eaa59586 call \
with-sdk --introspection-json file:pathfunc (m *MyModule) Example(introspectionJson *dagger.File) *dagger.ElixirSdk {
return dag.
Elixirsdk().
Withsdk(introspectionJson)
}@function
def example(introspectionjson: dagger.File) -> dagger.ElixirSdk:
return (
dag.elixir_sdk()
.withsdk(introspectionjson)
)@func()
example(introspectionJson: File): ElixirSdk {
return dag
.elixirSdk()
.withSdk(introspectionJson)
}withDaggerCodegen() 🔗
Return Type
Container ! Example
dagger -m github.com/dagger/dagger/sdk/elixir@ec9686a4b922e278614ed1754d308c75eaa59586 call \
with-dagger-codegenfunc (m *MyModule) Example() *dagger.Container {
return dag.
Elixirsdk().
Withdaggercodegen()
}@function
def example() -> dagger.Container:
return (
dag.elixir_sdk()
.withdaggercodegen()
)@func()
example(): Container {
return dag
.elixirSdk()
.withDaggerCodegen()
}generateCode() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| introspectionJson | File ! | - | No description provided |
Example
dagger -m github.com/dagger/dagger/sdk/elixir@ec9686a4b922e278614ed1754d308c75eaa59586 call \
generate-code --introspection-json file:pathfunc (m *MyModule) Example(introspectionJson *dagger.File) *dagger.Directory {
return dag.
Elixirsdk().
Generatecode(introspectionJson)
}@function
def example(introspectionjson: dagger.File) -> dagger.Directory:
return (
dag.elixir_sdk()
.generatecode(introspectionjson)
)@func()
example(introspectionJson: File): Directory {
return dag
.elixirSdk()
.generateCode(introspectionJson)
}