v1beta1

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlatformAdminHandler

type PlatformAdminHandler struct {
	Client    client.Client
	Manifests *config.Manifest
}

Cluster implements a validating and defaulting webhook for Cluster.

func (*PlatformAdminHandler) Default

func (webhook *PlatformAdminHandler) Default(ctx context.Context, obj runtime.Object) error

Default satisfies the defaulting webhook interface.

func (*PlatformAdminHandler) SetupWebhookWithManager

func (webhook *PlatformAdminHandler) SetupWebhookWithManager(mgr ctrl.Manager) (string, string, error)

SetupWebhookWithManager sets up Cluster webhooks.

func (*PlatformAdminHandler) ValidateCreate

func (webhook *PlatformAdminHandler) ValidateCreate(
	ctx context.Context,
	obj runtime.Object,
) (admission.Warnings, error)

ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type.

func (*PlatformAdminHandler) ValidateDelete

func (webhook *PlatformAdminHandler) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type.

func (*PlatformAdminHandler) ValidateUpdate

func (webhook *PlatformAdminHandler) ValidateUpdate(
	ctx context.Context,
	oldObj, newObj runtime.Object,
) (admission.Warnings, error)

ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type.

Jump to

Keyboard shortcuts

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