Core is the main executor of Packer. If Packer is being used as a library, this is the struct you'll want to instantiate to get anything done.
| 33 | // Core is the main executor of Packer. If Packer is being used as a |
| 34 | // library, this is the struct you'll want to instantiate to get anything done. |
| 35 | type Core struct { |
| 36 | Template *template.Template |
| 37 | |
| 38 | components ComponentFinder |
| 39 | variables map[string]string |
| 40 | builds map[string]*template.Builder |
| 41 | version string |
| 42 | secrets []string |
| 43 | |
| 44 | except []string |
| 45 | only []string |
| 46 | } |
| 47 | |
| 48 | // CoreConfig is the structure for initializing a new Core. Once a CoreConfig |
| 49 | // is used to initialize a Core, it shouldn't be re-used or modified again. |
nothing calls this directly
no outgoing calls
no test coverage detected