bats
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/bats@eb98d225f3f9aadb5df64b097a76f382bf34be84Entrypoint
Return Type
BatsExample
dagger -m github.com/sagikazarmark/daggerverse/bats@eb98d225f3f9aadb5df64b097a76f382bf34be84 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 🔗
withVersion() 🔗
Specify which version of Bats to use.
Return Type
BatsContainer !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| version | StringKind ! | - | No description provided | 
Example
dagger -m github.com/sagikazarmark/daggerverse/bats@eb98d225f3f9aadb5df64b097a76f382bf34be84 call \
 with-versionfunc (m *MyModule) Example(version )   {
	return dag.
			Bats().
			WithVersion(version)
}@function
def example(version: ) -> :
	return (
		dag.bats()
		.with_version(version)
	)@func()
example(version: ):  {
	return dag
		.bats()
		.withVersion(version)
}withImageRef() 🔗
Specify a custom image reference in “repository:tag” format.
Return Type
BatsContainer !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| ref | StringKind ! | - | No description provided | 
Example
dagger -m github.com/sagikazarmark/daggerverse/bats@eb98d225f3f9aadb5df64b097a76f382bf34be84 call \
 with-image-reffunc (m *MyModule) Example(ref )   {
	return dag.
			Bats().
			WithImageRef(ref)
}@function
def example(ref: ) -> :
	return (
		dag.bats()
		.with_image_ref(ref)
	)@func()
example(ref: ):  {
	return dag
		.bats()
		.withImageRef(ref)
}withContainer() 🔗
Specify a custom container.
Return Type
BatsContainer !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| ctr | Container ! | - | No description provided | 
Example
dagger -m github.com/sagikazarmark/daggerverse/bats@eb98d225f3f9aadb5df64b097a76f382bf34be84 call \
 with-containerfunc (m *MyModule) Example(ctr )   {
	return dag.
			Bats().
			WithContainer(ctr)
}@function
def example(ctr: ) -> :
	return (
		dag.bats()
		.with_container(ctr)
	)@func()
example(ctr: ):  {
	return dag
		.bats()
		.withContainer(ctr)
}withSource() 🔗
Mount a source directory.
Return Type
BatsContainerWithSource !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| src | Directory ! | - | No description provided | 
Example
dagger -m github.com/sagikazarmark/daggerverse/bats@eb98d225f3f9aadb5df64b097a76f382bf34be84 call \
 with-sourcefunc (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)
}container() 🔗
Return the default container.
Return Type
Container !Example
dagger -m github.com/sagikazarmark/daggerverse/bats@eb98d225f3f9aadb5df64b097a76f382bf34be84 call \
 containerfunc (m *MyModule) Example()   {
	return dag.
			Bats().
			Container()
}@function
def example() -> :
	return (
		dag.bats()
		.container()
	)@func()
example():  {
	return dag
		.bats()
		.container()
}BatsContainer 🔗
ctr() 🔗
Return Type
Container !Example
Function BatsBatsContainer.Ctr is not accessible from the bats moduleFunction BatsBatsContainer.Ctr is not accessible from the bats moduleFunction BatsBatsContainer.Ctr is not accessible from the bats moduleFunction BatsBatsContainer.Ctr is not accessible from the bats modulecontainer() 🔗
Return the default container.
Return Type
Container !Example
Function BatsBatsContainer.container is not accessible from the bats moduleFunction BatsBatsContainer.container is not accessible from the bats moduleFunction BatsBatsContainer.container is not accessible from the bats moduleFunction BatsBatsContainer.container is not accessible from the bats modulewithSource() 🔗
Mount a source directory.
Return Type
BatsContainerWithSource !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| src | Directory ! | - | No description provided | 
Example
Function BatsBatsContainer.withSource is not accessible from the bats moduleFunction BatsBatsContainer.withSource is not accessible from the bats moduleFunction BatsBatsContainer.withSource is not accessible from the bats moduleFunction BatsBatsContainer.withSource is not accessible from the bats moduleBatsContainerWithSource 🔗
batsContainer() 🔗
Return Type
BatsContainer !Example
Function BatsBatsContainerWithSource.BatsContainer is not accessible from the bats moduleFunction BatsBatsContainerWithSource.BatsContainer is not accessible from the bats moduleFunction BatsBatsContainerWithSource.BatsContainer is not accessible from the bats moduleFunction BatsBatsContainerWithSource.BatsContainer is not accessible from the bats modulecontainer() 🔗
Return the default container.
Return Type
Container !Example
Function BatsBatsContainerWithSource.container is not accessible from the bats moduleFunction BatsBatsContainerWithSource.container is not accessible from the bats moduleFunction BatsBatsContainerWithSource.container is not accessible from the bats moduleFunction BatsBatsContainerWithSource.container is not accessible from the bats modulewithSource() 🔗
Mount a source directory.
Return Type
BatsContainerWithSource !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| src | Directory ! | - | No description provided | 
Example
Function BatsBatsContainerWithSource.withSource is not accessible from the bats moduleFunction BatsBatsContainerWithSource.withSource is not accessible from the bats moduleFunction BatsBatsContainerWithSource.withSource is not accessible from the bats moduleFunction BatsBatsContainerWithSource.withSource is not accessible from the bats modulerun() 🔗
example usage: “dagger call with-source –src . lint –document openapi.yaml”
Return Type
Container !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| args | [StringKind ! ] ! | - | No description provided | 
Example
Function BatsBatsContainerWithSource.run is not accessible from the bats moduleFunction BatsBatsContainerWithSource.run is not accessible from the bats moduleFunction BatsBatsContainerWithSource.run is not accessible from the bats moduleFunction BatsBatsContainerWithSource.run is not accessible from the bats module