package
0.0.0-20241022194553-db3115c90c22
Repository: https://github.com/couchbase/gocbcorex.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
AppendULEB128_32 appends a 32-bit number encoded as ULEB128 to a byte slice.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DecodeULEB128_32 decodes a ULEB128 encoded number into a uint32.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Parses the time embedded in a CAS.
Parses an HLC returned by an xattr macro fetch into a timestamp.
No description provided by the author
ReorderSubdocOps can be used to reorder a list of SubdocOp so that xattrs are at the start of the list - as required by the server.
No description provided by the author
# Constants
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.
DurabilityLevelMajority indicates the operation must be replicated to the majority.
DurabilityLevelMajorityAndPersistToActive indicates the operation must be replicated to the majority and persisted to the active server.
DurabilityLevelNone indicates the operation does not require any durability guarantees.
DurabilityLevelPersistToMajority indicates the operation must be persisted to the active server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FeatureAltRequests indicates support for requests with flexible frame extras.
FeatureClusterMapNotif indicates support for cluster-map update notifications.
FeatureCollections indicates support for collections.
FeatureCreateAsDeleted indicates support for the create as deleted feature.
FeatureDatatype indicates support for Datatype fields.
FeatureDuplex indicates support for duplex communications.
FeatureDurations indicates support for server durations.
FeatureJSON indicates support for JSON datatype data.
FeatureOpenTracing indicates support for OpenTracing.
FeaturePITR indicates support for PITR snapshots.
FeaturePreserveExpiry indicates support for preserve TTL.
FeatureReplaceBodyWithXattr indicates support for the replace body with xattr feature.
FeatureSelectBucket indicates support for the SelectBucket operation.
FeatureSeqNo indicates support for mutation tokens.
FeatureSnappy indicates support for snappy compressed documents.
FeatureSyncReplication indicates support for requests synchronous durability requirements.
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.
LookupInOpTypeExists indicates the operation is a sub-document `Exists` operation.
LookupInOpTypeGet indicates the operation is a sub-document `Get` operation.
LookupInOpTypeGetCount indicates the operation is a sub-document `GetCount` operation.
LookupInOpTypeGetDoc represents a full document retrieval, for use with extended attribute ops.
CmdMagicReq indicates that the packet is a request.
MagicReqExt indicates that the packet is a request with framing extras.
CmdMagicRes indicates that the packet is a response.
MagicResExt indicates that the packet is a response with framing extras.
MutateInOpTypeAddDoc represents a full document add, for use with extended attribute ops.
MutateInOpTypeArrayAddUnique indicates the operation is a sub-document `ArrayAddUnique` operation.
MutateInOpTypeArrayInsert indicates the operation is a sub-document `ArrayInsert` operation.
MutateInOpTypeArrayPushFirst indicates the operation is a sub-document `ArrayPushFirst` operation.
MutateInOpTypeArrayPushLast indicates the operation is a sub-document `ArrayPushLast` operation.
MutateInOpTypeCounter indicates the operation is a sub-document `Counter` operation.
MutateInOpTypeDelete indicates the operation is a sub-document `Remove` operation.
MutateInOpTypeDeleteDoc represents a full document delete, for use with extended attribute ops.
MutateInOpTypeDictAdd indicates the operation is a sub-document `Add` operation.
MutateInOpTypeDictSet indicates the operation is a sub-document `Set` operation.
MutateInOpTypeReplace indicates the operation is a sub-document `Replace` operation.
MutateInOpTypeReplaceBodyWithXattr represents a replace body with xattr op.
MutateInOpTypeSetDoc represents a full document set, for use with extended attribute ops.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
These constants provide predefined values for all the operations which are supported by this library.
No description provided by the author
No description provided by the author
No description provided by the author
PlainAuthMechanism represents that PLAIN auth should be performed.
ScramSha1AuthMechanism represents that SCRAM SHA1 auth should be performed.
ScramSha256AuthMechanism represents that SCRAM SHA256 auth should be performed.
ScramSha512AuthMechanism represents that SCRAM SHA512 auth should be performed.
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.
StatusConfigOnly occurs when a data operation is performed on a config-only node.
StatusDCPStreamIDInvalid occurs when a dcp stream ID is invalid.
StatusDcpStreamNotFound occurs when the referenced DCP stream is not 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.
StatusNotLocked occurs when Unlock is performed on an unlocked document.
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).
StatusOpaqueNoMatch occurs when the opaque does not match a known stream.
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.
StatusRangeScanCancelled occurs during a range scan to indicate that the range scan was cancelled.
StatusRangeScanComplete occurs during a range scan to indicate that a range scan has completed.
StatusRangeScanMore occurs during a range scan to indicate that a range scan has more results.
StatusRangeScanVbUUIDNotEqual occurs during a range scan to indicate that a vb-uuid mismatch has occurred.
StatusRateLimitedMaxCommands occurs when the server rate limits due to the application reaching the maximum number of allowed operations.
StatusRateLimitedMaxConnections occurs when the server rate limits due to the application reaching the maximum number of allowed connections.
StatusRateLimitedNetworkEgress occurs when the server rate limits due to network egress.
StatusRateLimitedNetworkIngress occurs when the server rate limits due to network ingress.
StatusRateLimitedScopeSizeLimitExceeded occurs when the server rate limits due to the application reaching the maximum data size allowed for the scope.
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.
StatusSubDocBadDelta occurs when a sub-document counter operation is performed and the specified delta is not valid.
StatusSubDocBadRange occurs when a sub-document operation is performed with a bad range.
StatusSubDocCanOnlyReviveDeletedDocuments occurs when you try to revive a document which is not currently in the soft-deleted state.
StatusSubDocCantInsert occurs when a sub-document operation could not insert.
StatusSubDocDeletedDocumentCantHaveValue occurs when you try set a value to a soft-deleted document.
StatusSubDocDocTooDeep occurs when an operation would cause a document to be nested beyond the depth limits allowed by the sub-document specification.
StatusSubDocInvalidCombo occurs when a multi-operation sub-document operation is performed and operations within the package of ops conflict with each other.
StatusSubDocInvalidXattrOrder occurs when xattr operations exist after non-xattr operations in the operation list.
StatusSubDocMultiPathFailure occurs when a multi-operation sub-document operation is performed and operations within the package of ops conflict with each other.
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.
StatusSubDocXattrUnknownVattrMacro occurs when you try to use an unknown vattr.
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.
StatusSyncWriteReCommitInProgress occurs when an SyncWrite is being recommitted.
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.
StatusWouldThrottle indicates that the operation would have been throttled.
SubdocDocFlagAccessDeleted indicates that you wish to receive soft-deleted documents.
SubdocDocFlagAddDoc indices that this operation should be an add rather than set.
SubdocDocFlagCreateAsDeleted indicates that the document should be created as deleted.
SubdocDocFlagMkDoc indicates that the document should be created if it does not already exist.
SubdocDocFlagNone indicates no special treatment for this operation.
SubdocDocFlagReviveDocument indicates that the document should be revived from a tombstone.
SubdocOpFlagExpandMacros indicates that the value portion of any sub-document mutations should be expanded if they contain macros such as ${Mutation.CAS}.
SubdocOpFlagMkDirP indicates that the path should be created if it does not already exist.
SubdocOpFlagNone indicates no special treatment for this operation.
SubdocOpFlagXattrPath indicates that the path refers to an Xattr rather than the document body.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CallbackQueue implements a structure which enables guarenteed ordering of callbacks that are being invoked.
Client is a basic memd client that provides opaque mapping and request dispatch..
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LookupInOp defines a per-operation structure to be passed to LookupIn for performing many sub-document operations.
No description provided by the author
No description provided by the author
MutateInOp defines a per-operation structure to be passed to MutateIn for performing many sub-document operations.
No description provided by the author
No description provided by the author
No description provided by the author
OpBootstrap implements automatic pipelining of the 5 standard bootstrap operations that a client needs to perform to set up a connection.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RangeScanCreateRandomSamplingConfig is the configuration available for performing a random sampling.
RangeScanCreateRangeScanConfig is the configuration available for performing a range scan.
No description provided by the author
No description provided by the author
RangeScanCreateSnapshotRequirements is the set of requirements that the vbucket snapshot must meet in-order for the request to be successful.
No description provided by the author
RangeScanItem encapsulates an iterm returned during a range scan.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SubDocResult encapsulates the results from a single sub-document operation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OpSaslAuthInvalid exists to support some testing requirements and intentionally executes a SASLAuth that is known to be invalid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
AuthMechanism represents a type of auth that can be performed.
DatatypeFlag specifies data flags for the value of a document.
No description provided by the author
DurabilityLevel specifies the level to use for enhanced durability requirements.
OpCode represents the specific command the packet is performing.
HelloFeature represents a feature code included in a memcached HELLO operation.
LookupInOpType specifies the type of lookup in operation.
No description provided by the author
MutateInOpType specifies the type of mutate in operation.
OpCode represents the specific command the packet is performing.
No description provided by the author
No description provided by the author
SubdocDocFlag specifies document-level flags for a sub-document operation.
SubdocOpFlag specifies flags for a sub-document operation.