foo
No long description provided.
Installation
dagger install github.com/kpenfound/dagger-modules/foo@dd4792190b22cf6f401c9305d64dc93a30b3efca
Entrypoint
Return Type
Foo
Example
dagger -m github.com/kpenfound/dagger-modules/foo@dd4792190b22cf6f401c9305d64dc93a30b3efca call \
func (m *myModule) example() *Foo {
return dag.
Foo()
}
@function
def example() -> dag.Foo:
return (
dag.foo()
)
@func()
example(): Foo {
return dag
.foo()
}
Types
Foo 🔗
containerEcho() 🔗
example usage: “dagger call container-echo –string-arg yo”
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
stringArg | String ! | - | No description provided |
Example
dagger -m github.com/kpenfound/dagger-modules/foo@dd4792190b22cf6f401c9305d64dc93a30b3efca call \
container-echo --string-arg string
func (m *myModule) example(stringArg string) *Container {
return dag.
Foo().
ContainerEcho(stringArg)
}
@function
def example(string_arg: str) -> dagger.Container:
return (
dag.foo()
.container_echo(string_arg)
)
@func()
example(stringArg: string): Container {
return dag
.foo()
.containerEcho(stringArg)
}
grepDir() 🔗
example usage: “dagger call grep-dir –directory-arg . –pattern GrepDir”
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
directoryArg | Directory ! | - | No description provided |
pattern | String ! | - | No description provided |
Example
dagger -m github.com/kpenfound/dagger-modules/foo@dd4792190b22cf6f401c9305d64dc93a30b3efca call \
grep-dir --directory-arg DIR_PATH --pattern string
func (m *myModule) example(ctx context.Context, directoryArg *Directory, pattern string) string {
return dag.
Foo().
GrepDir(ctx, directoryArg, pattern)
}
@function
async def example(directory_arg: dagger.Directory, pattern: str) -> str:
return await (
dag.foo()
.grep_dir(directory_arg, pattern)
)
@func()
async example(directoryArg: Directory, pattern: string): Promise<string> {
return dag
.foo()
.grepDir(directoryArg, pattern)
}