Dagger
Search

flow

This module has been generated via dagger init and serves as a reference to
basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.

The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.

Installation

dagger install github.com/marcosnils/checks-test@8a2b38c69c6dcfd81d95cd40219f9da0ef8b415b

Entrypoint

Return Type
Flow !
Arguments
NameTypeDefault ValueDescription
opTokenSecret -1Password service account token. Required by some functions.
Example
dagger -m github.com/marcosnils/checks-test@8a2b38c69c6dcfd81d95cd40219f9da0ef8b415b call \
func (m *MyModule) Example() *dagger.Flow  {
	return dag.
			Flow()
}
@function
def example() -> dagger.Flow:
	return (
		dag.flow()
	)
@func()
example(): Flow {
	return dag
		.flow()
}

Types

Flow 🔗

test() 🔗

Return Type
Void !
Example
dagger -m github.com/marcosnils/checks-test@8a2b38c69c6dcfd81d95cd40219f9da0ef8b415b call \
 test
func (m *MyModule) Example(ctx context.Context)   {
	return dag.
			Flow().
			Test(ctx)
}
@function
async def example() -> None:
	return await (
		dag.flow()
		.test()
	)
@func()
async example(): Promise<void> {
	return dag
		.flow()
		.test()
}