Documentation
¶
Index ¶
- type TemporalClusterWebhook
- func (w *TemporalClusterWebhook) Default(_ context.Context, obj runtime.Object) error
- func (w *TemporalClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (w *TemporalClusterWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (w *TemporalClusterWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (w *TemporalClusterWebhook) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemporalClusterWebhook ¶
type TemporalClusterWebhook struct {
AvailableAPIs *discovery.AvailableAPIs
}
TemporalClusterWebhook provides endpoints to validate and set default fields values for TemporalCluster objects.
func (*TemporalClusterWebhook) SetupWebhookWithManager ¶
func (w *TemporalClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*TemporalClusterWebhook) ValidateCreate ¶
func (w *TemporalClusterWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate ensures the user is creating a consistent temporal cluster.
func (*TemporalClusterWebhook) ValidateDelete ¶
func (w *TemporalClusterWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete does nothing.
func (*TemporalClusterWebhook) ValidateUpdate ¶
func (w *TemporalClusterWebhook) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate validates TemporalCluster updates. It mainly check for sequential version upgrades.
Click to show internal directories.
Click to hide internal directories.