import "kubedb.dev/etcd/pkg/admission"
Copyright The KubeDB Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright The KubeDB Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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.
type EtcdMutator struct {
// contains filtered or unexported fields
}
func (a *EtcdMutator) Admit(req *admission.AdmissionRequest) *admission.AdmissionResponse
func (a *EtcdMutator) Initialize(config *rest.Config, stopCh <-chan struct{}) error
func (a *EtcdMutator) Resource() (plural schema.GroupVersionResource, singular string)
type EtcdValidator struct {
// contains filtered or unexported fields
}
func (a *EtcdValidator) Admit(req *admission.AdmissionRequest) *admission.AdmissionResponse
func (a *EtcdValidator) Initialize(config *rest.Config, stopCh <-chan struct{}) error
func (a *EtcdValidator) Resource() (plural schema.GroupVersionResource, singular string)
Package admission imports 22 packages (graph) and is imported by 6 packages. Updated 2019-12-15. Refresh now. Tools for package owners.