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

package admission

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

Index

Package Files

mutator.go validator.go

func ValidateElasticsearch Uses

func ValidateElasticsearch(client kubernetes.Interface, extClient cs.Interface, elasticsearch *api.Elasticsearch, strictValidation bool) error

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

type ElasticsearchMutator Uses

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

func (*ElasticsearchMutator) Admit Uses

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

func (*ElasticsearchMutator) Initialize Uses

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

func (*ElasticsearchMutator) Resource Uses

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

type ElasticsearchValidator Uses

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

func (*ElasticsearchValidator) Admit Uses

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

func (*ElasticsearchValidator) Initialize Uses

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

func (*ElasticsearchValidator) Resource Uses

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

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