Dagger
Search

elixir-sdk-dev

A module for help developing Elixir SDK.

Installation

dagger install github.com/helderco/dagger/sdk/elixir/dev@2ec23bae475dcd7812d7ff644dbb9e111bf4617b

Entrypoint

Return Type
ElixirSdkDev
Example
dagger -m github.com/helderco/dagger/sdk/elixir/dev@2ec23bae475dcd7812d7ff644dbb9e111bf4617b 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/helderco/dagger/sdk/elixir/dev@2ec23bae475dcd7812d7ff644dbb9e111bf4617b 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/helderco/dagger/sdk/elixir/dev@2ec23bae475dcd7812d7ff644dbb9e111bf4617b 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/helderco/dagger/sdk/elixir/dev@2ec23bae475dcd7812d7ff644dbb9e111bf4617b 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/helderco/dagger/sdk/elixir/dev@2ec23bae475dcd7812d7ff644dbb9e111bf4617b 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/helderco/dagger/sdk/elixir/dev@2ec23bae475dcd7812d7ff644dbb9e111bf4617b 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/helderco/dagger/sdk/elixir/dev@2ec23bae475dcd7812d7ff644dbb9e111bf4617b 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/helderco/dagger/sdk/elixir/dev@2ec23bae475dcd7812d7ff644dbb9e111bf4617b 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)
}