Documentation ¶
Index ¶
- func NewCmdCfgList(streams genericclioptions.IOStreams, configAccess clientcmd.ConfigAccess) *cobra.Command
- func NewCmdCfgListAuthInfo(streams genericclioptions.IOStreams, configAccess clientcmd.ConfigAccess) *cobra.Command
- func NewCmdCfgListCluster(streams genericclioptions.IOStreams, configAccess clientcmd.ConfigAccess) *cobra.Command
- func NewCmdCfgListContext(streams genericclioptions.IOStreams, configAccess clientcmd.ConfigAccess) *cobra.Command
- type ListAuthInfoOptions
- type ListClusterOptions
- type ListContextOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCfgList ¶
func NewCmdCfgList(streams genericclioptions.IOStreams, configAccess clientcmd.ConfigAccess) *cobra.Command
func NewCmdCfgListAuthInfo ¶
func NewCmdCfgListAuthInfo(streams genericclioptions.IOStreams, configAccess clientcmd.ConfigAccess) *cobra.Command
func NewCmdCfgListCluster ¶
func NewCmdCfgListCluster(streams genericclioptions.IOStreams, configAccess clientcmd.ConfigAccess) *cobra.Command
func NewCmdCfgListContext ¶
func NewCmdCfgListContext(streams genericclioptions.IOStreams, configAccess clientcmd.ConfigAccess) *cobra.Command
NewCmdConfigListContexts creates a command object for the "get-contexts" action, which retrieves one or more contexts from a kubeconfig.
Types ¶
type ListAuthInfoOptions ¶
type ListAuthInfoOptions struct { genericclioptions.IOStreams // contains filtered or unexported fields }
ListAuthInfoOptions contains the assignable options from the args.
func (*ListAuthInfoOptions) Complete ¶
func (o *ListAuthInfoOptions) Complete(cmd *cobra.Command, args []string) error
Complete assigns ListClustersOptions from the args.
func (*ListAuthInfoOptions) RunList ¶
func (o *ListAuthInfoOptions) RunList() error
RunList implements all the necessary functionality for cluster retrieval.
type ListClusterOptions ¶
type ListClusterOptions struct { genericclioptions.IOStreams // contains filtered or unexported fields }
ListClusterOptions contains the assignable options from the args.
func (*ListClusterOptions) Complete ¶
func (o *ListClusterOptions) Complete(cmd *cobra.Command, args []string) error
Complete assigns ListClustersOptions from the args.
func (*ListClusterOptions) RunList ¶
func (o *ListClusterOptions) RunList() error
RunList implements all the necessary functionality for cluster retrieval.
type ListContextOptions ¶
type ListContextOptions struct { genericclioptions.IOStreams // contains filtered or unexported fields }
ListContextsOptions contains the assignable options from the args.
func (*ListContextOptions) Complete ¶
func (o *ListContextOptions) Complete(cmd *cobra.Command, args []string) error
Complete assigns ListContextsOptions from the args.
func (*ListContextOptions) RunList ¶
func (o *ListContextOptions) RunList() error
RunListContexts implements all the necessary functionality for context retrieval.