v1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0, BSD-2-Clause, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupRayClusterWebhookWithManager

func SetupRayClusterWebhookWithManager(mgr ctrl.Manager) error

SetupRayClusterWebhookWithManager registers the webhook for RayCluster in the manager.

Types

type RayClusterWebhook

type RayClusterWebhook struct{}

func (*RayClusterWebhook) ValidateCreate

func (w *RayClusterWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*RayClusterWebhook) ValidateDelete

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

func (*RayClusterWebhook) ValidateUpdate

func (w *RayClusterWebhook) ValidateUpdate(_ context.Context, _ runtime.Object, 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