list

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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