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@1cb6aeee924e5cadf3a16bee15257a7df56da0fd

Entrypoint

Return Type
Daggerverse !
Example
dagger -m github.com/maxberger/daggerverse@1cb6aeee924e5cadf3a16bee15257a7df56da0fd call \
func (m *myModule) example() *Daggerverse  {
	return dag.
			Daggerverse()
}
@function
def example() -> dag.Daggerverse:
	return (
		dag.daggerverse()
	)
@func()
example(): Daggerverse {
	return dag
		.daggerverse()
}

Types

Daggerverse 🔗

mypy() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-A directory.
Example
dagger -m github.com/maxberger/daggerverse@1cb6aeee924e5cadf3a16bee15257a7df56da0fd 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)
}