handlers

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFuncBackedValidator

func NewFuncBackedValidator(log logr.Logger, groupName string, scheme *runtime.Scheme, fns map[schema.GroupVersionKind]ValidationFunc) *funcBackedValidator

Types

type SchemeBackedDefaulter

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

func NewSchemeBackedDefaulter

func NewSchemeBackedDefaulter(log logr.Logger, groupName string, scheme *runtime.Scheme) *SchemeBackedDefaulter

func (*SchemeBackedDefaulter) Admit

func (*SchemeBackedDefaulter) Initialize

func (c *SchemeBackedDefaulter) Initialize(kubeClientConfig *restclient.Config, stopCh <-chan struct{}) error

func (*SchemeBackedDefaulter) MutatingResource

func (c *SchemeBackedDefaulter) MutatingResource() (plural schema.GroupVersionResource, singular string)

type ValidationFunc

type ValidationFunc func(runtime.Object) field.ErrorList

Jump to

Keyboard shortcuts

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