Documentation
¶
Index ¶
Constants ¶
View Source
const ControllerIdentity = "temporal-worker-controller"
ControllerIdentity is the identity the controller passes to all write calls.
Variables ¶
View Source
var Version = "unknown"
Version is set by goreleaser via ldflags at build time
Functions ¶
This section is empty.
Types ¶
type TemporalWorkerDeploymentReconciler ¶
type TemporalWorkerDeploymentReconciler struct {
client.Client
Scheme *runtime.Scheme
TemporalClientPool *clientpool.ClientPool
// Disables panic recovery if true
DisableRecoverPanic bool
}
TemporalWorkerDeploymentReconciler reconciles a TemporalWorkerDeployment object
func (*TemporalWorkerDeploymentReconciler) Reconcile ¶
func (r *TemporalWorkerDeploymentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. The loop runs on a regular interval, or every time one of the watched resources listed above changes.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile
func (*TemporalWorkerDeploymentReconciler) SetupWithManager ¶
func (r *TemporalWorkerDeploymentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.