elixir-generator
TODO: write me.
Installation
dagger install github.com/wingyplus/elixir-generator@5af6773401bd25d2417bcf7f1b09c5e8d0483247Entrypoint
Return Type
ElixirGenerator Example
dagger -m github.com/wingyplus/elixir-generator@5af6773401bd25d2417bcf7f1b09c5e8d0483247 call \
func (m *MyModule) Example() *dagger.ElixirGenerator {
return dag.
ElixirGenerator()
}@function
def example() -> dagger.ElixirGenerator:
return (
dag.elixir_generator()
)@func()
example(): ElixirGenerator {
return dag
.elixirGenerator()
}Types
ElixirGenerator 🔗
generateClient() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| modSource | ModuleSource ! | - | No description provided |
| introspectionJson | File ! | - | No description provided |
| useLocalSdk | Boolean ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(modSource *dagger.ModuleSource, introspectionJson *dagger.File, useLocalSdk bool) *dagger.Directory {
return dag.
ElixirGenerator().
GenerateClient(modSource, introspectionJson, useLocalSdk)
}@function
def example(mod_source: dagger.ModuleSource, introspection_json: dagger.File, use_local_sdk: bool) -> dagger.Directory:
return (
dag.elixir_generator()
.generate_client(mod_source, introspection_json, use_local_sdk)
)@func()
example(modSource: ModuleSource, introspectionJson: File, useLocalSdk: boolean): Directory {
return dag
.elixirGenerator()
.generateClient(modSource, introspectionJson, useLocalSdk)
}codegen() 🔗
Return Type
Directory ! Example
dagger -m github.com/wingyplus/elixir-generator@5af6773401bd25d2417bcf7f1b09c5e8d0483247 call \
codegenfunc (m *MyModule) Example() *dagger.Directory {
return dag.
ElixirGenerator().
Codegen()
}@function
def example() -> dagger.Directory:
return (
dag.elixir_generator()
.codegen()
)@func()
example(): Directory {
return dag
.elixirGenerator()
.codegen()
}sdk() 🔗
Return Type
Directory ! Example
dagger -m github.com/wingyplus/elixir-generator@5af6773401bd25d2417bcf7f1b09c5e8d0483247 call \
sdkfunc (m *MyModule) Example() *dagger.Directory {
return dag.
ElixirGenerator().
Sdk()
}@function
def example() -> dagger.Directory:
return (
dag.elixir_generator()
.sdk()
)@func()
example(): Directory {
return dag
.elixirGenerator()
.sdk()
}daggerApi() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| introspectionJson | File ! | - | No description provided |
Example
dagger -m github.com/wingyplus/elixir-generator@5af6773401bd25d2417bcf7f1b09c5e8d0483247 call \
dagger-api --introspection-json file:pathfunc (m *MyModule) Example(introspectionJson *dagger.File) *dagger.Directory {
return dag.
ElixirGenerator().
DaggerApi(introspectionJson)
}@function
def example(introspection_json: dagger.File) -> dagger.Directory:
return (
dag.elixir_generator()
.dagger_api(introspection_json)
)@func()
example(introspectionJson: File): Directory {
return dag
.elixirGenerator()
.daggerApi(introspectionJson)
}