Dagger
Search

elixir-sdk-dev

A module for help developing Elixir SDK.

Installation

dagger install github.com/shykes/dagger/sdk/elixir/dev@c3d2e98fe40ecc24e52d5a268e383b61b9a1932c

Entrypoint

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