syncset

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: Apache-2.0 Imports: 20 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 SyncSet Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

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) reconcile.Reconciler

NewReconciler returns a new reconcile.Reconciler

Types

type ReconcileSyncSet

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

ReconcileSyncSet reconciles a ClusterDeployment and the SyncSets associated with it

func (*ReconcileSyncSet) Reconcile

func (r *ReconcileSyncSet) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile lists SyncSets and SelectorSyncSets which apply to a ClusterDeployment object and applies resources and patches found in each SyncSet object

Jump to

Keyboard shortcuts

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