Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller controller for controlling reconciler life cycle
func NewController ¶
func NewController(ops *config.SyncOption, serverInfo *types.ServerInfo, disc *discovery.Client, storageClient storage.Interface, cmdbClient cmdb.ClientInterface, informer *taskinformer.Informer, manager *taskmanager.Manager) *Controller
NewController create controller
func (*Controller) OnAdd ¶
func (c *Controller) OnAdd(add common.Cluster)
OnAdd implements informer event handler
func (*Controller) OnDelete ¶
func (c *Controller) OnDelete(del common.Cluster)
OnDelete implements informer event handler
func (*Controller) OnUpdate ¶
func (c *Controller) OnUpdate(old, new common.Cluster)
OnUpdate implements informer event handler
Click to show internal directories.
Click to hide internal directories.