Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SENDER_NUMBER default sender number for one reconciler SENDER_NUMBER = 10 // QUEUE_LENGTH queue length for storage watch event queue QUEUE_LENGTH = 10000 // FETCH_MODULES_INTERVAL interval for fetch biz modules from paas-cc FETCH_MODULES_INTERVAL = 100 )
View Source
const ( // EventAdd add event EventAdd = iota // EventManyAdd add many event EventManyAdd // EventUpdate update event EventUpdate // EventDel delete event EventDel )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler sync container data of one cluster to cmdb
func NewReconciler ¶
func NewReconciler(clusterInfo common.Cluster, storageClient storage.Interface, cmdbClient cmdb.ClientInterface, fullSyncInterval int64) (*Reconciler, error)
NewReconciler create new reconciler
Click to show internal directories.
Click to hide internal directories.