filelog

package
v0.8.16 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2017 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

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

func (Engine) AddTestConfig

func (e Engine) AddTestConfig(backend *storage.Backend) error

AddTestConfig sets the filelog as the default append-only log. If another engine is already set for the append-only log, it returns an error since only one append-only log backend should be tested via tags.

func (Engine) Delete

func (e Engine) Delete(config dvid.StoreConfig) error

Delete implements the TestableEngine interface by providing a way to dispose of the testable filelog.

func (Engine) GetDescription

func (e Engine) GetDescription() string

func (Engine) GetName

func (e Engine) GetName() string

func (Engine) GetSemVer

func (e Engine) GetSemVer() semver.Version

func (Engine) IsDistributed

func (e Engine) IsDistributed() bool

func (Engine) NewStore

func (e Engine) NewStore(config dvid.StoreConfig) (dvid.Store, bool, error)

NewStore returns file-based log. The passed Config must contain "path" setting.

func (Engine) String

func (e Engine) String() string

Jump to

Keyboard shortcuts

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