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

package admission

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

Index

Package Files

mutator.go validator.go

func ValidateMySQL Uses

func ValidateMySQL(client kubernetes.Interface, extClient cs.Interface, mysql *api.MySQL, strictValidation bool) error

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

type MySQLMutator Uses

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

func (*MySQLMutator) Admit Uses

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

func (*MySQLMutator) Initialize Uses

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

func (*MySQLMutator) Resource Uses

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

type MySQLValidator Uses

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

func (*MySQLValidator) Admit Uses

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

func (*MySQLValidator) Initialize Uses

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

func (*MySQLValidator) Resource Uses

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

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