Documentation
¶
Index ¶
- Variables
- func GetMetricLabels(_ string) map[string]string
- func HTTPGet(url string, httpClient *retryablehttp.Client, ...) (int, error)
- func InitScenario(t *framework.TestFramework, log vzlog.VerrazzanoLogger, scenarioID string, ...)
- func StopScenario(t *framework.TestFramework, log vzlog.VerrazzanoLogger, scenarioID string, ...)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NamespaceLabels = map[string]string{
"istio-injection": "enabled",
"verrazzano-managed": "true",
}
)
Functions ¶
func GetMetricLabels ¶
func HTTPGet ¶
func HTTPGet(url string, httpClient *retryablehttp.Client, credentials *pkg.UsernamePassword) (int, error)
HTTPGet issues an HTTP GET request with basic auth to the specified URL. httpGet returns the HTTP status code and an error.
func InitScenario ¶
func InitScenario(t *framework.TestFramework, log vzlog.VerrazzanoLogger, scenarioID string, namespace string, kubeconfig string, skipStartScenario bool)
InitScenario Starts a PSR scenario in the specified namespace; if skipStartScenario is true, the scenario start is skipped - Creates and labels and the namespace if necessary - If the env var IMAGE_PULL_SECRET is defined, we attempt to create the image pull secret in the target namespace
func StopScenario ¶
func StopScenario(t *framework.TestFramework, log vzlog.VerrazzanoLogger, scenarioID string, namespace string, skipStopScenario bool)
StopScenario - Stops a scenario if it is running in the specified namespace; if skipStopScenario is true, we don't shut it down
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.