apiserver: k8s.io/apiserver/pkg/admission/testing Index | Files

package testing

import "k8s.io/apiserver/pkg/admission/testing"

Index

Package Files

helpers.go

func WithReinvocationTesting Uses

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.

Package testing imports 7 packages (graph). Updated 2019-08-28. Refresh now. Tools for package owners.