Documentation ¶
Index ¶
Constants ¶
const CRBApplicationFailoverControllerName = "cluster-resource-binding-application-failover-controller"
CRBApplicationFailoverControllerName is the controller name that will be used when reporting events and metrics.
const RBApplicationFailoverControllerName = "resource-binding-application-failover-controller"
RBApplicationFailoverControllerName is the controller name that will be used when reporting events and metrics.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRBApplicationFailoverController ¶
type CRBApplicationFailoverController struct { client.Client EventRecorder record.EventRecorder RateLimiterOptions ratelimiterflag.Options ResourceInterpreter resourceinterpreter.ResourceInterpreter // contains filtered or unexported fields }
CRBApplicationFailoverController is to sync ClusterResourceBinding's application failover behavior.
func (*CRBApplicationFailoverController) Reconcile ¶
func (c *CRBApplicationFailoverController) Reconcile(ctx context.Context, req controllerruntime.Request) (controllerruntime.Result, error)
Reconcile performs a full reconciliation for the object referred to by the Request. The Controller will requeue the Request to be processed again if an error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*CRBApplicationFailoverController) SetupWithManager ¶
func (c *CRBApplicationFailoverController) SetupWithManager(mgr controllerruntime.Manager) error
SetupWithManager creates a controller and register to controller manager.
type RBApplicationFailoverController ¶
type RBApplicationFailoverController struct { client.Client EventRecorder record.EventRecorder RateLimiterOptions ratelimiterflag.Options ResourceInterpreter resourceinterpreter.ResourceInterpreter // contains filtered or unexported fields }
RBApplicationFailoverController is to sync ResourceBinding's application failover behavior.
func (*RBApplicationFailoverController) Reconcile ¶
func (c *RBApplicationFailoverController) Reconcile(ctx context.Context, req controllerruntime.Request) (controllerruntime.Result, error)
Reconcile performs a full reconciliation for the object referred to by the Request. The Controller will requeue the Request to be processed again if an error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*RBApplicationFailoverController) SetupWithManager ¶
func (c *RBApplicationFailoverController) SetupWithManager(mgr controllerruntime.Manager) error
SetupWithManager creates a controller and register to controller manager.