cmd

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExecuteFuncSuite = func(sr *runner.FunctionalSuiteRunner, s []suites.Interface) {
	sr.RunFunctionalSuites(s)
}
View Source
var ExecuteRunCmdSuite = func(sr *runner.SuiteRunner, s map[string][]suites.Interface) {
	sr.RunSuites(s)
}
View Source
var ExecuteRunSuite = func(sr *runner.SuiteRunner, ss map[string][]suites.Interface) {
	sr.RunSuites(ss)
}
View Source
var ExecuteSuite = func(sr *runner.FunctionalSuiteRunner, s []suites.Interface) {
	sr.RunFunctionalSuites(s)
}
View Source
var GetDatabase = func(c *cli.Context) store.Store {
	return store.NewSQLiteStore("file:" + c.GlobalString("db"))
}

Functions

func GetCertifyCommand

func GetCertifyCommand() cli.Command

GetCertifyCommand returns certify CLI command

func GetCleanupCommand

func GetCleanupCommand() cli.Command

GetCleanupCommand returns cleanup CLI command

func GetFunctionalReportCommand

func GetFunctionalReportCommand() cli.Command

GetFunctionalReportCommand returns a `report` command with all prepared sub-commands for functinoal reporting

func GetFunctionalTestCommand

func GetFunctionalTestCommand() cli.Command

GetFunctionalTestCommand returns a `functional-test` command with all prepared sub-commands

func GetK8sEndToEndCommand

func GetK8sEndToEndCommand() cli.Command

GetK8sEndToEndCommand returns k8s-e2e CLI command by executing kubernetes tests

func GetListCommand

func GetListCommand() cli.Command

GetListCommand returns list CLI command

func GetReportCommand

func GetReportCommand() cli.Command

GetReportCommand returns a `report` command with all prepared sub-commands

func GetTestCommand

func GetTestCommand() cli.Command

GetTestCommand returns a `test` command with all prepared sub-commands

func GetTestrunsCmd added in v1.8.0

func GetTestrunsCmd() cli.Command

func ParseTestRun added in v1.8.0

func ParseTestRun(tr string) (db string, name string)

Types

type CapacityTracking

type CapacityTracking struct {
	DriverNamespace string `yaml:"driverNamespace"`
	StorageClass    string
	VolumeSize      string
	PollInterval    time.Duration `yaml:"pollInterval"`
}

CapacityTracking contains parameters specific to Storage Capacity Tracking tests

type CertConfig

type CertConfig struct {
	StorageClasses []Entry `yaml:"storageClasses"`
}

CertConfig contains StorageClasses

type Entry

type Entry struct {
	Name             string            `yaml:"name"`
	MinSize          string            `yaml:"minSize"`
	RawBlock         bool              `yaml:"rawBlock"`
	Expansion        bool              `yaml:"expansion"`
	Clone            bool              `yaml:"clone"`
	Snapshot         bool              `yaml:"snapshot"`
	RWX              bool              `yaml:"RWX"`
	RWOP             bool              `yaml:"RWOP"`
	VolumeHealth     bool              `yaml:"volumeHealth"`
	Ephemeral        *EphemeralParams  `yaml:"ephemeral"`
	CapacityTracking *CapacityTracking `yaml:"capacityTracking"`
}

Entry contains tests to be executed

type EphemeralParams

type EphemeralParams struct {
	Driver           string            `yaml:"driver"`
	FSType           string            `yaml:"fstype"`
	VolumeAttributes map[string]string `yaml:"volumeAttributes"`
}

EphemeralParams contains parameters specific to Ephemeral Volume tests

Jump to

Keyboard shortcuts

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