schedule

package
v0.0.0-...-1eaa894 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ScheduleInProgressTest func() = framework.TestFunc(&InProgressCase{})
View Source
var ScheduleOrderedResources func() = framework.TestFunc(&OrderedResources{})
View Source
var SchedulePeriodicalTest func() = framework.TestFunc(&PeriodicalCase{})

Functions

This section is empty.

Types

type InProgressCase

type InProgressCase struct {
	framework.TestCase

	ScheduleName string
	ScheduleArgs []string
	// contains filtered or unexported fields
}

func (*InProgressCase) Backup

func (s *InProgressCase) Backup() error

func (*InProgressCase) Clean

func (s *InProgressCase) Clean() error

func (*InProgressCase) CreateResources

func (s *InProgressCase) CreateResources() error

func (*InProgressCase) Init

func (s *InProgressCase) Init() error

type OrderedResources

type OrderedResources struct {
	Namespace     string
	ScheduleName  string
	OrderResource map[string]string
	ScheduleArgs  []string
	framework.TestCase
}

func (*OrderedResources) Backup

func (o *OrderedResources) Backup() error

func (*OrderedResources) Clean

func (o *OrderedResources) Clean() error

func (*OrderedResources) CreateResources

func (o *OrderedResources) CreateResources() error

func (*OrderedResources) Init

func (o *OrderedResources) Init() error

type PeriodicalCase

type PeriodicalCase struct {
	framework.TestCase
	ScheduleName string
	ScheduleArgs []string
	Period       int // The minimum unit is minute.
}

func (*PeriodicalCase) Backup

func (n *PeriodicalCase) Backup() error

func (*PeriodicalCase) Clean

func (n *PeriodicalCase) Clean() error

func (*PeriodicalCase) CreateResources

func (n *PeriodicalCase) CreateResources() error

func (*PeriodicalCase) Init

func (n *PeriodicalCase) Init() error

func (*PeriodicalCase) Verify

func (n *PeriodicalCase) Verify() error

Jump to

Keyboard shortcuts

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