admission

package
v0.0.0-...-d6d28ab Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateMongoDB

func ValidateMongoDB(client kubernetes.Interface, extClient cs.Interface, mongodb *api.MongoDB, strictValidation bool) error

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

Types

type MongoDBMutator

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

func (*MongoDBMutator) Admit

func (*MongoDBMutator) Initialize

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

func (*MongoDBMutator) Resource

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

type MongoDBValidator

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

func (*MongoDBValidator) Admit

func (*MongoDBValidator) Initialize

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

func (*MongoDBValidator) Resource

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

Jump to

Keyboard shortcuts

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