Documentation ¶
Index ¶
- func ClusterStoreTestSuite[T storage.ClusterStore](tsF future.Future[T]) func()
- func KeyValueStoreTestSuite[B storage.KeyValueStoreTBroker[T], T any](tsF future.Future[B], newT func(seed ...int64) T, ...) func()
- func KeyringStoreTestSuite[T storage.KeyringStoreBroker](tsF future.Future[T]) func()
- func LockManagerTestSuite[T storage.LockManager](lmF future.Future[T]) func()
- func NewBytes(seed ...int64) []byte
- func RBACStoreTestSuite[T storage.RBACStore](tsF future.Future[T]) func()
- func TokenStoreTestSuite[T storage.TokenStore](tsF future.Future[T]) func()
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 RBACStoreTestSuite ¶
func TokenStoreTestSuite ¶
func TokenStoreTestSuite[T storage.TokenStore]( tsF future.Future[T], ) func()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.