Versions in this module Expand all Collapse all v0 v0.20.0 Jun 24, 2015 Changes in this version + func ModifyConfig(configAccess ConfigAccess, newConfig clientcmdapi.Config) error + func NewCmdConfig(pathOptions *PathOptions, out io.Writer) *cobra.Command + func NewCmdConfigSet(out io.Writer, configAccess ConfigAccess) *cobra.Command + func NewCmdConfigSetAuthInfo(out io.Writer, configAccess ConfigAccess) *cobra.Command + func NewCmdConfigSetCluster(out io.Writer, configAccess ConfigAccess) *cobra.Command + func NewCmdConfigSetContext(out io.Writer, configAccess ConfigAccess) *cobra.Command + func NewCmdConfigUnset(out io.Writer, configAccess ConfigAccess) *cobra.Command + func NewCmdConfigUseContext(out io.Writer, configAccess ConfigAccess) *cobra.Command + func NewCmdConfigView(out io.Writer, ConfigAccess ConfigAccess) *cobra.Command + type ConfigAccess interface + GetDefaultFilename func() string + GetExplicitFile func() string + GetLoadingPrecedence func() []string + GetStartingConfig func() (*clientcmdapi.Config, error) + IsExplicitFile func() bool + type PathOptions struct + EnvVar string + ExplicitFileFlag string + GlobalFile string + GlobalFileSubpath string + LoadingRules *clientcmd.ClientConfigLoadingRules + func NewDefaultPathOptions() *PathOptions + func (o *PathOptions) GetDefaultFilename() string + func (o *PathOptions) GetEnvVarFiles() []string + func (o *PathOptions) GetExplicitFile() string + func (o *PathOptions) GetLoadingPrecedence() []string + func (o *PathOptions) GetStartingConfig() (*clientcmdapi.Config, error) + func (o *PathOptions) IsExplicitFile() bool + type ViewOptions struct + ConfigAccess ConfigAccess + Flatten bool + Merge util.BoolFlag + Minify bool + RawByteData bool + func (o *ViewOptions) Complete() bool + func (o ViewOptions) Run(out io.Writer, printer kubectl.ResourcePrinter) error + func (o ViewOptions) Validate() error