admission

package
v0.5.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateEtcd

func ValidateEtcd(client kubernetes.Interface, extClient cs.Interface, etcd *api.Etcd, strictValidation bool) error

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

Types

type EtcdMutator

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

func (*EtcdMutator) Admit

func (*EtcdMutator) Initialize

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

func (*EtcdMutator) Resource

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

type EtcdValidator

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

func (*EtcdValidator) Admit

func (*EtcdValidator) Initialize

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

func (*EtcdValidator) Resource

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

Jump to

Keyboard shortcuts

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