controllers

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnqueueRequestForClusterClientReferencingOwnerCluster added in v0.17.0

func EnqueueRequestForClusterClientReferencingOwnerCluster(c client.Client) handler.MapFunc

EnqueueRequestForClusterClientReferencingOwnerCluster returns a reconcile request for any TemporalClusterClient referencing the given the TemporalCluster owner for the provided object.

Types

type Base added in v0.13.0

type Base struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder

	Jobs       *reconciler.JosbReconciler
	Reconciler *reconciler.Reconciler
}

func New added in v0.13.0

func New(crclient client.Client, scheme *runtime.Scheme, recorder record.EventRecorder, discoveryMgr discovery.Manager) Base

type TemporalClusterClientReconciler added in v0.3.0

type TemporalClusterClientReconciler struct {
	Base

	AvailableAPIs *discovery.AvailableAPIs
}

TemporalClusterClientReconciler reconciles a ClusterClient object.

func (*TemporalClusterClientReconciler) Reconcile added in v0.3.0

func (r *TemporalClusterClientReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.

func (*TemporalClusterClientReconciler) SetupWithManager added in v0.3.0

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

SetupWithManager sets up the controller with the Manager.

type TemporalClusterReconciler

type TemporalClusterReconciler struct {
	Base

	AvailableAPIs *discovery.AvailableAPIs
}

TemporalClusterReconciler reconciles a Cluster object.

func (*TemporalClusterReconciler) Reconcile

func (r *TemporalClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.

func (*TemporalClusterReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type TemporalNamespaceReconciler added in v0.4.0

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

TemporalNamespaceReconciler reconciles a Namespace object.

func (*TemporalNamespaceReconciler) Reconcile added in v0.4.0

func (r *TemporalNamespaceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.

func (*TemporalNamespaceReconciler) SetupWithManager added in v0.4.0

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

SetupWithManager sets up the controller with the Manager.

type TemporalWorkerProcessReconciler added in v0.8.0

type TemporalWorkerProcessReconciler struct {
	Base
}

TemporalWorkerProcessReconciler reconciles a TemporalWorkerProcess object.

func (*TemporalWorkerProcessReconciler) Reconcile added in v0.8.0

func (r *TemporalWorkerProcessReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.

func (*TemporalWorkerProcessReconciler) SetupWithManager added in v0.8.0

func (r *TemporalWorkerProcessReconciler) 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