Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateEtcd ¶
func ValidateEtcd(client kubernetes.Interface, extClient cs.Interface, etcd *api.Etcd, strictValidation bool) error
ValidateEtcd checks if the object satisfies all the requirements. It is not method of Interface, because it is referenced from controller package too.
Types ¶
type EtcdMutator ¶
type EtcdMutator struct {
// contains filtered or unexported fields
}
func (*EtcdMutator) Admit ¶
func (a *EtcdMutator) Admit(req *admission.AdmissionRequest) *admission.AdmissionResponse
func (*EtcdMutator) Initialize ¶
func (a *EtcdMutator) Initialize(config *rest.Config, stopCh <-chan struct{}) error
func (*EtcdMutator) Resource ¶
func (a *EtcdMutator) Resource() (plural schema.GroupVersionResource, singular string)
type EtcdValidator ¶
type EtcdValidator struct {
// contains filtered or unexported fields
}
func (*EtcdValidator) Admit ¶
func (a *EtcdValidator) Admit(req *admission.AdmissionRequest) *admission.AdmissionResponse
func (*EtcdValidator) Initialize ¶
func (a *EtcdValidator) Initialize(config *rest.Config, stopCh <-chan struct{}) error
func (*EtcdValidator) Resource ¶
func (a *EtcdValidator) Resource() (plural schema.GroupVersionResource, singular string)
Click to show internal directories.
Click to hide internal directories.