2013-06-18 13:54:22 -04:00
|
|
|
package packer
|
|
|
|
|
|
|
|
type TestArtifact struct{}
|
|
|
|
|
|
|
|
func (*TestArtifact) BuilderId() string {
|
|
|
|
return "bid"
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*TestArtifact) Files() []string {
|
|
|
|
return []string{"a", "b"}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*TestArtifact) Id() string {
|
|
|
|
return "id"
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*TestArtifact) String() string {
|
|
|
|
return "string"
|
|
|
|
}
|
2013-06-18 19:01:14 -04:00
|
|
|
|
|
|
|
func (*TestArtifact) Destroy() error {
|
|
|
|
return nil
|
|
|
|
}
|