Dagger
Search

elixir-sdk-dev

A module for help developing Elixir SDK.

Installation

dagger install github.com/dagger/dagger/sdk/elixir/dev@05c5580ea703e7aedeadd4c829df2e331ba79b8f

Entrypoint

Return Type
ElixirSdkDev
Example
dagger -m github.com/dagger/dagger/sdk/elixir/dev@05c5580ea703e7aedeadd4c829df2e331ba79b8f call \
func (m *myModule) example() *ElixirSdkDev  {
	return dag.
			ElixirSdkDev()
}
@function
def example() -> dag.ElixirSdkDev:
	return (
		dag.elixir_sdk_dev()
	)
@func()
example(): ElixirSdkDev {
	return dag
		.elixirSdkDev()
}

Types

ElixirSdkDev 🔗

test() 🔗

Test the SDK.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
dagger -m github.com/dagger/dagger/sdk/elixir/dev@05c5580ea703e7aedeadd4c829df2e331ba79b8f call \
 test --container IMAGE:TAG
func (m *myModule) example(container *Container) *Container  {
	return dag.
			ElixirSdkDev().
			Test(container)
}
@function
def example(container: dagger.Container) -> dagger.Container:
	return (
		dag.elixir_sdk_dev()
		.test(container)
	)
@func()
example(container: Container): Container {
	return dag
		.elixirSdkDev()
		.test(container)
}

lint() 🔗

Lint the SDK.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
dagger -m github.com/dagger/dagger/sdk/elixir/dev@05c5580ea703e7aedeadd4c829df2e331ba79b8f call \
 lint --container IMAGE:TAG
func (m *myModule) example(container *Container) *Container  {
	return dag.
			ElixirSdkDev().
			Lint(container)
}
@function
def example(container: dagger.Container) -> dagger.Container:
	return (
		dag.elixir_sdk_dev()
		.lint(container)
	)
@func()
example(container: Container): Container {
	return dag
		.elixirSdkDev()
		.lint(container)
}

generate() 🔗

Generate the SDK API.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
introspectionJsonFile !-No description provided
Example
dagger -m github.com/dagger/dagger/sdk/elixir/dev@05c5580ea703e7aedeadd4c829df2e331ba79b8f call \
 generate --container IMAGE:TAG --introspection-json file:path
func (m *myModule) example(container *Container, introspectionJson *File) *Directory  {
	return dag.
			ElixirSdkDev().
			Generate(container, introspectionJson)
}
@function
def example(container: dagger.Container, introspection_json: dagger.File) -> dagger.Directory:
	return (
		dag.elixir_sdk_dev()
		.generate(container, introspection_json)
	)
@func()
example(container: Container, introspectionJson: File): Directory {
	return dag
		.elixirSdkDev()
		.generate(container, introspectionJson)
}

sdkTest() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
dagger -m github.com/dagger/dagger/sdk/elixir/dev@05c5580ea703e7aedeadd4c829df2e331ba79b8f call \
 sdk-test --container IMAGE:TAG
func (m *myModule) example(container *Container) *Container  {
	return dag.
			ElixirSdkDev().
			SdkTest(container)
}
@function
def example(container: dagger.Container) -> dagger.Container:
	return (
		dag.elixir_sdk_dev()
		.sdk_test(container)
	)
@func()
example(container: Container): Container {
	return dag
		.elixirSdkDev()
		.sdkTest(container)
}

codegenTest() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
dagger -m github.com/dagger/dagger/sdk/elixir/dev@05c5580ea703e7aedeadd4c829df2e331ba79b8f call \
 codegen-test --container IMAGE:TAG
func (m *myModule) example(container *Container) *Container  {
	return dag.
			ElixirSdkDev().
			CodegenTest(container)
}
@function
def example(container: dagger.Container) -> dagger.Container:
	return (
		dag.elixir_sdk_dev()
		.codegen_test(container)
	)
@func()
example(container: Container): Container {
	return dag
		.elixirSdkDev()
		.codegenTest(container)
}

withBase() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-The Elixir SDK source
Example
dagger -m github.com/dagger/dagger/sdk/elixir/dev@05c5580ea703e7aedeadd4c829df2e331ba79b8f call \
 with-base --source DIR_PATH
func (m *myModule) example(source *Directory) *Container  {
	return dag.
			ElixirSdkDev().
			WithBase(source)
}
@function
def example(source: dagger.Directory) -> dagger.Container:
	return (
		dag.elixir_sdk_dev()
		.with_base(source)
	)
@func()
example(source: Directory): Container {
	return dag
		.elixirSdkDev()
		.withBase(source)
}

withCodegen() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
dagger -m github.com/dagger/dagger/sdk/elixir/dev@05c5580ea703e7aedeadd4c829df2e331ba79b8f call \
 with-codegen --container IMAGE:TAG
func (m *myModule) example(container *Container) *Container  {
	return dag.
			ElixirSdkDev().
			WithCodegen(container)
}
@function
def example(container: dagger.Container) -> dagger.Container:
	return (
		dag.elixir_sdk_dev()
		.with_codegen(container)
	)
@func()
example(container: Container): Container {
	return dag
		.elixirSdkDev()
		.withCodegen(container)
}