Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MutatingAdmission ¶
type MutatingAdmission struct {
// 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 ¶ added in v1.0.0
type ValidatingAdmission struct {
// contains filtered or unexported fields
}
ValidatingAdmission validates OverridePolicy object when creating/updating/deleting.
func (*ValidatingAdmission) Handle ¶ added in v1.0.0
Handle implements admission.Handler interface. It yields a response to an AdmissionRequest.
func (*ValidatingAdmission) InjectDecoder ¶ added in v1.0.0
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.