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.
| 59 | // run a build we will start the builds and then the core of Packer handles |
| 60 | // execution. |
| 61 | type 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 |
| 74 | type FixConfigMode int |
no outgoing calls
no test coverage detected
searching dependent graphs…