Skip to content

Instantly share code, notes, and snippets.

@pkolyvas
Created January 30, 2020 00:41
Show Gist options
  • Save pkolyvas/a60dc49a5e5496fa73d3d6a852e8a589 to your computer and use it in GitHub Desktop.
Save pkolyvas/a60dc49a5e5496fa73d3d6a852e8a589 to your computer and use it in GitHub Desktop.
type Builder interface {
+ ConfigSpec() hcldec.ObjectSpec
- Prepare(...interface{}) ([]string, error)
+ Prepare(...interface{}) ([]string, []string, error)
...
}
type Provisioner interface {
+ ConfigSpec() hcldec.ObjectSpec
- Provision(context.Context, Ui, Communicator) error
+ Provision(context.Context, Ui, Communicator, map[string]interface{}) error
...
}
type PostProcessor interface {
+ ConfigSpec() hcldec.ObjectSpec
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment