framework

package
v0.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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