framework

package
v0.0.0-...-9f310f1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup() error

Setup initializes the Global framework by initializing necessary clients and sets up the etcd-operator

func TearDown

func TearDown() error

TearDown removes the etcd-operator pod

Types

type Framework

type Framework struct {
	KubeClient     kubernetes.Interface
	Config         *restclient.Config
	VaultsCRClient versioned.Interface
	Namespace      string
	// contains filtered or unexported fields
}

Framework struct contains the various clients and other information needed to run the upgrade tests

var (
	// The global framework variable used by all upgrade tests
	Global *Framework
)

func (*Framework) CreateOperatorDeployment

func (f *Framework) CreateOperatorDeployment(name string) error

CreateOperatorDeployment creates a vault operator deployment with the specified name

func (*Framework) DeleteOperatorDeployment

func (f *Framework) DeleteOperatorDeployment(name string) error

DeleteOperatorDeployment deletes the vault operator deployment with the specified name, waits for all its pods to be removed and deletes the Endpoint resource used for the leader election lock

func (*Framework) UpgradeOperator

func (f *Framework) UpgradeOperator(name string) error

Jump to

Keyboard shortcuts

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