bats
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/bats@329116361218e383992277d7a3ca5d1acb1fc163Entrypoint
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 \
containerfunc (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
| Name | Type | Default Value | Description |
|---|---|---|---|
| src | Directory ! | - | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/bats@329116361218e383992277d7a3ca5d1acb1fc163 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)
}run() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| args | [StringKind ! ] ! | - | No description provided |
| source | Directory | - | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/bats@329116361218e383992277d7a3ca5d1acb1fc163 call \
runfunc (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 moduleFunction BatsWithSource.container is not accessible from the bats moduleFunction BatsWithSource.container is not accessible from the bats moduleFunction BatsWithSource.container is not accessible from the bats modulerun() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| args | [StringKind ! ] ! | - | No description provided |
Example
Function BatsWithSource.run is not accessible from the bats moduleFunction BatsWithSource.run is not accessible from the bats moduleFunction BatsWithSource.run is not accessible from the bats moduleFunction BatsWithSource.run is not accessible from the bats module