elixir-sdk-dev
A module for help developing Elixir SDK.
Installation
dagger install github.com/dagger/dagger/sdk/elixir/dev@374c580db56c19a68c8194e84f942252c164e02a
Entrypoint
Return Type
ElixirSdkDev
Example
dagger -m github.com/dagger/dagger/sdk/elixir/dev@374c580db56c19a68c8194e84f942252c164e02a 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/dagger/dagger/sdk/elixir/dev@374c580db56c19a68c8194e84f942252c164e02a 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/dagger/dagger/sdk/elixir/dev@374c580db56c19a68c8194e84f942252c164e02a 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/dagger/dagger/sdk/elixir/dev@374c580db56c19a68c8194e84f942252c164e02a 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/dagger/dagger/sdk/elixir/dev@374c580db56c19a68c8194e84f942252c164e02a 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)
}