mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-23 18:04:11 -05:00
This change adds a new `exoscale-import` post-processor allowing users to create Private Templates on Exoscale.
31 lines
454 B
Go
31 lines
454 B
Go
package exoscaleimport
|
|
|
|
const BuilderId = "packer.post-processor.exoscale-import"
|
|
|
|
type Artifact struct {
|
|
id string
|
|
}
|
|
|
|
func (a *Artifact) BuilderId() string {
|
|
return BuilderId
|
|
}
|
|
|
|
func (a *Artifact) Id() string {
|
|
return a.id
|
|
}
|
|
|
|
func (a *Artifact) Files() []string {
|
|
return nil
|
|
}
|
|
|
|
func (a *Artifact) String() string {
|
|
return a.id
|
|
}
|
|
|
|
func (a *Artifact) State(name string) interface{} {
|
|
return nil
|
|
}
|
|
|
|
func (a *Artifact) Destroy() error {
|
|
return nil
|
|
}
|