testUtil

package
v1.0.0-ea.2.0...-4cc6f35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package testUtil contains utility functions for all the tests in this repo

Package testUtil contains utility functions for all the tests in this repo

Package testUtil contains utility functions for all the tests in this repo

Package testUtil contains utility functions for all the tests in this repo

Package testUtil contains utility functions for all the tests in this repo

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HelmInstall

func HelmInstall(t *testing.T, helmOptions *helm.Options, releaseName string, kubectlOpt *k8s.KubectlOptions, helmChartPath ...string) string

HelmInstall : testUtil function to install helm chart for e2e tests

func HelmUpgrade

func HelmUpgrade(t *testing.T, helmUpgradeOptions *helm.Options, releaseName string, kubectlOpt *k8s.KubectlOptions, podList []string, oldChartVersion string)

HelmUpgrade : testUtil function to upgrade helm chart for e2e tests

func MLReadyCheck

func MLReadyCheck(t *testing.T, kubectlOpt *k8s.KubectlOptions, podName string, tlsConfig *tls.Config) (bool, error)

MLReadyCheck : testUtil function to check if MarkLogic is ready for e2e tests

func RestartPodAndVerify

func RestartPodAndVerify(t *testing.T, delAtOnce bool, podList []string, namespaceName string, kubectlOpt *k8s.KubectlOptions, tlsConfig *tls.Config)

RestartPodAndVerify : testUtil function to restart pods and verify its ready and healthy for e2e tests

func WaitUntilPodRunning

func WaitUntilPodRunning(t *testing.T, kubectlOpt *k8s.KubectlOptions, podName string, retries int, interval time.Duration) (string, error)

WaitUntilPodRunning : testUtil function to check if pod is running

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL