syncsetinstance

package
v0.0.0-...-84ace31 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new SyncSetInstance controller and adds it to the manager with default RBAC. The manager will set fields on the controller and start it when the manager starts.

func AddToManager

func AddToManager(mgr manager.Manager, r reconcile.Reconciler) error

AddToManager adds a new Controller to mgr with r as the reconcile.Reconciler

func NewReconciler

func NewReconciler(mgr manager.Manager, logger log.FieldLogger, reapplyInterval time.Duration) reconcile.Reconciler

NewReconciler returns a new reconcile.Reconciler

Types

type Applier

type Applier interface {
	Apply(obj []byte) (hiveresource.ApplyResult, error)
	Info(obj []byte) (*hiveresource.Info, error)
	Patch(name types.NamespacedName, kind, apiVersion string, patch []byte, patchType string) error
	ApplyRuntimeObject(obj runtime.Object, scheme *runtime.Scheme) (hiveresource.ApplyResult, error)
}

Applier knows how to Apply, Patch and return Info for []byte arrays describing objects and patches.

type ReconcileSyncSetInstance

type ReconcileSyncSetInstance struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileSyncSetInstance reconciles a ClusterDeployment and the SyncSets associated with it

func (*ReconcileSyncSetInstance) Reconcile

Reconcile applies SyncSet or SelectorSyncSets associated with SyncSetInstances to the owning cluster.

Jump to

Keyboard shortcuts

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