admission

package
v0.13.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2019 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateElasticsearch

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.

Types

type ElasticsearchMutator

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

func (*ElasticsearchMutator) Admit

func (*ElasticsearchMutator) Initialize

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

func (*ElasticsearchMutator) Resource

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

type ElasticsearchValidator

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

func (*ElasticsearchValidator) Admit

func (*ElasticsearchValidator) Initialize

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

func (*ElasticsearchValidator) Resource

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL