testing

package
v0.24.1-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL