info

package
v1.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdInfo

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

NewCmdInfo creates the info command which info the tidb component detail

Types

type InfoOptions

type InfoOptions struct {
	TidbClusterName string
	Namespace       string

	TcCli   *versioned.Clientset
	KubeCli *kubernetes.Clientset

	genericclioptions.IOStreams
}

InfoOptions contains the input to the list command.

func NewInfoOptions

func NewInfoOptions(streams genericclioptions.IOStreams) *InfoOptions

NewInfoOptions returns a InfoOptions

func (*InfoOptions) Complete

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

func (*InfoOptions) Run

func (o *InfoOptions) Run() error

Jump to

Keyboard shortcuts

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