memdb

package
v0.0.0-...-d8c34b0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2019 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 MemDbStore

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

func (*MemDbStore) BeginTransaction

func (store *MemDbStore) BeginTransaction(ctx context.Context) (context.Context, error)

func (*MemDbStore) CommitTransaction

func (store *MemDbStore) CommitTransaction(ctx context.Context) error

func (*MemDbStore) DeleteEntry

func (store *MemDbStore) DeleteEntry(ctx context.Context, fullpath filer2.FullPath) (err error)

func (*MemDbStore) FindEntry

func (store *MemDbStore) FindEntry(ctx context.Context, fullpath filer2.FullPath) (entry *filer2.Entry, err error)

func (*MemDbStore) GetName

func (store *MemDbStore) GetName() string

func (*MemDbStore) Initialize

func (store *MemDbStore) Initialize(configuration util.Configuration) (err error)

func (*MemDbStore) InsertEntry

func (store *MemDbStore) InsertEntry(ctx context.Context, entry *filer2.Entry) (err error)

func (*MemDbStore) ListDirectoryEntries

func (store *MemDbStore) ListDirectoryEntries(ctx context.Context, fullpath filer2.FullPath, startFileName string, inclusive bool, limit int) (entries []*filer2.Entry, err error)

func (*MemDbStore) RollbackTransaction

func (store *MemDbStore) RollbackTransaction(ctx context.Context) error

func (*MemDbStore) UpdateEntry

func (store *MemDbStore) UpdateEntry(ctx context.Context, entry *filer2.Entry) (err error)

Jump to

Keyboard shortcuts

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