Documentation ¶
Index ¶
- Constants
- Variables
- func LoadBytesFromUrl(path string) ([]byte, error)
- func LoadTemplate(tmpl string, values Values, runner cmd.Runner) (string, error)
- func NewFileStore() *fileStore
- type FileStore
- type Flags
- type Values
- func (v Values) ContainsKey(key string) bool
- func (v Values) DeepCopy() Values
- func (v Values) GetValue(key string, runner cmd_runner.Runner) (string, error)
- func (v Values) Load(tmpl string, runner cmd_runner.Runner) (string, error)
- func (v Values) MergeValues(otherValues Values) Values
- func (v Values) Render(runner cmd_runner.Runner) (map[string]interface{}, error)
- func (v Values) RenderFields(input interface{}, runner cmd_runner.Runner) error
- func (v Values) RenderStringValues(runner cmd_runner.Runner) (map[string]string, error)
- func (v Values) RenderValues(runner cmd_runner.Runner) (map[string]interface{}, error)
- func (v Values) ToString() string
Constants ¶
View Source
const ( VersionKey = "Version" NamespaceKey = "Namespace" DomainKey = "Domain" HostedZoneKey = "HostedZone" PathKey = "Path" NameKey = "Name" EnvPrefix = "env:" TemplatePrefix = "template:" KeyPrefix = "key:" CmdPrefix = "cmd:" FilePrefix = "file:" ValetField = "valet" TemplateTag = "template" DefaultTag = "default" KeyTag = "key" )
Variables ¶
Functions ¶
func LoadBytesFromUrl ¶
func LoadTemplate ¶
func NewFileStore ¶
func NewFileStore() *fileStore
Types ¶
type Values ¶
func (Values) ContainsKey ¶
func (Values) MergeValues ¶
Returns a copy of v with all of the values from otherValues overriding the original in v
func (Values) Render ¶
func (v Values) Render(runner cmd_runner.Runner) (map[string]interface{}, error)
func (Values) RenderFields ¶
func (v Values) RenderFields(input interface{}, runner cmd_runner.Runner) error
func (Values) RenderStringValues ¶
func (Values) RenderValues ¶
func (v Values) RenderValues(runner cmd_runner.Runner) (map[string]interface{}, error)
Click to show internal directories.
Click to hide internal directories.