etcd: kubedb.dev/etcd/pkg/admission Index | Files

package admission

import "kubedb.dev/etcd/pkg/admission"

Index

Package Files

mutator.go validator.go

func ValidateEtcd Uses

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 Uses

type EtcdMutator struct {
    // contains filtered or unexported fields
}

func (*EtcdMutator) Admit Uses

func (a *EtcdMutator) Admit(req *admission.AdmissionRequest) *admission.AdmissionResponse

func (*EtcdMutator) Initialize Uses

func (a *EtcdMutator) Initialize(config *rest.Config, stopCh <-chan struct{}) error

func (*EtcdMutator) Resource Uses

func (a *EtcdMutator) Resource() (plural schema.GroupVersionResource, singular string)

type EtcdValidator Uses

type EtcdValidator struct {
    // contains filtered or unexported fields
}

func (*EtcdValidator) Admit Uses

func (a *EtcdValidator) Admit(req *admission.AdmissionRequest) *admission.AdmissionResponse

func (*EtcdValidator) Initialize Uses

func (a *EtcdValidator) Initialize(config *rest.Config, stopCh <-chan struct{}) error

func (*EtcdValidator) Resource Uses

func (a *EtcdValidator) Resource() (plural schema.GroupVersionResource, singular string)

Package admission imports 22 packages (graph) and is imported by 6 packages. Updated 2019-07-24. Refresh now. Tools for package owners.