syncsetinstance

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 33 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ControllerName = "syncsetinstance"
)

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)
	CreateOrUpdate(obj []byte) (hiveresource.ApplyResult, error)
	CreateOrUpdateRuntimeObject(obj runtime.Object, scheme *runtime.Scheme) (hiveresource.ApplyResult, error)
	Create(obj []byte) (hiveresource.ApplyResult, error)
	CreateRuntimeObject(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