elixir-sdk-dev
A module for help developing Elixir SDK.
Installation
dagger install github.com/shykes/dagger/sdk/elixir/dev@dd171cfe5a4fe1a3f9235c607e08ed826735473a
Entrypoint
Return Type
ElixirSdkDev
Example
dagger -m github.com/shykes/dagger/sdk/elixir/dev@dd171cfe5a4fe1a3f9235c607e08ed826735473a 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
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | No description provided |
Example
dagger -m github.com/shykes/dagger/sdk/elixir/dev@dd171cfe5a4fe1a3f9235c607e08ed826735473a 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)
}
sdkTest() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | No description provided |
Example
dagger -m github.com/shykes/dagger/sdk/elixir/dev@dd171cfe5a4fe1a3f9235c607e08ed826735473a 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
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | No description provided |
Example
dagger -m github.com/shykes/dagger/sdk/elixir/dev@dd171cfe5a4fe1a3f9235c607e08ed826735473a 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
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | The Elixir SDK source |
Example
dagger -m github.com/shykes/dagger/sdk/elixir/dev@dd171cfe5a4fe1a3f9235c607e08ed826735473a 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)
}