mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-21 23:41:41 -04:00
website: update the interfaces for extending
This commit is contained in:
@@ -38,7 +38,7 @@ what each method should do.
|
||||
<pre class="prettyprint">
|
||||
type PostProcessor interface {
|
||||
Configure(interface{}) error
|
||||
PostProcess(Artifact) (Artifact, error)
|
||||
PostProcess(Ui, Artifact) (Artifact, error)
|
||||
}
|
||||
</pre>
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ what each method should do.
|
||||
<pre class="prettyprint">
|
||||
type Provisioner interface {
|
||||
Prepare(...interface{}) error
|
||||
Provision(Ui, Communicator)
|
||||
Provision(Ui, Communicator) error
|
||||
}
|
||||
</pre>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user