controller

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTargetNotFound = errors.New("temporal target not found")

ErrTargetNotFound indicates the referenced TemporalCluster or TemporalDevServer object does not exist.

Functions

This section is empty.

Types

type ResolvedTarget added in v0.6.0

type ResolvedTarget struct {
	// Address is the gRPC frontend address (host:port).
	Address string
	// TLSConfig is the client TLS config, or nil for plaintext (dev server).
	TLSConfig *tls.Config
	// Ready reports whether the referenced target's Ready condition is true.
	Ready bool
}

ResolvedTarget describes how to reach the Temporal frontend named by a ClusterReference.

type TemporalClusterClientReconciler

type TemporalClusterClientReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

TemporalClusterClientReconciler reconciles TemporalClusterClient objects by issuing client certificates from the referenced cluster's mTLS issuer.

func (*TemporalClusterClientReconciler) Reconcile

Reconcile issues a client certificate for the TemporalClusterClient.

func (*TemporalClusterClientReconciler) SetupWithManager

func (r *TemporalClusterClientReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type TemporalClusterReconciler

type TemporalClusterReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder events.EventRecorder

	// BackendFactory builds datastore backends and is injectable for testing;
	// when nil the default real implementation is used.
	BackendFactory persistence.BackendFactory
}

TemporalClusterReconciler reconciles a TemporalCluster object.

func (*TemporalClusterReconciler) Reconcile

Reconcile drives the TemporalCluster toward its desired state. At this milestone it reconciles persistence (reachability + schema) and reports the remaining work as not-yet-implemented via the Ready condition.

func (*TemporalClusterReconciler) SetupWithManager

func (r *TemporalClusterReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type TemporalDevServerReconciler added in v0.6.0

type TemporalDevServerReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

TemporalDevServerReconciler reconciles TemporalDevServer objects into a single-pod dev server Deployment + Service (+ optional PVC).

func (*TemporalDevServerReconciler) Reconcile added in v0.6.0

Reconcile applies the dev server resources and updates status.

func (*TemporalDevServerReconciler) SetupWithManager added in v0.6.0

func (r *TemporalDevServerReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type TemporalNamespaceReconciler

type TemporalNamespaceReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	// ClientFactory builds the Temporal namespace client; injectable for tests.
	ClientFactory temporal.NamespaceClientFactory
}

TemporalNamespaceReconciler reconciles TemporalNamespace objects against a running Temporal cluster.

func (*TemporalNamespaceReconciler) Reconcile

Reconcile registers, updates, or deletes a Temporal namespace.

func (*TemporalNamespaceReconciler) SetupWithManager

func (r *TemporalNamespaceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type TemporalScheduleReconciler added in v0.5.0

type TemporalScheduleReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	// ClientFactory builds the Temporal schedule client; injectable for tests.
	ClientFactory temporal.ScheduleClientFactory
}

TemporalScheduleReconciler reconciles TemporalSchedule objects.

func (*TemporalScheduleReconciler) Reconcile added in v0.5.0

Reconcile creates, updates, pauses, or deletes a Temporal schedule.

func (*TemporalScheduleReconciler) SetupWithManager added in v0.5.0

func (r *TemporalScheduleReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type TemporalSearchAttributeReconciler

type TemporalSearchAttributeReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	// ClientFactory builds the Temporal search-attribute client; injectable for tests.
	ClientFactory temporal.SearchAttributeClientFactory
}

TemporalSearchAttributeReconciler reconciles TemporalSearchAttribute objects.

func (*TemporalSearchAttributeReconciler) Reconcile

Reconcile registers or removes a custom search attribute.

func (*TemporalSearchAttributeReconciler) SetupWithManager

func (r *TemporalSearchAttributeReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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