package
9.1.11
Repository: https://github.com/couchbase/gocbcore.git
Documentation: pkg.go.dev

# Functions

GetMockPath ensures that the mock path is available.
NewCommand returns a new command for a given command code and body.
NewMock creates and runs a new mock instance The path is the path to the mock jar.

# Constants

BCouchbase represents to use a couchbase bucket.
BMemcached represents to use a memcached bucket.
CCache represents a command code to send CACHE to the mock.
CCheckRetryVerify represents a command code to CHECK_RETRY_VERIFY the mock.
CEndure represents a command code to send ENDURE to the mock.
CFailover represents a command code to send FAILOVER to the mock.
CGetCmdLog represents a command code to GET_CMDLOG the mock.
CGetMcPorts represents a command code to GET_MCPORTS the mock.
CHelp represents a command code to send HELP to the mock.
CHiccup represents a command code to send HICCUP to the mock.
CKeyinfo represents a command code to send KEYINFO to the mock.
CMockinfo represents a command code to send MOCKINFO to the mock.
COpFail represents a command code to send OPFAIL to the mock.
CPersist represents a command code to send PERSIST to the mock.
CPurge represents a command code to send PURGE to the mock.
CRegenVBCoords represents a command code to REGEN_VBCOORDS the mock.
CResetQueryState represents a command code to RESET_QUERYSTATE the mock.
CRespawn represents a command code to send RESPAWN to the mock.
CSetCCCP represents a command code to SET_CCCP the mock.
CSetCompression represents a command code to SET_COMPRESSION the mock.
CSetEnhancedErrors represents a command code to SET_ENHANCED_ERRORS the mock.
CSetSASLMechanisms represents a command code to SET_SASL_MECHANISMS the mock.
CStartCmdLog represents a command code to START_CMDLOG the mock.
CStartRetryVerify represents a command code to START_RETRY_VERIFY the mock.
CStopCmdLog represents a command code to STOP_CMDLOG the mock.
CTimeTravel represents a command code to send TIME_TRAVEL to the mock.
CTruncate represents a command code to send TRUNCATE to the mock.
CUncache represents a command code to send UNCACHE to the mock.
CUnpersist represents a command code to send UNPERSIST to the mock.

# Structs

BucketSpec describes the specification of a bucket.
Mock is used for mocking a Couchbase Server cluster.
Response is the result of running a command.

# Interfaces

Command is used to specify a command to run.

# Type aliases

BucketType represents the type of bucket to use.
CmdCode represents a command code to send to Couchbase Mock.