twophase

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	endpoint.Endpoint
	ctx.Context
}

Reconciler for the twophase reconciler

func NewReconciler

func NewReconciler(req ctrl.Request, e endpoint.Endpoint, ctx ctx.Context) *Reconciler

NewReconciler would create reconciler for twophase controller

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile is twophase reconcile implement

type SchedulerUpdater added in v1.1.0

type SchedulerUpdater struct {
	Object runtime.Object
	ctx.Context
}

SchedulerUpdater updates nextStart and nextRecover for resources

func (*SchedulerUpdater) Reconcile added in v1.1.0

func (r *SchedulerUpdater) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile is twophase reconcile implement

Jump to

Keyboard shortcuts

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