config

package
v0.0.4-rc6 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Size

func Base64Size(data interface{}) (string, error)

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, id string, content []byte, labels map[string]string) error

Types

type Cat

type Cat struct {
}

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"`
}

func (*Create) Run

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

type Data

type Data struct {
	ID     string
	Stack  *client.Stack
	Config *client.Config
}

type Ls

type Ls struct {
	L_Label map[string]string `desc:"Set meta data on a container"`
}

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"`
}

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