dagrr
Manages Dagger Engines on a bunch of platforms
Installation
dagger install github.com/gerhard/daggerverse/dagrr@2fb680312db71c522c2341e12998a9b827737ec4
Entrypoint
Return Type
Dagrr !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | String | - | Dagger version to use: `--version=0.11.9` |
Example
dagger -m github.com/gerhard/daggerverse/dagrr@2fb680312db71c522c2341e12998a9b827737ec4 call \
func (m *myModule) example() *Dagrr {
return dag.
Dagrr()
}
@function
def example() -> dag.Dagrr:
return (
dag.dagrr()
)
@func()
example(): Dagrr {
return dag
.dagrr()
}
Types
Dagrr 🔗
flyio() 🔗
Deploys Dagger on Fly.io
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
token | Secret ! | - | fly auth token: `--token=env:FLY_API_TOKEN` |
app | String | - | App name, defaults to version & date: `--app=dagger-v0119-2024-07-03` |
Example
dagger -m github.com/gerhard/daggerverse/dagrr@2fb680312db71c522c2341e12998a9b827737ec4 call \
flyio --token env:MYSECRET
func (m *myModule) example(ctx context.Context, token *Secret) string {
return dag.
Dagrr().
Flyio(ctx, token)
}
@function
async def example(token: dagger.Secret) -> str:
return await (
dag.dagrr()
.flyio(token)
)
@func()
async example(token: Secret): Promise<string> {
return dag
.dagrr()
.flyio(token)
}