framework

package
Version: v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 14 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
	CRClient versioned.Interface
}

func New

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

func (*Framework) CreateOperator

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

func (*Framework) DeleteOperator

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

func (*Framework) UpgradeOperator

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

Source Files

Jump to

Keyboard shortcuts

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