framework

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2017 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitUntilOperatorReady added in v0.3.3

func WaitUntilOperatorReady(kubecli kubernetes.Interface, namespace string, timeout time.Duration) error

WaitUntilOperatorReady will wait until the first pod selected for the label name=etcd-operator is ready.

Types

type Config

type Config struct {
	// program flags
	KubeConfig string
	KubeNS     string
	OldImage   string
	NewImage   string
}

type Framework

type Framework struct {
	Config
	// global var
	KubeCli  kubernetes.Interface
	S3Cli    *s3.S3
	S3Bucket string
}

func New

func New(fc Config) (*Framework, error)

func (*Framework) CreateOperator

func (f *Framework) CreateOperator() error

func (*Framework) DeleteOperator

func (f *Framework) DeleteOperator() error

func (*Framework) UpgradeOperator

func (f *Framework) UpgradeOperator() error

Jump to

Keyboard shortcuts

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