tests
No long description provided.
Installation
dagger install github.com/purpleclay/daggerverse/kubeconform/tests@424af485b7e79437e0a0f799d083edd3e843128e
Entrypoint
Return Type
Tests
Example
dagger -m github.com/purpleclay/daggerverse/kubeconform/tests@424af485b7e79437e0a0f799d083edd3e843128e 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@424af485b7e79437e0a0f799d083edd3e843128e 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@424af485b7e79437e0a0f799d083edd3e843128e 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@424af485b7e79437e0a0f799d083edd3e843128e 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@424af485b7e79437e0a0f799d083edd3e843128e 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@424af485b7e79437e0a0f799d083edd3e843128e 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@424af485b7e79437e0a0f799d083edd3e843128e 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@424af485b7e79437e0a0f799d083edd3e843128e 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()
}