Dagger
Search

potato

No long description provided.

Installation

dagger install github.com/JuanValeraDev/potato@b65461ac7de76c9ff95742ab7be87f80a9dfebc4

Entrypoint

Return Type
Potato
Example
dagger -m github.com/JuanValeraDev/potato@b65461ac7de76c9ff95742ab7be87f80a9dfebc4 call \
func (m *myModule) example() *Potato  {
	return dag.
			Potato()
}
@function
def example() -> dag.Potato:
	return (
		dag.potato()
	)
@func()
example(): Potato {
	return dag
		.potato()
}

Entrypoint

Return Type
Message !
Arguments
NameTypeDescription
messageString !No description provided
fromString !No description provided
Example
Function Message.Constructor is not accessible from the potato module
Function Message.Constructor is not accessible from the potato module
Function Message.Constructor is not accessible from the potato module
Function Message.Constructor is not accessible from the potato module

Types

Potato 🔗

helloWorld() 🔗

Return Type
Message !
Arguments
NameTypeDefault ValueDescription
countInteger !-The number of potatoes to process
mashedBoolean !falseWhether the potatoes are mashed
Example
dagger -m github.com/JuanValeraDev/potato@b65461ac7de76c9ff95742ab7be87f80a9dfebc4 call \
 hello-world --count integer --mashed boolean
func (m *myModule) example(count int, mashed bool) *PotatoMessage  {
	return dag.
			Potato().
			HelloWorld(count, mashed)
}
@function
def example(count: int, mashed: bool) -> dag.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 \
 message
func (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 \
 from
func (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()
}