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 EmptyEventHandler
- func (h *EmptyEventHandler) AfterRebalanceEnd()
- func (h *EmptyEventHandler) AfterRebalanceStart()
- func (h *EmptyEventHandler) AfterStreamStart()
- func (h *EmptyEventHandler) AfterStreamStop()
- func (h *EmptyEventHandler) BeforeRebalanceEnd()
- func (h *EmptyEventHandler) BeforeRebalanceStart()
- func (h *EmptyEventHandler) BeforeStreamStart()
- func (h *EmptyEventHandler) BeforeStreamStop()
- type EventHandler
- 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 ¶
type CheckpointDocument struct { Checkpoint *CheckpointDocumentCheckpoint `json:"checkpoint"` BucketUUID string `json:"bucketUuid"` }
func NewEmptyCheckpointDocument ¶
func NewEmptyCheckpointDocument(bucketUUID string) *CheckpointDocument
type CheckpointDocumentCheckpoint ¶
type CheckpointDocumentCheckpoint struct { Snapshot *CheckpointDocumentSnapshot `json:"snapshot"` VbUUID uint64 `json:"vbuuid"` SeqNo uint64 `json:"seqno"` }
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 EmptyEventHandler ¶ added in v0.0.67
type EmptyEventHandler struct{}
func (*EmptyEventHandler) AfterRebalanceEnd ¶ added in v0.0.67
func (h *EmptyEventHandler) AfterRebalanceEnd()
func (*EmptyEventHandler) AfterRebalanceStart ¶ added in v0.0.67
func (h *EmptyEventHandler) AfterRebalanceStart()
func (*EmptyEventHandler) AfterStreamStart ¶ added in v0.0.67
func (h *EmptyEventHandler) AfterStreamStart()
func (*EmptyEventHandler) AfterStreamStop ¶ added in v0.0.67
func (h *EmptyEventHandler) AfterStreamStop()
func (*EmptyEventHandler) BeforeRebalanceEnd ¶ added in v0.0.67
func (h *EmptyEventHandler) BeforeRebalanceEnd()
func (*EmptyEventHandler) BeforeRebalanceStart ¶ added in v0.0.67
func (h *EmptyEventHandler) BeforeRebalanceStart()
func (*EmptyEventHandler) BeforeStreamStart ¶ added in v0.0.67
func (h *EmptyEventHandler) BeforeStreamStart()
func (*EmptyEventHandler) BeforeStreamStop ¶ added in v0.0.67
func (h *EmptyEventHandler) BeforeStreamStop()
type EventHandler ¶ added in v0.0.67
type EventHandler interface { BeforeRebalanceStart() AfterRebalanceStart() BeforeRebalanceEnd() AfterRebalanceEnd() BeforeStreamStart() AfterStreamStart() BeforeStreamStop() AfterStreamStop() }
var DefaultEventHandler EventHandler = &EmptyEventHandler{}
type Identity ¶
func NewIdentityFromEnv ¶
func NewIdentityFromEnv() *Identity
func NewIdentityFromStr ¶
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 ¶
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 ¶
type ListenerEndCh chan DcpStreamEnd
type Offset ¶
type Offset struct { *SnapshotMarker VbUUID gocbcore.VbUUID SeqNo uint64 }
type PersistSeqNo ¶
type PersistSeqNo struct { VbID uint16 SeqNo gocbcore.SeqNo }
type SnapshotMarker ¶
Click to show internal directories.
Click to hide internal directories.