potato
No long description provided.
Installation
dagger install github.com/JuanValeraDev/potato@b65461ac7de76c9ff95742ab7be87f80a9dfebc4Entrypoint
Return Type
Potato Example
dagger -m github.com/JuanValeraDev/potato@b65461ac7de76c9ff95742ab7be87f80a9dfebc4 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/JuanValeraDev/potato@b65461ac7de76c9ff95742ab7be87f80a9dfebc4 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/JuanValeraDev/potato@b65461ac7de76c9ff95742ab7be87f80a9dfebc4 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/JuanValeraDev/potato@b65461ac7de76c9ff95742ab7be87f80a9dfebc4 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()
}