synchromanager

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ClusterSynchroControllerFinalizer = "clusterpedia.io/cluster-synchro-controller"

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(kubeclient clientset.Interface, client crdclientset.Interface, storage storage.StorageFactory) *Manager

func (*Manager) Run

func (manager *Manager) Run(workers int, stopCh <-chan struct{})

func (*Manager) UpdateClusterStatus

func (manager *Manager) UpdateClusterStatus(ctx context.Context, name string, status *clusterv1alpha2.ClusterStatus) error

func (*Manager) UpdateClusterSynchroCondition added in v0.3.0

func (manager *Manager) UpdateClusterSynchroCondition(name, reason, message string, status metav1.ConditionStatus)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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