conftest
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/conftest@655d347b8eb1b9db2c9e1a16a21a85aef1789bd4
Entrypoint
Return Type
Conftest
Example
dagger -m github.com/tsirysndr/daggerverse/conftest@655d347b8eb1b9db2c9e1a16a21a85aef1789bd4 call \
func (m *myModule) example() *Conftest {
return dag.
Conftest()
}
@function
def example() -> dag.Conftest:
return (
dag.conftest()
)
@func()
example(): Conftest {
return dag
.conftest()
}
Types
Conftest 🔗
test() 🔗
Tests your configuration files using Conftest.
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
files | StringKind ! | - | No description provided |
policy | StringKind | - | No description provided |
output | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/conftest@655d347b8eb1b9db2c9e1a16a21a85aef1789bd4 call \
test
func (m *myModule) example(src , files ) {
return dag.
Conftest().
Test(src, files)
}
@function
def example(src: , files: ) -> :
return (
dag.conftest()
.test(src, files)
)
@func()
example(src: , files: ): {
return dag
.conftest()
.test(src, files)
}
dev() 🔗
Returns a container with conftest installed.
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/conftest@655d347b8eb1b9db2c9e1a16a21a85aef1789bd4 call \
dev
func (m *myModule) example() {
return dag.
Conftest().
Dev()
}
@function
def example() -> :
return (
dag.conftest()
.dev()
)
@func()
example(): {
return dag
.conftest()
.dev()
}