cmd

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 26 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
	StorageClass    string
	VolumeSize      string
	PollInterval    time.Duration
}

CapacityTracking contains parameters specific to Storage Capacity Tracking tests

type CertConfig

type CertConfig struct {
	StorageClasses []Entry
}

CertConfig contains StorageClasses

type Entry

type Entry struct {
	Name             string
	MinSize          string
	RawBlock         bool
	Expansion        bool
	Clone            bool
	Snapshot         bool
	RWX              bool
	RWOP             bool
	VolumeHealth     bool
	VGS              bool
	Ephemeral        *EphemeralParams
	CapacityTracking *CapacityTracking
}

Entry contains tests to be executed

type EphemeralParams

type EphemeralParams struct {
	Driver           string
	FSType           string
	VolumeAttributes map[string]string
}

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