Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusOk = Status(coordinatorproto.DeletionLogRecordStatus_Ok) StatusRemovePrepare = Status(coordinatorproto.DeletionLogRecordStatus_RemovePrepare) StatusRemove = Status(coordinatorproto.DeletionLogRecordStatus_Remove) )
View Source
const CName = "coordinator.deletionLog"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeletionLog ¶
type DeletionLog interface { GetAfter(ctx context.Context, afterId string, limit uint32) (records []Record, hasMore bool, err error) Add(ctx context.Context, spaceId, fileGroup string, status Status) (id string, err error) app.ComponentRunnable }
func New ¶
func New() DeletionLog
Directories ¶
Path | Synopsis |
---|---|
Package mock_deletionlog is a generated GoMock package.
|
Package mock_deletionlog is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.