framework

package
v0.0.0-...-04b7f26 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 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

Jump to

Keyboard shortcuts

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