MCPcopy
hub / github.com/hashicorp/packer / Handler

Interface Handler

packer/run_interfaces.go:61–71  ·  view source on GitHub ↗

The Handler handles all Packer things. This interface reflects the Packer commands, ex: init, console ( evaluate ), fix config, inspect config, etc. To run a build we will start the builds and then the core of Packer handles execution.

Source from the content-addressed store, hash-verified

59// run a build we will start the builds and then the core of Packer handles
60// execution.
61type Handler interface {
62 Initialize(InitializeOptions) hcl.Diagnostics
63 // PluginRequirements returns the list of plugin Requirements from the
64 // config file.
65 PluginRequirements() (plugingetter.Requirements, hcl.Diagnostics)
66 Evaluator
67 BuildGetter
68 ConfigFixer
69 ConfigInspector
70 PluginBinaryDetector
71}
72
73//go:generate enumer -type FixConfigMode
74type FixConfigMode int

Callers 10

RunContextMethod · 0.65
RunContextMethod · 0.65
RunContextMethod · 0.65
RunContextMethod · 0.65
RunContextMethod · 0.65
createConfiguredBucketFunction · 0.65
PopulateVersionMethod · 0.65
createInitialTestBucketFunction · 0.65
RunContextMethod · 0.65
RunContextMethod · 0.65

Implementers 2

PackerConfighcl2template/types.packer_config.go
Corepacker/core.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…