Documentation ¶
Index ¶
- 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
- type 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
- type StringFlag
- type ValidatedFlag
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeHCLFromTemplate ¶
func ProcessTemplates ¶
Types ¶
type BoolFlag ¶
type BoolFlag struct { cli.StringFlag Validator Validator }
type Context ¶
func NewContext ¶
func (*Context) GlobalBool ¶
func (*Context) GlobalGeneric ¶
func (*Context) GlobalIntSlice ¶
func (*Context) GlobalString ¶
func (*Context) GlobalStringSlice ¶
func (*Context) StringSlice ¶
type Float64Flag ¶
type Float64Flag struct { cli.Float64Flag Validator Validator }
func (Float64Flag) Validate ¶
func (f Float64Flag) Validate(c *Context) error
type StringFlag ¶
type StringFlag struct { cli.StringFlag Validator Validator }
func (StringFlag) Validate ¶
func (f StringFlag) Validate(c *Context) error
Click to show internal directories.
Click to hide internal directories.