Dagger
Search

mdk

The MDK is the Module Developer Kit. It provides
utilities for develping modules.

Installation

dagger install github.com/kpenfound/dagger-modules/mdk@v0.1.0

Entrypoint

Return Type
Mdk !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
Example
dagger -m github.com/kpenfound/dagger-modules/mdk@392befffdddb8c8e7e5fe02b268040a1b4bf7b67 call \
func (m *myModule) example() *Mdk  {
	return dag.
			Mdk()
}
@function
def example() -> dag.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 \
 generate
func (m *myModule) example() *MdkGenerate  {
	return dag.
			Mdk().
			Generate()
}
@function
def example() -> dag.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 module
Function MdkGenerate.source is not accessible from the mdk module
Function MdkGenerate.source is not accessible from the mdk module
Function MdkGenerate.source is not accessible from the mdk module

examples() 🔗

Generate Daggerverse examples for a module

Return Type
Directory !
Example
Function MdkGenerate.examples is not accessible from the mdk module
Function MdkGenerate.examples is not accessible from the mdk module
Function MdkGenerate.examples is not accessible from the mdk module
Function MdkGenerate.examples is not accessible from the mdk module

debug() 🔗

Escape hatch for debugging

Return Type
Container !
Example
Function MdkGenerate.debug is not accessible from the mdk module
Function MdkGenerate.debug is not accessible from the mdk module
Function MdkGenerate.debug is not accessible from the mdk module
Function MdkGenerate.debug is not accessible from the mdk module