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