Dagger
Search

top-level

No long description provided.

Installation

dagger install github.com/dagger/dagger-test-modules/top-level@2cb6cb4b0dba52c1e65b3ff46dd1a4a8f9a02f94

Entrypoint

Return Type
TopLevel
Example
func (m *myModule) example() *TopLevel  {
	return dag.
			TopLevel()
}
@function
def example() -> dag.TopLevel:
	return (
		dag.top_level()
	)
@func()
example(): TopLevel {
	return dag
		.topLevel()
}

Types

TopLevel 🔗

fn() 🔗

Return Type
String !
Example
dagger -m github.com/dagger/dagger-test-modules/top-level@2cb6cb4b0dba52c1e65b3ff46dd1a4a8f9a02f94 call \
 fn
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			TopLevel().
			Fn(ctx)
}
@function
async def example() -> str:
	return await (
		dag.top_level()
		.fn()
	)
@func()
async example(): Promise<string> {
	return dag
		.topLevel()
		.fn()
}