use

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdUse

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

NewCmdUse creates the use command.

Types

type UseOptions

type UseOptions struct {
	KubeContext     string
	Namespace       string
	TidbClusterName string

	TcCli *versioned.Clientset

	genericclioptions.IOStreams
}

func (*UseOptions) Complete

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

func (*UseOptions) Run

func (o *UseOptions) Run(tkcContext *config.TkcContext, args []string) error

Jump to

Keyboard shortcuts

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