crcsuite

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CRCHome   string
	CRCBinary string
)

Functions

func CheckClusterOperatorsWithRetry

func CheckClusterOperatorsWithRetry(retryCount int, retryWait string) error

func CheckHTTPResponseWithRetry

func CheckHTTPResponseWithRetry(retryCount int, retryWait string, address string, expectedStatusCode int) error

func CheckOutputMatchWithRetry

func CheckOutputMatchWithRetry(retryCount int, retryTime string, command string, expected string, expectedOutput string) error

func ConfigFileInCRCHomeContainsKey

func ConfigFileInCRCHomeContainsKey(format string, configFile string, condition string, keyPath string) error

func ConfigFileInCRCHomeContainsKeyMatchingValue

func ConfigFileInCRCHomeContainsKeyMatchingValue(format string, configFile string, condition string, keyPath string, expectedValue string) error

func CopyFilesToTestDir

func CopyFilesToTestDir() error

func DeleteCRC

func DeleteCRC() error

Delete CRC instance

func DeleteFileFromCRCHome

func DeleteFileFromCRCHome(fileName string) error

func DownloadBundle

func DownloadBundle(bundleLocation string, bundleDestination string) (string, error)

Download bundle for testing

func FeatureContext

func FeatureContext(s *godog.Suite)

FeatureContext defines godog.Suite steps for the test suite.

func FileExistsInCRCHome

func FileExistsInCRCHome(fileName string) error

func LoginToOcClusterSucceedsOrFails

func LoginToOcClusterSucceedsOrFails(expected string) error

func ParseFlags

func ParseFlags()

func RemoveCRCHome

func RemoveCRCHome() error

Remove CRC home folder ~/.crc

func SetConfigPropertyToValueSucceedsOrFails

func SetConfigPropertyToValueSucceedsOrFails(property string, value string, expected string) error

func StartCRCWithDefaultBundleAndNameServerSucceedsOrFails

func StartCRCWithDefaultBundleAndNameServerSucceedsOrFails(nameserver string, expected string) error

func StartCRCWithDefaultBundleSucceedsOrFails

func StartCRCWithDefaultBundleSucceedsOrFails(expected string) error

func StartCRCWithDefaultBundleWithStopNetworkTimeSynchronizationSucceedsOrFails

func StartCRCWithDefaultBundleWithStopNetworkTimeSynchronizationSucceedsOrFails(expected string) error

func StdoutContainsIfBundleEmbeddedOrNot

func StdoutContainsIfBundleEmbeddedOrNot(value string, expected string) error

func UnsetConfigPropertySucceedsOrFails

func UnsetConfigPropertySucceedsOrFails(property string, expected string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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