webhook

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdmissionRequestDebugString

func AdmissionRequestDebugString(a admission.Request) string

func Allowed

func Allowed(a admission.Request, pluralResourceName string) bool

Allowed returns true if the admission request for the plural name of the resource passed in should be allowed to pass through, false otherwise.

func NewMutatingResource

func NewMutatingResource(resourcePluralName string) schema.GroupVersionResource

func NewValidatingResource

func NewValidatingResource(resourcePluralName string) schema.GroupVersionResource

func Unmarshal

func Unmarshal(rawExt *runtime.RawExtension, object interface{}) error

func Validate

func Validate(validateFn func() field.ErrorList) admission.Response

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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