Documentation ¶
Index ¶
- Constants
- Variables
- func DownloadFile(filepath string, url string) error
- func Execute(command *Command, stdOutFile *os.File, stdErrFile *os.File, logCmd bool) error
- func ExecuteCmd(logOutput bool, command *Command) error
- func ExecuteCmdCore(logOutput bool, logCmd bool, command *Command) error
- func ExecuteCmdOrDie(logOutput bool, name string, arg ...string)
- func ExecuteCmdOrDieCore(logOutput bool, logCmd bool, name string, arg ...string)
- func ReaderToBytes(reader io.Reader) []byte
- func ReaderToString(reader io.Reader) string
- func Template(tempName string, templatePath string, replacings ...Replacement) *os.File
- type Command
- type Replacement
Constants ¶
const ( ImagePullSecretName = "apicurio-registry-pull-secret" OperatorNamespace = "apicurio-registry-e2e" OperatorVersionEnvVar = "E2E_OPERATOR_VERSION" APIPollInterval = 2 * time.Second MediumPollInterval = 5 * time.Second LongPollInterval = 10 * time.Second StorageSql = "sql" StorageKafkaSql = "kafkasql" )
constants to be used in testsuite
Variables ¶
var ApicurioProjectDir string = os.Getenv(apicurioProjectDirEnvVar)
ApicurioProjectDir value of ApicurioProjectDirEnvVar
var ApicurioTestsProfile string = os.Getenv(apicurioTestsProfileEnvVar)
ApicurioTestsProfile value of ApicurioTestsProfileEnvVar
var ApicurioTestsProfileDefault string = "smoke"
ApicurioTestsProfileDefault default value for Apicurio Functional testsuite profile
var ConvertersDistroSha512Sum string = os.Getenv(convertersDistroSha512SumEnvVar)
var ConvertersURL string = os.Getenv(convertersURLEnvVar)
var ExtraMavenArgs string = os.Getenv(extraMavenArgsEnvVar)
ExtraMavenArgs value of ExtraMavenArgsEnvVar
var ImagePullSecretPassword string = os.Getenv(imagePullSecretPasswordEnvVar)
var ImagePullSecretServer string = os.Getenv(imagePullSecretServerEnvVar)
var ImagePullSecretUser string = os.Getenv(imagePullSecretUserEnvVar)
var OLMApicurioCSV string = os.Getenv(oLMApicurioCSVEnvVar)
OLMApicurioCSV value of oLMApicurioCSVEnvVar
var OLMApicurioChannelName string = os.Getenv(oLMApicurioChannelNameEnvVar)
OLMApicurioChannelName value of oLMApicurioChannelNameEnvVar
var OLMApicurioPackageManifestName string = os.Getenv(oLMApicurioPackageManifestNameEnvVar)
OLMApicurioPackageManifestName value of OLMApicurioPackageManifestNameEnvVar
var OLMCatalogSourceImage string = os.Getenv(oLMCatalogSourceImageEnvVar)
OLMCatalogSourceImage value of OLMCatalogSourceImageEnvVar
var OLMCatalogSourceNamespace string = os.Getenv(oLMCatalogSourceNamespaceEnvVar)
OLMCatalogSourceNamespace value of OLMCatalogSourceNamespaceEnvVar
var OLMClusterWideOperatorsNamespace string = os.Getenv(oLMClusterWideOperatorsNamespaceEnvVar)
OLMClusterWideOperatorsNamespace value of OLMClusterWideOperatorsNamespaceEnvVar
var OLMUpgradeChannel string = os.Getenv(oLMUpgradeChannelEnvVar)
var OLMUpgradeNewCSV string = os.Getenv(oLMUpgradeNewCSVEnvVar)
var OLMUpgradeOldCSV string = os.Getenv(oLMUpgradeOldCSVEnvVar)
var OLMUpgradeOldCatalog string = os.Getenv(oLMUpgradeOldCatalogEnvVar)
var OLMUpgradeOldCatalogNamespace string = os.Getenv(oLMUpgradeOldCatalogNamespaceEnvVar)
var OLMUseDefaultCatalogSource string = os.Getenv(oLMUseDefaultCatalogSourceEnvVar)
OLMUseDefaultCatalogSource value of oLMUseDefaultCatalogSourceEnvVar
var OperatorBundlePath string = os.Getenv(operatorBundlePathEnvVar)
OperatorBundlePath value of OperatorBundlePathEnvVar
var OperatorDeploymentName string = "apicurio-registry-operator"
var OperatorDeploymentNameOlm string = OperatorDeploymentName + "-v" + os.Getenv(OperatorVersionEnvVar)
var StrimziOperatorBundlePath string = os.Getenv(strimziOperatorBundlePathEnvVar)
StrimziOperatorBundlePath value of StrimziOperatorBundlePathEnvVar
var SuiteProjectDir string = os.Getenv(suiteProjectDirEnvVar)
SuiteProjectDir value of SuiteProjectDirEnvVar
Functions ¶
func DownloadFile ¶
func ExecuteCmd ¶
ExecuteCmd executes a command
func ExecuteCmdOrDie ¶
ExecuteCmdOrDie executes a command
func ExecuteCmdOrDieCore ¶
func ReaderToBytes ¶
func ReaderToString ¶
Types ¶
type Replacement ¶
Replacement represents a text replacement