Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionResponse ¶
type AdmissionResponse struct {
admissionv1.AdmissionResponse
}
AdmissionResponse is a decorator for admissionv1.AdmissionResponse
type Interface ¶
type Interface interface { Invoke(obj, oldObj runtime.Object) (*AdmissionResponse, error) InvokeFromFile(objPath, oldObjPath string) (*AdmissionResponse, error) }
Interface is the interface for an integration test fixture
func NewMutation ¶
NewMutation creates a new Interface for mutation testing
func NewValidation ¶
func NewValidation(defaultNamespace string, validators ...validation.Validator) (Interface, error)
NewValidation creates a new Interface for validation testing
Click to show internal directories.
Click to hide internal directories.