packer-cn/builder/profitbricks/artefact.go

34 lines
482 B
Go

package profitbricks
import (
"fmt"
)
type Artifact struct {
snapshotData string
}
func (*Artifact) BuilderId() string {
return BuilderId
}
func (a *Artifact) Files() []string {
return []string{}
}
func (*Artifact) Id() string {
return "Null"
}
func (a *Artifact) String() string {
return fmt.Sprintf("A snapshot was created: '%v'", a.snapshotData)
}
func (a *Artifact) State(name string) interface{} {
return nil
}
func (a *Artifact) Destroy() error {
return nil
}