mutagen
This module has been generated via dagger init and serves as a reference tobasic 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/dagger-mutagen@67dbf195d3bf344d28e624294561c9eb2c9f231a
Entrypoint
Return Type
Mutagen
Example
dagger -m github.com/aluzzardi/dagger-mutagen@67dbf195d3bf344d28e624294561c9eb2c9f231a call \
func (m *myModule) example() *Mutagen {
return dag.
Mutagen()
}
@function
def example() -> dag.Mutagen:
return (
dag.mutagen()
)
@func()
example(): Mutagen {
return dag
.mutagen()
}
Types
Mutagen 🔗
agent() 🔗
Return Type
Service !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
volume | String ! | - | No description provided |
authorizedKeys | File | - | No description provided |
publicKey | String | - | No description provided |
Example
dagger -m github.com/aluzzardi/dagger-mutagen@67dbf195d3bf344d28e624294561c9eb2c9f231a call \
agent --volume string
func (m *myModule) example(volume string) *Service {
return dag.
Mutagen().
Agent(volume)
}
@function
def example(volume: str) -> dagger.Service:
return (
dag.mutagen()
.agent(volume)
)
@func()
example(volume: string): Service {
return dag
.mutagen()
.agent(volume)
}