testing

package
v0.15.9 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: Apache-2.0 Imports: 6 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