bats
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/bats@3b09fa72ef351fda3a68fb74e0e1625ad08c5044
Entrypoint
Return Type
Bats
Example
func (m *myModule) example() *Bats {
return dag.
Bats()
}
@function
def example() -> dag.Bats:
return (
dag.bats()
)
@func()
example(): Bats {
return dag
.bats()
}
Types
Bats 🔗
container() 🔗
Return Type
Container !
Example
Function Bats.container is not accessible from the bats module
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
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
Example
Function Bats.withSource is not accessible from the bats module
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
Name | Type | Default Value | Description |
---|---|---|---|
args | [StringKind ! ] ! | - | No description provided |
source | Directory | - | No description provided |
Example
Function Bats.run is not accessible from the bats module
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
Name | Type | Default Value | Description |
---|---|---|---|
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