Documentation
¶
Index ¶
- type CheckpointDocument
- type CheckpointDocumentCheckpoint
- type CheckpointDocumentSnapshot
- type DcpCollectionCreation
- type DcpCollectionDeletion
- type DcpCollectionFlush
- type DcpCollectionModification
- type DcpDeletion
- type DcpExpiration
- type DcpMutation
- type DcpOSOSnapshot
- type DcpScopeCreation
- type DcpScopeDeletion
- type DcpSeqNoAdvanced
- type DcpSnapshotMarker
- type DcpStreamEnd
- type Identity
- type InternalDcpDeletion
- type InternalDcpExpiration
- type InternalDcpMutation
- type InternalDcpSeqNoAdvance
- type Listener
- type ListenerArgs
- type ListenerCh
- type ListenerContext
- type ListenerEndCh
- type Offset
- type PersistSeqNo
- type SnapshotMarker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckpointDocument ¶ added in v0.0.36
type CheckpointDocument struct { Checkpoint *CheckpointDocumentCheckpoint `json:"checkpoint"` BucketUUID string `json:"bucketUuid"` }
func NewEmptyCheckpointDocument ¶ added in v0.0.36
func NewEmptyCheckpointDocument(bucketUUID string) *CheckpointDocument
type CheckpointDocumentCheckpoint ¶ added in v0.0.36
type CheckpointDocumentCheckpoint struct { Snapshot *CheckpointDocumentSnapshot `json:"snapshot"` VbUUID uint64 `json:"vbuuid"` SeqNo uint64 `json:"seqno"` }
type CheckpointDocumentSnapshot ¶ added in v0.0.36
type DcpCollectionCreation ¶
type DcpCollectionCreation = gocbcore.DcpCollectionCreation
type DcpCollectionDeletion ¶
type DcpCollectionDeletion = gocbcore.DcpCollectionDeletion
type DcpCollectionFlush ¶
type DcpCollectionFlush = gocbcore.DcpCollectionFlush
type DcpCollectionModification ¶
type DcpCollectionModification = gocbcore.DcpCollectionModification
type DcpDeletion ¶
type DcpDeletion = InternalDcpDeletion
type DcpExpiration ¶
type DcpExpiration = InternalDcpExpiration
type DcpMutation ¶
type DcpMutation = InternalDcpMutation
type DcpOSOSnapshot ¶
type DcpOSOSnapshot = gocbcore.DcpOSOSnapshot
type DcpScopeCreation ¶
type DcpScopeCreation = gocbcore.DcpScopeCreation
type DcpScopeDeletion ¶
type DcpScopeDeletion = gocbcore.DcpScopeDeletion
type DcpSeqNoAdvanced ¶
type DcpSeqNoAdvanced = InternalDcpSeqNoAdvance
type DcpSnapshotMarker ¶
type DcpSnapshotMarker = gocbcore.DcpSnapshotMarker
type DcpStreamEnd ¶
type DcpStreamEnd = gocbcore.DcpStreamEnd
type Identity ¶ added in v0.0.36
func NewIdentityFromEnv ¶ added in v0.0.36
func NewIdentityFromEnv() *Identity
func NewIdentityFromStr ¶ added in v0.0.36
type InternalDcpDeletion ¶
type InternalDcpExpiration ¶
type InternalDcpMutation ¶
type InternalDcpMutation struct { EventTime time.Time *gocbcore.DcpMutation Offset *Offset CollectionName string }
func (*InternalDcpMutation) IsCreated ¶
func (i *InternalDcpMutation) IsCreated() bool
type InternalDcpSeqNoAdvance ¶ added in v0.0.34
type InternalDcpSeqNoAdvance struct { *gocbcore.DcpSeqNoAdvanced Offset *Offset }
type Listener ¶
type Listener func(*ListenerContext)
type ListenerArgs ¶
type ListenerArgs struct {
Event interface{}
}
type ListenerCh ¶
type ListenerCh chan ListenerArgs
type ListenerContext ¶
type ListenerContext struct { Commit func() Event interface{} Ack func() }
type ListenerEndCh ¶ added in v0.0.38
type ListenerEndCh chan DcpStreamEnd
type Offset ¶
type Offset struct { *SnapshotMarker VbUUID gocbcore.VbUUID SeqNo uint64 }
type PersistSeqNo ¶ added in v0.0.51
type PersistSeqNo struct { VbID uint16 SeqNo gocbcore.SeqNo }
type SnapshotMarker ¶
Click to show internal directories.
Click to hide internal directories.