webhook

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMutatingAdmissionHandler

func NewMutatingAdmissionHandler(overrideManager overridemanager.OverrideManager, policyInterrupterManager interrupter.PolicyInterrupterManager) webhook.AdmissionHandler

func NewValidatingAdmissionHandler

func NewValidatingAdmissionHandler(validateManager validatemanager.ValidateManager, policyInterrupterManager interrupter.PolicyInterrupterManager) webhook.AdmissionHandler

Types

type MutatingAdmission

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

func (*MutatingAdmission) Handle

func (*MutatingAdmission) InjectDecoder

func (a *MutatingAdmission) InjectDecoder(d *admission.Decoder) error

InjectDecoder implements admission.DecoderInjector interface. A decoder will be automatically injected.

type ValidatingAdmission

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

func (*ValidatingAdmission) Handle

func (*ValidatingAdmission) InjectDecoder

func (a *ValidatingAdmission) InjectDecoder(d *admission.Decoder) error

InjectDecoder implements admission.DecoderInjector interface. A decoder will be automatically injected.

Jump to

Keyboard shortcuts

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