Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMutatingHandler ¶ added in v1.3.0
func NewMutatingHandler(notReadyTolerationSeconds, unreachableTolerationSeconds int64) admission.Handler
NewMutatingHandler builds a new admission.Handler.
Types ¶
type MutatingAdmission ¶
type MutatingAdmission struct { DefaultNotReadyTolerationSeconds int64 DefaultUnreachableTolerationSeconds int64 // contains filtered or unexported fields }
MutatingAdmission mutates API request if necessary.
func (*MutatingAdmission) InjectDecoder ¶
func (a *MutatingAdmission) InjectDecoder(d *admission.Decoder) error
InjectDecoder implements admission.DecoderInjector interface. A decoder will be automatically injected.
type ValidatingAdmission ¶
type ValidatingAdmission struct {
// contains filtered or unexported fields
}
ValidatingAdmission validates PropagationPolicy object when creating/updating/deleting.
func (*ValidatingAdmission) Handle ¶
Handle implements admission.Handler interface. It yields a response to an AdmissionRequest.
func (*ValidatingAdmission) InjectDecoder ¶
func (v *ValidatingAdmission) InjectDecoder(d *admission.Decoder) error
InjectDecoder implements admission.DecoderInjector interface. A decoder will be automatically injected.
Click to show internal directories.
Click to hide internal directories.