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/softwaredevelop/daggerverse/hello@aa32dd268f6c502b866e1ed2c11f92ac0ed05d90

Entrypoint

Return Type
Hello !
Arguments
NameTypeDefault ValueDescription
imageString -Custom image reference in "repository:tag" format to use as a base container.
Example
dagger -m github.com/softwaredevelop/daggerverse/hello@aa32dd268f6c502b866e1ed2c11f92ac0ed05d90 call \
func (m *myModule) example() *Hello  {
	return dag.
			Hello()
}
@function
def example() -> dag.Hello:
	return (
		dag.hello()
	)
@func()
example(): Hello {
	return dag
		.hello()
}

Types

Hello 🔗

Hello is a struct that provides echo functions.

container() 🔗

Container returns the underlying Dagger container

Return Type
Container !
Example
dagger -m github.com/softwaredevelop/daggerverse/hello@aa32dd268f6c502b866e1ed2c11f92ac0ed05d90 call \
 container
func (m *myModule) example() *Container  {
	return dag.
			Hello().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.hello()
		.container()
	)
@func()
example(): Container {
	return dag
		.hello()
		.container()
}

helloString() 🔗

HelloString returns the string value provided to the Hello struct.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
stringArgString !-StringArg is the string value to be printed.
Example
dagger -m github.com/softwaredevelop/daggerverse/hello@aa32dd268f6c502b866e1ed2c11f92ac0ed05d90 call \
 hello-string --string-arg string
func (m *myModule) example(stringArg string) *Container  {
	return dag.
			Hello().
			HelloString(stringArg)
}
@function
def example(string_arg: str) -> dagger.Container:
	return (
		dag.hello()
		.hello_string(string_arg)
	)
@func()
example(stringArg: string): Container {
	return dag
		.hello()
		.helloString(stringArg)
}

helloContainer() 🔗

HelloContainer executes a container with the provided string value.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
stringArgString !-StringArg is the string value to be printed.
Example
dagger -m github.com/softwaredevelop/daggerverse/hello@aa32dd268f6c502b866e1ed2c11f92ac0ed05d90 call \
 hello-container --string-arg string
func (m *myModule) example(stringArg string) *Container  {
	return dag.
			Hello().
			HelloContainer(stringArg)
}
@function
def example(string_arg: str) -> dagger.Container:
	return (
		dag.hello()
		.hello_container(string_arg)
	)
@func()
example(stringArg: string): Container {
	return dag
		.hello()
		.helloContainer(stringArg)
}