memdb

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

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,
	revisionFuzzingTimedelta,
	gcWindow time.Duration,
	simulatedLatency 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

This section is empty.

Jump to

Keyboard shortcuts

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