Documentation
¶
Index ¶
- Variables
- func CheckCRCStatus(state 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 CommandReturnShouldContainIfBundleEmbeddedOrNot(commandField string, value 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 SetKubeConfigContextSucceedsOrFails(context, expected string) error
- func StartCRCWithDefaultBundleAndNameServerSucceedsOrFails(nameserver string, expected string) error
- func StartCRCWithDefaultBundleSucceedsOrFails(expected string) error
- func StartCRCWithDefaultBundleWithStopNetworkTimeSynchronizationSucceedsOrFails(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 ¶
CheckCRCStatus checks that output of status command matches given regex
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 ¶
type CommandCollector struct {
Command, Target string
}
func (*CommandCollector) Collect ¶
func (collector *CommandCollector) Collect(w Writer) error
type ContainerLogCollector ¶
type ContainerLogCollector struct {
Process string
}
func (*ContainerLogCollector) Collect ¶
func (collector *ContainerLogCollector) Collect(w Writer) error
type FileCollector ¶
type FileCollector struct {
Source, Target string
}
func (*FileCollector) Collect ¶
func (collector *FileCollector) Collect(w Writer) error
type FileWriter ¶
type FileWriter struct {
// contains filtered or unexported fields
}
type TreeCollector ¶
func (*TreeCollector) Collect ¶
func (collector *TreeCollector) Collect(w Writer) error
type VMCommandCollector ¶
type VMCommandCollector struct {
Command, Target string
}
func (*VMCommandCollector) Collect ¶
func (collector *VMCommandCollector) Collect(w Writer) error
Click to show internal directories.
Click to hide internal directories.