Dagger
Search

testcontainers

No long description provided.

Installation

dagger install github.com/kpenfound/testcontainers-java-repro/module/testcontainers@125daf54f43a40515c14442569669f35c09f4936

Entrypoint

Return Type
Testcontainers
Example
dagger -m github.com/kpenfound/testcontainers-java-repro/module/testcontainers@125daf54f43a40515c14442569669f35c09f4936 call \
func (m *myModule) example() *Testcontainers  {
	return dag.
			Testcontainers()
}
@function
def example() -> dag.Testcontainers:
	return (
		dag.testcontainers()
	)
@func()
example(): Testcontainers {
	return dag
		.testcontainers()
}

Types

Testcontainers 🔗

enable() 🔗

optionally, boolean for Testcontainers Cloud, optional TCC_TOKEN (secret).

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
cContainer !-No description provided
Example
dagger -m github.com/kpenfound/testcontainers-java-repro/module/testcontainers@125daf54f43a40515c14442569669f35c09f4936 call \
 enable --c IMAGE:TAG
func (m *myModule) example(c *Container) *Container  {
	return dag.
			Testcontainers().
			Enable(c)
}
@function
def example(c: dagger.Container) -> dagger.Container:
	return (
		dag.testcontainers()
		.enable(c)
	)
@func()
example(c: Container): Container {
	return dag
		.testcontainers()
		.enable(c)
}