Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ScheduleBackupCreationTest func() = TestFunc(&ScheduleBackupCreation{namespace: "sch1", TestCase: TestCase{NSBaseName: "schedule-backup-creation-test"}})
View Source
var ScheduleBackupTest func() = TestFunc(&ScheduleBackup{TestCase: TestCase{NSBaseName: "schedule-test"}})
Functions ¶
func ScheduleOrderedResources ¶
func ScheduleOrderedResources()
Types ¶
type OrderedResources ¶
type OrderedResources struct { Namespace string ScheduleName string OrderMap map[string]string ScheduleArgs []string TestCase }
func (*OrderedResources) CreateResources ¶
func (o *OrderedResources) CreateResources() error
func (*OrderedResources) DeleteBackups ¶
func (o *OrderedResources) DeleteBackups() error
func (*OrderedResources) Init ¶
func (o *OrderedResources) Init() error
type ScheduleBackup ¶
type ScheduleBackup struct { TestCase ScheduleName string ScheduleArgs []string Period int //Limitation: The unit is minitue only and 60 is divisible by it // contains filtered or unexported fields }
func (*ScheduleBackup) Backup ¶
func (n *ScheduleBackup) Backup() error
func (*ScheduleBackup) CreateResources ¶
func (n *ScheduleBackup) CreateResources() error
func (*ScheduleBackup) Destroy ¶
func (n *ScheduleBackup) Destroy() error
func (*ScheduleBackup) Init ¶
func (n *ScheduleBackup) Init() error
func (*ScheduleBackup) StartRun ¶
func (n *ScheduleBackup) StartRun() error
func (*ScheduleBackup) Verify ¶
func (n *ScheduleBackup) Verify() error
type ScheduleBackupCreation ¶ added in v1.11.0
type ScheduleBackupCreation struct { TestCase ScheduleName string ScheduleArgs []string Period int //Limitation: The unit is minitue only and 60 is divisible by it // contains filtered or unexported fields }
func (*ScheduleBackupCreation) Backup ¶ added in v1.11.0
func (n *ScheduleBackupCreation) Backup() error
func (*ScheduleBackupCreation) CreateResources ¶ added in v1.11.0
func (p *ScheduleBackupCreation) CreateResources() error
func (*ScheduleBackupCreation) Init ¶ added in v1.11.0
func (n *ScheduleBackupCreation) Init() error
func (*ScheduleBackupCreation) Restore ¶ added in v1.11.0
func (n *ScheduleBackupCreation) Restore() error
func (*ScheduleBackupCreation) StartRun ¶ added in v1.11.0
func (n *ScheduleBackupCreation) StartRun() error
Click to show internal directories.
Click to hide internal directories.