tests
No long description provided.
Installation
dagger install github.com/purpleclay/daggerverse/kubeconform/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7Entrypoint
Return Type
Tests Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7 call \
func (m *MyModule) Example() *dagger.Tests {
return dag.
Tests()
}@function
def example() -> dagger.Tests:
return (
dag.tests()
)@func()
example(): Tests {
return dag
.tests()
}Types
Tests 🔗
allTests() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7 call \
all-testsfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
Alltests(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.alltests()
)@func()
async example(): Promise<void> {
return dag
.tests()
.allTests()
}validate() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7 call \
validatefunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
Validate(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.validate()
)@func()
async example(): Promise<void> {
return dag
.tests()
.validate()
}validateWithCustomSchema() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7 call \
validate-with-custom-schemafunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
Validatewithcustomschema(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.validatewithcustomschema()
)@func()
async example(): Promise<void> {
return dag
.tests()
.validateWithCustomSchema()
}validateWithLocalCrds() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7 call \
validate-with-local-crdsfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
Validatewithlocalcrds(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.validatewithlocalcrds()
)@func()
async example(): Promise<void> {
return dag
.tests()
.validateWithLocalCrds()
}validateWithRemoteCrds() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7 call \
validate-with-remote-crdsfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
Validatewithremotecrds(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.validatewithremotecrds()
)@func()
async example(): Promise<void> {
return dag
.tests()
.validateWithRemoteCrds()
}validateDirectory() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7 call \
validate-directoryfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
Validatedirectory(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.validatedirectory()
)@func()
async example(): Promise<void> {
return dag
.tests()
.validateDirectory()
}validateInvalidFile() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7 call \
validate-invalid-filefunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
Validateinvalidfile(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.validateinvalidfile()
)@func()
async example(): Promise<void> {
return dag
.tests()
.validateInvalidFile()
}