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@602849d50004c90fccc05b7f9e7d3d87c6f4126e

Entrypoint

Return Type
Mdk !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
Example
dagger -m github.com/kpenfound/dagger-modules/mdk@602849d50004c90fccc05b7f9e7d3d87c6f4126e 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@602849d50004c90fccc05b7f9e7d3d87c6f4126e 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