Dagger
Search

timoni

This module has been generated via dagger init and serves as a reference to basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them, as needed. They demonstrate usage of arguments and return types using simple echo and grep commands. The functions can be called from the dagger CLI or from one of the SDKs.

The first line in this comment block is a short description line and the rest is a long description with more detail on the module's purpose or usage, if appropriate. All modules should have a short description.

Installation

dagger install github.com/anthonybrice/daggerverse/timoni@55eff7d42fa1042d2f35629af0c73e8d6460c485

Entrypoint

Return Type
Timoni !
Arguments
NameTypeDescription
dirDirectory No description provided
Example
dagger -m github.com/anthonybrice/daggerverse/timoni@55eff7d42fa1042d2f35629af0c73e8d6460c485 call \
func (m *myModule) example() *Timoni  {
	return dag.
			Timoni()
}
@function
def example() -> dag.Timoni:
	return (
		dag.timoni()
	)
@func()
example(): Timoni {
	return dag
		.timoni()
}

Types

Timoni 🔗

dir() 🔗

Return Type
Directory !
Example
dagger -m github.com/anthonybrice/daggerverse/timoni@55eff7d42fa1042d2f35629af0c73e8d6460c485 call \
 dir
func (m *myModule) example() *Directory  {
	return dag.
			Timoni().
			Dir()
}
@function
def example() -> dagger.Directory:
	return (
		dag.timoni()
		.dir()
	)
@func()
example(): Directory {
	return dag
		.timoni()
		.dir()
}

tim() 🔗

Return Type
Container !
Example
dagger -m github.com/anthonybrice/daggerverse/timoni@55eff7d42fa1042d2f35629af0c73e8d6460c485 call \
 tim
func (m *myModule) example() *Container  {
	return dag.
			Timoni().
			Tim()
}
@function
def example() -> dagger.Container:
	return (
		dag.timoni()
		.tim()
	)
@func()
example(): Container {
	return dag
		.timoni()
		.tim()
}

withDir() 🔗

Return Type
Timoni !
Arguments
NameTypeDefault ValueDescription
dirDirectory !-No description provided
Example
dagger -m github.com/anthonybrice/daggerverse/timoni@55eff7d42fa1042d2f35629af0c73e8d6460c485 call \
 with-dir --dir DIR_PATH
func (m *myModule) example(dir *Directory) *Timoni  {
	return dag.
			Timoni().
			WithDir(dir)
}
@function
def example(dir: dagger.Directory) -> dag.Timoni:
	return (
		dag.timoni()
		.with_dir(dir)
	)
@func()
example(dir: Directory): Timoni {
	return dag
		.timoni()
		.withDir(dir)
}

cli() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
args[String ! ] !-args to pass to timoni
Example
dagger -m github.com/anthonybrice/daggerverse/timoni@55eff7d42fa1042d2f35629af0c73e8d6460c485 call \
 cli --args string1 --args string2
func (m *myModule) example(ctx context.Context, args []string) string  {
	return dag.
			Timoni().
			Cli(ctx, args)
}
@function
async def example(args: List[str]) -> str:
	return await (
		dag.timoni()
		.cli(args)
	)
@func()
async example(args: string[]): Promise<string> {
	return dag
		.timoni()
		.cli(args)
}