Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CronScheduleValidationError is used as part of the Event 'reason' when a // BackupSchedule fails validation due to an invalid Cron schedule string. CronScheduleValidationError = "CronScheduleValidationError" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller watches the Kubernetes API for changes to BackupSchedule resources.
func NewController ¶
func NewController( opClient mysqlop.Interface, kubeClient kubernetes.Interface, backupScheduleInformer opinformers.BackupScheduleInformer, syncPeriod time.Duration, namespace string, ) *Controller
NewController creates a new BackupScheduleController.
Click to show internal directories.
Click to hide internal directories.