Documentation
¶
Index ¶
- Variables
- func CheckCRCStatus(state string) error
- func CheckClusterOperatorsWithRetry(retryCount int, retryWait string) error
- func CheckHTTPResponseWithRetry(retryCount int, retryWait string, address string, expectedStatusCode int) error
- func CheckOutputMatchWithRetry(retryCount int, retryTime string, command string, expected string, ...) error
- func ConfigFileInCRCHomeContainsKey(format string, configFile string, condition string, keyPath string) error
- func ConfigFileInCRCHomeContainsKeyMatchingValue(format string, configFile string, condition string, keyPath string, ...) error
- func CopyFilesToTestDir() error
- func DeleteCRC() error
- func DeleteFileFromCRCHome(fileName string) error
- func DownloadBundle(bundleLocation string, bundleDestination string) (string, error)
- func FeatureContext(s *godog.Suite)
- func FileExistsInCRCHome(fileName string) error
- func LoginToOcClusterSucceedsOrFails(expected string) error
- func ParseFlags()
- func RemoveCRCHome() error
- func SetConfigPropertyToValueSucceedsOrFails(property string, value string, expected string) error
- func StartCRCWithDefaultBundleAndNameServerSucceedsOrFails(nameserver string, expected string) error
- func StartCRCWithDefaultBundleSucceedsOrFails(expected string) error
- func StartCRCWithDefaultBundleWithStopNetworkTimeSynchronizationSucceedsOrFails(expected string) error
- func StdoutContainsIfBundleEmbeddedOrNot(value string, expected string) error
- func UnsetConfigPropertySucceedsOrFails(property string, expected string) error
- type Collector
- type CommandCollector
- type ContainerLogCollector
- type FileCollector
- type FileWriter
- type TreeCollector
- type VMCommandCollector
- type Writer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CRCHome string CRCExecutable string )
Functions ¶
func CheckCRCStatus ¶ added in v1.20.0
CheckCRCStatus checks that output of status command matches given regex number of consecutive times
func CopyFilesToTestDir ¶
func CopyFilesToTestDir() error
func DeleteFileFromCRCHome ¶
func DownloadBundle ¶
Download bundle for testing
func FeatureContext ¶
FeatureContext defines godog.Suite steps for the test suite.
func FileExistsInCRCHome ¶
func ParseFlags ¶
func ParseFlags()
Types ¶
type CommandCollector ¶ added in v1.20.0
type CommandCollector struct {
Command, Target string
}
func (*CommandCollector) Collect ¶ added in v1.20.0
func (collector *CommandCollector) Collect(w Writer) error
type ContainerLogCollector ¶ added in v1.20.0
type ContainerLogCollector struct {
Process string
}
func (*ContainerLogCollector) Collect ¶ added in v1.20.0
func (collector *ContainerLogCollector) Collect(w Writer) error
type FileCollector ¶ added in v1.20.0
type FileCollector struct {
Source, Target string
}
func (*FileCollector) Collect ¶ added in v1.20.0
func (collector *FileCollector) Collect(w Writer) error
type FileWriter ¶ added in v1.20.0
type FileWriter struct {
// contains filtered or unexported fields
}
type TreeCollector ¶ added in v1.20.0
func (*TreeCollector) Collect ¶ added in v1.20.0
func (collector *TreeCollector) Collect(w Writer) error
type VMCommandCollector ¶ added in v1.20.0
type VMCommandCollector struct {
Command, Target string
}
func (*VMCommandCollector) Collect ¶ added in v1.20.0
func (collector *VMCommandCollector) Collect(w Writer) error
Click to show internal directories.
Click to hide internal directories.