Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionReview ¶
type AdmissionReview interface {
// HandleReview handles the facade.AdmissionReview using the logr.Logger
HandleReview(logger logr.Logger, review facade.AdmissionReview) error
// HandlerType returns the Type to identify the web hook
HandlerType() Type
}
AdmissionReview is a handler for v1beta1.AdmissionReview
type Mutator ¶
type Mutator interface {
AdmissionReview
// AddMutator adds a mutation.Mutator to be used to mutate the v1beta1.AdmissionRequest
AddMutator(mutator mutation.Mutator) error
}
Mutator is a AdmissionReview for mutating an object in v1beta1.AdmissionRequest
func NewMutator ¶
func NewMutator() Mutator
NewMutator creates a new Mutator and the provided metering.Summary for metering
type UnmarshalReqObj ¶
type UnmarshalReqObj interface {
codec.SchemeRegistry
AdmissionReview
}
UnmarshalReqObj is an AdmissionReview which handles the deserialization of the object in v1beta1.AdmissionRequest
func NewUnmarshalReqObj ¶
func NewUnmarshalReqObj() UnmarshalReqObj
NewUnmarshalReqObj creates a new UnmarshalReqObj using a new runtime.Scheme
type Validator ¶
type Validator interface {
AdmissionReview
// AddValidator adds a validation.Validator to be used to validate the v1beta1.AdmissionRequest
AddValidator(validator validation.Validator) error
}
Validator is an AdmissionReview for validating an object in v1beta1.AdmissionRequest
Click to show internal directories.
Click to hide internal directories.