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@7c0d7cf789c3b72a5c373192c33408d74923d9c4

Entrypoint

Return Type
Hello
Example
dagger -m github.com/franela/hello@7c0d7cf789c3b72a5c373192c33408d74923d9c4 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 !
Arguments
NameTypeDefault ValueDescription
fooString !-No description provided
Example
dagger -m github.com/franela/hello@7c0d7cf789c3b72a5c373192c33408d74923d9c4 call \
 hello --foo string
func (m *MyModule) Example(ctx context.Context, foo string) string  {
	return dag.
			Hello().
			Hello(ctx, foo)
}
@function
async def example(foo: str) -> str:
	return await (
		dag.hello()
		.hello(foo)
	)
@func()
async example(foo: string): Promise<string> {
	return dag
		.hello()
		.hello(foo)
}

bye() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
fooString !-No description provided
Example
dagger -m github.com/franela/hello@7c0d7cf789c3b72a5c373192c33408d74923d9c4 call \
 bye --foo string
func (m *MyModule) Example(ctx context.Context, foo string) string  {
	return dag.
			Hello().
			Bye(ctx, foo)
}
@function
async def example(foo: str) -> str:
	return await (
		dag.hello()
		.bye(foo)
	)
@func()
async example(foo: string): Promise<string> {
	return dag
		.hello()
		.bye(foo)
}