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