Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ControllerName is the name of this controller
ControllerName = "backupsController"
)
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) 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, backup *api.MysqlBackup, ns string) error
Sync for add and update.
Click to show internal directories.
Click to hide internal directories.