upinfo

package
v1.5.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UPDATED  = "updated"
	UPDATING = "updating"
	WAITING  = "waiting"
)

Variables

This section is empty.

Functions

func NewCmdUpInfo

func NewCmdUpInfo(tkcContext *config.TkcContext, streams genericclioptions.IOStreams) *cobra.Command

NewCmdUpInfo creates the upinfo command which show the tidb cluster upgrade detail information

Types

type UpInfoOptions

type UpInfoOptions struct {
	TidbClusterName string
	Namespace       string

	TcCli   *versioned.Clientset
	KubeCli *kubernetes.Clientset

	genericclioptions.IOStreams
}

UpInfoOptions contains the input to the list command.

func NewUpInfoOptions

func NewUpInfoOptions(streams genericclioptions.IOStreams) *UpInfoOptions

NewUpInfoOptions returns a UpInfoOptions

func (*UpInfoOptions) Complete

func (o *UpInfoOptions) Complete(tkcContext *config.TkcContext, cmd *cobra.Command, args []string) error

func (*UpInfoOptions) Run

func (o *UpInfoOptions) Run() error

Jump to

Keyboard shortcuts

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