backup

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PVCBackupItemAction

type PVCBackupItemAction struct {
	Log logrus.FieldLogger
}

PVCBackupItemAction is a backup item action plugin for Velero.

func (*PVCBackupItemAction) AppliesTo

AppliesTo returns information indicating that the PVCBackupItemAction should be invoked to backup PVCs.

func (*PVCBackupItemAction) Execute

Execute recognizes PVCs backed by volumes provisioned by CSI drivers with volumesnapshotting capability and creates snapshots of the underlying PVs by creating volumesnapshot CSI API objects that will trigger the CSI driver to perform the snapshot operation on the volume.

type VolumeSnapshotBackupItemAction

type VolumeSnapshotBackupItemAction struct {
	Log logrus.FieldLogger
}

VolumeSnapshotBackupItemAction is a backup item action plugin to backup CSI VolumeSnapshot objects using Velero

func (*VolumeSnapshotBackupItemAction) AppliesTo

AppliesTo returns information indicating that the VolumeSnapshotBackupItemAction should be invoked to backup volumesnapshots.

func (*VolumeSnapshotBackupItemAction) Execute

Execute backs up a CSI volumesnapshot object and captures, as labels and annotations, information from its associated volumesnapshotcontents such as CSI driver name, storage snapshot handle and namespace and name of the snapshot delete secret, if any. It returns the volumesnapshotclass and the volumesnapshotcontents as additional items to be backed up.

type VolumeSnapshotClassBackupItemAction

type VolumeSnapshotClassBackupItemAction struct {
	Log logrus.FieldLogger
}

VolumeSnapshotClassBackupItemAction is a backup item action plugin to backup CSI VolumeSnapshotclass objects using Velero

func (*VolumeSnapshotClassBackupItemAction) AppliesTo

AppliesTo returns information indicating that the VolumeSnapshotClassBackupItemAction action should be invoked to backup volumesnapshotclass.

func (*VolumeSnapshotClassBackupItemAction) Execute

Execute backs up a VolumeSnapshotClass object and returns as additional items any snapshot lister secret that may be referenced in its annotations.

type VolumeSnapshotContentBackupItemAction

type VolumeSnapshotContentBackupItemAction struct {
	Log logrus.FieldLogger
}

VolumeSnapshotContentBackupItemAction is a backup item action plugin to backup CSI VolumeSnapshotcontent objects using Velero

func (*VolumeSnapshotContentBackupItemAction) AppliesTo

AppliesTo returns information indicating that the VolumeSnapshotContentBackupItemAction action should be invoked to backup volumesnapshotcontents.

func (*VolumeSnapshotContentBackupItemAction) Execute

Execute returns the unmodified volumesnapshotcontent object along with the snapshot deletion secret, if any, from its annotation as additional items to backup.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL