config

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(app *cli.App) cli.Command

func NewCatCommand

func NewCatCommand(sub string, app *cli.App) cli.Command

func RunUpdate

func RunUpdate(ctx *clicontext.CLIContext, name, namespace, key string, content []byte, labels map[string]string) error

Types

type Cat

type Cat struct {
	K_Key []string `desc:"specify which keys to cat"`
}

func (*Cat) Run

func (c *Cat) Run(ctx *clicontext.CLIContext) error

type Create

type Create struct {
	L_Label map[string]string `desc:"Set meta data on a config"`
	K_Key   string            `desc:"Set key on config data" default:"content"`
}

func (*Create) Run

func (c *Create) Run(ctx *clicontext.CLIContext) error

type Ls

type Ls struct {
}

func (*Ls) Customize

func (l *Ls) Customize(cmd *cli.Command)

func (*Ls) Run

func (l *Ls) Run(ctx *clicontext.CLIContext) error

type Rm

type Rm struct {
}

func (*Rm) Run

func (r *Rm) Run(ctx *clicontext.CLIContext) error

type Update

type Update struct {
	L_Label map[string]string `desc:"Set meta data on a config"`
	K_Key   string            `desc:"Set key on config data" default:"content"`
}

func (*Update) Run

func (c *Update) Run(ctx *clicontext.CLIContext) error

Jump to

Keyboard shortcuts

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