top-level
No long description provided.
Installation
dagger install github.com/sipsma/dagger-module-tests/top-level@7ef471e24f56ff2dc902ca9feae24836b8f2e7e4
Entrypoint
Return Type
TopLevel
Example
dagger -m github.com/sipsma/dagger-module-tests/top-level@7ef471e24f56ff2dc902ca9feae24836b8f2e7e4 call \
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/sipsma/dagger-module-tests/top-level@7ef471e24f56ff2dc902ca9feae24836b8f2e7e4 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()
}