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