elixir-sdk
No long description provided.
Installation
dagger install github.com/shykes/dagger/sdk/elixir@bfa7aadd7361f5f55a1c4c22adb54549f7a6b0d5Entrypoint
Return Type
ElixirSdk !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| sdkSourceDir | Directory | - | Directory with the Elixir SDK source code. | 
Example
dagger -m github.com/shykes/dagger/sdk/elixir@bfa7aadd7361f5f55a1c4c22adb54549f7a6b0d5 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/shykes/dagger/sdk/elixir@bfa7aadd7361f5f55a1c4c22adb54549f7a6b0d5 call \
 sdk-source-dirfunc (m *MyModule) Example() *dagger.Directory  {
	return dag.
			ElixirSdk().
			SdkSourceDir()
}@function
def example() -> dagger.Directory:
	return (
		dag.elixir_sdk()
		.sdk_source_dir()
	)@func()
example(): Directory {
	return dag
		.elixirSdk()
		.sdkSourceDir()
}container() 🔗
Return Type
Container !Example
dagger -m github.com/shykes/dagger/sdk/elixir@bfa7aadd7361f5f55a1c4c22adb54549f7a6b0d5 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(mod_source: dagger.ModuleSource, introspection_json: dagger.File) -> dagger.Container:
	return (
		dag.elixir_sdk()
		.module_runtime(mod_source, introspection_json)
	)@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(mod_source: dagger.ModuleSource, introspection_json: dagger.File) -> dagger.GeneratedCode:
	return (
		dag.elixir_sdk()
		.codegen(mod_source, introspection_json)
	)@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(mod_source: dagger.ModuleSource, introspection_json: dagger.File) -> dagger.Container:
	return (
		dag.elixir_sdk()
		.common(mod_source, introspection_json)
	)@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(mod_source: dagger.ModuleSource, sub_path: str) -> dagger.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
| Name | Type | Default Value | Description | 
|---|---|---|---|
| modName | String ! | - | No description provided | 
Example
dagger -m github.com/shykes/dagger/sdk/elixir@bfa7aadd7361f5f55a1c4c22adb54549f7a6b0d5 call \
 with-new-elixir-package --mod-name stringfunc (m *MyModule) Example(modName string) *dagger.ElixirSdk  {
	return dag.
			ElixirSdk().
			WithNewElixirPackage(modName)
}@function
def example(mod_name: str) -> dagger.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
| Name | Type | Default Value | Description | 
|---|---|---|---|
| introspectionJson | File ! | - | No description provided | 
Example
dagger -m github.com/shykes/dagger/sdk/elixir@bfa7aadd7361f5f55a1c4c22adb54549f7a6b0d5 call \
 with-sdk --introspection-json file:pathfunc (m *MyModule) Example(introspectionJson *dagger.File) *dagger.ElixirSdk  {
	return dag.
			ElixirSdk().
			WithSdk(introspectionJson)
}@function
def example(introspection_json: dagger.File) -> dagger.ElixirSdk:
	return (
		dag.elixir_sdk()
		.with_sdk(introspection_json)
	)@func()
example(introspectionJson: File): ElixirSdk {
	return dag
		.elixirSdk()
		.withSdk(introspectionJson)
}withDaggerCodegen() 🔗
Return Type
Container !Example
dagger -m github.com/shykes/dagger/sdk/elixir@bfa7aadd7361f5f55a1c4c22adb54549f7a6b0d5 call \
 with-dagger-codegenfunc (m *MyModule) Example() *dagger.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
| Name | Type | Default Value | Description | 
|---|---|---|---|
| introspectionJson | File ! | - | No description provided | 
Example
dagger -m github.com/shykes/dagger/sdk/elixir@bfa7aadd7361f5f55a1c4c22adb54549f7a6b0d5 call \
 generate-code --introspection-json file:pathfunc (m *MyModule) Example(introspectionJson *dagger.File) *dagger.Directory  {
	return dag.
			ElixirSdk().
			GenerateCode(introspectionJson)
}@function
def example(introspection_json: dagger.File) -> dagger.Directory:
	return (
		dag.elixir_sdk()
		.generate_code(introspection_json)
	)@func()
example(introspectionJson: File): Directory {
	return dag
		.elixirSdk()
		.generateCode(introspectionJson)
}