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/aluzzardi/hello-dagger@9011473e97381fa832d27f38da3aac35558ed2ae

Entrypoint

Return Type
Hello
Example
dagger -m github.com/aluzzardi/hello-dagger@9011473e97381fa832d27f38da3aac35558ed2ae 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 🔗

build() 🔗

Returns lines that match a pattern in the files of the provided Directory

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
Example
dagger -m github.com/aluzzardi/hello-dagger@9011473e97381fa832d27f38da3aac35558ed2ae call \
 build
func (m *myModule) example() *Container  {
	return dag.
			Hello().
			Build()
}
@function
def example() -> dagger.Container:
	return (
		dag.hello()
		.build()
	)
@func()
example(): Container {
	return dag
		.hello()
		.build()
}

dev() 🔗

Return Type
Service !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
Example
dagger -m github.com/aluzzardi/hello-dagger@9011473e97381fa832d27f38da3aac35558ed2ae call \
 dev
func (m *myModule) example() *Service  {
	return dag.
			Hello().
			Dev()
}
@function
def example() -> dagger.Service:
	return (
		dag.hello()
		.dev()
	)
@func()
example(): Service {
	return dag
		.hello()
		.dev()
}