activeconfigmap

package
v3.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: MIT Imports: 19 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ErrInvalidConfigMap chkitErrors.Err = "invalid config map"
)

Variables

This section is empty.

Functions

func KeyRegexp

func KeyRegexp() *regexp.Regexp

func ValidateConfigMap

func ValidateConfigMap(config configmap.ConfigMap) error

Types

type Config

type Config struct {
	EditName  bool
	ConfigMap *configmap.ConfigMap
}

func (Config) Wizard

func (c Config) Wizard() configmap.ConfigMap

type Flags

type Flags struct {
	Force      bool     `flag:"force f" desc:"suppress confirmation, optional"`
	Name       string   `desc:"configmap name, optional"`
	ItemFile   []string `flag:"item-file" desc:"configmap file, KEY:FILE_PATH or FILE_PATH"`
	ItemString []string `flag:"item-string" desc:"configmap item, KEY:VALUE string pair"`
}

func (Flags) ConfigMap

func (flags Flags) ConfigMap() (configmap.ConfigMap, error)

Jump to

Keyboard shortcuts

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