Documentation ¶
Index ¶
- type FlatProvisioner
- type Provisioner
- func (p *Provisioner) ConfigSpec() hcldec.ObjectSpec
- func (p *Provisioner) FlatConfig() interface{}
- func (*Provisioner) FlatMapstructure() interface{ ... }
- func (p *Provisioner) Prepare(raws ...interface{}) error
- func (p *Provisioner) Provision(ctx context.Context, _ packersdk.Ui, _ packersdk.Communicator, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlatProvisioner ¶ added in v1.4.5
type FlatProvisioner struct {
Duration *string `cty:"duration" hcl:"duration"`
}
FlatProvisioner is an auto-generated flat version of Provisioner. Where the contents of a field with a `mapstructure:,squash` tag are bubbled up.
type Provisioner ¶
func (*Provisioner) ConfigSpec ¶ added in v1.5.0
func (p *Provisioner) ConfigSpec() hcldec.ObjectSpec
func (*Provisioner) FlatConfig ¶ added in v1.5.0
func (p *Provisioner) FlatConfig() interface{}
func (*Provisioner) FlatMapstructure ¶ added in v1.4.5
func (*Provisioner) FlatMapstructure() interface{ HCL2Spec() map[string]hcldec.Spec }
FlatMapstructure returns a new FlatProvisioner. FlatProvisioner is an auto-generated flat version of Provisioner. Where the contents a fields with a `mapstructure:,squash` tag are bubbled up.
func (*Provisioner) Prepare ¶
func (p *Provisioner) Prepare(raws ...interface{}) error
Click to show internal directories.
Click to hide internal directories.