more package docs

This commit is contained in:
Megan Marsh 2020-12-14 15:19:46 -08:00
parent 3a66391e30
commit 185614f886
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
/*
Package packer contains all of the interfaces for key Packer objects.
This module will need to be imported by all but the very simplest plugins. It
represents the foundation of the API that the Core and Plugins use to
communicate with each other.
Changes to any of the interfaces in this package likely represent a
backwards-incompatibility and should therefore only be made rarely and when
absolutely necessary.
Plugins will need to implement either the Builder, Provisioner,
or Post-Processor interfaces, and will likely create an Artifact. The
Communicator must be implemented in the Builder and is then passed into the
Provisioners so they can use it communicate with the instance without needing
to know the connection details.
The UI is created by the Packer core for use by the plugins, and is how the
plugins stream information back to the terminal.
*/
package packer