daggy
No long description provided.
Installation
dagger install github.com/shykes/daggerverse/daggy@v0.2.1
Entrypoint
Return Type
Daggy
Example
dagger -m github.com/shykes/daggerverse/daggy@bc7e18b5338e7cc4e2f6ab3e642a28d1a6684bee 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@bc7e18b5338e7cc4e2f6ab3e642a28d1a6684bee 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)
}
debug() 🔗
Return Type
Terminal !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
token | Secret | - | No description provided |
Example
dagger -m github.com/shykes/daggerverse/daggy@bc7e18b5338e7cc4e2f6ab3e642a28d1a6684bee call \
debug
func (m *myModule) example() *Terminal {
return dag.
Daggy().
Debug()
}
@function
def example() -> dag.Terminal:
return (
dag.daggy()
.debug()
)
@func()
example(): Terminal {
return dag
.daggy()
.debug()
}
container() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
token | Secret | - | No description provided |
Example
dagger -m github.com/shykes/daggerverse/daggy@bc7e18b5338e7cc4e2f6ab3e642a28d1a6684bee 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()
}