kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/config/rename_context.go

type RenameContextOptions

const renameContextUse

var renameContextShort

var renameContextLong

var renameContextExample

// NewCmdConfigRenameContext creates a command object for the "rename-context" action
func NewCmdConfigRenameContext(out io.Writer, configAccess clientcmd.ConfigAccess) *cobra.Command {}

// Complete assigns RenameContextOptions from the args.
func (o *RenameContextOptions) Complete(cmd *cobra.Command, args []string, out io.Writer) error {}

// Validate makes sure that provided values for command-line options are valid
func (o RenameContextOptions) Validate() error {}

// RunRenameContext performs the execution for 'config rename-context' sub command
func (o RenameContextOptions) RunRenameContext(out io.Writer) error {}