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

package admission

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

Index

Package Files

mutator.go validator.go

func ValidateMemcached Uses

func ValidateMemcached(client kubernetes.Interface, extClient cs.Interface, memcached *api.Memcached, strictValidation bool) error

ValidateMemcached checks if the object satisfies all the requirements. It is not method of Interface, because it is referenced from controller package too.

type MemcachedMutator Uses

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

func (*MemcachedMutator) Admit Uses

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

func (*MemcachedMutator) Initialize Uses

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

func (*MemcachedMutator) Resource Uses

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

type MemcachedValidator Uses

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

func (*MemcachedValidator) Admit Uses

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

func (*MemcachedValidator) Initialize Uses

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

func (*MemcachedValidator) Resource Uses

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

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