Documentation
¶
Index ¶
- type CQLStorage
- func (C CQLStorage) GenerateHashKey() error
- func (C CQLStorage) GetHashKey() ([]storage.HashKey, error)
- func (C CQLStorage) GetObject(s string, hash plumbing.Hash) (storage.Object, error)
- func (C CQLStorage) ListObjects(s string) ([]storage.Object, error)
- func (C CQLStorage) ListReferences(s string) ([]storage.Reference, error)
- func (C CQLStorage) StoreObject(s string, object storage.Object, ttl int) error
- func (C CQLStorage) StoreObjects(s string, objects []storage.Object) error
- func (C CQLStorage) StoreReferences(s string, references []storage.Reference) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CQLStorage ¶
type CQLStorage struct {
// contains filtered or unexported fields
}
func NewCQLStorage ¶
func NewCQLStorage() *CQLStorage
func (CQLStorage) GenerateHashKey ¶ added in v0.3.0
func (C CQLStorage) GenerateHashKey() error
func (CQLStorage) GetHashKey ¶ added in v0.3.0
func (C CQLStorage) GetHashKey() ([]storage.HashKey, error)
func (CQLStorage) GetObject ¶
GetObject will get the object containing the specified hash. The hash must be a full hash
func (CQLStorage) ListObjects ¶
func (C CQLStorage) ListObjects(s string) ([]storage.Object, error)
func (CQLStorage) ListReferences ¶
func (C CQLStorage) ListReferences(s string) ([]storage.Reference, error)
func (CQLStorage) StoreObject ¶ added in v0.3.0
func (CQLStorage) StoreObjects ¶
func (C CQLStorage) StoreObjects(s string, objects []storage.Object) error
func (CQLStorage) StoreReferences ¶
func (C CQLStorage) StoreReferences(s string, references []storage.Reference) error
Click to show internal directories.
Click to hide internal directories.