Versions in this module Expand all Collapse all v0 v0.10.0 Jun 6, 2018 Changes in this version + func DecodeHCLFromTemplate(templateReader io.Reader, variables interface{}) (map[string]interface{}, error) + func GetVersionPathOrSlotPathForApp(appPath, slotSuffix, versionSuffix string) (string, error) + func InferSlotIdFromVersionId(slotId, version string) string + func IsIgnored(filePath string, staticFilePaths []string) bool + func ProcessTemplates(path, fileSuffix string, vars interface{}) ([]string, error) + func ProcessTemplatesAndDelete(path, fileSuffix string, vars interface{}) ([]string, error) + type BoolFlag struct + Validator Validator + func (f BoolFlag) Validate(c *Context) error + type Context struct + CliContext *cli.Context + func NewContext(cliContext *cli.Context) *Context + func (c *Context) Bool(name string) bool + func (c *Context) BoolT(name string) bool + func (c *Context) Duration(name string) time.Duration + func (c *Context) Float64(name string) float64 + func (c *Context) Generic(name string) interface{} + func (c *Context) GlobalBool(name string) bool + func (c *Context) GlobalDuration(name string) time.Duration + func (c *Context) GlobalGeneric(name string) interface{} + func (c *Context) GlobalInt(name string) int + func (c *Context) GlobalIntSlice(name string) []int + func (c *Context) GlobalString(name string) string + func (c *Context) GlobalStringSlice(name string) []string + func (c *Context) Int(name string) int + func (c *Context) IntSlice(name string) []int + func (c *Context) String(name string) string + func (c *Context) StringSlice(name string) []string + type Float64Flag struct + Validator Validator + func (f Float64Flag) Validate(c *Context) error + type StringFlag struct + Validator Validator + func (f StringFlag) Validate(c *Context) error + type ValidatedFlag interface + Validate func(c *Context) error + type Validator func(name string, c interface{}) error