Dagger
Search

daggy

No long description provided.

Installation

dagger install github.com/shykes/daggerverse/daggy@v0.3.0

Entrypoint

Return Type
Daggy
Example
dagger -m github.com/shykes/daggerverse/daggy@7f34ca0b46bc8a4ec9ac7ac07f9b9861c441b8df call \
func (m *myModule) example() *Daggy  {
	return dag.
			Daggy()
}
@function
def example() -> dag.Daggy:
	return (
		dag.daggy()
	)
@func()
example(): Daggy {
	return dag
		.daggy()
}

Types

Daggy 🔗

do() 🔗

Tell Daggy to do something

Return Type
String !
Arguments
NameTypeDefault ValueDescription
promptString !-No description provided
tokenSecret -No description provided
baseContainer -No description provided
Example
dagger -m github.com/shykes/daggerverse/daggy@7f34ca0b46bc8a4ec9ac7ac07f9b9861c441b8df call \
 do --prompt string
func (m *myModule) example(ctx context.Context, prompt string) string  {
	return dag.
			Daggy().
			Do(ctx, prompt)
}
@function
async def example(prompt: str) -> str:
	return await (
		dag.daggy()
		.do(prompt)
	)
@func()
async example(prompt: string): Promise<string> {
	return dag
		.daggy()
		.do(prompt)
}

server() 🔗

Return Type
Service !
Arguments
NameTypeDefault ValueDescription
tokenSecret !-No description provided
baseContainer -No description provided
Example
dagger -m github.com/shykes/daggerverse/daggy@7f34ca0b46bc8a4ec9ac7ac07f9b9861c441b8df call \
 server --token env:MYSECRET
func (m *myModule) example(token *Secret) *Service  {
	return dag.
			Daggy().
			Server(token)
}
@function
def example(token: dagger.Secret) -> dagger.Service:
	return (
		dag.daggy()
		.server(token)
	)
@func()
example(token: Secret): Service {
	return dag
		.daggy()
		.server(token)
}

debug() 🔗

Return Type
Terminal !
Arguments
NameTypeDefault ValueDescription
tokenSecret -No description provided
baseContainer -No description provided
Example
dagger -m github.com/shykes/daggerverse/daggy@7f34ca0b46bc8a4ec9ac7ac07f9b9861c441b8df call \
 debug
func (m *myModule) example() *Terminal  {
	return dag.
			Daggy().
			Debug()
}
@function
def example() -> dag.Terminal:
	return (
		dag.daggy()
		.debug()
	)
@func()
example(): Terminal {
	return dag
		.daggy()
		.debug()
}

container() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
tokenSecret -No description provided
baseContainer -No description provided
Example
dagger -m github.com/shykes/daggerverse/daggy@7f34ca0b46bc8a4ec9ac7ac07f9b9861c441b8df call \
 container
func (m *myModule) example() *Container  {
	return dag.
			Daggy().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.daggy()
		.container()
	)
@func()
example(): Container {
	return dag
		.daggy()
		.container()
}