Dagger
Search

composer

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/jasonmccallister/dagger-composer@67d89d5f61a76f7134898b497a47c1ce5911a6ad

Entrypoint

Return Type
Composer !
Arguments
NameTypeDefault ValueDescription
versionString "latest"No description provided
dirDirectory -No description provided
Example
dagger -m github.com/jasonmccallister/dagger-composer@67d89d5f61a76f7134898b497a47c1ce5911a6ad call \
func (m *myModule) example() *Composer  {
	return dag.
			Composer()
}
@function
def example() -> dag.Composer:
	return (
		dag.composer()
	)
@func()
example(): Composer {
	return dag
		.composer()
}

Types

Composer 🔗

version() 🔗

Return Type
String !
Example
dagger -m github.com/jasonmccallister/dagger-composer@67d89d5f61a76f7134898b497a47c1ce5911a6ad call \
 version
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Composer().
			Version(ctx)
}
@function
async def example() -> str:
	return await (
		dag.composer()
		.version()
	)
@func()
async example(): Promise<string> {
	return dag
		.composer()
		.version()
}

dir() 🔗

Return Type
Directory !
Example
dagger -m github.com/jasonmccallister/dagger-composer@67d89d5f61a76f7134898b497a47c1ce5911a6ad call \
 dir
func (m *myModule) example() *Directory  {
	return dag.
			Composer().
			Dir()
}
@function
def example() -> dagger.Directory:
	return (
		dag.composer()
		.dir()
	)
@func()
example(): Directory {
	return dag
		.composer()
		.dir()
}

install() 🔗

Takes a directory and installs composer dependencies.

Return Type
Directory !
Example
dagger -m github.com/jasonmccallister/dagger-composer@67d89d5f61a76f7134898b497a47c1ce5911a6ad call \
 install
func (m *myModule) example() *Directory  {
	return dag.
			Composer().
			Install()
}
@function
def example() -> dagger.Directory:
	return (
		dag.composer()
		.install()
	)
@func()
example(): Directory {
	return dag
		.composer()
		.install()
}