v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const InitialShardsAnnotation = "temporal.bmor10.com/initial-shards"

InitialShardsAnnotation records the numHistoryShards value chosen at creation time. It is the source of truth for the shard-count immutability check.

Variables

This section is empty.

Functions

func SetupTemporalClusterWebhookWithManager

func SetupTemporalClusterWebhookWithManager(mgr ctrl.Manager) error

SetupTemporalClusterWebhookWithManager registers the webhook for TemporalCluster in the manager.

func SetupTemporalNamespaceWebhookWithManager

func SetupTemporalNamespaceWebhookWithManager(mgr ctrl.Manager) error

SetupTemporalNamespaceWebhookWithManager registers the webhook for TemporalNamespace in the manager.

func SetupTemporalSearchAttributeWebhookWithManager

func SetupTemporalSearchAttributeWebhookWithManager(mgr ctrl.Manager) error

SetupTemporalSearchAttributeWebhookWithManager registers the webhook for TemporalSearchAttribute in the manager.

Types

type TemporalClusterCustomDefaulter

type TemporalClusterCustomDefaulter struct{}

TemporalClusterCustomDefaulter sets default values on TemporalCluster resources.

func (*TemporalClusterCustomDefaulter) Default

Default implements webhook.CustomDefaulter.

type TemporalClusterCustomValidator

type TemporalClusterCustomValidator struct{}

TemporalClusterCustomValidator validates TemporalCluster resources.

func (*TemporalClusterCustomValidator) ValidateCreate

ValidateCreate implements webhook.CustomValidator.

func (*TemporalClusterCustomValidator) ValidateDelete

ValidateDelete implements webhook.CustomValidator.

func (*TemporalClusterCustomValidator) ValidateUpdate

func (v *TemporalClusterCustomValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.CustomValidator.

type TemporalNamespaceCustomValidator

type TemporalNamespaceCustomValidator struct {
}

TemporalNamespaceCustomValidator struct is responsible for validating the TemporalNamespace resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*TemporalNamespaceCustomValidator) ValidateCreate

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

func (*TemporalNamespaceCustomValidator) ValidateDelete

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

func (*TemporalNamespaceCustomValidator) ValidateUpdate

func (v *TemporalNamespaceCustomValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

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

type TemporalSearchAttributeCustomValidator

type TemporalSearchAttributeCustomValidator struct {
}

TemporalSearchAttributeCustomValidator struct is responsible for validating the TemporalSearchAttribute resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*TemporalSearchAttributeCustomValidator) ValidateCreate

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

func (*TemporalSearchAttributeCustomValidator) ValidateDelete

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

func (*TemporalSearchAttributeCustomValidator) ValidateUpdate

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

Jump to

Keyboard shortcuts

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