Documentation
¶
Overview ¶
Package wilhelm is the root of the wilhelm test-assertion library.
Subpackages:
- assert: partial-match assertion structs and the reflection-based AssertPartial engine.
- env: per-test environment with typed resource getters and a dispatching AssertPartial.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package assert provides partial-matching assertion structs for Kubernetes resources.
|
Package assert provides partial-matching assertion structs for Kubernetes resources. |
|
cert/manager
module
|
|
|
flux/helm
module
|
|
|
flux/kustomize
module
|
|
|
flux/source
module
|
|
|
tekton/pipeline
module
|
|
|
traefik/io
module
|
|
|
velero/api
module
|
|
|
Package env provides the per-test wilhelm environment plus typed resource getters for every namespaced and cluster-scoped resource that the upstream kubernetes.Interface exposes, as well as dynamic-client getters for Gateway API and Prometheus Operator types.
|
Package env provides the per-test wilhelm environment plus typed resource getters for every namespaced and cluster-scoped resource that the upstream kubernetes.Interface exposes, as well as dynamic-client getters for Gateway API and Prometheus Operator types. |
|
internal
|
|
|
anchors
Package anchors holds blank imports for every package that wilhelm's generators introspect.
|
Package anchors holds blank imports for every package that wilhelm's generators introspect. |
|
gen/assertgen
command
Command assertgen generates partial-match assertion structs for the exported struct types in a list of Go packages.
|
Command assertgen generates partial-match assertion structs for the exported struct types in a list of Go packages. |
|
gen/envgen
command
Command envgen has two modes:
|
Command envgen has two modes: |
Click to show internal directories.
Click to hide internal directories.