tests
No long description provided.
Installation
dagger install github.com/purpleclay/daggerverse/kubeconform/tests@14c1374e5878f082939aab575c36cdad19920e0dEntrypoint
Return Type
Tests Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@14c1374e5878f082939aab575c36cdad19920e0d 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@14c1374e5878f082939aab575c36cdad19920e0d call \
all-testsfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
AllTests(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.all_tests()
)@func()
async example(): Promise<void> {
return dag
.tests()
.allTests()
}validate() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@14c1374e5878f082939aab575c36cdad19920e0d 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@14c1374e5878f082939aab575c36cdad19920e0d 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()
.validate_with_custom_schema()
)@func()
async example(): Promise<void> {
return dag
.tests()
.validateWithCustomSchema()
}validateWithLocalCrds() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@14c1374e5878f082939aab575c36cdad19920e0d 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()
.validate_with_local_crds()
)@func()
async example(): Promise<void> {
return dag
.tests()
.validateWithLocalCrds()
}validateWithRemoteCrds() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@14c1374e5878f082939aab575c36cdad19920e0d 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()
.validate_with_remote_crds()
)@func()
async example(): Promise<void> {
return dag
.tests()
.validateWithRemoteCrds()
}validateDirectory() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@14c1374e5878f082939aab575c36cdad19920e0d call \
validate-directoryfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
ValidateDirectory(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.validate_directory()
)@func()
async example(): Promise<void> {
return dag
.tests()
.validateDirectory()
}validateInvalidFile() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@14c1374e5878f082939aab575c36cdad19920e0d call \
validate-invalid-filefunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
ValidateInvalidFile(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.validate_invalid_file()
)@func()
async example(): Promise<void> {
return dag
.tests()
.validateInvalidFile()
}