foo
No long description provided.
Installation
dagger install github.com/jedevc/contextual-git-test@391ce20ebc4858e8e0751c020737a310b08989df
Entrypoint
Return Type
Foo
Example
dagger -m github.com/jedevc/contextual-git-test@391ce20ebc4858e8e0751c020737a310b08989df 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 | GitRepository ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(ctx context.Context, repo *dagger.GitRepository) string {
return dag.
Foo().
Thing(ctx, repo)
}
@function
async def example(repo: dagger.GitRepository) -> str:
return await (
dag.foo()
.thing(repo)
)
@func()
async example(repo: GitRepository): Promise<string> {
return dag
.foo()
.thing(repo)
}