anyprotocol
No long description provided.
Installation
dagger install github.com/gkwa/anyprotocol@6ca5a28b267327faa003add0fa8f67dfc7cf6f30
Entrypoint
Return Type
Anyprotocol
Example
dagger -m github.com/gkwa/anyprotocol@6ca5a28b267327faa003add0fa8f67dfc7cf6f30 call \
func (m *myModule) example() *Anyprotocol {
return dag.
Anyprotocol()
}
@function
def example() -> dag.Anyprotocol:
return (
dag.anyprotocol()
)
@func()
example(): Anyprotocol {
return dag
.anyprotocol()
}
Types
Anyprotocol 🔗
helloModule() 🔗
Return Type
Container !
Example
dagger -m github.com/gkwa/anyprotocol@6ca5a28b267327faa003add0fa8f67dfc7cf6f30 call \
hello-module
func (m *myModule) example() *Container {
return dag.
Anyprotocol().
HelloModule()
}
@function
def example() -> dagger.Container:
return (
dag.anyprotocol()
.hello_module()
)
@func()
example(): Container {
return dag
.anyprotocol()
.helloModule()
}
containerEcho() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
stringArg | String ! | - | No description provided |
Example
dagger -m github.com/gkwa/anyprotocol@6ca5a28b267327faa003add0fa8f67dfc7cf6f30 call \
container-echo --string-arg string
func (m *myModule) example(stringArg string) *Container {
return dag.
Anyprotocol().
ContainerEcho(stringArg)
}
@function
def example(string_arg: str) -> dagger.Container:
return (
dag.anyprotocol()
.container_echo(string_arg)
)
@func()
example(stringArg: string): Container {
return dag
.anyprotocol()
.containerEcho(stringArg)
}
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/gkwa/anyprotocol@6ca5a28b267327faa003add0fa8f67dfc7cf6f30 call \
grep-dir --directory-arg DIR_PATH --pattern string
func (m *myModule) example(ctx context.Context, directoryArg *Directory, pattern string) string {
return dag.
Anyprotocol().
GrepDir(ctx, directoryArg, pattern)
}
@function
async def example(directory_arg: dagger.Directory, pattern: str) -> str:
return await (
dag.anyprotocol()
.grep_dir(directory_arg, pattern)
)
@func()
async example(directoryArg: Directory, pattern: string): Promise<string> {
return dag
.anyprotocol()
.grepDir(directoryArg, pattern)
}