|
|
|
|
@ -55,7 +55,7 @@ dependencies.
|
|
|
|
|
- `github.com/mitchellh/packer` - Contains all the interfaces that you have to
|
|
|
|
|
implement for any given plugin.
|
|
|
|
|
|
|
|
|
|
- `github.com/mitchellh/packer/plugin` - Contains the code to serve
|
|
|
|
|
- `github.com/mitchellh/packer/packer/plugin` - Contains the code to serve
|
|
|
|
|
the plugin. This handles all the inter-process communication stuff.
|
|
|
|
|
|
|
|
|
|
There are two steps involved in creating a plugin:
|
|
|
|
|
@ -71,7 +71,7 @@ implements the `packer.Builder` interface:
|
|
|
|
|
|
|
|
|
|
``` {.go}
|
|
|
|
|
import (
|
|
|
|
|
"github.com/mitchellh/packer/plugin"
|
|
|
|
|
"github.com/mitchellh/packer/packer/plugin"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Assume this implements packer.Builder
|
|
|
|
|
|