Documentation
¶
Index ¶
- func Job(cluster *apiv1alpha1.PerconaServerMySQL, ...) *batchv1.Job
- func JobName(cr *apiv1alpha1.PerconaServerMySQLBackup) string
- func MatchLabels(cluster *apiv1alpha1.PerconaServerMySQL) map[string]string
- func Name(cr *apiv1alpha1.PerconaServerMySQLBackup) string
- func NamespacedName(cr *apiv1alpha1.PerconaServerMySQLBackup) types.NamespacedName
- func PVC(cluster *apiv1alpha1.PerconaServerMySQL, ...) *corev1.PersistentVolumeClaim
- func RestoreJob(cluster *apiv1alpha1.PerconaServerMySQL, ...) *batchv1.Job
- func RestoreJobName(cluster *apiv1alpha1.PerconaServerMySQL, ...) string
- func RestoreName(cr *apiv1alpha1.PerconaServerMySQLRestore) string
- func SetSourceNode(job *batchv1.Job, src string) error
- func SetStorageAzure(job *batchv1.Job, azure *apiv1alpha1.BackupStorageAzureSpec) error
- func SetStorageGCS(job *batchv1.Job, gcs *apiv1alpha1.BackupStorageGCSSpec) error
- func SetStoragePVC(job *batchv1.Job, pvc *corev1.PersistentVolumeClaim) error
- func SetStorageS3(job *batchv1.Job, s3 *apiv1alpha1.BackupStorageS3Spec) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Job ¶
func Job( cluster *apiv1alpha1.PerconaServerMySQL, cr *apiv1alpha1.PerconaServerMySQLBackup, destination, initImage string, storage *apiv1alpha1.BackupStorageSpec, ) *batchv1.Job
func JobName ¶
func JobName(cr *apiv1alpha1.PerconaServerMySQLBackup) string
func MatchLabels ¶
func MatchLabels(cluster *apiv1alpha1.PerconaServerMySQL) map[string]string
func Name ¶
func Name(cr *apiv1alpha1.PerconaServerMySQLBackup) string
func NamespacedName ¶
func NamespacedName(cr *apiv1alpha1.PerconaServerMySQLBackup) types.NamespacedName
func PVC ¶
func PVC(cluster *apiv1alpha1.PerconaServerMySQL, cr *apiv1alpha1.PerconaServerMySQLBackup, storage *apiv1alpha1.BackupStorageSpec) *corev1.PersistentVolumeClaim
func RestoreJob ¶
func RestoreJob( cluster *apiv1alpha1.PerconaServerMySQL, backup *apiv1alpha1.PerconaServerMySQLBackup, restore *apiv1alpha1.PerconaServerMySQLRestore, storage *apiv1alpha1.BackupStorageSpec, initImage string, pvcName string, ) *batchv1.Job
func RestoreJobName ¶
func RestoreJobName(cluster *apiv1alpha1.PerconaServerMySQL, cr *apiv1alpha1.PerconaServerMySQLRestore) string
func RestoreName ¶
func RestoreName(cr *apiv1alpha1.PerconaServerMySQLRestore) string
func SetStorageAzure ¶
func SetStorageAzure(job *batchv1.Job, azure *apiv1alpha1.BackupStorageAzureSpec) error
func SetStorageGCS ¶
func SetStorageGCS(job *batchv1.Job, gcs *apiv1alpha1.BackupStorageGCSSpec) error
func SetStoragePVC ¶
func SetStoragePVC(job *batchv1.Job, pvc *corev1.PersistentVolumeClaim) error
func SetStorageS3 ¶
func SetStorageS3(job *batchv1.Job, s3 *apiv1alpha1.BackupStorageS3Spec) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.