cql

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2022 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

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

func (C CQLStorage) GetObject(s string, hash plumbing.Hash) (storage.Object, error)

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 (C CQLStorage) StoreObject(s string, object storage.Object, ttl int) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL