# Functions
FuzzyJsonPaths ignore part of JSON body with JSONPath notation during playback mode.
No description provided by the author
IsRecording returns true if copyist is currently in recording mode.
No description provided by the author
NewRecorder will create a recorder configured by the RecordOptions.
ReplayMode override recording/playback mode.
No description provided by the author
No description provided by the author
SetRecordDelay add delay between each request.
No description provided by the author
SkipRequestLatency disable mimic request latency in playback mode.
WithOpenSearchPlayback will setup the recorder, similar to crdb's copyist functionality where actual interactions with opensearch will be recorded, and then when the mode is set to ModeReplaying, the recorder will respond with its recorded responses.
# Constants
IndexSuffix is the suffix we append to the index name when running opensearch tests, so that we don't corrupt the application's indices.
ModeCommandline lets the commandline or the state in TestMain to determine the mode.
Recorder states.
Recorder states.
# Variables
No description provided by the author
No description provided by the author
# Structs
BulkJsonBodyMatcher special body matcher for OpenSearch's _bulk API See https://opensearch.org/docs/2.11/api-reference/document-apis/bulk/.
No description provided by the author
No description provided by the author
SearchDelayer will ensure that all searches that happen after inserting a document will have a delay so that the search can find all the documents.