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

package admission

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

Index

Package Files

mutator.go validator.go

func ValidateRedis Uses

func ValidateRedis(client kubernetes.Interface, extClient cs.Interface, redis *api.Redis, strictValidation bool) error

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

type RedisMutator Uses

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

func (*RedisMutator) Admit Uses

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

func (*RedisMutator) Initialize Uses

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

func (*RedisMutator) Resource Uses

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

type RedisValidator Uses

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

func (*RedisValidator) Admit Uses

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

func (*RedisValidator) Initialize Uses

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

func (*RedisValidator) Resource Uses

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

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