Documentation ¶
Index ¶
- func GetPodsUsingPVC(pvcNamespace, pvcName string, crClient crclient.Client) ([]corev1api.Pod, error)
- func GetVolumesByPod(pod *corev1api.Pod, defaultVolumesToFsBackup, backupExcludePVC bool, ...) ([]string, []string)
- func GetVolumesToBackup(obj metav1.Object) []string
- func GetVolumesToExclude(obj metav1.Object) []string
- func GetVolumesToProcess(volumes []corev1api.Volume, volsToProcessByLegacyApproach []string) []corev1api.Volume
- func IsPVCDefaultToFSBackup(pvcNamespace, pvcName string, crClient crclient.Client, ...) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPodsUsingPVC ¶
func GetVolumesByPod ¶
func GetVolumesByPod(pod *corev1api.Pod, defaultVolumesToFsBackup, backupExcludePVC bool, volsToProcessByLegacyApproach []string) ([]string, []string)
GetVolumesByPod returns a list of volume names to backup for the provided pod.
func GetVolumesToBackup ¶
GetVolumesToBackup returns a list of volume names to backup for the provided pod. Deprecated: Use GetVolumesByPod instead.
func GetVolumesToExclude ¶
func GetVolumesToProcess ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.