Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ControllerName is the name of this controller
ControllerName = "mysqlclusterController"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { InstallCRDs bool CRDClient apiext_clientset.Interface // contains filtered or unexported fields }
Controller structure
func (*Controller) Reconcile ¶ added in v0.1.4
func (c *Controller) Reconcile(ctx context.Context, cluster *api.MysqlCluster) error
func (*Controller) Start ¶
func (c *Controller) Start(workers int, stopCh <-chan struct{}) error
Start method start workers.
func (*Controller) Sync ¶
func (c *Controller) Sync(ctx context.Context, cluster *api.MysqlCluster) error
Sync for add and update.
Click to show internal directories.
Click to hide internal directories.