Documentation ¶
Index ¶
Constants ¶
View Source
const DisableGC = time.Duration(math.MaxInt64)
DisableGC is a convenient constant for setting the garbage collection interval high enough that it will never run.
Variables ¶
This section is empty.
Functions ¶
func NewMemdbDatastore ¶
func NewMemdbDatastore( watchBufferLength uint16, revisionQuantization, gcWindow time.Duration, ) (datastore.Datastore, error)
NewMemdbDatastore creates a new Datastore compliant datastore backed by memdb.
If the watchBufferLength value of 0 is set then a default value of 128 will be used.
Types ¶
Click to show internal directories.
Click to hide internal directories.