Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentController ¶
type AgentController struct {
// contains filtered or unexported fields
}
AgentController handles the excution of Backups on a specific mysql-agent. It is run in each mysql-agent.
func NewAgentController ¶
func NewAgentController( kubeClient kubernetes.Interface, client clientset.BackupsGetter, backupInformer informersv1alpha1.BackupInformer, clusterInformer informersv1alpha1.ClusterInformer, podInformer corev1informers.PodInformer, podName string, ) *AgentController
NewAgentController constructs a new AgentController.
type ConditionUpdater ¶
type ConditionUpdater interface {
Update(backup *v1alpha1.Backup, condition *v1alpha1.BackupCondition) error
}
ConditionUpdater enables updating Backup conditions.
type OperatorController ¶
type OperatorController struct {
// contains filtered or unexported fields
}
OperatorController handles validation, labeling, and scheduling of Backups to be executed on a specific (primary) mysql-agent. It is run in the operator.
func NewOperatorController ¶
func NewOperatorController( kubeClient kubernetes.Interface, client clientset.BackupsGetter, backupInformer informersv1alpha1.BackupInformer, clusterInformer informersv1alpha1.ClusterInformer, podInformer corev1informers.PodInformer, ) *OperatorController
NewOperatorController constructs a new OperatorController.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.