potato
No long description provided.
Installation
dagger install github.com/Digio-Campus/potato@d63946b2d8c13d10382b17737069049e6b084b88Entrypoint
Return Type
Potato Example
dagger -m github.com/Digio-Campus/potato@d63946b2d8c13d10382b17737069049e6b084b88 call \
func (m *MyModule) Example() *dagger.Potato {
return dag.
Potato()
}@function
def example() -> dagger.Potato:
return (
dag.potato()
)@func()
example(): Potato {
return dag
.potato()
}Entrypoint
Return Type
Message !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| message | String ! | - | No description provided |
| from | String ! | - | No description provided |
Example
Function Message.Constructor is not accessible from the potato moduleFunction Message.Constructor is not accessible from the potato moduleFunction Message.Constructor is not accessible from the potato moduleFunction Message.Constructor is not accessible from the potato moduleTypes
Potato 🔗
helloWorld() 🔗
Return Type
Message !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| count | Integer ! | - | The number of potatoes to process |
| mashed | Boolean ! | false | Whether the potatoes are mashed |
Example
dagger -m github.com/Digio-Campus/potato@d63946b2d8c13d10382b17737069049e6b084b88 call \
hello-world --count integer --mashed booleanfunc (m *MyModule) Example(count int, mashed bool) *dagger.PotatoMessage {
return dag.
Potato().
HelloWorld(count, mashed)
}@function
def example(count: int, mashed: bool) -> dagger.PotatoMessage:
return (
dag.potato()
.hello_world(count, mashed)
)@func()
example(count: number, mashed: boolean): PotatoMessage {
return dag
.potato()
.helloWorld(count, mashed)
}Message 🔗
message() 🔗
Return Type
String ! Example
dagger -m github.com/Digio-Campus/potato@d63946b2d8c13d10382b17737069049e6b084b88 call \
hello-world --count integer --mashed boolean \
messagefunc (m *MyModule) Example(ctx context.Context, count int, mashed bool) string {
return dag.
Potato().
HelloWorld(count, mashed).
Message(ctx)
}@function
async def example(count: int, mashed: bool) -> str:
return await (
dag.potato()
.hello_world(count, mashed)
.message()
)@func()
async example(count: number, mashed: boolean): Promise<string> {
return dag
.potato()
.helloWorld(count, mashed)
.message()
}from() 🔗
Return Type
String ! Example
dagger -m github.com/Digio-Campus/potato@d63946b2d8c13d10382b17737069049e6b084b88 call \
hello-world --count integer --mashed boolean \
fromfunc (m *MyModule) Example(ctx context.Context, count int, mashed bool) string {
return dag.
Potato().
HelloWorld(count, mashed).
From(ctx)
}@function
async def example(count: int, mashed: bool) -> str:
return await (
dag.potato()
.hello_world(count, mashed)
.from_()
)@func()
async example(count: number, mashed: boolean): Promise<string> {
return dag
.potato()
.helloWorld(count, mashed)
.from()
}