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

type ViewOptions

var viewLong

var viewExample

// NewCmdConfigView returns a Command instance for 'config view' sub command
func NewCmdConfigView(streams genericiooptions.IOStreams, ConfigAccess clientcmd.ConfigAccess) *cobra.Command {}

// Complete completes the required command-line options
func (o *ViewOptions) Complete(cmd *cobra.Command, args []string) error {}

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

// Run performs the execution of 'config view' sub command
func (o ViewOptions) Run() error {}

func (o ViewOptions) loadConfig() (*clientcmdapi.Config, error) {}

// getStartingConfig returns the Config object built from the sources specified by the options, the filename read (only if it was a single file), and an error if something goes wrong
func (o *ViewOptions) getStartingConfig() (*clientcmdapi.Config, error) {}