Help us shape the future of Go! Take the 2026 Go Developer Survey

handlers

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 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