packer-cn/packer/artifact_test.go

24 lines
336 B
Go
Raw Normal View History

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"
}
func (*TestArtifact) Destroy() error {
return nil
}