summaryrefslogtreecommitdiff
path: root/imagestore/store.go
blob: a58d1ff9e8a01c65e0134b7a3328cfa9c4e4652e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package imagestore

type ImageStore interface {
	Save(src string, obj *StoreObject) (*StoreObject, error)
	Exists(obj *StoreObject) (bool, error)
}

type ImageStores []ImageStore

func (this *ImageStores) Save(src string, obj *StoreObject) {
	// TODO
}

func (this *ImageStores) Exists(obj *StoreObject) (bool, error) {
	return false, nil
}