Documentation ¶
Index ¶
Constants ¶
View Source
const CName = "node.nodespace.nodehead"
Variables ¶
View Source
var (
ErrSpaceNotFound = errors.New("space not found")
)
Functions ¶
This section is empty.
Types ¶
type NodeHead ¶
type NodeHead interface { SetHead(spaceId, head string) (part int, err error) GetHead(spaceId string) (head string, err error) DeleteHeads(spaceId string) error ReloadHeadFromStore(spaceId string) error LDiff(partId int) ldiff.Diff Ranges(ctx context.Context, part int, ranges []ldiff.Range, resBuf []ldiff.RangeResult) (results []ldiff.RangeResult, err error) app.ComponentRunnable }
NodeHead keeps current state of all spaces by partitions
Directories ¶
Path | Synopsis |
---|---|
Package mock_nodehead is a generated GoMock package.
|
Package mock_nodehead is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.