Documentation ¶
Index ¶
- func NewFuncBackedValidator(log logr.Logger, groupName string, scheme *runtime.Scheme, ...) *funcBackedValidator
- type SchemeBackedDefaulter
- func (c *SchemeBackedDefaulter) Admit(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
- func (c *SchemeBackedDefaulter) Initialize(kubeClientConfig *restclient.Config, stopCh <-chan struct{}) error
- func (c *SchemeBackedDefaulter) MutatingResource() (plural schema.GroupVersionResource, singular string)
- type ValidationFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFuncBackedValidator ¶
func NewFuncBackedValidator(log logr.Logger, groupName string, scheme *runtime.Scheme, fns map[schema.GroupVersionKind]ValidationFunc) *funcBackedValidator
Types ¶
type SchemeBackedDefaulter ¶
type SchemeBackedDefaulter struct {
// contains filtered or unexported fields
}
func (*SchemeBackedDefaulter) Admit ¶
func (c *SchemeBackedDefaulter) Admit(admissionSpec *admissionv1beta1.AdmissionRequest) *admissionv1beta1.AdmissionResponse
func (*SchemeBackedDefaulter) Initialize ¶
func (c *SchemeBackedDefaulter) Initialize(kubeClientConfig *restclient.Config, stopCh <-chan struct{}) error
func (*SchemeBackedDefaulter) MutatingResource ¶
func (c *SchemeBackedDefaulter) MutatingResource() (plural schema.GroupVersionResource, singular string)
Click to show internal directories.
Click to hide internal directories.