Versions in this module Expand all Collapse all v1 v1.6.6 Dec 16, 2020 Changes in this version + func Consul(k string) (string, error) + func DeprecatedTemplateFunc(funcName, useInstead string, deprecated func(string) string) func(string) string + func GetAWSSecret(name, key string) (string, error) + func Vault(path string, key string) (string, error) + type Builder struct + Config map[string]interface{} + Name string + Type string + func (b *Builder) GoString() string + func (b *Builder) MarshalJSON() ([]byte, error) + type FlatProvisioner struct + Config map[string]interface{} + Except []string + MaxRetries *string + Only []string + Override map[string]interface{} + PauseBefore *string + Timeout *string + Type *string + func (*FlatProvisioner) HCL2Spec() map[string]hcldec.Spec + type OnlyExcept struct + Except []string + Only []string + func (o *OnlyExcept) Skip(n string) bool + func (o *OnlyExcept) Validate(t *Template) error + type PostProcessor struct + Config map[string]interface{} + KeepInputArtifact *bool + Name string + Type string + func (p *PostProcessor) GoString() string + func (p *PostProcessor) MarshalJSON() ([]byte, error) + type Provisioner struct + Config map[string]interface{} + MaxRetries string + Override map[string]interface{} + PauseBefore time.Duration + Timeout time.Duration + Type string + func (*Provisioner) FlatMapstructure() interface{ ... } + func (p *Provisioner) GoString() string + func (p *Provisioner) MarshalJSON() ([]byte, error) + type Push struct + Address string + BaseDir string + Exclude []string + Include []string + Name string + Token string + VCS bool + type Template struct + Builders map[string]*Builder + CleanupProvisioner *Provisioner + Comments map[string]string + Description string + MinVersion string + Path string + PostProcessors [][]*PostProcessor + Provisioners []*Provisioner + RawContents []byte + SensitiveVariables []*Variable + Variables map[string]*Variable + func Parse(r io.Reader) (*Template, error) + func ParseFile(path string) (*Template, error) + func (t *Template) Raw() (*rawTemplate, error) + func (t *Template) Validate() error + type Variable struct + Default string + Key string + Required bool + func (v *Variable) GoString() string + func (v *Variable) MarshalJSON() ([]byte, error)