daggy
No long description provided.
Installation
dagger install github.com/shykes/daggerverse/daggy@v0.2.2
Entrypoint
Return Type
Daggy
Example
dagger -m github.com/shykes/daggerverse/daggy@7884cbc1941f85a7c714fc7f1bcc5c148842c21e 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@7884cbc1941f85a7c714fc7f1bcc5c148842c21e 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@7884cbc1941f85a7c714fc7f1bcc5c148842c21e 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@7884cbc1941f85a7c714fc7f1bcc5c148842c21e 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()
}