admission

package
v0.0.0-...-8323bfd Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateRedis

func ValidateRedis(client kubernetes.Interface, extClient cs.Interface, redis *api.Redis) error

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

Types

type RedisMutator

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

func (*RedisMutator) Admit

func (*RedisMutator) Initialize

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

func (*RedisMutator) Resource

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

type RedisValidator

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

func (*RedisValidator) Admit

func (*RedisValidator) Initialize

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

func (*RedisValidator) Resource

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

Jump to

Keyboard shortcuts

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