cmd

package
v0.4.45 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Baseline

func Baseline(ctx context.Context, output string) error

Baseline executes the baseline check

func BlockMountCheck added in v0.4.38

func BlockMountCheck(ctx context.Context, output, outfile string, cleanupOnly bool, checkerArgs block.BlockMountCheckerArgs) error

func CSICheck added in v0.4.0

func CSICheck(ctx context.Context, output, outfile,
	namespace string,
	storageclass string,
	volumesnapshotclass string,
	runAsUser int64,
	containerImage string,
	cleanup bool,
	skipCFScheck bool,
) error

func CsiPvcBrowse added in v0.4.19

func CsiPvcBrowse(ctx context.Context,
	pvcName string,
	namespace string,
	volumeSnapshotClass string,
	runAsUser int64,
	localPort int,
	showTree bool,
) error

func CsiSnapshotBrowse added in v0.4.45

func CsiSnapshotBrowse(ctx context.Context,
	snapshotName string,
	namespace string,
	runAsUser int64,
	localPort int,
	showTree bool,
) error

func Execute

func Execute() error

Execute executes the main command

func FileRestore added in v0.4.45

func FileRestore(ctx context.Context,
	snapshotName string,
	pvcName string,
	namespace string,
	runAsUser int64,
	localPort int,
	path string,
) error

func Fio added in v0.3.0

func Fio(ctx context.Context, output, outfile, storageclass, size, namespace string, nodeSelector map[string]string, jobName, fioFilePath string, containerImage string) error

Fio executes the FIO test.

func PrintAndJsonOutput added in v0.4.19

func PrintAndJsonOutput(result []*kubestr.TestOutput, output string, outfile string) bool

PrintAndJsonOutput Print JSON output to stdout and to file if arguments say so Returns whether we have generated output or JSON

Types

This section is empty.

Jump to

Keyboard shortcuts

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