hello
A Dagger module to say hello to the world
Installation
dagger install github.com/tiborvass/dagger-hello@fad1330e1d4d9b188f77ccad5f11a6c3d5e629cfEntrypoint
Return Type
Hello Example
dagger -m github.com/tiborvass/dagger-hello@fad1330e1d4d9b188f77ccad5f11a6c3d5e629cf 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 🔗
A Dagger module to say hello to the world and spin up alpine containers
alpine() 🔗
Returns an Alpine container
Return Type
Container ! Example
dagger -m github.com/tiborvass/dagger-hello@fad1330e1d4d9b188f77ccad5f11a6c3d5e629cf call \
alpinefunc (m *MyModule) Example() *dagger.Container {
return dag.
Hello().
Alpine()
}@function
def example() -> dagger.Container:
return (
dag.hello()
.alpine()
)@func()
example(): Container {
return dag
.hello()
.alpine()
}hello() 🔗
Say hello to the world!
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| greeting | String | "hello" | Change the greeting |
| name | String | "world" | Change the name |
| giant | Boolean | - | Encode the message in giant multi-character letters |
| shout | Boolean | - | Make the message uppercase, and add more exclamation points |
| figletContainer | Container | - | Custom container for running the figlet tool |
Example
dagger -m github.com/tiborvass/dagger-hello@fad1330e1d4d9b188f77ccad5f11a6c3d5e629cf call \
hellofunc (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()
}