Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶ added in v0.3.0
type DB interface {
// NewStore creates a new KVStore backed by the database.
NewStore() kvstore.KVStore
// Close closes a DB.
Close() error
// RequiresGC returns whether the database requires a call of GC() to clean deleted items.
RequiresGC() bool
// GC runs the garbage collection to clean deleted database items.
GC() error
}
DB represents a database abstraction.
type DBManager ¶
type DBManager struct {
// contains filtered or unexported fields
}
func NewDBManager ¶
func (*DBManager) GetOrCreateKVStore ¶
func (*DBManager) GetRegistryKVStore ¶
Click to show internal directories.
Click to hide internal directories.