flyio
No long description provided.
Installation
dagger install github.com/gerhard/daggerverse/flyio@dea909d7e94ab96cdd9881acb5b188bba49b017fEntrypoint
Return Type
Flyio Example
dagger -m github.com/gerhard/daggerverse/flyio@dea909d7e94ab96cdd9881acb5b188bba49b017f call \
func (m *MyModule) Example() *dagger.Flyio {
return dag.
Flyio()
}@function
def example() -> dagger.Flyio:
return (
dag.flyio()
)@func()
example(): Flyio {
return dag
.flyio()
}Types
Flyio 🔗
deploy() 🔗
Example usage: “dagger call deploy –dir . –token “$YOUR_FLYIO_AUTH_TOKEN”
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| dir | Directory ! | - | No description provided |
| token | Secret ! | - | No description provided |
Example
dagger -m github.com/gerhard/daggerverse/flyio@dea909d7e94ab96cdd9881acb5b188bba49b017f call \
deploy --dir DIR_PATH --token env:MYSECRETfunc (m *MyModule) Example(ctx context.Context, dir *dagger.Directory, token *dagger.Secret) string {
return dag.
Flyio().
Deploy(ctx, dir, token)
}@function
async def example(dir: dagger.Directory, token: dagger.Secret) -> str:
return await (
dag.flyio()
.deploy(dir, token)
)@func()
async example(dir: Directory, token: Secret): Promise<string> {
return dag
.flyio()
.deploy(dir, token)
}