storage

package
v0.2.2-linux Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoRunFound = "No applied run found"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Storer

type Storer interface {
	Setup() error
	Teardown() error

	GetKey(string) ([]byte, error)
	SaveKey(string, []byte) error
	GetKeys(prefix string, separator string) ([]string, error)
	Save(reader types.ReaderWriter, tree *types.Tree) error
	Get(reader types.ReaderWriter, tree *types.Tree) error
	GetVersion(reader types.ReaderWriter, tree *types.Tree, version string) error
	GetVersions(reader types.ReaderWriter, tree *types.Tree) ([]string, error)

	DeleteKeys(prefix string) error

	Lock(key, s string) error
	Unlock(key string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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