controllers

package
v0.0.0-...-72ee208 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = hivev1.ClustersyncControllerName
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonSyncSet

type CommonSyncSet interface {
	// AsRuntimeObject gets the syncset as a runtime.Object
	AsRuntimeObject() runtime.Object

	// AsMetaObject gets the syncset as a metav1.Object
	AsMetaObject() metav1.Object

	// GetSpec gets the common spec of the syncset
	GetSpec() *hivev1.SyncSetCommonSpec
}

CommonSyncSet is an interface for interacting with SyncSets and SelectorSyncSets in a generic way.

type ReconcileClusterSync

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

ReconcileClusterSync reconciles a ClusterDeployment object to apply its SyncSets and SelectorSyncSets

func (*ReconcileClusterSync) Reconcile

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

Reconcile reads the state of the ClusterDeployment and applies any SyncSets or SelectorSyncSets that need to be applied or re-applied.

type SelectorSyncSetAsCommon

type SelectorSyncSetAsCommon hivev1.SelectorSyncSet

SelectorSyncSetAsCommon is a SelectorSyncSet typed as a CommonSyncSet

func (*SelectorSyncSetAsCommon) AsMetaObject

func (s *SelectorSyncSetAsCommon) AsMetaObject() metav1.Object

func (*SelectorSyncSetAsCommon) AsRuntimeObject

func (s *SelectorSyncSetAsCommon) AsRuntimeObject() runtime.Object

func (*SelectorSyncSetAsCommon) GetSpec

type SyncSetAsCommon

type SyncSetAsCommon hivev1.SyncSet

SyncSetAsCommon is a SyncSet typed as a CommonSyncSet

func (*SyncSetAsCommon) AsMetaObject

func (s *SyncSetAsCommon) AsMetaObject() metav1.Object

func (*SyncSetAsCommon) AsRuntimeObject

func (s *SyncSetAsCommon) AsRuntimeObject() runtime.Object

func (*SyncSetAsCommon) GetSpec

Jump to

Keyboard shortcuts

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