v1

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: Apache-2.0, BSD-2-Clause, MIT Imports: 11 Imported by: 1

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.

func SetupRayJobWebhookWithManager added in v1.5.0

func SetupRayJobWebhookWithManager(mgr ctrl.Manager) error

SetupRayJobWebhookWithManager registers the webhook for RayJob in the manager.

func SetupRayServiceWebhookWithManager added in v1.5.0

func SetupRayServiceWebhookWithManager(mgr ctrl.Manager) error

SetupRayServiceWebhookWithManager registers the webhook for RayService 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

type RayJobWebhook added in v1.5.0

type RayJobWebhook struct{}

func (*RayJobWebhook) ValidateCreate added in v1.5.0

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

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

func (*RayJobWebhook) ValidateDelete added in v1.5.0

func (w *RayJobWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)

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

func (*RayJobWebhook) ValidateUpdate added in v1.5.0

func (w *RayJobWebhook) ValidateUpdate(_ context.Context, _ runtime.Object, newObj runtime.Object) (admission.Warnings, error)

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

type RayServiceWebhook added in v1.5.0

type RayServiceWebhook struct{}

func (*RayServiceWebhook) ValidateCreate added in v1.5.0

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

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

func (*RayServiceWebhook) ValidateDelete added in v1.5.0

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

func (*RayServiceWebhook) ValidateUpdate added in v1.5.0

func (w *RayServiceWebhook) 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