Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CSIDataMoverVolumeInfoTest func() = TestFunc(&CSIDataMoverVolumeInfo{ BackupVolumeInfo{ SnapshotMoveData: true, SnapshotVolumes: true, TestCase: TestCase{ CaseBaseName: "csi-data-mover-volumeinfo", TestMsg: &TestMSG{ Desc: "Test backup's VolumeInfo metadata content for CSI data mover case.", Text: "The VolumeInfo should be generated, and the SnapshotDataMovementInfo structure should not be nil.", }, }, }, })
View Source
var CSISnapshotVolumeInfoTest func() = TestFunc(&CSISnapshotVolumeInfo{ BackupVolumeInfo{ SnapshotVolumes: true, TestCase: TestCase{ CaseBaseName: "csi-snapshot-volumeinfo", TestMsg: &TestMSG{ Desc: "Test backup's VolumeInfo metadata content for CSI snapshot case.", Text: "The VolumeInfo should be generated, and the CSISnapshotInfo structure should not be nil.", }, }, }, })
View Source
var FilesystemUploadVolumeInfoTest func() = TestFunc(&FilesystemUploadVolumeInfo{ BackupVolumeInfo{ DefaultVolumesToFSBackup: true, TestCase: TestCase{ CaseBaseName: "fs-upload-volumeinfo", TestMsg: &TestMSG{ Desc: "Test backup's VolumeInfo metadata content for filesystem upload case.", Text: "The VolumeInfo should be generated, and the PVBInfo structure should not be nil.", }, }, }, })
View Source
var NativeSnapshotVolumeInfoTest func() = TestFunc(&NativeSnapshotVolumeInfo{ BackupVolumeInfo{ SnapshotVolumes: true, TestCase: TestCase{ UseVolumeSnapshots: true, CaseBaseName: "native-snapshot-volumeinfo", TestMsg: &TestMSG{ Desc: "Test backup's VolumeInfo metadata content for native snapshot case.", Text: "The VolumeInfo should be generated, and the NativeSnapshotInfo structure should not be nil.", }, }, }, })
View Source
var SkippedVolumeInfoTest func() = TestFunc(&SkippedVolumeInfo{ BackupVolumeInfo{ SnapshotVolumes: false, TestCase: TestCase{ CaseBaseName: "skipped-volumes-volumeinfo", TestMsg: &TestMSG{ Desc: "Test backup's VolumeInfo metadata content for volume-skipped case.", Text: "The VolumeInfo should be generated, and the Skipped parameter should be true.", }, }, }, })
Functions ¶
This section is empty.
Types ¶
type BackupVolumeInfo ¶
type BackupVolumeInfo struct { TestCase SnapshotVolumes bool DefaultVolumesToFSBackup bool SnapshotMoveData bool TimeoutDuration time.Duration }
func (*BackupVolumeInfo) CreateResources ¶
func (v *BackupVolumeInfo) CreateResources() error
func (*BackupVolumeInfo) Destroy ¶
func (v *BackupVolumeInfo) Destroy() error
func (*BackupVolumeInfo) Init ¶
func (v *BackupVolumeInfo) Init() error
func (*BackupVolumeInfo) Start ¶
func (v *BackupVolumeInfo) Start() error
type CSIDataMoverVolumeInfo ¶
type CSIDataMoverVolumeInfo struct {
BackupVolumeInfo
}
func (*CSIDataMoverVolumeInfo) Verify ¶
func (c *CSIDataMoverVolumeInfo) Verify() error
type CSISnapshotVolumeInfo ¶
type CSISnapshotVolumeInfo struct {
BackupVolumeInfo
}
func (*CSISnapshotVolumeInfo) Verify ¶
func (c *CSISnapshotVolumeInfo) Verify() error
type FilesystemUploadVolumeInfo ¶
type FilesystemUploadVolumeInfo struct {
BackupVolumeInfo
}
func (*FilesystemUploadVolumeInfo) Verify ¶
func (f *FilesystemUploadVolumeInfo) Verify() error
type NativeSnapshotVolumeInfo ¶
type NativeSnapshotVolumeInfo struct {
BackupVolumeInfo
}
func (*NativeSnapshotVolumeInfo) Verify ¶
func (n *NativeSnapshotVolumeInfo) Verify() error
type SkippedVolumeInfo ¶
type SkippedVolumeInfo struct {
BackupVolumeInfo
}
func (*SkippedVolumeInfo) Verify ¶
func (s *SkippedVolumeInfo) Verify() error
Click to show internal directories.
Click to hide internal directories.