Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RawkvParser ¶
func RawkvParser() history.RecordParser
RawkvParser creates the history.RecordParser interface.
Types ¶
type Key ¶
type Key int
Key type
type RandomValueConfig ¶
type RandomValueConfig struct { ValueNum10KB int ValueNum100KB int ValueNum1MB int ValueNum5MB int }
RandomValueConfig is the config of generating RandomValues
type RandomValues ¶
type RandomValues struct {
// contains filtered or unexported fields
}
RandomValues is some random byte slices which have different hash value.
func GenerateRandomValueString ¶
func GenerateRandomValueString(config RandomValueConfig) RandomValues
GenerateRandomValueString generates RandomValues
type RawkvClientCreator ¶
type RawkvClientCreator struct { Cfg Config RandomValues *RandomValues }
RawkvClientCreator creates a test client.
func (RawkvClientCreator) Create ¶
func (r RawkvClientCreator) Create(node cluster.ClientNode) core.Client
Create creates a RawkvClient.
Click to show internal directories.
Click to hide internal directories.