# Functions
CheckDelete is used to do delete request and do check options.
CheckGetJSON is used to do get request and do check options.
CheckGetUntilStatusCode is used to do get request and do check options.
CheckPatchJSON is used to do patch request and do check options.
CheckPostJSON is used to do post request and do check options.
CleanServer is used to clean data directory.
Eventually asserts that given condition will be met in a period of time.
ExtractJSON is used to check whether given data can be extracted successfully.
GenerateTestDataConcurrently generates test data concurrently.
InitTempFileLogger initializes the logger and redirects the log output to a temporary file.
MustNewGrpcClient must create a new PD grpc client.
NewRequestHeader creates a new request header.
ReadGetJSON is used to do get request and check whether given data can be extracted successfully.
ReadGetJSONWithBody is used to do get request with input and check whether given data can be extracted successfully.
Status is used to check whether http response code is equal given code.
StatusNotOK is used to check whether http response code is not equal http.StatusOK.
StatusOK is used to check whether http response code is equal http.StatusOK.
StringContain is used to check whether response context contains given string.
StringEqual is used to check whether response context equal given string.
StringNotContain is used to check whether response context doesn't contain given string.
WithHeader is used to check whether response header contains given key and value.
WithoutHeader is used to check whether response header does not contain given key.
WithTickInterval specify the tick interval to check the condition.
WithWaitFor specify the max wait duration.
# Variables
LeakOptions is used to filter the goroutines.
# Type aliases
CleanupFunc closes test pd server(s) and deletes any files left behind.
WaitOption configures WaitOp.