Dagger
Search

compose

No long description provided.

Installation

dagger install github.com/wingyplus/daggerverse/compose@3828726820037c487fbc2b5aac945da30c7d150f

Entrypoint

Return Type
Compose
Example
func (m *myModule) example() *Compose  {
	return dag.
			Compose()
}
@function
def example() -> dag.Compose:
	return (
		dag.compose()
	)
@func()
example(): Compose {
	return dag
		.compose()
}

Types

Compose 🔗

withFile() 🔗

WithFile setup service binding from the given compose path.

Returns a container with pre-setup services.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
pathStringKind !-No description provided
Example
Function Compose.withFile is not accessible from the compose module
func (m *myModule) example(path )   {
	return dag.
			Compose().
			WithFile(path)
}
@function
def example(path: ) -> :
	return (
		dag.compose()
		.with_file(path)
	)
@func()
example(path: ):  {
	return dag
		.compose()
		.withFile(path)
}