cmd

package
v1.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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

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"`
	VGS              bool              `yaml:"VGS"`
	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