webhooks

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFluentPVCValidator

func NewFluentPVCValidator(c client.Client) admission.Handler

func NewPodMutator

func NewPodMutator(c client.Client) admission.Handler

func NewPodValidator

func NewPodValidator(c client.Client) admission.Handler

func PodAdmissionResponse

func PodAdmissionResponse(pod *corev1.Pod, req admission.Request) admission.Response

func SetupFluentPVCWebhookWithManager

func SetupFluentPVCWebhookWithManager(mgr ctrl.Manager) error

func SetupPodWebhookWithManager

func SetupPodWebhookWithManager(mgr ctrl.Manager) error

Types

type FluentPVCValidator

type FluentPVCValidator struct {
	Client client.Client
	// contains filtered or unexported fields
}

func (*FluentPVCValidator) Handle

func (*FluentPVCValidator) InjectDecoder

func (v *FluentPVCValidator) InjectDecoder(d *admission.Decoder) error

Jump to

Keyboard shortcuts

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