package testing
import "k8s.io/apiserver/pkg/admission/testing"
Index ¶
Functions ¶
func WithReinvocationTesting ¶
func WithReinvocationTesting(t *testing.T, admission admission.MutationInterface) admission.MutationInterface
WithReinvocationTesting wraps a mutating admission handler and reinvokes it each time Admit is called. It checks the admission output object and reports a test error if the admission handler performs non-idempotent mutatations to the object.
Source Files ¶
helpers.go
- Version
- v0.18.0-rc.1
- Published
- Mar 17, 2020
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 2 minutes ago –
Tools for package owners.