proxystore

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyStore

type ProxyStore struct {
	// contains filtered or unexported fields
}

func New

func New(storage storage.Storage, logger *zap.Logger) *ProxyStore

func (*ProxyStore) CloseStore added in v0.11.0

func (store *ProxyStore) CloseStore() error

func (*ProxyStore) DeleteChangeLogs

func (store *ProxyStore) DeleteChangeLogs(logs []*spec.ChangeLog) error

func (*ProxyStore) DeleteDocument

func (store *ProxyStore) DeleteDocument(id, colName, nsName string) error

func (*ProxyStore) FetchChangeLogs

func (store *ProxyStore) FetchChangeLogs() ([]*spec.ChangeLog, error)

func (*ProxyStore) FetchDocument

func (store *ProxyStore) FetchDocument(docId, colName, nsName string) (*spec.Document, error)

func (*ProxyStore) FetchDocuments

func (store *ProxyStore) FetchDocuments(
	collectionName string,
	namespaceName string,
	limit, offset int,
) ([]*spec.Document, error)

func (*ProxyStore) InitStore

func (store *ProxyStore) InitStore() error

func (*ProxyStore) StoreChangeLog

func (store *ProxyStore) StoreChangeLog(cl *spec.ChangeLog) error

func (*ProxyStore) StoreDocument

func (store *ProxyStore) StoreDocument(doc *spec.Document) error

func (*ProxyStore) StoreDocuments added in v0.11.0

func (store *ProxyStore) StoreDocuments(docs []*spec.Document) error

Jump to

Keyboard shortcuts

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