top-level
No long description provided.
Installation
dagger install github.com/sipsma/dagger-test-modules/top-level@3552ed87b58c65102481f1d8662a24324abbd528
Entrypoint
Return Type
TopLevel
Example
dagger -m github.com/sipsma/dagger-test-modules/top-level@3552ed87b58c65102481f1d8662a24324abbd528 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-test-modules/top-level@3552ed87b58c65102481f1d8662a24324abbd528 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()
}