memory

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverPartitions added in v0.6.1

func DiscoverPartitions(ctx context.Context, options *store.StoreOptions) ([]partition.ID, error)

DiscoverPartitions discovers the in-memory partitions. This is very useful during testing.

func NewMemoryStore

func NewMemoryStore(ctx context.Context, partitionID partition.ID, options *store.StoreOptions) (store.Store, error)

NewMemoryStore returns new memory store

func SetDiscoverer added in v0.6.1

func SetDiscoverer(d func(*store.StoreOptions) ([]partition.ID, error))

SetDiscoverer sets the function that returns the initial list of partitions Only for testing purposes

Types

This section is empty.

Jump to

Keyboard shortcuts

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