package
1.6.0
Repository: https://github.com/dell/cert-csi.git
Documentation: pkg.go.dev

# Functions

BuildE2eCommand will build the command args.
CheckIfBinaryExists will check the existing binary version and return true if version match else return false.
CheckKubeConfigEnv will check the environment variable KUBECONFIG and returns default KUBECONFIG if not set.
DownloadBinary will download the binary from the kubernetes artifactory based the version.
E2eReportParser will parse the kubernetes end-to-end report.
ExecuteE2ECommand will execute the ./e2e.test command and generates the reports.
FileExists will check the file existence and return true if it exists otherwise return false.
GenerateReport will call parser function and generates the report.
GetLoggerFromContext returns logger.
GetURL will return the URL by including the given version.
ParseDuration parse duration string and returns ExtendedDuration struct.
Prechecks function will check some prechecks like driver config file existence.
Prerequisites function will full-fill all prerequisites.
ReadTestDriverConfig will read the driver config.
SkipTests will skip the tests mentioned in the ignore.yaml.
UnTarBinary will untar the kubernetes tar.gz file to get the e2e binaries.

# Constants

BinaryFile downloaded binary file.
BinaryPrefix Binary url prefix.
BinarySuffix binary url suffix.
IgnoreFile contains the tests to be skipped.
KubeConfigEnv Environmental Variable.
LoggerContextKey logger.
XML is an extension for .xml.

# Variables

Home home environmental variable.

# Structs

DriverConfig is used to get the storage-class name.
ExtendedDuration in weeks, days, hours, minutes and seconds.
Testcase is an individual testcase in the end-to-end report.
Testsuite contain all the information about the tests.
Testsuites contains list of testsuites.