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
Click to show internal directories.
Click to hide internal directories.