mdk
The MDK is the Module Developer Kit. It providesutilities for develping modules.
Installation
dagger install github.com/kpenfound/dagger-modules/mdk@v0.1.0Entrypoint
Return Type
Mdk !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory | - | No description provided |
Example
dagger -m github.com/kpenfound/dagger-modules/mdk@392befffdddb8c8e7e5fe02b268040a1b4bf7b67 call \
func (m *MyModule) Example() *dagger.Mdk {
return dag.
Mdk()
}@function
def example() -> dagger.Mdk:
return (
dag.mdk()
)@func()
example(): Mdk {
return dag
.mdk()
}Types
Mdk 🔗
generate() 🔗
Return Type
Generate ! Example
dagger -m github.com/kpenfound/dagger-modules/mdk@392befffdddb8c8e7e5fe02b268040a1b4bf7b67 call \
generatefunc (m *MyModule) Example() *dagger.MdkGenerate {
return dag.
Mdk().
Generate()
}@function
def example() -> dagger.MdkGenerate:
return (
dag.mdk()
.generate()
)@func()
example(): MdkGenerate {
return dag
.mdk()
.generate()
}Generate 🔗
Utilities for generating module things
source() 🔗
Return Type
Directory ! Example
Function MdkGenerate.source is not accessible from the mdk moduleFunction MdkGenerate.source is not accessible from the mdk moduleFunction MdkGenerate.source is not accessible from the mdk moduleFunction MdkGenerate.source is not accessible from the mdk moduleexamples() 🔗
Generate Daggerverse examples for a module
Return Type
Directory ! Example
Function MdkGenerate.examples is not accessible from the mdk moduleFunction MdkGenerate.examples is not accessible from the mdk moduleFunction MdkGenerate.examples is not accessible from the mdk moduleFunction MdkGenerate.examples is not accessible from the mdk moduledebug() 🔗
Escape hatch for debugging
Return Type
Container ! Example
Function MdkGenerate.debug is not accessible from the mdk moduleFunction MdkGenerate.debug is not accessible from the mdk moduleFunction MdkGenerate.debug is not accessible from the mdk moduleFunction MdkGenerate.debug is not accessible from the mdk module