Documentation
¶
Index ¶
- Constants
- type Manager
- func (manager *Manager) Run(workers int, stopCh <-chan struct{})
- func (manager *Manager) UpdateClusterStatus(ctx context.Context, name string, status *clusterv1alpha2.ClusterStatus) error
- func (manager *Manager) UpdateClusterSynchroCondition(name, reason, message string, status metav1.ConditionStatus)
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) 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)
Click to show internal directories.
Click to hide internal directories.