docs
This commit is contained in:
parent
1b669ff2ab
commit
90610dcf04
|
@ -10,6 +10,10 @@ import (
|
||||||
"github.com/zclconf/go-cty/cty"
|
"github.com/zclconf/go-cty/cty"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// HCL2PostProcessor has a reference to the part of the HCL2 body where it is
|
||||||
|
// defined, allowing to completely reconfigure the PostProcessor right before
|
||||||
|
// calling PostProcess: with contextual variables.
|
||||||
|
// This permits using "${build.ID}" values for example.
|
||||||
type HCL2PostProcessor struct {
|
type HCL2PostProcessor struct {
|
||||||
PostProcessor packer.PostProcessor
|
PostProcessor packer.PostProcessor
|
||||||
postProcessorBlock *PostProcessorBlock
|
postProcessorBlock *PostProcessorBlock
|
||||||
|
|
|
@ -10,6 +10,10 @@ import (
|
||||||
"github.com/zclconf/go-cty/cty"
|
"github.com/zclconf/go-cty/cty"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// HCL2Provisioner has a reference to the part of the HCL2 body where it is
|
||||||
|
// defined, allowing to completely reconfigure the Provisioner right before
|
||||||
|
// calling Provision: with contextual variables.
|
||||||
|
// This permits using "${build.ID}" values for example.
|
||||||
type HCL2Provisioner struct {
|
type HCL2Provisioner struct {
|
||||||
Provisioner packer.Provisioner
|
Provisioner packer.Provisioner
|
||||||
provisionerBlock *ProvisionerBlock
|
provisionerBlock *ProvisionerBlock
|
||||||
|
|
Loading…
Reference in New Issue