Versions in this module Expand all Collapse all v1 v1.1.0 Aug 10, 2022 Changes in this version + const DCOriginalPaused + const DCOriginalReplicas + const DCPodDeploymentConfigLabel + const DCPodDeploymentLabel + const DCPodDisconnectedLabel + const DCReplicasModifiedLabel + var BackupUidMap map[types.UID]*CommonStruct + func GarbageCollectCommonStruct() + func GetBackupStorageLocation(name, namespace string) (*velero.BackupStorageLocation, error) + func GetSecretKeyForBackupStorageLocation(name, namespace string) (*corev1.Secret, string, error) + func GetVeleroV1Client() (*rest.RESTClient, error) + type CommonStruct struct + Backup *velero.Backup + Ut *udistribution.UdistributionTransport + func (c *CommonStruct) JustAccessed() v1.0.3 May 9, 2022 Changes in this version + const BackupRegistryHostname + const BackupServerVersion + const DisableImageCopy + const ExcludePVCPodAnnotation + const FinalMigration + const FinalRestoreLabel + const IncludedInStageBackupLabel + const InitContainerRestoreHookAnnotation + const InitialBackupLabel + const MigMigrationLabelKey + const MigPlanLabelKey + const MigrateAccessModeAnnotation + const MigrateCopyMethodAnnotation + const MigrateStorageClassAnnotation + const MigrateTypeAnnotation + const MigrationApplicationLabelKey + const MigrationApplicationLabelValue + const MigrationRegistry + const PVCSelectedNodeAnnotation + const PVOriginalReclaimPolicy + const PausedOwnerRef + const PostRestoreHookAnnotation + const PvCopyAction + const PvFilesystemCopyMethod + const PvMoveAction + const PvSnapshotCopyMethod + const RegistryConfigMap + const RelatedIsTagAnnotation + const RelatedIsTagNsAnnotation + const ResticBackupAnnotation + const RestoreRegistryHostname + const RestoreServerVersion + const SkipImageCopy + const StageBackupLabel + const StageMigration + const StageOrFinalMigrationAnnotation + const StagePodImageAnnotation + const StageRestoreLabel + func GetBackup(uid types.UID, name string, namespace string) (*velero.Backup, error) + func GetOwnerReferences(item runtime.Unstructured) ([]metav1.OwnerReference, error) + func GetRegistryInfo(log logrus.FieldLogger) (string, error) + func GetServerVersion() (int, int, error) + func GetSrcAndDestRegistryInfo(item runtime.Unstructured) (string, string, error) + func HasImageRefPrefix(s, prefix string) bool + func ReplaceImageRefPrefix(s, oldPrefix, newPrefix string, namespaceMapping map[string]string) (string, error) + func StringInSlice(a string, list []string) bool + func StringPtr(s string) *string + func SwapContainerImageRefs(containers []corev1API.Container, oldRegistry, newRegistry string, ...) + func UpdatePullSecret(secretRef *corev1API.LocalObjectReference, secretList *corev1API.SecretList, ...) (*corev1API.LocalObjectReference, error) + type APIServerConfig struct + ImagePolicyConfig imagePolicyConfig + RoutingConfig routingConfig + type BackupPlugin struct + Log logrus.FieldLogger + func (p *BackupPlugin) AppliesTo() (velero.ResourceSelector, error) + func (p *BackupPlugin) Execute(item runtime.Unstructured, backup *v1.Backup) (runtime.Unstructured, []velero.ResourceIdentifier, error) + type LocalImageReference struct + Digest string + Name string + Namespace string + Registry string + Tag string + func ParseLocalImageReference(s, prefix string) (*LocalImageReference, error) + type ResourceHookSelector struct + LabelSelector labels.Selector + Namespaces *collections.IncludesExcludes + Resources *collections.IncludesExcludes + func (r ResourceHookSelector) ApplicableTo(groupResource schema.GroupResource, namespace string, labels labels.Set) bool + type RestorePlugin struct + Log logrus.FieldLogger + func (p *RestorePlugin) AppliesTo() (velero.ResourceSelector, error) + func (p *RestorePlugin) Execute(input *velero.RestoreItemActionExecuteInput) (*velero.RestoreItemActionExecuteOutput, error)