daggy
No long description provided.
Installation
dagger install github.com/shykes/daggerverse/daggy@v0.1.0
Entrypoint
Return Type
Daggy
Example
dagger -m github.com/shykes/daggerverse/daggy@114acd0820cccb7e77b6ade4eea9db2570dffd5c call \
func (m *myModule) example() *Daggy {
return dag.
Daggy()
}
@function
def example() -> dag.Daggy:
return (
dag.daggy()
)
@func()
example(): Daggy {
return dag
.daggy()
}
Types
Daggy 🔗
do() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
prompt | String ! | - | No description provided |
token | Secret ! | - | No description provided |
Example
dagger -m github.com/shykes/daggerverse/daggy@114acd0820cccb7e77b6ade4eea9db2570dffd5c call \
do --prompt string --token env:MYSECRET
func (m *myModule) example(ctx context.Context, prompt string, token *Secret) string {
return dag.
Daggy().
Do(ctx, prompt, token)
}
@function
async def example(prompt: str, token: dagger.Secret) -> str:
return await (
dag.daggy()
.do(prompt, token)
)
@func()
async example(prompt: string, token: Secret): Promise<string> {
return dag
.daggy()
.do(prompt, token)
}
container() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
token | Secret | - | No description provided |
Example
dagger -m github.com/shykes/daggerverse/daggy@114acd0820cccb7e77b6ade4eea9db2570dffd5c call \
container
func (m *myModule) example() *Container {
return dag.
Daggy().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.daggy()
.container()
)
@func()
example(): Container {
return dag
.daggy()
.container()
}