proxystore

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 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) DeleteChangeLogs

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

func (*ProxyStore) DeleteDocument

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

func (*ProxyStore) DeleteDocuments

func (store *ProxyStore) DeleteDocuments(doc *spec.Document) 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(
	namespaceName, collectionName 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳