schedule

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

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

Jump to

Keyboard shortcuts

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