reconciler

package
v0.0.0-...-ff2d8de Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DWReconciler

type DWReconciler interface {
	Reconcile(Request) (Result, error)
}

DWReconciler is the interface used by a Controller to do downward reconcile (tenant->super).

type EventType

type EventType string
const (
	AddEvent    EventType = "Add"
	UpdateEvent EventType = "Update"
	DeleteEvent EventType = "Delete"
)

type PatrolReconciler

type PatrolReconciler interface {
	PatrollerDo()
}

PatrolReconciler is the interface used by a peroidic checker to ensure the object consistency between tenant and super master.

type Request

type Request struct {
	ClusterName string
	types.NamespacedName
	UID string
}

Request contains the information needed by a DWReconciler to reconcile. It ONLY contains the meta that can uniquely identify an object without any state information which can lead to parallel reconcile.

type Result

type Result reconcile.Result

type UWReconciler

type UWReconciler interface {
	BackPopulate(string) error
}

UWReconciler is the interface used by a Controller to do upward reconcile (super->tenant).

Jump to

Keyboard shortcuts

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