Documentation
¶
Index ¶
- func SetupRayClusterWebhookWithManager(mgr ctrl.Manager) error
- type RayClusterWebhook
- func (w *RayClusterWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (w *RayClusterWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (w *RayClusterWebhook) ValidateUpdate(_ context.Context, _ runtime.Object, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRayClusterWebhookWithManager ¶
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 ¶
func (w *RayClusterWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type
Click to show internal directories.
Click to hide internal directories.