resourceconsist

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PodResourceConsistWebhooks []*PodResourceConsistWebhook

Functions

func GenerateLifecycleFinalizer

func GenerateLifecycleFinalizer(employerName string) string

func GenerateLifecycleFinalizerKey

func GenerateLifecycleFinalizerKey(employer client.Object) string

Types

type PodResourceConsistWebhook

type PodResourceConsistWebhook struct {
	webhookAdapters.WebhookAdapter
}

func (*PodResourceConsistWebhook) Mutating

func (r *PodResourceConsistWebhook) Mutating(ctx context.Context, c client.Client, oldPod, newPod *corev1.Pod, operation admissionv1.Operation) error

func (*PodResourceConsistWebhook) Name

func (*PodResourceConsistWebhook) Validating

func (r *PodResourceConsistWebhook) Validating(ctx context.Context, c client.Client, oldPod, newPod *corev1.Pod, operation admissionv1.Operation) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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