Dagger
Search

flyio

No long description provided.

Installation

dagger install github.com/gerhard/daggerverse/flyio@dea909d7e94ab96cdd9881acb5b188bba49b017f

Entrypoint

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
NameTypeDefault ValueDescription
dirDirectory !-No description provided
tokenSecret !-No description provided
Example
dagger -m github.com/gerhard/daggerverse/flyio@dea909d7e94ab96cdd9881acb5b188bba49b017f call \
 deploy --dir DIR_PATH --token env:MYSECRET
func (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)
}