Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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
Click to show internal directories.
Click to hide internal directories.