Dagger
Search

not-working

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/marcosnils/dagger_example/not-working@b94d7a9d9e23e57f683e391f9a575457d1b1dd58

Entrypoint

Return Type
NotWorking
Example
dagger -m github.com/marcosnils/dagger_example/not-working@b94d7a9d9e23e57f683e391f9a575457d1b1dd58 call \
func (m *MyModule) Example() *dagger.NotWorking  {
	return dag.
			NotWorking()
}
@function
def example() -> dagger.NotWorking:
	return (
		dag.not_working()
	)
@func()
example(): NotWorking {
	return dag
		.notWorking()
}

Types

NotWorking 🔗

baseContainer() 🔗

Create a base container that builds from a Dockerfile

Return Type
Container !
Example
dagger -m github.com/marcosnils/dagger_example/not-working@b94d7a9d9e23e57f683e391f9a575457d1b1dd58 call \
 base-container
func (m *MyModule) Example() *dagger.Container  {
	return dag.
			NotWorking().
			BaseContainer()
}
@function
def example() -> dagger.Container:
	return (
		dag.not_working()
		.base_container()
	)
@func()
example(): Container {
	return dag
		.notWorking()
		.baseContainer()
}

sayHello() 🔗

Call a function from the other module

Return Type
String !
Example
dagger -m github.com/marcosnils/dagger_example/not-working@b94d7a9d9e23e57f683e391f9a575457d1b1dd58 call \
 say-hello
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			NotWorking().
			SayHello(ctx)
}
@function
async def example() -> str:
	return await (
		dag.not_working()
		.say_hello()
	)
@func()
async example(): Promise<string> {
	return dag
		.notWorking()
		.sayHello()
}