tests

package
v0.0.0-...-b1767e8 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type E2EServiceCatalogHappyPathTest

type E2EServiceCatalogHappyPathTest struct {
	// contains filtered or unexported fields
}

E2EServiceCatalogHappyPathTest tests the Service Catalog basic functionality: - Creating ServiceInstance - Create ServiceBininding - and injecting those bindings to sample application

Prerequisite: - Helm-Broker is registered in Service Catalog - and ClusterServiceClass `redis` is available with plan `micro` - when TestOnlyServiceCatalog is set to false then BindingUsageController need to be installed

func NewE2EServiceCatalogHappyPathTest

func NewE2EServiceCatalogHappyPathTest(cfg E2EServiceCatalogHappyPathTestConfig, k8sClientCfg *restclient.Config) *E2EServiceCatalogHappyPathTest

NewE2EServiceCatalogHappyPathTest returns new instance of E2EServiceCatalogHappyPathTest

func (*E2EServiceCatalogHappyPathTest) Execute

func (t *E2EServiceCatalogHappyPathTest) Execute(stop <-chan struct{}) (retErr error)

Execute executes basic Service Catalog test

func (*E2EServiceCatalogHappyPathTest) Name

Name returns the name of the stress test

type E2EServiceCatalogHappyPathTestConfig

type E2EServiceCatalogHappyPathTestConfig struct {
	TestOnlyServiceCatalog bool          `envconfig:"default=false"`
	TestThrottle           time.Duration `envconfig:"default=60s"`
}

E2EServiceCatalogHappyPathTestConfig holds possible configuration for test

Jump to

Keyboard shortcuts

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