fly
No long description provided.
Installation
dagger install github.com/kpenfound/dagger-modules/fly@1144790feef69cb55ba2369e5a1c45946eacd886
Entrypoint
Return Type
Fly
Example
dagger -m github.com/kpenfound/dagger-modules/fly@1144790feef69cb55ba2369e5a1c45946eacd886 call \
func (m *MyModule) Example() *dagger.Fly {
return dag.
Fly()
}
@function
def example() -> dagger.Fly:
return (
dag.fly()
)
@func()
example(): Fly {
return dag
.fly()
}
Types
Fly 🔗
deploy() 🔗
Deploy an application to fly.io with an image ref
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
app | String ! | - | No description provided |
image | String ! | - | No description provided |
token | Secret ! | - | No description provided |
Example
dagger -m github.com/kpenfound/dagger-modules/fly@1144790feef69cb55ba2369e5a1c45946eacd886 call \
deploy --app string --image string --token env:MYSECRET
func (m *MyModule) Example(ctx context.Context, app string, image string, token *dagger.Secret) string {
return dag.
Fly().
Deploy(ctx, app, image, token)
}
@function
async def example(app: str, image: str, token: dagger.Secret) -> str:
return await (
dag.fly()
.deploy(app, image, token)
)
@func()
async example(app: string, image: string, token: Secret): Promise<string> {
return dag
.fly()
.deploy(app, image, token)
}