# README
Couchbase Go Core
This package provides the underlying Couchbase IO for the gocb project. If you are looking for the Couchbase Go SDK, you are probably looking for gocb.
Branching Strategy
The gocbcore library maintains a branch for each previous major revision of its API. These branches are introduced just prior to any API breaking changes. Active work is performed on the master branch, with releases being performed as tags. Work made on master which are not yet part of a tagged released should be considered liable to change.
License
Copyright 2017 Couchbase Inc.
Licensed under the Apache License, Version 2.0.
See LICENSE for further details.
# Functions
AcquireTimer acquires a time from a global pool of timers maintained by the library.
CreateAgent creates an agent for performing normal operations.
CreateDcpAgent creates an agent for performing DCP operations.
DecodeCommonFlags decodes a flags value into a data type and compression type using the common flags specification.
DefaultStdioLogger gets the default standard I/O logger.
EncodeCommonFlags encodes a data type and compression type into a flags value using the common flags specification.
ErrorCause returns an error object representing the underlying cause for an error (without detailed information).
IsErrorStatus is a helper function which allows you to quickly check if a particular error object corresponds with a specific memcached status code in a single operation.
NewStreamFilter returns a new StreamFilter.
ReleaseTimer returns a timer to the global pool of timers maintained by the library.
SaslAuthBest performs SASL authentication against an AuthClient using the best supported authentication algorithm available on both client and server.
SaslAuthPlain performs PLAIN SASL authentication against an AuthClient.
SaslAuthScramSha1 performs SCRAM-SHA1 SASL authentication against an AuthClient.
SaslAuthScramSha256 performs SCRAM-SHA256 SASL authentication against an AuthClient.
SaslAuthScramSha512 performs SCRAM-SHA512 SASL authentication against an AuthClient.
SetLogger sets a logger to be used by the library.
SetLogRedactionLevel specifies the level with which logs should be redacted.
VerboseStdioLogger is a more verbose level of DefaultStdioLogger().
Version returns a string representation of the current SDK version.
# Constants
BinaryType indicates the value is binary data.
CapiService represents a CouchAPI service (typically for views).
CbasService represents an analytics service.
DatatypeFlagCompressed indicates the value payload is compressed.
DatatypeFlagJson indicates the server believes the value payload to be JSON.
DatatypeFlagXattrs indicates the inclusion of xattr data in the value payload.
DcpAgentPriorityHigh sets the priority for the dcp stream to high.
DcpAgentPriorityLow sets the priority for the dcp stream to low.
DcpAgentPriorityMed sets the priority for the dcp stream to medium.
DcpOpenFlagIncludeXattrs indicates the client wishes to receive extended attributes.
DcpOpenFlagNotifier indicates this connection wants the other end to be a notifier.
DcpOpenFlagNoValue indicates the client does not wish to receive mutation values.
DcpOpenFlagProducer indicates this connection wants the other end to be a producer.
DcpStreamAddFlagActiveOnly indicates this stream should only connect to an active vbucket.
DcpStreamAddFlagLatest indicates this stream wants to get data up to the latest seqno.
DcpStreamAddFlagStrictVBUUID indicates the vbuuid must match unless the start seqno is 0 and the vbuuid is also 0.
FeatureAltRequests indicates support for requests with flexible frame extras.
FeatureClusterMapNotif indicates support for cluster-map update notifications.
FeatureCollections indicates support for collections.
FeatureDatatype indicates support for Datatype fields.
FeatureDuplex indicates support for duplex communications.
FeatureDurations indicates support for server durations.
FeatureEnhancedDurability indicates support for requests synchronous durability requirements.
FeatureJson indicates support for JSON datatype data.
FeatureSelectBucket indicates support for the SelectBucket operation.
FeatureSeqNo indicates support for mutation tokens.
FeatureSnappy indicates support for snappy compressed documents.
FeatureTcpDelay indicates support for TCP delay.
FeatureTcpNoDelay indicates support for TCP no-delay.
FeatureTls indicates support for TLS.
FeatureUnorderedExec indicates support for unordered execution of operations.
FeatureXattr indicates support for document xattrs.
FeatureXerror indicates support for extended errors.
ForceMetaOp disables conflict resolution for the document and allows the operation to be applied to an active, pending, or replica vbucket.
FtsService represents a full-text-search service.
IsExpiration indicates that the message is for an expired document.
JsonType indicates the value is JSON data.
KeyStateDeleted indicates that the key has been written to disk as deleted.
KeyStateNotFound indicates that the key is not found in memory or on disk.
KeyStateNotPersisted indicates the key is in memory, but not yet written to disk.
KeyStatePersisted indicates that the key has been written to disk.
Various logging levels (or subsystems) which can categorize the message.
Various logging levels (or subsystems) which can categorize the message.
Various logging levels (or subsystems) which can categorize the message.
Various logging levels (or subsystems) which can categorize the message.
Various logging levels (or subsystems) which can categorize the message.
Various logging levels (or subsystems) which can categorize the message.
Various logging levels (or subsystems) which can categorize the message.
Majority specifies that a change must be replicated to (held in memory) a majority of the nodes for the bucket.
MajorityAndPersistOnMaster specifies that a change must be replicated to (held in memory) a majority of the nodes for the bucket and additionally persisted to disk on the active node.
MemdService represents a memcached service.
MgmtService represents a management service (typically ns_server).
N1qlService represents a N1QL service (typically for query).
NoCompression indicates that no compression is being used.
PersistToMajority specifies that a change must be persisted to (written to disk) a majority for the bucket.
RedactFull indicates to fully redact all possible identifying information from logs.
RedactNone indicates to perform no redactions.
RedactPartial indicates to redact all possible user-identifying information from logs.
RegenerateCas causes the server to invalidate the current CAS value for a document, and to generate a new one.
SkipConflictResolution disables conflict resolution for the document.
StatusAccessError occurs when an access error occurs.
StatusAuthContinue occurs in multi-step authentication when more authentication work needs to be performed in order to complete the authentication process.
StatusAuthError occurs when the authentication information provided was not valid.
StatusAuthStale occurs when authentication credentials have become invalidated.
StatusBadDelta occurs when an invalid delta value is specified to a counter operation.
StatusBusy occurs when the server is too busy to process your request right away.
StatusCollectionUnknown occurs when a Collection cannot be found.
StatusDurabilityImpossible occurs when a request is performed with impossible durability level requirements.
StatusDurabilityInvalidLevel occurs when an invalid durability level was requested.
StatusInternalError occurs when internal errors prevent the server from processing your request.
StatusInvalidArgs occurs when the server receives invalid arguments for an operation.
StatusKeyExists occurs when an operation is performed on a key that could not be found.
StatusKeyNotFound occurs when an operation is performed on a key that does not exist.
StatusLocked occurs when an operation fails due to the document being locked.
StatusNoBucket occurs when no bucket was selected on a connection.
StatusNotInitialized is sent by servers which are still initializing, and are not yet ready to accept operations on behalf of a particular bucket.
StatusNotMyVBucket occurs when an operation is dispatched to a server which is non-authoritative for a specific vbucket.
StatusNotStored occurs when the server fails to store a key.
StatusNotSupported occurs when an operation is understood by the server, but that operation is not supported on this server (occurs for a variety of reasons).
StatusOutOfMemory occurs when the server cannot service a request due to memory limitations.
StatusRangeError occurs when the range specified to the server is not valid.
StatusRollback occurs when a DCP stream fails to open due to a rollback having previously occurred since the last time the stream was opened.
StatusScopeUnknown occurs when a Scope cannot be found.
StatusSubDocBadCombo occurs when a multi-operation sub-document operation is performed and operations within the package of ops conflict with each other.
StatusSubDocBadDelta occurs when a sub-document counter operation is performed and the specified delta is not valid.
StatusSubDocBadMulti occurs when a multi-operation sub-document operation is performed and operations within the package of ops conflict with each other.
StatusSubDocBadRange occurs when a sub-document operation is performed with a bad range.
StatusSubDocCantInsert occurs when a sub-document operation could not insert.
StatusSubDocDocTooDeep occurs when an operation would cause a document to be nested beyond the depth limits allowed by the sub-document specification.
StatusSubDocMultiPathFailureDeleted occurs when a Multi Path Failure occurs on a soft-deleted document.
StatusSubDocNotJson occurs when a sub-document operation is performed on a document which is not JSON.
StatusSubDocPathExists occurs when a sub-document operation expects a path not to exists, but the path was found in the document.
StatusSubDocPathInvalid occurs when a sub-document path could not be parsed.
StatusSubDocPathMismatch occurs when a sub-document operation specifies a path which does not match the document structure (field access on an array).
StatusSubDocPathNotFound occurs when a sub-document operation targets a path which does not exist in the specifie document.
StatusSubDocPathTooBig occurs when a sub-document path is too big.
StatusSubDocSuccessDeleted occurs when a multi-operation sub-document operation is performed on a soft-deleted document.
StatusSubDocValueTooDeep occurs when a sub-document operation specifies a value which is deeper than the depth limits of the sub-document specification.
StatusSubDocXattrCannotModifyVAttr occurs when a mutation is attempted upon a virtual attribute (which are immutable by definition).
StatusSubDocXattrInvalidFlagCombo occurs when an invalid set of extended-attribute flags is passed to a sub-document operation.
StatusSubDocXattrInvalidKeyCombo occurs when an invalid set of key operations are specified for a extended-attribute sub-document operation.
StatusSubDocXattrUnknownMacro occurs when an invalid macro value is specified.
StatusSubDocXattrUnknownVAttr occurs when an invalid virtual attribute is specified.
StatusSuccess indicates the operation completed successfully.
StatusSyncWriteAmbiguous occurs when an SyncWrite does not complete in the specified time and the result is ambiguous.
StatusSyncWriteInProgress occurs when an attempt is made to write to a key that has a SyncWrite pending.
StatusTmpFail occurs when a temporary failure is preventing the server from processing your request.
StatusTooBig occurs when an operation attempts to store more data in a single document than the server is capable of storing (by default, this is a 20MB limit).
StatusUnknownCommand occurs when an unknown operation is sent to a server.
StreamEventCollectionChanged is the StreamEventCode for a collection changed event.
StreamEventCollectionCreate is the StreamEventCode for a collection create event.
StreamEventCollectionDelete is the StreamEventCode for a collection delete event.
StreamEventCollectionFlush is the StreamEventCode for a collection flush event.
StreamEventScopeCreate is the StreamEventCode for a scope create event.
StreamEventScopeDelete is the StreamEventCode for a scope delete event.
StringType indicates the value is string data.
SubdocDocFlagAccessDeleted indicates that you wish to receive soft-deleted documents.
SubdocDocFlagMkDoc indicates that the document should be created if it does not already exist.
SubdocDocFlagNone indicates no special treatment for this operation.
SubdocDocFlagReplaceDoc indices that this operation should be a replace rather than upsert.
SubdocFlagExpandMacros indicates that the value portion of any sub-document mutations should be expanded if they contain macros such as ${Mutation.CAS}.
SubdocFlagMkDirP indicates that the path should be created if it does not already exist.
SubdocFlagNone indicates no special treatment for this operation.
SubdocFlagXattrPath indicates that the path refers to an Xattr rather than the document body.
SubDocOpAddDoc represents a full document add, for use with extended attribute ops.
SubDocOpArrayAddUnique indicates the operation is a sub-document `ArrayAddUnique` operation.
SubDocOpArrayInsert indicates the operation is a sub-document `ArrayInsert` operation.
SubDocOpArrayPushFirst indicates the operation is a sub-document `ArrayPushFirst` operation.
SubDocOpArrayPushLast indicates the operation is a sub-document `ArrayPushLast` operation.
SubDocOpCounter indicates the operation is a sub-document `Counter` operation.
SubDocOpDelete indicates the operation is a sub-document `Remove` operation.
SubDocOpDeleteDoc represents a full document delete, for use with extended attribute ops.
SubDocOpDictAdd indicates the operation is a sub-document `Add` operation.
SubDocOpDictSet indicates the operation is a sub-document `Set` operation.
SubDocOpExists indicates the operation is a sub-document `Exists` operation.
SubDocOpGet indicates the operation is a sub-document `Get` operation.
SubDocOpGetCount indicates the operation is a sub-document `GetCount` operation.
SubDocOpGetDoc represents a full document retrieval, for use with extended attribute ops.
SubDocOpReplace indicates the operation is a sub-document `Replace` operation.
SubDocOpSetDoc represents a full document set, for use with extended attribute ops.
UnknownCompression indicates that the compression type is unknown.
UnknownType indicates the values type is unknown.
UseLwwConflictResolution switches to Last-Write-Wins conflict resolution for the document.
VbucketStateActive indicates the vbucket is active on this server.
VbucketStateDead indicates the vbucket is no longer valid on this server.
VbucketStatePending indicates the vbucket is preparing to become active on this server.
VbucketStateReplica indicates the vbucket is a replica on this server.
# Variables
ErrAccessError occurs when an access error occurs.
ErrAuthContinue occurs in multi-step authentication when more authentication work needs to be performed in order to complete the authentication process.
ErrAuthError occurs when the authentication information provided was not valid.
ErrAuthStale occurs when authentication credentials have become invalidated.
ErrBadDelta occurs when an invalid delta value is specified to a counter operation.
ErrBadHosts occurs when the list of hosts specified cannot be contacted.
ErrBusy occurs when the server is too busy to process your request right away.
ErrCancelled occurs when an operation has been cancelled by the user.
ErrCliInternalError indicates an internal error occurred within the client.
ErrCollectionsUnsupported occurs when collections are used but either server does not support them or the agent was created without them enabled.
ErrCollectionUnknown occurs when a Collection cannot be found.
ErrDispatchFail occurs when the request router fails to dispatch an operation.
ErrDurabilityImpossible occurs when a request is performed with impossible durability level requirements.
ErrDurabilityInvalidLevel occurs when an invalid durability level was requested.
ErrEnhancedDurabilityUnsupported occurs when a request is performed with enhanced durability but the server version being used does not support it.
ErrInternalError occurs when internal errors prevent the server from processing your request.
ErrInvalidArgs occurs when the server receives invalid arguments for an operation.
ErrInvalidCert occurs when a certificate that is not useable is passed to an Agent.
ErrInvalidCredentials is returned when an invalid set of credentials is provided for a service.
ErrInvalidReplica occurs when an explicit, but invalid replica index is specified.
ErrInvalidServer occurs when an explicit, but invalid server index is specified.
ErrInvalidService occurs when an invalid service is specified for an operation.
ErrInvalidVBucket occurs when an explicit, but invalid vbucket index is specified.
ErrKeyExists occurs when an operation is performed on a key that could not be found.
ErrKeyNotFound occurs when an operation is performed on a key that does not exist.
ErrNetwork occurs when network failures prevent an operation from succeeding.
ErrNoAuthMethod occurs when the server does not support any of the authentication methods that the client finds suitable.
ErrNoBucket occurs when no bucket was selected on a connection.
ErrNoCapiService occurs when no capi services are available for a request.
ErrNoCbasService occurs when no CBAS services are available for a request.
ErrNoFtsService occurs when no FTS services are available for a request.
ErrNoMgmtService occurs when no mgmt services are available for a request.
ErrNoN1qlService occurs when no N1QL services are available for a request.
ErrNonZeroCas occurs when an operation that require a CAS value of 0 is used with a non-zero value.
ErrNoReplicas occurs when no replicas respond in time.
ErrNoServer occurs when no server is available to service a keys vbucket.
ErrNotInitialized is sent by servers which are still initializing, and are not yet ready to accept operations on behalf of a particular bucket.
ErrNotMyVBucket occurs when an operation is dispatched to a server which is non-authoritative for a specific vbucket.
ErrNotStored occurs when the server fails to store a key.
ErrNotSupported occurs when an operation is understood by the server, but that operation is not supported on this server (occurs for a variety of reasons).
ErrOutOfMemory occurs when the server cannot service a request due to memory limitations.
ErrOverload occurs when too many operations are dispatched and all queues are full.
ErrProtocol occurs when the server responds with unexpected or unparseable data.
ErrRangeError occurs when the range specified to the server is not valid.
ErrRollback occurs when a DCP stream fails to open due to a rollback having previously occurred since the last time the stream was opened.
ErrScopeUnknown occurs when a Collection cannot be found.
ErrShutdown occurs when operations are performed on a previously closed Agent.
ErrStreamClosed occurs when a DCP stream is closed gracefully.
ErrStreamDisconnected occurs when a DCP stream is disconnected.
ErrStreamFilterEmpty occurs when all of the collections for a DCP stream are dropped.
ErrStreamStateChanged occurs when a DCP stream is interrupted by failover.
ErrStreamTooSlow occurs when a DCP stream is cancelled due to the application not keeping up with the rate of flow of DCP events sent by the server.
ErrSubDocBadCombo occurs when a multi-operation sub-document operation is performed and operations within the package of ops conflict with each other.
ErrSubDocBadDelta occurs when a sub-document counter operation is performed and the specified delta is not valid.
ErrSubDocBadMulti occurs when a multi-operation sub-document operation is performed and operations within the package of ops conflict with each other.
ErrSubDocBadRange occurs when a sub-document operation is performed with a bad range.
ErrSubDocCantInsert occurs when a sub-document operation could not insert.
ErrSubDocDocTooDeep occurs when an operation would cause a document to be nested beyond the depth limits allowed by the sub-document specification.
ErrSubDocMultiPathFailureDeleted occurs when a Multi Path Failure occurs on a soft-deleted document.
ErrSubDocNotJson occurs when a sub-document operation is performed on a document which is not JSON.
ErrSubDocPathExists occurs when a sub-document operation expects a path not to exists, but the path was found in the document.
ErrSubDocPathInvalid occurs when a sub-document path could not be parsed.
ErrSubDocPathMismatch occurs when a sub-document operation specifies a path which does not match the document structure (field access on an array).
ErrSubDocPathNotFound occurs when a sub-document operation targets a path which does not exist in the specifie document.
ErrSubDocPathTooBig occurs when a sub-document path is too big.
ErrSubDocSuccessDeleted occurs when a multi-operation sub-document operation is performed on a soft-deleted document.
ErrSubDocValueTooDeep occurs when a sub-document operation specifies a value which is deeper than the depth limits of the sub-document specification.
ErrSubDocXattrCannotModifyVAttr occurs when a mutation is attempted upon a virtual attribute (which are immutable by definition).
ErrSubDocXattrInvalidFlagCombo occurs when an invalid set of extended-attribute flags is passed to a sub-document operation.
ErrSubDocXattrInvalidKeyCombo occurs when an invalid set of key operations are specified for a extended-attribute sub-document operation.
ErrSubDocXattrUnknownMacro occurs when an invalid macro value is specified.
ErrSubDocXattrUnknownVAttr occurs when an invalid virtual attribute is specified.
ErrSyncWriteAmbiguous occurs when an SyncWrite does not complete in the specified time and the result is ambiguous.
ErrSyncWriteInProgess occurs when an attempt is made to write to a key that has a SyncWrite pending.
ErrTimeout occurs when an operation does not receive a response in a timely manner.
ErrTmpFail occurs when a temporary failure is preventing the server from processing your request.
ErrTooBig occurs when an operation attempts to store more data in a single document than the server is capable of storing (by default, this is a 20MB limit).
ErrUnknownCommand occurs when an unknown operation is sent to a server.
# Structs
AddOptions encapsulates the parameters for a AddEx operation.
AdjoinOptions encapsulates the parameters for a AppendEx or PrependEx operation.
AdjoinResult encapsulates the result of a AppendEx or PrependEx operation.
Agent represents the base client handling connections to a Couchbase Server.
AgentConfig specifies the configuration options for creation of an Agent.
AuthCredsRequest represents an authentication details request from the agent.
CounterInResult encapsulates the result of a CounterInEx operation.
CounterOptions encapsulates the parameters for a IncrementEx or DecrementEx operation.
CounterResult encapsulates the result of a IncrementEx or DecrementEx operation.
DeleteInOptions encapsulates the parameters for a DeleteInEx operation.
DeleteInResult encapsulates the result of a DeleteInEx operation.
DeleteMetaOptions encapsulates the parameters for a DeleteMetaEx operation.
DeleteMetaResult encapsulates the result of a DeleteMetaEx operation.
DeleteOptions encapsulates the parameters for a DeleteEx operation.
DeleteResult encapsulates the result of a DeleteEx operation.
DiagnosticInfo is returned by the Diagnostics method and includes information about the overall health of the clients connections.
ExistsInOptions encapsulates the parameters for a ExistsInEx operation.
ExistsInResult encapsulates the result of a ExistsInEx operation.
FailoverEntry represents a single entry in the server fail-over log.
GetAndLockOptions encapsulates the parameters for a GetAndLockEx operation.
GetAndLockResult encapsulates the result of a GetAndLockEx operation.
GetAndTouchOptions encapsulates the parameters for a GetAndTouchEx operation.
GetAndTouchResult encapsulates the result of a GetAndTouchEx operation.
GetCollectionIDOptions are the options available to the GetCollectionID command.
GetInOptions encapsulates the parameters for a GetInEx operation.
GetInResult encapsulates the result of a GetInEx operation.
GetMetaOptions encapsulates the parameters for a GetMetaEx operation.
GetMetaResult encapsulates the result of a GetMetaEx operation.
GetOptions encapsulates the parameters for a GetEx operation.
GetRandomOptions encapsulates the parameters for a GetRandomEx operation.
GetRandomResult encapsulates the result of a GetRandomEx operation.
GetReplicaOptions encapsulates the parameters for a GetReplicaEx operation.
GetReplicaResult encapsulates the result of a GetReplicaEx operation.
GetResult encapsulates the result of a GetEx operation.
HttpRequest contains the description of an HTTP request to perform.
HttpResponse encapsulates the response from an HTTP request.
KvError wraps key-value errors that occur within the SDK.
LookupInOptions encapsulates the parameters for a LookupInEx operation.
LookupInResult encapsulates the result of a LookupInEx operation.
Manifest is the representation of a collections manifest.
ManifestCollection is the representation of a collection within a manifest.
ManifestScope is the representation of a scope within a manifest.
MemdConnInfo represents information we know about a particular memcached connection reported in a diagnostics report.
MultiError encapsulates multiple errors that may be returned by one method.
MutateInOptions encapsulates the parameters for a MutateInEx operation.
MutateInResult encapsulates the result of a MutateInEx operation.
MutationToken represents a particular mutation within the cluster.
ObserveOptions encapsulates the parameters for a ObserveEx operation.
ObserveResult encapsulates the result of a ObserveEx operation.
ObserveVbOptions encapsulates the parameters for a ObserveVbEx operation.
ObserveVbResult encapsulates the result of a ObserveVbEx operation.
PasswordAuthProvider provides a standard AuthProvider implementation for use with a standard username/password pair (for example, RBAC).
PingKvOptions encapsulates the parameters for a PingKvEx operation.
PingKvResult encapsulates the result of a PingKvEx operation.
PingResult contains the results of a ping to a single server.
ReplaceOptions encapsulates the parameters for a ReplaceEx operation.
SetMetaOptions encapsulates the parameters for a SetMetaEx operation.
SetMetaResult encapsulates the result of a SetMetaEx operation.
SetOptions encapsulates the parameters for a SetEx operation.
SingleServerStats represents the stats returned from a single server.
StatsOptions encapsulates the parameters for a StatsEx operation.
StatsResult encapsulates the result of a StatsEx operation.
StoreInOptions encapsulates the parameters for a SetInEx, AddInEx, ReplaceInEx, PushFrontInEx, PushBackInEx, ArrayInsertInEx or AddUniqueInEx operation.
StoreInResult encapsulates the result of a SetInEx, AddInEx, ReplaceInEx, PushFrontInEx, PushBackInEx, ArrayInsertInEx or AddUniqueInEx operation.
StoreResult encapsulates the result of a AddEx, SetEx or ReplaceEx operation.
StreamFilter provides options for filtering a DCP stream.
SubDocMutateError encapsulates errors that occur during sub-document mutations.
SubDocOp defines a per-operation structure to be passed to MutateIn or LookupIn for performing many sub-document operations.
SubDocResult encapsulates the results from a single sub-document operation.
TouchOptions encapsulates the parameters for a TouchEx operation.
TouchResult encapsulates the result of a TouchEx operation.
UnlockOptions encapsulates the parameters for a UnlockEx operation.
UnlockResult encapsulates the result of a UnlockEx operation.
UserPassPair represents a username and password pair.
VbSeqNoEntry represents a single GetVbucketSeqnos sequence number entry.
# Interfaces
AuthClient exposes an interface for performing authentication on a connected Couchbase K/V client.
AuthProvider is an interface to allow the agent to fetch authentication credentials on-demand from the application.
Logger defines a logging interface.
PendingOp represents an outstanding operation within the client.
StreamObserver provides an interface to receive events from a running DCP stream.
# Type aliases
AdjoinExCallback is invoked upon completion of a AppendEx or PrependEx operation.
AuthFunc is invoked by the agent to authenticate a client.
Cas represents a unique revision of a document.
CloseStreamCallback is invoked with the results of `CloseStream` operations.
CollectionIdCallback is invoked upon completion of a GetCollectionID operation.
CompressionType indicates the type of compression for a value.
CounterExCallback is invoked upon completion of a IncrementEx or DecrementEx operation.
CounterInExCallback is invoked upon completion of a CounterInEx operation.
CounterInOptions encapsulates the parameters for a CounterInEx operation.
DataType represents the type of data for a value.
DatatypeFlag specifies data flags for the value of a document.
DcpAgentPriority specifies the priority level for a dcp stream.
DcpOpenFlag specifies flags for DCP connections configured when the stream is opened.
DcpStreamAddFlag specifies flags for DCP streams configured when the stream is opened.
DeleteExCallback is invoked upon completion of a DeleteEx operation.
DeleteInExCallback is invoked upon completion of a DeleteInEx operation.
DeleteMetaExCallback is invoked upon completion of a DeleteMetaEx operation.
DurabilityLevel specifies the level to use for enhanced durability requirements.
ExistsInExCallback is invoked upon completion of a ExistsInEx operation.
GetAndLockExCallback is invoked upon completion of a GetAndLockEx operation.
GetAndTouchExCallback is invoked upon completion of a GetAndTouchEx operation.
GetExCallback is invoked upon completion of a GetEx operation.
GetFailoverLogCallback is invoked with the results of `GetFailoverLog` operations.
GetInExCallback is invoked upon completion of a GetInEx operation.
GetMetaExCallback is invoked upon completion of a GetMetaEx operation.
GetRandomExCallback is invoked upon completion of a GetRandomEx operation.
GetReplicaExCallback is invoked upon completion of a GetReplicaEx operation.
GetVBucketSeqnosCallback is invoked with the results of `GetVBucketSeqnos` operations.
HelloFeature represents a feature code included in a memcached HELLO operation.
KeyState represents the various storage states of a key on the server.
LogLevel specifies the severity of a log message.
LogRedactLevel specifies the degree with which to redact the logs.
LookupInExCallback is invoked upon completion of a LookupInEx operation.
ManifestCallback is invoked upon completion of a GetCollectionManifest operation.
MutateInExCallback is invoked upon completion of a MutateInEx operation.
ObserveExCallback is invoked upon completion of a ObserveEx operation.
ObserveVbExCallback is invoked upon completion of a ObserveVbEx operation.
OpenStreamCallback is invoked with the results of `OpenStream` operations.
PingKvExCallback is invoked upon completion of a PingKvEx operation.
SeqNo is a sequential mutation number indicating the order and precise position of a write that has occurred.
ServiceType specifies a particular Couchbase service type.
SetMetaExCallback is invoked upon completion of a SetMetaEx operation.
SetMetaOption represents possible option values for a SetMeta operation.
SnapshotState represents the state of a particular cluster snapshot.
StatsExCallback is invoked upon completion of a StatsEx operation.
StatusCode represents a memcached response status.
StoreExCallback is invoked upon completion of a AddEx, SetEx or ReplaceEx operation.
StoreInExCallback is invoked upon completion of a SetInEx, AddInEx, ReplaceInEx, PushFrontInEx, PushBackInEx, ArrayInsertInEx or AddUniqueInEx operation.
StreamEventCode is the code for a DCP Stream event.
SubdocDocFlag specifies document-level flags for a sub-document operation.
SubdocFlag specifies flags for a sub-document operation.
SubDocOpType specifies the type of a sub-document operation.
TouchExCallback is invoked upon completion of a TouchEx operation.
UnlockExCallback is invoked upon completion of a UnlockEx operation.
VbucketState represents the state of a particular vbucket on a particular server.
VbUuid represents a unique identifier for a particular vbucket history.