elixir-sdk
No long description provided.
Installation
dagger install github.com/wingyplus/daggerverse/elixir-sdk@cb5886a046bf12230b50fa525b9fff544d1b720f
Entrypoint
Return Type
ElixirSdk !
Arguments
Name | Type | Description |
---|---|---|
sdkSourceDir | Directory | No description provided |
Example
dagger -m github.com/wingyplus/daggerverse/elixir-sdk@cb5886a046bf12230b50fa525b9fff544d1b720f call \
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/wingyplus/daggerverse/elixir-sdk@cb5886a046bf12230b50fa525b9fff544d1b720f 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/wingyplus/daggerverse/elixir-sdk@cb5886a046bf12230b50fa525b9fff544d1b720f 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()
}
moduleRuntime() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
modSource | ModuleSource ! | - | No description provided |
introspectionJson | String ! | - | 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
Name | Type | Default Value | Description |
---|---|---|---|
modSource | ModuleSource ! | - | No description provided |
introspectionJson | String ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'
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)
}
codegenBase() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
modSource | ModuleSource ! | - | No description provided |
introspectionJson | String ! | - | 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().
CodegenBase(modSource, introspectionJson)
}
@function
def example(mod_source: dag.ModuleSource, introspection_json: str) -> dagger.Container:
return (
dag.elixir_sdk()
.codegen_base(mod_source, introspection_json)
)
@func()
example(modSource: ModuleSource, introspectionJson: string): Container {
return dag
.elixirSdk()
.codegenBase(modSource, introspectionJson)
}
base() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | String ! | - | No description provided |
Example
dagger -m github.com/wingyplus/daggerverse/elixir-sdk@cb5886a046bf12230b50fa525b9fff544d1b720f call \
base --version string
func (m *myModule) example(version string) *Container {
return dag.
ElixirSdk().
Base(version)
}
@function
def example(version: str) -> dagger.Container:
return (
dag.elixir_sdk()
.base(version)
)
@func()
example(version: string): Container {
return dag
.elixirSdk()
.base(version)
}