tests
No long description provided.
Installation
dagger install github.com/purpleclay/daggerverse/kubeconform/tests@e611b45544e8819ef6c0f8367a6bfeed648c50d6
Entrypoint
Return Type
Tests
Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
func (m *myModule) example() *Tests {
return dag.
Tests()
}
@function
def example() -> dag.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@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
all-tests
func (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@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
validate
func (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@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
validate-with-custom-schema
func (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@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
validate-with-local-crds
func (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@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
validate-with-remote-crds
func (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@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
validate-directory
func (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@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
validate-invalid-file
func (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()
}