framework

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2017 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup() error

Setup setups a test framework and points "Global" to it.

func Teardown

func Teardown() error

Types

type Framework

type Framework struct {
	KubeClient kubernetes.Interface
	CRClient   versioned.Interface
	Namespace  string
	// contains filtered or unexported fields
}
var Global *Framework

func (*Framework) DeleteEtcdOperatorCompletely added in v0.2.2

func (f *Framework) DeleteEtcdOperatorCompletely() error

func (*Framework) SetupEtcdBackupOperator added in v0.7.0

func (f *Framework) SetupEtcdBackupOperator() error

SetupEtcdBackupOperator creates a etcd backup operator pod with name as "etcd-backup-operator".

func (*Framework) SetupEtcdOperator added in v0.2.0

func (f *Framework) SetupEtcdOperator() error

func (*Framework) SetupEtcdRestoreOperatorAndService added in v0.7.0

func (f *Framework) SetupEtcdRestoreOperatorAndService() error

SetupEtcdRestoreOperatorAndService creates an etcd restore operator pod and the restore operator service.

Jump to

Keyboard shortcuts

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