Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // General use for Invalid type. ErrInvalidType = errors.New("Invalid ObjectStore Type") ErrInvalidInterface = errors.New("Invalid Plugin does not implement ObjectStore") )
Functions ¶
func LoadObjectStores ¶
func LoadObjectStores(path string) (map[string]ObjectStore, error)
LoadObjectStores loads all the available plugins from the path
Types ¶
type ObjectStore ¶
type ObjectStore interface { // Saves manifests Save(hash, operation string, yaml []byte) error New(bucket string) ObjectStore }
ObjectStore is the interface a objectstore plugin needs to implement
Click to show internal directories.
Click to hide internal directories.