foo
No long description provided.
Installation
dagger install github.com/jedevc/contextual-git-test@28107c3081acb23d7991be46ea8feb311fca1301
Entrypoint
Return Type
Foo
Example
dagger -m github.com/jedevc/contextual-git-test@28107c3081acb23d7991be46ea8feb311fca1301 call \
func (m *MyModule) Example() *dagger.Foo {
return dag.
Foo()
}
@function
def example() -> dagger.Foo:
return (
dag.foo()
)
@func()
example(): Foo {
return dag
.foo()
}
Types
Foo 🔗
thing() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
repo | GitRef ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context, repo *dagger.GitRef) string {
return dag.
Foo().
Thing(ctx, repo)
}
@function
async def example(repo: dagger.GitRef) -> str:
return await (
dag.foo()
.thing(repo)
)
@func()
async example(repo: GitRef): Promise<string> {
return dag
.foo()
.thing(repo)
}