conformance_storage

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterStoreTestSuite

func ClusterStoreTestSuite[T storage.ClusterStore](
	tsF future.Future[T],
) func()

func KeyValueStoreTestSuite

func KeyValueStoreTestSuite[B storage.KeyValueStoreTBroker[T], T any](
	tsF future.Future[B],
	newT func(seed ...int64) T,
	match func(any) types.GomegaMatcher,
) func()

The function [newT] must return a new T according to the following rules: 1. newT(a) == newT(a) 2. newT(a) != newT(b) 3. newT() == zero

func KeyringStoreTestSuite

func KeyringStoreTestSuite[T storage.KeyringStoreBroker](
	tsF future.Future[T],
) func()

func LockManagerTestSuite added in v0.11.2

func LockManagerTestSuite[T storage.LockManager](
	lmF future.Future[T],
) func()

func NewBytes added in v0.12.0

func NewBytes(seed ...int64) []byte

func RBACStoreTestSuite

func RBACStoreTestSuite[T storage.RBACStore](
	tsF future.Future[T],
) func()

func TokenStoreTestSuite

func TokenStoreTestSuite[T storage.TokenStore](
	tsF future.Future[T],
) func()

Types

This section is empty.

Jump to

Keyboard shortcuts

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