persistentvolumeclaim

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MutatingHandler

type MutatingHandler struct {
	*mixin.WebhookHandlerMixin
}

func NewMutatingHandler

func NewMutatingHandler() *MutatingHandler

func (*MutatingHandler) Handle

func (h *MutatingHandler) Handle(ctx context.Context, req admission.Request) (resp admission.Response)

type ValidatingHandler

type ValidatingHandler struct {
	*mixin.WebhookHandlerMixin
}

func NewValidatingHandler

func NewValidatingHandler() *ValidatingHandler

func (*ValidatingHandler) Handle

func (*ValidatingHandler) InjectClient

func (h *ValidatingHandler) InjectClient(c client.Client) error

func (*ValidatingHandler) IsPvcMountedOnPod

func (h *ValidatingHandler) IsPvcMountedOnPod(ctx context.Context, pvc *corev1.PersistentVolumeClaim) (bool, error)

Jump to

Keyboard shortcuts

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