Dagger
Search

bats

No long description provided.

Installation

dagger install github.com/sagikazarmark/daggerverse/bats@329116361218e383992277d7a3ca5d1acb1fc163

Entrypoint

Return Type
Bats
Example
dagger -m github.com/sagikazarmark/daggerverse/bats@329116361218e383992277d7a3ca5d1acb1fc163 call \
func (m *MyModule) Example() *dagger.Bats  {
	return dag.
			Bats()
}
@function
def example() -> dagger.Bats:
	return (
		dag.bats()
	)
@func()
example(): Bats {
	return dag
		.bats()
}

Types

Bats 🔗

container() 🔗

Return Type
Container !
Example
dagger -m github.com/sagikazarmark/daggerverse/bats@329116361218e383992277d7a3ca5d1acb1fc163 call \
 container
func (m *MyModule) Example()   {
	return dag.
			Bats().
			Container()
}
@function
def example() -> :
	return (
		dag.bats()
		.container()
	)
@func()
example():  {
	return dag
		.bats()
		.container()
}

withSource() 🔗

Mount a source directory.

Return Type
WithSource !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
Example
dagger -m github.com/sagikazarmark/daggerverse/bats@329116361218e383992277d7a3ca5d1acb1fc163 call \
 with-source
func (m *MyModule) Example(src )   {
	return dag.
			Bats().
			WithSource(src)
}
@function
def example(src: ) -> :
	return (
		dag.bats()
		.with_source(src)
	)
@func()
example(src: ):  {
	return dag
		.bats()
		.withSource(src)
}

run() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
args[StringKind ! ] !-No description provided
sourceDirectory -No description provided
Example
dagger -m github.com/sagikazarmark/daggerverse/bats@329116361218e383992277d7a3ca5d1acb1fc163 call \
 run
func (m *MyModule) Example(args )   {
	return dag.
			Bats().
			Run(args)
}
@function
def example(args: ) -> :
	return (
		dag.bats()
		.run(args)
	)
@func()
example(args: ):  {
	return dag
		.bats()
		.run(args)
}

WithSource 🔗

container() 🔗

Return Type
Container !
Example
Function BatsWithSource.container is not accessible from the bats module
Function BatsWithSource.container is not accessible from the bats module
Function BatsWithSource.container is not accessible from the bats module
Function BatsWithSource.container is not accessible from the bats module

run() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
args[StringKind ! ] !-No description provided
Example
Function BatsWithSource.run is not accessible from the bats module
Function BatsWithSource.run is not accessible from the bats module
Function BatsWithSource.run is not accessible from the bats module
Function BatsWithSource.run is not accessible from the bats module