dsfortesting

package
v1.43.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMemDBDatastoreForTesting

func NewMemDBDatastoreForTesting(
	watchBufferLength uint16,
	revisionQuantization,
	gcWindow time.Duration,
) (datastore.Datastore, error)

NewMemDBDatastoreForTesting creates a new in-memory datastore for testing. This is a convenience function that wraps the creation of a new MemDB datastore, and injects additional proxies for validation at test time. NOTE: These additional proxies are not performant for use in production (but then, neither is memdb)

Types

This section is empty.

Jump to

Keyboard shortcuts

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