Dagger
Search

ci

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/llorenzinho/dagger-package-repository@b9052294d52b239c940d7c59f86b72cd45a056b5

Entrypoint

Return Type
Ci
Example
dagger -m github.com/llorenzinho/dagger-package-repository@b9052294d52b239c940d7c59f86b72cd45a056b5 call \
func (m *myModule) example() *Ci  {
	return dag.
			Ci()
}
@function
def example() -> dag.Ci:
	return (
		dag.ci()
	)
@func()
example(): Ci {
	return dag
		.ci()
}

Types

Ci 🔗

buildDocker() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
dirDirectory !-No description provided
Example
dagger -m github.com/llorenzinho/dagger-package-repository@b9052294d52b239c940d7c59f86b72cd45a056b5 call \
 build-docker --dir DIR_PATH
func (m *myModule) example(dir *Directory) *Container  {
	return dag.
			Ci().
			BuildDocker(dir)
}
@function
def example(dir: dagger.Directory) -> dagger.Container:
	return (
		dag.ci()
		.build_docker(dir)
	)
@func()
example(dir: Directory): Container {
	return dag
		.ci()
		.buildDocker(dir)
}

echo() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
msgString !-No description provided
Example
dagger -m github.com/llorenzinho/dagger-package-repository@b9052294d52b239c940d7c59f86b72cd45a056b5 call \
 echo --msg string
func (m *myModule) example(ctx context.Context, msg string) string  {
	return dag.
			Ci().
			Echo(ctx, msg)
}
@function
async def example(msg: str) -> str:
	return await (
		dag.ci()
		.echo(msg)
	)
@func()
async example(msg: string): Promise<string> {
	return dag
		.ci()
		.echo(msg)
}