tests
No long description provided.
Installation
dagger install github.com/purpleclay/daggerverse/kubeconform/tests@d89d02770517c610472bf17a6ce738243b008baeEntrypoint
Return Type
Tests Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@d89d02770517c610472bf17a6ce738243b008bae 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@d89d02770517c610472bf17a6ce738243b008bae 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@d89d02770517c610472bf17a6ce738243b008bae 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()
}validateWithCrd() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@d89d02770517c610472bf17a6ce738243b008bae call \
validate-with-crdfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
ValidateWithCrd(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.validate_with_crd()
)@func()
async example(): Promise<void> {
return dag
.tests()
.validateWithCrd()
}validateDirectory() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@d89d02770517c610472bf17a6ce738243b008bae 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@d89d02770517c610472bf17a6ce738243b008bae 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()
}