Dagger
Search

daggerverse

This module has been generated via dagger init and serves as a reference to basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them, as needed. They demonstrate usage of arguments and return types using simple echo and grep commands. The functions can be called from the dagger CLI or from one of the SDKs.

The first line in this comment block is a short description line and the rest is a long description with more detail on the module's purpose or usage, if appropriate. All modules should have a short description.

Installation

dagger install github.com/maxberger/daggerverse@df6f47bd30bf0b81c59921b18b0f596a3bcc3672

Entrypoint

Return Type
Daggerverse !
Example
func (m *myModule) example() *Daggerverse  {
	return dag.
			Daggerverse()
}
@function
def example() -> dag.Daggerverse:
	return (
		dag.daggerverse()
	)
@func()
example(): Daggerverse {
	return dag
		.daggerverse()
}

Types

Daggerverse 🔗

pythonContainer() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-A directory.
Example
dagger -m github.com/maxberger/daggerverse@df6f47bd30bf0b81c59921b18b0f596a3bcc3672 call \
 python-container --src DIR_PATH
func (m *myModule) example(src *Directory) *Container  {
	return dag.
			Daggerverse().
			PythonContainer(src)
}
@function
def example(src: dagger.Directory) -> dagger.Container:
	return (
		dag.daggerverse()
		.python_container(src)
	)
@func()
example(src: Directory): Container {
	return dag
		.daggerverse()
		.pythonContainer(src)
}

mypy() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-A directory.
Example
dagger -m github.com/maxberger/daggerverse@df6f47bd30bf0b81c59921b18b0f596a3bcc3672 call \
 mypy --src DIR_PATH
func (m *myModule) example(ctx context.Context, src *Directory) string  {
	return dag.
			Daggerverse().
			Mypy(ctx, src)
}
@function
async def example(src: dagger.Directory) -> str:
	return await (
		dag.daggerverse()
		.mypy(src)
	)
@func()
async example(src: Directory): Promise<string> {
	return dag
		.daggerverse()
		.mypy(src)
}

pytest() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-A directory.
Example
dagger -m github.com/maxberger/daggerverse@df6f47bd30bf0b81c59921b18b0f596a3bcc3672 call \
 pytest --src DIR_PATH
func (m *myModule) example(ctx context.Context, src *Directory) string  {
	return dag.
			Daggerverse().
			Pytest(ctx, src)
}
@function
async def example(src: dagger.Directory) -> str:
	return await (
		dag.daggerverse()
		.pytest(src)
	)
@func()
async example(src: Directory): Promise<string> {
	return dag
		.daggerverse()
		.pytest(src)
}

pythonTest() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-A directory.
Example
dagger -m github.com/maxberger/daggerverse@df6f47bd30bf0b81c59921b18b0f596a3bcc3672 call \
 python-test --src DIR_PATH
func (m *myModule) example(ctx context.Context, src *Directory) string  {
	return dag.
			Daggerverse().
			PythonTest(ctx, src)
}
@function
async def example(src: dagger.Directory) -> str:
	return await (
		dag.daggerverse()
		.python_test(src)
	)
@func()
async example(src: Directory): Promise<string> {
	return dag
		.daggerverse()
		.pythonTest(src)
}