Documentation
¶
Index ¶
- Variables
- func SetupLocalPDInstance(ctx context.Context) (string, testcontainers.Container, func(), error)
- func SetupLocalTiKVInstance(ctx context.Context) (string, testcontainers.Container, func(), error)
- func SetupLocalValKeyInstance(ctx context.Context) (string, testcontainers.Container, func(), error)
- type KVExec
- type KVManager
- type KeyValue
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func SetupLocalPDInstance ¶
func SetupLocalTiKVInstance ¶
Types ¶
type KVExec ¶
type KVExec interface {
Get(ctx context.Context, key []byte) ([]byte, error)
Set(ctx context.Context, keyvalue KeyValue) error
Delete(ctx context.Context, key []byte) error
Exists(ctx context.Context, key []byte) (bool, error)
List(ctx context.Context) ([]string, error)
}
KVExec represents the basic key-value operations.
Click to show internal directories.
Click to hide internal directories.