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 CommandReturnShouldContainCorrectVersion() error
- func ConfigFileInCRCHomeContainsKey(format string, configFile string, condition string, keyPath string) error
- func ConfigFileInCRCHomeContainsKeyMatchingValue(format string, configFile string, condition string, keyPath string, ...) error
- func DecodeBase64File(inputFile, outputFile string) error
- func DeleteFileFromCRCHome(fileName string) error
- func DeletingPodSucceedsOrFails(expected string) error
- func EnsureCRCIsRunning() error
- func EnsureKubeConfigIsCleanedUp() error
- func EnsureMicroshiftClusterIsOperational() error
- func EnsureOCCommandIsAvailable() error
- func EnsureUserIsLoggedIntoClusterSucceedsOrFails(expected string) error
- func EnsureUserNetworkmode() error
- func ExecuteCRCCommand(command string) error
- func ExecuteCommandWithExpectedExitStatus(command string, expectedExitStatus string) error
- func ExecuteSingleCommandWithExpectedExitStatus(command string, expectedExitStatus string) error
- func ExecutingPodmanCommandSucceedsFails(command string, expected string) error
- func FileExistsInCRCHome(fileName string) error
- func InitializeScenario(s *godog.ScenarioContext)
- func InitializeTestSuite(tctx *godog.TestSuiteContext)
- func ParseFlags()
- func PodmanCommandIsAvailable() error
- func PullLoginTagPushImageSucceeds(image string) error
- func RemoveBundleFromCache() error
- func SetConfigPropertyToValueSucceedsOrFails(property string, value string, expected string) error
- func SetKubeConfigContextSucceedsOrFails(context, expected string) error
- func StartCRCWithCustomBundleSucceedsOrFails(expected string) error
- func StartCRCWithDefaultBundleAndNameServerSucceedsOrFails(nameserver string, expected string) error
- func StartCRCWithDefaultBundleSucceedsOrFails(expected string) error
- func StartCRCWithDefaultBundleWithStopNetworkTimeSynchronizationSucceedsOrFails(expected string) error
- func WaitForClusterInState(state string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CRCExecutable string CRCVersion string CRCMemory string GodogTags string )
Functions ¶
func CheckCRCStatus ¶
func CommandReturnShouldContainCorrectVersion ¶
func CommandReturnShouldContainCorrectVersion() error
func DecodeBase64File ¶
Decode a file encoded with base64
func DeleteFileFromCRCHome ¶
func EnsureCRCIsRunning ¶
func EnsureCRCIsRunning() error
func EnsureKubeConfigIsCleanedUp ¶ added in v2.44.0
func EnsureKubeConfigIsCleanedUp() error
func EnsureMicroshiftClusterIsOperational ¶ added in v2.28.0
func EnsureMicroshiftClusterIsOperational() error
This function will wait until the microshift cluster got operational
func EnsureOCCommandIsAvailable ¶
func EnsureOCCommandIsAvailable() error
func EnsureUserNetworkmode ¶ added in v2.28.0
func EnsureUserNetworkmode() error
func ExecuteCRCCommand ¶
func FileExistsInCRCHome ¶
func InitializeScenario ¶
func InitializeScenario(s *godog.ScenarioContext)
func InitializeTestSuite ¶
func InitializeTestSuite(tctx *godog.TestSuiteContext)
func ParseFlags ¶
func ParseFlags()
func PodmanCommandIsAvailable ¶
func PodmanCommandIsAvailable() error
func RemoveBundleFromCache ¶
func RemoveBundleFromCache() error
func WaitForClusterInState ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.