conftest
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/conftest@2dee4f454e2f6c579baea96080893db44270ca90
Entrypoint
Return Type
Conftest
Example
dagger -m github.com/tsirysndr/daggerverse/conftest@2dee4f454e2f6c579baea96080893db44270ca90 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@2dee4f454e2f6c579baea96080893db44270ca90 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@2dee4f454e2f6c579baea96080893db44270ca90 call \
dev
func (m *myModule) example() {
return dag.
Conftest().
Dev()
}
@function
def example() -> :
return (
dag.conftest()
.dev()
)
@func()
example(): {
return dag
.conftest()
.dev()
}