Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFlasher ¶
func NewFlasher() packer.PostProcessor
Types ¶
type FlashConfig ¶
type FlashConfig struct { Device string `mapstructure:"device"` NotInteractive bool `mapstructure:"not_interactive"` Verify bool `mapstructure:"verify"` }
func (*FlashConfig) FlatMapstructure ¶
func (*FlashConfig) FlatMapstructure() interface{ HCL2Spec() map[string]hcldec.Spec }
FlatMapstructure returns a new FlatFlashConfig. FlatFlashConfig is an auto-generated flat version of FlashConfig. Where the contents a fields with a `mapstructure:,squash` tag are bubbled up.
type Flasher ¶
type Flasher struct {
// contains filtered or unexported fields
}
func (*Flasher) ConfigSpec ¶
func (f *Flasher) ConfigSpec() hcldec.ObjectSpec
type FlatFlashConfig ¶
type FlatFlashConfig struct { Device *string `mapstructure:"device" cty:"device" hcl:"device"` NotInteractive *bool `mapstructure:"not_interactive" cty:"not_interactive" hcl:"not_interactive"` Verify *bool `mapstructure:"verify" cty:"verify" hcl:"verify"` }
FlatFlashConfig is an auto-generated flat version of FlashConfig. Where the contents of a field with a `mapstructure:,squash` tag are bubbled up.
Click to show internal directories.
Click to hide internal directories.