Dagger
Search

dagrr

Manages Dagger Engines on a bunch of platforms

Installation

dagger install github.com/gerhard/daggerverse/dagrr@2fb680312db71c522c2341e12998a9b827737ec4

Entrypoint

Return Type
Dagrr !
Arguments
NameTypeDescription
versionString Dagger version to use: `--version=0.11.9`
Example
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
NameTypeDefault ValueDescription
tokenSecret !-fly auth token: `--token=env:FLY_API_TOKEN`
appString -App name, defaults to version & date: `--app=dagger-v0119-2024-07-03`
Example
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)
}