elixir-sdk-dev
A module for help developing Elixir SDK.
Installation
dagger install github.com/helderco/dagger/sdk/elixir/dev@87a14a9f85ddcacbd7ce0c98e8a8a6aa51e958c7
Entrypoint
Return Type
ElixirSdkDev
Example
dagger -m github.com/helderco/dagger/sdk/elixir/dev@87a14a9f85ddcacbd7ce0c98e8a8a6aa51e958c7 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/helderco/dagger/sdk/elixir/dev@87a14a9f85ddcacbd7ce0c98e8a8a6aa51e958c7 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
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | No description provided |
Example
dagger -m github.com/helderco/dagger/sdk/elixir/dev@87a14a9f85ddcacbd7ce0c98e8a8a6aa51e958c7 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
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | No description provided |
introspectionJson | File ! | - | No description provided |
Example
dagger -m github.com/helderco/dagger/sdk/elixir/dev@87a14a9f85ddcacbd7ce0c98e8a8a6aa51e958c7 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
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | No description provided |
Example
dagger -m github.com/helderco/dagger/sdk/elixir/dev@87a14a9f85ddcacbd7ce0c98e8a8a6aa51e958c7 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/helderco/dagger/sdk/elixir/dev@87a14a9f85ddcacbd7ce0c98e8a8a6aa51e958c7 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/helderco/dagger/sdk/elixir/dev@87a14a9f85ddcacbd7ce0c98e8a8a6aa51e958c7 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
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | No description provided |
Example
dagger -m github.com/helderco/dagger/sdk/elixir/dev@87a14a9f85ddcacbd7ce0c98e8a8a6aa51e958c7 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)
}