activeconfigmap

package
v3.4.1-alpha+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromFile

func FromFile(fname string) (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"`
	File       string   `desc:"file with configmap data, .json, .yaml, .yml, 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