Dagger
Search

hello

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/franela/hello@0f45c37c7658edbdb4c404aa33fbcd44f2fb96a5

Entrypoint

Return Type
Hello
Example
dagger -m github.com/franela/hello@0f45c37c7658edbdb4c404aa33fbcd44f2fb96a5 call \
func (m *MyModule) Example() *dagger.Hello  {
	return dag.
			Hello()
}
@function
def example() -> dagger.Hello:
	return (
		dag.hello()
	)
@func()
example(): Hello {
	return dag
		.hello()
}

Types

Hello 🔗

hello() 🔗

Return Type
String !
Example
dagger -m github.com/franela/hello@0f45c37c7658edbdb4c404aa33fbcd44f2fb96a5 call \
 hello
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Hello().
			Hello(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hello()
		.hello()
	)
@func()
async example(): Promise<string> {
	return dag
		.hello()
		.hello()
}

bye() 🔗

Return Type
String !
Example
dagger -m github.com/franela/hello@0f45c37c7658edbdb4c404aa33fbcd44f2fb96a5 call \
 bye
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Hello().
			Bye(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hello()
		.bye()
	)
@func()
async example(): Promise<string> {
	return dag
		.hello()
		.bye()
}