clusterbroker

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientGetter

type ClientGetter interface {
	ServiceCatalogClient() sc.Interface
}

ClientGetter is an interface to represent structs return kubernetes clientset

type TestBroker

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

TestBroker represents upgrade test for ClusterServiceBroker

func NewTestBroker

func NewTestBroker(cli ClientGetter) *TestBroker

NewTestBroker is constructor for TestBroker

func (*TestBroker) CreateResources

func (tb *TestBroker) CreateResources(stop <-chan struct{}, namespace string) error

CreateResources prepares resources for upgrade test for ClusterServiceBroker

func (*TestBroker) TestResources

func (tb *TestBroker) TestResources(stop <-chan struct{}, namespace string) error

TestResources executes test for ClusterServiceBroker and clean resource after finish

Jump to

Keyboard shortcuts

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