config

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixConfig added in v1.1.0

func FixConfig(config *client.Config) error

func NewConfigCommand

func NewConfigCommand(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

func NewFixCommand added in v1.1.0

func NewFixCommand(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

func NewSetCommand

func NewSetCommand(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

func NewViewCommand

func NewViewCommand(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

Types

type ConfigOptions

type ConfigOptions struct {
	ConfigFile string
	Config     *client.Config

	Source map[string]string

	Run func() error
	cmdutil.IOStreams
}

func NewConfigOptions

func NewConfigOptions(ioStreams cmdutil.IOStreams) *ConfigOptions

func (*ConfigOptions) Complete

func (o *ConfigOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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