functests

package
Version: v0.0.1-master Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

StorageClassRBD is the name of the ceph rbd storage class the test suite installs

View Source
const TestNamespace = "ocs-functest"

TestNamespace is the namespace we run all the tests in.

TestStorageCluster is the name of the storage cluster the test suite installs

Variables

DeployManager is the suite global DeployManager

View Source
var OcsRegistryImage string

OcsRegistryImage is the ocs-registry container image to use in the deployment

View Source
var OcsSubscriptionChannel string

OcsSubscriptionChannel is the name of the ocs subscription channel

View Source
var SuiteFailed = false

SuiteFailed indicates whether any test in the current suite has failed

View Source
var UpgradeFromOcsRegistryImage string

UpgradeFromOcsRegistryImage is the ocs-registry container image to upgrade from in the deployment

View Source
var UpgradeFromOcsSubscriptionChannel string

UpgradeFromOcsSubscriptionChannel is the name of the ocs subscription channel to upgrade from

Functions

func AfterTestSuiteCleanup

func AfterTestSuiteCleanup()

AfterTestSuiteCleanup is the function called to tear down the test environment

func AfterUpgradeTestSuiteCleanup

func AfterUpgradeTestSuiteCleanup()

AfterUpgradeTestSuiteCleanup is the function called to tear down the test environment after upgrade failure

func BeforeTestSuiteSetup

func BeforeTestSuiteSetup()

BeforeTestSuiteSetup is the function called to initialize the test environment

func BeforeUpgradeTestSuiteSetup

func BeforeUpgradeTestSuiteSetup()

BeforeUpgradeTestSuiteSetup is the function called to initialize the test environment to the upgrade_from version

func GetDataValidatorJob

func GetDataValidatorJob(pvc string) *k8sbatchv1.Job

GetDataValidatorJob returns the spec of a job

func GetRandomPVC

func GetRandomPVC(storageClass string, quantity string) *k8sv1.PersistentVolumeClaim

GetRandomPVC returns a pvc with a randomized name

func RunMustGather

func RunMustGather() error

RunMustGather runs the OCS must-gather container image

Types

This section is empty.

Jump to

Keyboard shortcuts

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