Documentation
¶
Overview ¶
Conversion / hub-and-spoke notes:
v1alpha1 is currently the one and only API version, and is marked as the storage version (see the +kubebuilder:storageversion markers on the root types). When a v1beta1 is introduced, v1alpha1 will become the conversion "hub": all spoke versions convert to and from it, and conversion webhooks will be wired in here (via the conversion.Convertible / conversion.Hub interfaces from sigs.k8s.io/controller-runtime). Keeping this groundwork explicit now ensures the storage version is unambiguous and that adding a new version later is a localized change.
Package v1alpha1 contains API Schema definitions for the temporal v1alpha1 API group. +kubebuilder:object:generate=true +groupName=temporal.bmor10.com
Index ¶
- Constants
- Variables
- type ArchivalSpec
- type AuthorizationSpec
- type CassandraDatastoreSpec
- type CertificateAuthoritySpec
- type ClusterMetadataSpec
- type DatastoreSpec
- type DatastoreTLSSpec
- type DynamicConfigConstraints
- type DynamicConfigSpec
- type DynamicConfigValue
- type ElasticsearchDatastoreSpec
- type EndpointsStatus
- type FrontendMTLSSpec
- type InternalFrontendSpec
- type IssuerReference
- type MTLSSpec
- type MetricsSpec
- type PersistenceSpec
- type PersistenceStatus
- type PodTemplateOverride
- type SQLDatastoreSpec
- type SchemaUpgradeRecord
- type SecretKeyReference
- type ServiceExposureSpec
- type ServiceMonitorSpec
- type ServiceOverrides
- type ServiceSpec
- type ServiceStatus
- type ServicesSpec
- type TemporalCluster
- type TemporalClusterClient
- type TemporalClusterClientList
- type TemporalClusterClientSpec
- type TemporalClusterClientStatus
- type TemporalClusterList
- type TemporalClusterSpec
- type TemporalClusterStatus
- type TemporalNamespace
- type TemporalNamespaceList
- type TemporalNamespaceSpec
- type TemporalNamespaceStatus
- type TemporalSearchAttribute
- type TemporalSearchAttributeList
- type TemporalSearchAttributeSpec
- type TemporalSearchAttributeStatus
- type UICodecServerSpec
- type UIIngressSpec
- type UISpec
- type UpgradeStatus
Constants ¶
const ( // ConditionReady indicates the resource is fully reconciled and operational. ConditionReady = "Ready" // ConditionAvailable indicates the resource is serving requests. ConditionAvailable = "Available" // ConditionProgressing indicates the resource is being created or updated. ConditionProgressing = "Progressing" // ConditionDegraded indicates the resource failed to reach or maintain its desired state. ConditionDegraded = "Degraded" // ConditionPersistenceReachable indicates the datastores are reachable. ConditionPersistenceReachable = "PersistenceReachable" // ConditionSchemaReady indicates the persistence schema is at the desired version. ConditionSchemaReady = "SchemaReady" // ConditionMTLSReady indicates mTLS certificates are provisioned and valid. ConditionMTLSReady = "MTLSReady" // ConditionUpgradeBlocked indicates an upgrade cannot proceed. ConditionUpgradeBlocked = "UpgradeBlocked" // ConditionShardCountLocked indicates the immutable shard count is locked in. ConditionShardCountLocked = "ShardCountLocked" )
Condition types reported on Temporal resource status.
const ( // ReasonNotImplemented indicates the reconciler is a scaffold only. ReasonNotImplemented = "NotImplemented" // ReasonReconciling indicates reconciliation is in progress. ReasonReconciling = "Reconciling" // ReasonPersistenceUnreachable indicates the datastores could not be reached. ReasonPersistenceUnreachable = "PersistenceUnreachable" // ReasonSchemaMigrating indicates a schema migration is running. ReasonSchemaMigrating = "SchemaMigrating" // ReasonShardCountImmutable indicates an attempt to change the immutable shard count. ReasonShardCountImmutable = "ShardCountImmutable" // ReasonVersionUnsupported indicates the requested version is not in the support matrix. ReasonVersionUnsupported = "VersionUnsupported" // ReasonUpgradePathInvalid indicates the requested upgrade path is not allowed. ReasonUpgradePathInvalid = "UpgradePathInvalid" // ReasonRolloutInProgress indicates a rollout is underway. ReasonRolloutInProgress = "RolloutInProgress" // ReasonAllServicesReady indicates all services are ready. ReasonAllServicesReady = "AllServicesReady" // ReasonDeletionPrevented indicates deletion was blocked by preventDeletion. ReasonDeletionPrevented = "DeletionPrevented" )
Condition reasons reported on Temporal resource status.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "temporal.bmor10.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ArchivalSpec ¶
type ArchivalSpec struct {
// +kubebuilder:pruning:PreserveUnknownFields
// +optional
History *runtime.RawExtension `json:"history,omitempty"`
// +kubebuilder:pruning:PreserveUnknownFields
// +optional
Visibility *runtime.RawExtension `json:"visibility,omitempty"`
}
ArchivalSpec is a passthrough for cluster-wide archival configuration.
func (*ArchivalSpec) DeepCopy ¶
func (in *ArchivalSpec) DeepCopy() *ArchivalSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArchivalSpec.
func (*ArchivalSpec) DeepCopyInto ¶
func (in *ArchivalSpec) DeepCopyInto(out *ArchivalSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizationSpec ¶
type AuthorizationSpec struct {
// +optional
Authorizer string `json:"authorizer,omitempty"`
// +optional
ClaimMapper string `json:"claimMapper,omitempty"`
// Config is a passthrough for authorization provider configuration.
// +kubebuilder:pruning:PreserveUnknownFields
// +optional
Config *runtime.RawExtension `json:"config,omitempty"`
}
AuthorizationSpec configures the authorizer and claim mapper.
func (*AuthorizationSpec) DeepCopy ¶
func (in *AuthorizationSpec) DeepCopy() *AuthorizationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationSpec.
func (*AuthorizationSpec) DeepCopyInto ¶
func (in *AuthorizationSpec) DeepCopyInto(out *AuthorizationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CassandraDatastoreSpec ¶
type CassandraDatastoreSpec struct {
// +kubebuilder:validation:MinItems=1
Hosts []string `json:"hosts"`
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=65535
// +kubebuilder:default=9042
Port int32 `json:"port"`
Keyspace string `json:"keyspace"`
// +optional
User string `json:"user,omitempty"`
// +optional
PasswordSecretRef *SecretKeyReference `json:"passwordSecretRef,omitempty"`
// +optional
Datacenter string `json:"datacenter,omitempty"`
// +kubebuilder:validation:Minimum=1
// +kubebuilder:default=1
// +optional
Replicas int32 `json:"replicationFactor,omitempty"`
// +optional
TLS *DatastoreTLSSpec `json:"tls,omitempty"`
}
CassandraDatastoreSpec configures a Cassandra datastore.
func (*CassandraDatastoreSpec) DeepCopy ¶
func (in *CassandraDatastoreSpec) DeepCopy() *CassandraDatastoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CassandraDatastoreSpec.
func (*CassandraDatastoreSpec) DeepCopyInto ¶
func (in *CassandraDatastoreSpec) DeepCopyInto(out *CassandraDatastoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificateAuthoritySpec ¶
type CertificateAuthoritySpec struct {
// +optional
SecretName string `json:"secretName,omitempty"`
// +optional
Duration *metav1.Duration `json:"duration,omitempty"`
}
CertificateAuthoritySpec configures a certificate authority.
func (*CertificateAuthoritySpec) DeepCopy ¶
func (in *CertificateAuthoritySpec) DeepCopy() *CertificateAuthoritySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateAuthoritySpec.
func (*CertificateAuthoritySpec) DeepCopyInto ¶
func (in *CertificateAuthoritySpec) DeepCopyInto(out *CertificateAuthoritySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterMetadataSpec ¶
type ClusterMetadataSpec struct {
// +kubebuilder:pruning:PreserveUnknownFields
// +optional
Raw *runtime.RawExtension `json:"raw,omitempty"`
}
ClusterMetadataSpec is a passthrough for multi-cluster metadata.
func (*ClusterMetadataSpec) DeepCopy ¶
func (in *ClusterMetadataSpec) DeepCopy() *ClusterMetadataSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMetadataSpec.
func (*ClusterMetadataSpec) DeepCopyInto ¶
func (in *ClusterMetadataSpec) DeepCopyInto(out *ClusterMetadataSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatastoreSpec ¶
type DatastoreSpec struct {
// +optional
SQL *SQLDatastoreSpec `json:"sql,omitempty"`
// +optional
Cassandra *CassandraDatastoreSpec `json:"cassandra,omitempty"`
// +optional
Elasticsearch *ElasticsearchDatastoreSpec `json:"elasticsearch,omitempty"`
// SchemaVersion is either "auto" (operator-managed migrations) or a pinned
// schema version string.
// +kubebuilder:default="auto"
// +optional
SchemaVersion string `json:"schemaVersion,omitempty"`
}
DatastoreSpec configures a single datastore. Exactly one backend should be set.
func (*DatastoreSpec) DeepCopy ¶
func (in *DatastoreSpec) DeepCopy() *DatastoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatastoreSpec.
func (*DatastoreSpec) DeepCopyInto ¶
func (in *DatastoreSpec) DeepCopyInto(out *DatastoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatastoreTLSSpec ¶
type DatastoreTLSSpec struct {
// +kubebuilder:default=true
Enabled bool `json:"enabled"`
// +optional
CASecretRef *SecretKeyReference `json:"caSecretRef,omitempty"`
// +optional
CertSecretRef *SecretKeyReference `json:"certSecretRef,omitempty"`
// +optional
KeySecretRef *SecretKeyReference `json:"keySecretRef,omitempty"`
// +optional
EnableHostVerification bool `json:"enableHostVerification,omitempty"`
// +optional
ServerName string `json:"serverName,omitempty"`
}
DatastoreTLSSpec configures TLS for a datastore connection.
func (*DatastoreTLSSpec) DeepCopy ¶
func (in *DatastoreTLSSpec) DeepCopy() *DatastoreTLSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatastoreTLSSpec.
func (*DatastoreTLSSpec) DeepCopyInto ¶
func (in *DatastoreTLSSpec) DeepCopyInto(out *DatastoreTLSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DynamicConfigConstraints ¶
type DynamicConfigConstraints struct {
// +optional
Namespace string `json:"namespace,omitempty"`
// +optional
TaskQueueName string `json:"taskQueueName,omitempty"`
// +optional
TaskQueueType string `json:"taskQueueType,omitempty"`
}
DynamicConfigConstraints scopes a dynamic config value.
func (*DynamicConfigConstraints) DeepCopy ¶
func (in *DynamicConfigConstraints) DeepCopy() *DynamicConfigConstraints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicConfigConstraints.
func (*DynamicConfigConstraints) DeepCopyInto ¶
func (in *DynamicConfigConstraints) DeepCopyInto(out *DynamicConfigConstraints)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DynamicConfigSpec ¶
type DynamicConfigSpec struct {
// Values maps a dynamic config key to one or more constrained values.
// +optional
Values map[string][]DynamicConfigValue `json:"values,omitempty"`
}
DynamicConfigSpec is a passthrough for Temporal's dynamic configuration.
func (*DynamicConfigSpec) DeepCopy ¶
func (in *DynamicConfigSpec) DeepCopy() *DynamicConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicConfigSpec.
func (*DynamicConfigSpec) DeepCopyInto ¶
func (in *DynamicConfigSpec) DeepCopyInto(out *DynamicConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DynamicConfigValue ¶
type DynamicConfigValue struct {
// Value is an arbitrary JSON value for the dynamic config key.
// +kubebuilder:pruning:PreserveUnknownFields
Value runtime.RawExtension `json:"value"`
// +optional
Constraints *DynamicConfigConstraints `json:"constraints,omitempty"`
}
DynamicConfigValue is a single dynamic config value with optional constraints.
func (*DynamicConfigValue) DeepCopy ¶
func (in *DynamicConfigValue) DeepCopy() *DynamicConfigValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicConfigValue.
func (*DynamicConfigValue) DeepCopyInto ¶
func (in *DynamicConfigValue) DeepCopyInto(out *DynamicConfigValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchDatastoreSpec ¶
type ElasticsearchDatastoreSpec struct {
URL string `json:"url"`
// +kubebuilder:validation:Enum=v7;v8
// +kubebuilder:default=v8
Version string `json:"version"`
// +optional
Username string `json:"username,omitempty"`
// +optional
PasswordSecretRef *SecretKeyReference `json:"passwordSecretRef,omitempty"`
// +optional
Indices map[string]string `json:"indices,omitempty"`
// +optional
TLS *DatastoreTLSSpec `json:"tls,omitempty"`
}
ElasticsearchDatastoreSpec configures an Elasticsearch visibility store.
func (*ElasticsearchDatastoreSpec) DeepCopy ¶
func (in *ElasticsearchDatastoreSpec) DeepCopy() *ElasticsearchDatastoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchDatastoreSpec.
func (*ElasticsearchDatastoreSpec) DeepCopyInto ¶
func (in *ElasticsearchDatastoreSpec) DeepCopyInto(out *ElasticsearchDatastoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointsStatus ¶
type EndpointsStatus struct {
// +optional
Frontend string `json:"frontend,omitempty"`
// +optional
UI string `json:"ui,omitempty"`
// +optional
Metrics string `json:"metrics,omitempty"`
}
EndpointsStatus reports resolved cluster endpoints.
func (*EndpointsStatus) DeepCopy ¶
func (in *EndpointsStatus) DeepCopy() *EndpointsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointsStatus.
func (*EndpointsStatus) DeepCopyInto ¶
func (in *EndpointsStatus) DeepCopyInto(out *EndpointsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FrontendMTLSSpec ¶
type FrontendMTLSSpec struct {
// +optional
SecretName string `json:"secretName,omitempty"`
// +optional
DNSNames []string `json:"dnsNames,omitempty"`
}
FrontendMTLSSpec configures the frontend certificate.
func (*FrontendMTLSSpec) DeepCopy ¶
func (in *FrontendMTLSSpec) DeepCopy() *FrontendMTLSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendMTLSSpec.
func (*FrontendMTLSSpec) DeepCopyInto ¶
func (in *FrontendMTLSSpec) DeepCopyInto(out *FrontendMTLSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalFrontendSpec ¶
type InternalFrontendSpec struct {
// +kubebuilder:default=false
Enabled bool `json:"enabled"`
// +kubebuilder:default=1
// +kubebuilder:validation:Minimum=1
// +optional
Replicas *int32 `json:"replicas,omitempty"`
// +optional
Resources corev1.ResourceRequirements `json:"resources,omitempty"`
}
InternalFrontendSpec configures the optional internal-frontend service.
func (*InternalFrontendSpec) DeepCopy ¶
func (in *InternalFrontendSpec) DeepCopy() *InternalFrontendSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalFrontendSpec.
func (*InternalFrontendSpec) DeepCopyInto ¶
func (in *InternalFrontendSpec) DeepCopyInto(out *InternalFrontendSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IssuerReference ¶
type IssuerReference struct {
Name string `json:"name"`
// +kubebuilder:validation:Enum=Issuer;ClusterIssuer
// +kubebuilder:default=Issuer
// +optional
Kind string `json:"kind,omitempty"`
// +kubebuilder:default="cert-manager.io"
// +optional
Group string `json:"group,omitempty"`
}
IssuerReference references a cert-manager Issuer or ClusterIssuer.
func (*IssuerReference) DeepCopy ¶
func (in *IssuerReference) DeepCopy() *IssuerReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssuerReference.
func (*IssuerReference) DeepCopyInto ¶
func (in *IssuerReference) DeepCopyInto(out *IssuerReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MTLSSpec ¶
type MTLSSpec struct {
// Provider selects the certificate provider.
// +kubebuilder:validation:Enum=cert-manager
// +kubebuilder:default=cert-manager
Provider string `json:"provider"`
// IssuerRef references the cert-manager issuer used to mint certificates.
// Required when provider is cert-manager.
// +optional
IssuerRef *IssuerReference `json:"issuerRef,omitempty"`
// InternodeCA configures the internode certificate authority.
// +optional
InternodeCA *CertificateAuthoritySpec `json:"internodeCA,omitempty"`
// Frontend configures the frontend certificate.
// +optional
Frontend *FrontendMTLSSpec `json:"frontend,omitempty"`
// RefreshInterval is the certificate refresh interval.
// +kubebuilder:default="720h"
// +optional
RefreshInterval *metav1.Duration `json:"refreshInterval,omitempty"`
// RenewBefore is how long before expiry a certificate is renewed.
// +kubebuilder:default="240h"
// +optional
RenewBefore *metav1.Duration `json:"renewBefore,omitempty"`
}
MTLSSpec configures mutual TLS for the cluster.
func (*MTLSSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MTLSSpec.
func (*MTLSSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsSpec ¶
type MetricsSpec struct {
// +kubebuilder:default=true
Enabled bool `json:"enabled"`
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=65535
// +kubebuilder:default=9090
// +optional
Port int32 `json:"port,omitempty"`
// +optional
ServiceMonitor *ServiceMonitorSpec `json:"serviceMonitor,omitempty"`
}
MetricsSpec configures Prometheus integration.
func (*MetricsSpec) DeepCopy ¶
func (in *MetricsSpec) DeepCopy() *MetricsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsSpec.
func (*MetricsSpec) DeepCopyInto ¶
func (in *MetricsSpec) DeepCopyInto(out *MetricsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PersistenceSpec ¶
type PersistenceSpec struct {
// DefaultStore holds workflow execution state. Exactly one of sql or
// cassandra must be set.
// +kubebuilder:validation:XValidation:rule="has(self.sql) != has(self.cassandra)",message="exactly one of sql or cassandra must be set for defaultStore"
DefaultStore DatastoreSpec `json:"defaultStore"`
// VisibilityStore holds visibility records. One of sql, cassandra, or
// elasticsearch must be set.
VisibilityStore DatastoreSpec `json:"visibilityStore"`
}
PersistenceSpec configures the default and visibility datastores.
func (*PersistenceSpec) DeepCopy ¶
func (in *PersistenceSpec) DeepCopy() *PersistenceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceSpec.
func (*PersistenceSpec) DeepCopyInto ¶
func (in *PersistenceSpec) DeepCopyInto(out *PersistenceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PersistenceStatus ¶
type PersistenceStatus struct {
// SchemaVersions maps a store name to its observed schema version.
// +optional
SchemaVersions map[string]string `json:"schemaVersions,omitempty"`
// History records schema upgrades applied by the operator.
// +optional
History []SchemaUpgradeRecord `json:"history,omitempty"`
// Reachable indicates whether the datastores were reachable at last reconcile.
// +optional
Reachable bool `json:"reachable,omitempty"`
}
PersistenceStatus reports datastore reachability and schema state.
func (*PersistenceStatus) DeepCopy ¶
func (in *PersistenceStatus) DeepCopy() *PersistenceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceStatus.
func (*PersistenceStatus) DeepCopyInto ¶
func (in *PersistenceStatus) DeepCopyInto(out *PersistenceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodTemplateOverride ¶
type PodTemplateOverride struct {
// +optional
Labels map[string]string `json:"labels,omitempty"`
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
// Spec is a partial PodSpec (strategic-merge patch) merged onto the
// generated pod template. It is stored as an opaque object to keep the
// CRD schema small.
// +kubebuilder:pruning:PreserveUnknownFields
// +optional
Spec *runtime.RawExtension `json:"spec,omitempty"`
}
PodTemplateOverride carries metadata and a strategic-merge pod spec override.
func (*PodTemplateOverride) DeepCopy ¶
func (in *PodTemplateOverride) DeepCopy() *PodTemplateOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateOverride.
func (*PodTemplateOverride) DeepCopyInto ¶
func (in *PodTemplateOverride) DeepCopyInto(out *PodTemplateOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SQLDatastoreSpec ¶
type SQLDatastoreSpec struct {
// PluginName selects the SQL driver.
// +kubebuilder:validation:Enum=postgres12;postgres12_pgx;mysql8
// +kubebuilder:default=postgres12
PluginName string `json:"pluginName"`
Host string `json:"host"`
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=65535
// +kubebuilder:default=5432
Port int32 `json:"port"`
Database string `json:"database"`
User string `json:"user"`
// PasswordSecretRef references a secret containing the password. Required
// for password authentication.
// +optional
PasswordSecretRef *SecretKeyReference `json:"passwordSecretRef,omitempty"`
// PasswordCommandSecretRef references a secret holding a command that emits
// a short-lived credential (Temporal 1.31+ IAM auth).
// +optional
PasswordCommandSecretRef *SecretKeyReference `json:"passwordCommandSecretRef,omitempty"`
// +optional
ConnectAttributes map[string]string `json:"connectAttributes,omitempty"`
// +kubebuilder:validation:Minimum=1
// +optional
MaxConns int32 `json:"maxConns,omitempty"`
// +kubebuilder:validation:Minimum=1
// +optional
MaxIdleConns int32 `json:"maxIdleConns,omitempty"`
// +optional
MaxConnLifetime *metav1.Duration `json:"maxConnLifetime,omitempty"`
// +optional
TLS *DatastoreTLSSpec `json:"tls,omitempty"`
}
SQLDatastoreSpec configures a SQL (Postgres/MySQL) datastore.
func (*SQLDatastoreSpec) DeepCopy ¶
func (in *SQLDatastoreSpec) DeepCopy() *SQLDatastoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLDatastoreSpec.
func (*SQLDatastoreSpec) DeepCopyInto ¶
func (in *SQLDatastoreSpec) DeepCopyInto(out *SQLDatastoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchemaUpgradeRecord ¶
type SchemaUpgradeRecord struct {
Store string `json:"store"`
FromVersion string `json:"fromVersion"`
ToVersion string `json:"toVersion"`
Time metav1.Time `json:"time"`
}
SchemaUpgradeRecord records a single schema migration.
func (*SchemaUpgradeRecord) DeepCopy ¶
func (in *SchemaUpgradeRecord) DeepCopy() *SchemaUpgradeRecord
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaUpgradeRecord.
func (*SchemaUpgradeRecord) DeepCopyInto ¶
func (in *SchemaUpgradeRecord) DeepCopyInto(out *SchemaUpgradeRecord)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretKeyReference ¶
type SecretKeyReference struct {
Name string `json:"name"`
// +kubebuilder:default=password
// +optional
Key string `json:"key,omitempty"`
}
SecretKeyReference references a single key within a Secret in the same namespace.
func (*SecretKeyReference) DeepCopy ¶
func (in *SecretKeyReference) DeepCopy() *SecretKeyReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeyReference.
func (*SecretKeyReference) DeepCopyInto ¶
func (in *SecretKeyReference) DeepCopyInto(out *SecretKeyReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceExposureSpec ¶
type ServiceExposureSpec struct {
// +kubebuilder:validation:Enum=ClusterIP;NodePort;LoadBalancer
// +kubebuilder:default=ClusterIP
// +optional
Type corev1.ServiceType `json:"type,omitempty"`
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
}
ServiceExposureSpec configures how a service is exposed.
func (*ServiceExposureSpec) DeepCopy ¶
func (in *ServiceExposureSpec) DeepCopy() *ServiceExposureSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceExposureSpec.
func (*ServiceExposureSpec) DeepCopyInto ¶
func (in *ServiceExposureSpec) DeepCopyInto(out *ServiceExposureSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceMonitorSpec ¶
type ServiceMonitorSpec struct {
// +kubebuilder:default=false
Enabled bool `json:"enabled"`
// +optional
Interval *metav1.Duration `json:"interval,omitempty"`
// +optional
Labels map[string]string `json:"labels,omitempty"`
}
ServiceMonitorSpec configures a Prometheus Operator ServiceMonitor.
func (*ServiceMonitorSpec) DeepCopy ¶
func (in *ServiceMonitorSpec) DeepCopy() *ServiceMonitorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceMonitorSpec.
func (*ServiceMonitorSpec) DeepCopyInto ¶
func (in *ServiceMonitorSpec) DeepCopyInto(out *ServiceMonitorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceOverrides ¶
type ServiceOverrides struct {
// +optional
PodTemplate *PodTemplateOverride `json:"podTemplate,omitempty"`
}
ServiceOverrides are shared defaults applied across services.
func (*ServiceOverrides) DeepCopy ¶
func (in *ServiceOverrides) DeepCopy() *ServiceOverrides
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceOverrides.
func (*ServiceOverrides) DeepCopyInto ¶
func (in *ServiceOverrides) DeepCopyInto(out *ServiceOverrides)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceSpec ¶
type ServiceSpec struct {
// +kubebuilder:default=1
// +kubebuilder:validation:Minimum=1
// +optional
Replicas *int32 `json:"replicas,omitempty"`
// +optional
Resources corev1.ResourceRequirements `json:"resources,omitempty"`
// +optional
PodTemplate *PodTemplateOverride `json:"podTemplate,omitempty"`
// +optional
Service *ServiceExposureSpec `json:"service,omitempty"`
// +optional
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// +optional
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
// +optional
Affinity *corev1.Affinity `json:"affinity,omitempty"`
// +optional
TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
}
ServiceSpec configures a single Temporal service deployment.
func (*ServiceSpec) DeepCopy ¶
func (in *ServiceSpec) DeepCopy() *ServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
func (*ServiceSpec) DeepCopyInto ¶
func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceStatus ¶
type ServiceStatus struct {
// +optional
Ready int32 `json:"ready"`
// +optional
Desired int32 `json:"desired"`
// +optional
Version string `json:"version,omitempty"`
}
ServiceStatus reports the readiness of a single service.
func (*ServiceStatus) DeepCopy ¶
func (in *ServiceStatus) DeepCopy() *ServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus.
func (*ServiceStatus) DeepCopyInto ¶
func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServicesSpec ¶
type ServicesSpec struct {
// +optional
Frontend *ServiceSpec `json:"frontend,omitempty"`
// +optional
History *ServiceSpec `json:"history,omitempty"`
// +optional
Matching *ServiceSpec `json:"matching,omitempty"`
// +optional
Worker *ServiceSpec `json:"worker,omitempty"`
// +optional
InternalFrontend *InternalFrontendSpec `json:"internalFrontend,omitempty"`
// Overrides are applied to every service unless overridden per-service.
// +optional
Overrides *ServiceOverrides `json:"overrides,omitempty"`
}
ServicesSpec configures each Temporal service plus shared overrides.
func (*ServicesSpec) DeepCopy ¶
func (in *ServicesSpec) DeepCopy() *ServicesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesSpec.
func (*ServicesSpec) DeepCopyInto ¶
func (in *ServicesSpec) DeepCopyInto(out *ServicesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemporalCluster ¶
type TemporalCluster struct {
metav1.TypeMeta `json:",inline"`
// metadata is a standard object metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitzero"`
// spec defines the desired state of TemporalCluster
// +required
Spec TemporalClusterSpec `json:"spec"`
// status defines the observed state of TemporalCluster
// +optional
Status TemporalClusterStatus `json:"status,omitzero"`
}
TemporalCluster is the Schema for the temporalclusters API.
func (*TemporalCluster) DeepCopy ¶
func (in *TemporalCluster) DeepCopy() *TemporalCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalCluster.
func (*TemporalCluster) DeepCopyInto ¶
func (in *TemporalCluster) DeepCopyInto(out *TemporalCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemporalCluster) DeepCopyObject ¶
func (in *TemporalCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemporalClusterClient ¶
type TemporalClusterClient struct {
metav1.TypeMeta `json:",inline"`
// metadata is a standard object metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitzero"`
// spec defines the desired state of TemporalClusterClient
// +required
Spec TemporalClusterClientSpec `json:"spec"`
// status defines the observed state of TemporalClusterClient
// +optional
Status TemporalClusterClientStatus `json:"status,omitzero"`
}
TemporalClusterClient is the Schema for the temporalclusterclients API.
func (*TemporalClusterClient) DeepCopy ¶
func (in *TemporalClusterClient) DeepCopy() *TemporalClusterClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalClusterClient.
func (*TemporalClusterClient) DeepCopyInto ¶
func (in *TemporalClusterClient) DeepCopyInto(out *TemporalClusterClient)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemporalClusterClient) DeepCopyObject ¶
func (in *TemporalClusterClient) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemporalClusterClientList ¶
type TemporalClusterClientList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitzero"`
Items []TemporalClusterClient `json:"items"`
}
TemporalClusterClientList contains a list of TemporalClusterClient.
func (*TemporalClusterClientList) DeepCopy ¶
func (in *TemporalClusterClientList) DeepCopy() *TemporalClusterClientList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalClusterClientList.
func (*TemporalClusterClientList) DeepCopyInto ¶
func (in *TemporalClusterClientList) DeepCopyInto(out *TemporalClusterClientList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemporalClusterClientList) DeepCopyObject ¶
func (in *TemporalClusterClientList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemporalClusterClientSpec ¶
type TemporalClusterClientSpec struct {
// ClusterRef references the TemporalCluster to generate client credentials for.
ClusterRef corev1.LocalObjectReference `json:"clusterRef"`
// SecretName is the name of the Secret to write generated client credentials into.
// Defaults to the resource name when empty.
// +optional
SecretName string `json:"secretName,omitempty"`
}
TemporalClusterClientSpec defines the desired state of TemporalClusterClient.
func (*TemporalClusterClientSpec) DeepCopy ¶
func (in *TemporalClusterClientSpec) DeepCopy() *TemporalClusterClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalClusterClientSpec.
func (*TemporalClusterClientSpec) DeepCopyInto ¶
func (in *TemporalClusterClientSpec) DeepCopyInto(out *TemporalClusterClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemporalClusterClientStatus ¶
type TemporalClusterClientStatus struct {
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// SecretRef references the generated credentials Secret.
// +optional
SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"`
// +listType=map
// +listMapKey=type
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
TemporalClusterClientStatus defines the observed state of TemporalClusterClient.
func (*TemporalClusterClientStatus) DeepCopy ¶
func (in *TemporalClusterClientStatus) DeepCopy() *TemporalClusterClientStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalClusterClientStatus.
func (*TemporalClusterClientStatus) DeepCopyInto ¶
func (in *TemporalClusterClientStatus) DeepCopyInto(out *TemporalClusterClientStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemporalClusterList ¶
type TemporalClusterList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitzero"`
Items []TemporalCluster `json:"items"`
}
TemporalClusterList contains a list of TemporalCluster.
func (*TemporalClusterList) DeepCopy ¶
func (in *TemporalClusterList) DeepCopy() *TemporalClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalClusterList.
func (*TemporalClusterList) DeepCopyInto ¶
func (in *TemporalClusterList) DeepCopyInto(out *TemporalClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemporalClusterList) DeepCopyObject ¶
func (in *TemporalClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemporalClusterSpec ¶
type TemporalClusterSpec struct {
// Version is the Temporal server version, e.g. "1.31.1".
// +kubebuilder:validation:Pattern=`^\d+\.\d+\.\d+$`
Version string `json:"version"`
// NumHistoryShards is the number of history shards. IMMUTABLE after creation.
// Choose carefully: 512 small prod, 4096 large prod.
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=16384
// +kubebuilder:default=512
NumHistoryShards int32 `json:"numHistoryShards"`
// Image is the Temporal server image. Default: temporalio/server:<Version>.
// +optional
Image string `json:"image,omitempty"`
// ImagePullSecrets references secrets for pulling the server image.
// +optional
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
// Services configures each Temporal service.
// +optional
Services ServicesSpec `json:"services,omitempty"`
// Persistence configures the default and visibility datastores. Required.
Persistence PersistenceSpec `json:"persistence"`
// MTLS configures mutual TLS (cert-manager-driven by default).
// +optional
MTLS *MTLSSpec `json:"mtls,omitempty"`
// DynamicConfig is a passthrough for Temporal's dynamic config.
// +optional
DynamicConfig *DynamicConfigSpec `json:"dynamicConfig,omitempty"`
// UI configures temporal-ui as part of this cluster.
// +optional
UI *UISpec `json:"ui,omitempty"`
// Metrics configures Prometheus integration.
// +optional
Metrics *MetricsSpec `json:"metrics,omitempty"`
// Archival configures cluster-wide archival enablement.
// +optional
Archival *ArchivalSpec `json:"archival,omitempty"`
// Authorization configures the authorizer and claim mapper.
// +optional
Authorization *AuthorizationSpec `json:"authorization,omitempty"`
// ClusterMetadata is a passthrough for multi-cluster setup.
// +optional
ClusterMetadata *ClusterMetadataSpec `json:"clusterMetadata,omitempty"`
// PreventDeletion, when true, blocks deletion of the cluster via the
// validating webhook as a safety measure.
// +optional
PreventDeletion bool `json:"preventDeletion,omitempty"`
}
TemporalClusterSpec defines the desired state of TemporalCluster. +kubebuilder:validation:XValidation:rule="self.numHistoryShards == oldSelf.numHistoryShards",message="numHistoryShards is immutable"
func (*TemporalClusterSpec) DeepCopy ¶
func (in *TemporalClusterSpec) DeepCopy() *TemporalClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalClusterSpec.
func (*TemporalClusterSpec) DeepCopyInto ¶
func (in *TemporalClusterSpec) DeepCopyInto(out *TemporalClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemporalClusterStatus ¶
type TemporalClusterStatus struct {
// Phase is a coarse, human-friendly summary of the cluster lifecycle.
// +optional
Phase string `json:"phase,omitempty"`
// ObservedGeneration is the most recent generation observed by the controller.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// Conditions represent the current state of the TemporalCluster resource.
// +listType=map
// +listMapKey=type
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
// Version is the currently-running Temporal server version.
// +optional
Version string `json:"version,omitempty"`
// NumHistoryShards as observed from the database, not the spec.
// +optional
NumHistoryShards int32 `json:"numHistoryShards,omitempty"`
// Services reports per-service readiness keyed by service name.
// +optional
Services map[string]ServiceStatus `json:"services,omitempty"`
// Persistence reports datastore reachability and schema state.
// +optional
Persistence PersistenceStatus `json:"persistence,omitempty"`
// Endpoints reports the resolved service endpoints.
// +optional
Endpoints EndpointsStatus `json:"endpoints,omitempty"`
// Upgrade reports the state of an in-progress version upgrade, if any.
// +optional
Upgrade *UpgradeStatus `json:"upgrade,omitempty"`
}
TemporalClusterStatus defines the observed state of TemporalCluster.
func (*TemporalClusterStatus) DeepCopy ¶
func (in *TemporalClusterStatus) DeepCopy() *TemporalClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalClusterStatus.
func (*TemporalClusterStatus) DeepCopyInto ¶
func (in *TemporalClusterStatus) DeepCopyInto(out *TemporalClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemporalNamespace ¶
type TemporalNamespace struct {
metav1.TypeMeta `json:",inline"`
// metadata is a standard object metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitzero"`
// spec defines the desired state of TemporalNamespace
// +required
Spec TemporalNamespaceSpec `json:"spec"`
// status defines the observed state of TemporalNamespace
// +optional
Status TemporalNamespaceStatus `json:"status,omitzero"`
}
TemporalNamespace is the Schema for the temporalnamespaces API.
func (*TemporalNamespace) DeepCopy ¶
func (in *TemporalNamespace) DeepCopy() *TemporalNamespace
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalNamespace.
func (*TemporalNamespace) DeepCopyInto ¶
func (in *TemporalNamespace) DeepCopyInto(out *TemporalNamespace)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemporalNamespace) DeepCopyObject ¶
func (in *TemporalNamespace) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemporalNamespaceList ¶
type TemporalNamespaceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitzero"`
Items []TemporalNamespace `json:"items"`
}
TemporalNamespaceList contains a list of TemporalNamespace.
func (*TemporalNamespaceList) DeepCopy ¶
func (in *TemporalNamespaceList) DeepCopy() *TemporalNamespaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalNamespaceList.
func (*TemporalNamespaceList) DeepCopyInto ¶
func (in *TemporalNamespaceList) DeepCopyInto(out *TemporalNamespaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemporalNamespaceList) DeepCopyObject ¶
func (in *TemporalNamespaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemporalNamespaceSpec ¶
type TemporalNamespaceSpec struct {
// ClusterRef references the TemporalCluster that owns this namespace.
ClusterRef corev1.LocalObjectReference `json:"clusterRef"`
// RetentionPeriod is how long closed workflows are retained.
// +kubebuilder:default="72h"
// +optional
RetentionPeriod *metav1.Duration `json:"retentionPeriod,omitempty"`
// Description is a human-friendly description of the namespace.
// +optional
Description string `json:"description,omitempty"`
// OwnerEmail is the owner contact for the namespace.
// +optional
OwnerEmail string `json:"ownerEmail,omitempty"`
// AllowDeletion permits the operator to delete the Temporal namespace when
// the CR is deleted. When false, the namespace is left in place.
// +optional
AllowDeletion bool `json:"allowDeletion,omitempty"`
// DriftDetection controls whether the operator reconciles drift between the
// spec and the live namespace.
// +kubebuilder:validation:Enum=reconcile;ignore
// +kubebuilder:default=reconcile
// +optional
DriftDetection string `json:"driftDetection,omitempty"`
}
TemporalNamespaceSpec defines the desired state of TemporalNamespace.
func (*TemporalNamespaceSpec) DeepCopy ¶
func (in *TemporalNamespaceSpec) DeepCopy() *TemporalNamespaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalNamespaceSpec.
func (*TemporalNamespaceSpec) DeepCopyInto ¶
func (in *TemporalNamespaceSpec) DeepCopyInto(out *TemporalNamespaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemporalNamespaceStatus ¶
type TemporalNamespaceStatus struct {
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// Registered indicates whether the namespace exists in the Temporal cluster.
// +optional
Registered bool `json:"registered,omitempty"`
// NamespaceID is the Temporal-assigned namespace UUID.
// +optional
NamespaceID string `json:"namespaceID,omitempty"`
// LastUpdated is when the operator last reconciled the namespace.
// +optional
LastUpdated *metav1.Time `json:"lastUpdated,omitempty"`
// +listType=map
// +listMapKey=type
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
TemporalNamespaceStatus defines the observed state of TemporalNamespace.
func (*TemporalNamespaceStatus) DeepCopy ¶
func (in *TemporalNamespaceStatus) DeepCopy() *TemporalNamespaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalNamespaceStatus.
func (*TemporalNamespaceStatus) DeepCopyInto ¶
func (in *TemporalNamespaceStatus) DeepCopyInto(out *TemporalNamespaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemporalSearchAttribute ¶
type TemporalSearchAttribute struct {
metav1.TypeMeta `json:",inline"`
// metadata is a standard object metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitzero"`
// spec defines the desired state of TemporalSearchAttribute
// +required
Spec TemporalSearchAttributeSpec `json:"spec"`
// status defines the observed state of TemporalSearchAttribute
// +optional
Status TemporalSearchAttributeStatus `json:"status,omitzero"`
}
TemporalSearchAttribute is the Schema for the temporalsearchattributes API.
func (*TemporalSearchAttribute) DeepCopy ¶
func (in *TemporalSearchAttribute) DeepCopy() *TemporalSearchAttribute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalSearchAttribute.
func (*TemporalSearchAttribute) DeepCopyInto ¶
func (in *TemporalSearchAttribute) DeepCopyInto(out *TemporalSearchAttribute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemporalSearchAttribute) DeepCopyObject ¶
func (in *TemporalSearchAttribute) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemporalSearchAttributeList ¶
type TemporalSearchAttributeList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitzero"`
Items []TemporalSearchAttribute `json:"items"`
}
TemporalSearchAttributeList contains a list of TemporalSearchAttribute.
func (*TemporalSearchAttributeList) DeepCopy ¶
func (in *TemporalSearchAttributeList) DeepCopy() *TemporalSearchAttributeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalSearchAttributeList.
func (*TemporalSearchAttributeList) DeepCopyInto ¶
func (in *TemporalSearchAttributeList) DeepCopyInto(out *TemporalSearchAttributeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemporalSearchAttributeList) DeepCopyObject ¶
func (in *TemporalSearchAttributeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemporalSearchAttributeSpec ¶
type TemporalSearchAttributeSpec struct {
// ClusterRef references the TemporalCluster this search attribute belongs to.
ClusterRef corev1.LocalObjectReference `json:"clusterRef"`
// Namespace is the Temporal namespace to register the attribute in.
Namespace string `json:"namespace"`
// Name is the search attribute name.
Name string `json:"name"`
// Type is the search attribute type. Immutable once created.
// +kubebuilder:validation:Enum=Keyword;Text;Int;Double;Bool;Datetime;KeywordList
Type string `json:"type"`
// AllowDeletion permits the operator to remove the search attribute from the
// namespace when the CR is deleted.
// +optional
AllowDeletion bool `json:"allowDeletion,omitempty"`
}
TemporalSearchAttributeSpec defines the desired state of TemporalSearchAttribute.
func (*TemporalSearchAttributeSpec) DeepCopy ¶
func (in *TemporalSearchAttributeSpec) DeepCopy() *TemporalSearchAttributeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalSearchAttributeSpec.
func (*TemporalSearchAttributeSpec) DeepCopyInto ¶
func (in *TemporalSearchAttributeSpec) DeepCopyInto(out *TemporalSearchAttributeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemporalSearchAttributeStatus ¶
type TemporalSearchAttributeStatus struct {
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// Registered indicates whether the attribute has been registered with the cluster.
// +optional
Registered bool `json:"registered,omitempty"`
// RegisteredAt is when the attribute was registered.
// +optional
RegisteredAt *metav1.Time `json:"registeredAt,omitempty"`
// +listType=map
// +listMapKey=type
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
TemporalSearchAttributeStatus defines the observed state of TemporalSearchAttribute.
func (*TemporalSearchAttributeStatus) DeepCopy ¶
func (in *TemporalSearchAttributeStatus) DeepCopy() *TemporalSearchAttributeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemporalSearchAttributeStatus.
func (*TemporalSearchAttributeStatus) DeepCopyInto ¶
func (in *TemporalSearchAttributeStatus) DeepCopyInto(out *TemporalSearchAttributeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UICodecServerSpec ¶
type UICodecServerSpec struct {
Endpoint string `json:"endpoint"`
// +optional
PassAccessToken bool `json:"passAccessToken,omitempty"`
// +optional
IncludeCredentials bool `json:"includeCredentials,omitempty"`
}
UICodecServerSpec configures the temporal-ui codec server.
func (*UICodecServerSpec) DeepCopy ¶
func (in *UICodecServerSpec) DeepCopy() *UICodecServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UICodecServerSpec.
func (*UICodecServerSpec) DeepCopyInto ¶
func (in *UICodecServerSpec) DeepCopyInto(out *UICodecServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UIIngressSpec ¶
type UIIngressSpec struct {
// +kubebuilder:default=false
Enabled bool `json:"enabled"`
// +optional
IngressClassName string `json:"ingressClassName,omitempty"`
// +optional
Host string `json:"host,omitempty"`
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
// +optional
TLSSecretName string `json:"tlsSecretName,omitempty"`
}
UIIngressSpec configures ingress for temporal-ui.
func (*UIIngressSpec) DeepCopy ¶
func (in *UIIngressSpec) DeepCopy() *UIIngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIIngressSpec.
func (*UIIngressSpec) DeepCopyInto ¶
func (in *UIIngressSpec) DeepCopyInto(out *UIIngressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UISpec ¶
type UISpec struct {
// +kubebuilder:default=false
Enabled bool `json:"enabled"`
// +optional
Version string `json:"version,omitempty"`
// +kubebuilder:validation:Minimum=1
// +kubebuilder:default=1
// +optional
Replicas *int32 `json:"replicas,omitempty"`
// +optional
Ingress *UIIngressSpec `json:"ingress,omitempty"`
// Auth is a passthrough for temporal-ui authentication config.
// +kubebuilder:pruning:PreserveUnknownFields
// +optional
Auth *runtime.RawExtension `json:"auth,omitempty"`
// +optional
CodecServer *UICodecServerSpec `json:"codecServer,omitempty"`
}
UISpec configures temporal-ui.
func (*UISpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UISpec.
func (*UISpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeStatus ¶
type UpgradeStatus struct {
// +optional
FromVersion string `json:"fromVersion,omitempty"`
// +optional
ToVersion string `json:"toVersion,omitempty"`
// +optional
Phase string `json:"phase,omitempty"`
// Rollbackable is true until schema migration begins, after which a
// rollback is no longer safe.
// +optional
Rollbackable bool `json:"rollbackable,omitempty"`
// +optional
StartedAt *metav1.Time `json:"startedAt,omitempty"`
}
UpgradeStatus reports the state of an in-progress version upgrade.
func (*UpgradeStatus) DeepCopy ¶
func (in *UpgradeStatus) DeepCopy() *UpgradeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeStatus.
func (*UpgradeStatus) DeepCopyInto ¶
func (in *UpgradeStatus) DeepCopyInto(out *UpgradeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.