Documentation ¶
Index ¶
- Constants
- type LevelDB3Store
- func (store *LevelDB3Store) BeginTransaction(ctx context.Context) (context.Context, error)
- func (store *LevelDB3Store) CanDropWholeBucket() bool
- func (store *LevelDB3Store) CommitTransaction(ctx context.Context) error
- func (store *LevelDB3Store) DeleteEntry(ctx context.Context, fullpath weed_util.FullPath) (err error)
- func (store *LevelDB3Store) DeleteFolderChildren(ctx context.Context, fullpath weed_util.FullPath) (err error)
- func (store *LevelDB3Store) FindEntry(ctx context.Context, fullpath weed_util.FullPath) (entry *filer.Entry, err error)
- func (store *LevelDB3Store) GetName() string
- func (store *LevelDB3Store) Initialize(configuration weed_util.Configuration, prefix string) (err error)
- func (store *LevelDB3Store) InsertEntry(ctx context.Context, entry *filer.Entry) (err error)
- func (store *LevelDB3Store) KvDelete(ctx context.Context, key []byte) (err error)
- func (store *LevelDB3Store) KvGet(ctx context.Context, key []byte) (value []byte, err error)
- func (store *LevelDB3Store) KvPut(ctx context.Context, key []byte, value []byte) (err error)
- func (store *LevelDB3Store) ListDirectoryEntries(ctx context.Context, dirPath weed_util.FullPath, startFileName string, ...) (lastFileName string, err error)
- func (store *LevelDB3Store) ListDirectoryPrefixedEntries(ctx context.Context, dirPath weed_util.FullPath, startFileName string, ...) (lastFileName string, err error)
- func (store *LevelDB3Store) OnBucketCreation(bucket string)
- func (store *LevelDB3Store) OnBucketDeletion(bucket string)
- func (store *LevelDB3Store) RollbackTransaction(ctx context.Context) error
- func (store *LevelDB3Store) Shutdown()
- func (store *LevelDB3Store) UpdateEntry(ctx context.Context, entry *filer.Entry) (err error)
Constants ¶
View Source
const (
DEFAULT = "_main"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LevelDB3Store ¶
type LevelDB3Store struct { ReadOnly bool // contains filtered or unexported fields }
func (*LevelDB3Store) BeginTransaction ¶
func (*LevelDB3Store) CanDropWholeBucket ¶
func (store *LevelDB3Store) CanDropWholeBucket() bool
func (*LevelDB3Store) CommitTransaction ¶
func (store *LevelDB3Store) CommitTransaction(ctx context.Context) error
func (*LevelDB3Store) DeleteEntry ¶
func (*LevelDB3Store) DeleteFolderChildren ¶
func (*LevelDB3Store) GetName ¶
func (store *LevelDB3Store) GetName() string
func (*LevelDB3Store) Initialize ¶
func (store *LevelDB3Store) Initialize(configuration weed_util.Configuration, prefix string) (err error)
func (*LevelDB3Store) InsertEntry ¶
func (*LevelDB3Store) KvDelete ¶
func (store *LevelDB3Store) KvDelete(ctx context.Context, key []byte) (err error)
func (*LevelDB3Store) ListDirectoryEntries ¶
func (*LevelDB3Store) ListDirectoryPrefixedEntries ¶
func (*LevelDB3Store) OnBucketCreation ¶
func (store *LevelDB3Store) OnBucketCreation(bucket string)
func (*LevelDB3Store) OnBucketDeletion ¶
func (store *LevelDB3Store) OnBucketDeletion(bucket string)
func (*LevelDB3Store) RollbackTransaction ¶
func (store *LevelDB3Store) RollbackTransaction(ctx context.Context) error
func (*LevelDB3Store) Shutdown ¶
func (store *LevelDB3Store) Shutdown()
func (*LevelDB3Store) UpdateEntry ¶
Click to show internal directories.
Click to hide internal directories.