Documentation
¶
Index ¶
- type ProxyLargeSegmentStorageMock
- func (s *ProxyLargeSegmentStorageMock) ChangeNumber(name string) int64
- func (s *ProxyLargeSegmentStorageMock) Count() int
- func (s *ProxyLargeSegmentStorageMock) IsInLargeSegment(name string, key string) (bool, error)
- func (s *ProxyLargeSegmentStorageMock) LargeSegmentsForUser(userKey string) []string
- func (s *ProxyLargeSegmentStorageMock) SetChangeNumber(name string, till int64)
- func (s *ProxyLargeSegmentStorageMock) TotalKeys(name string) int
- func (s *ProxyLargeSegmentStorageMock) Update(name string, userKeys []string, till int64)
- type ProxySegmentStorageMock
- type ProxySplitStorageMock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyLargeSegmentStorageMock ¶ added in v5.9.0
func (*ProxyLargeSegmentStorageMock) ChangeNumber ¶ added in v5.9.0
func (s *ProxyLargeSegmentStorageMock) ChangeNumber(name string) int64
func (*ProxyLargeSegmentStorageMock) Count ¶ added in v5.9.0
func (s *ProxyLargeSegmentStorageMock) Count() int
func (*ProxyLargeSegmentStorageMock) IsInLargeSegment ¶ added in v5.9.0
func (s *ProxyLargeSegmentStorageMock) IsInLargeSegment(name string, key string) (bool, error)
func (*ProxyLargeSegmentStorageMock) LargeSegmentsForUser ¶ added in v5.9.0
func (s *ProxyLargeSegmentStorageMock) LargeSegmentsForUser(userKey string) []string
func (*ProxyLargeSegmentStorageMock) SetChangeNumber ¶ added in v5.9.0
func (s *ProxyLargeSegmentStorageMock) SetChangeNumber(name string, till int64)
func (*ProxyLargeSegmentStorageMock) TotalKeys ¶ added in v5.9.0
func (s *ProxyLargeSegmentStorageMock) TotalKeys(name string) int
type ProxySegmentStorageMock ¶
func (*ProxySegmentStorageMock) ChangesSince ¶
func (p *ProxySegmentStorageMock) ChangesSince(name string, since int64) (*dtos.SegmentChangesDTO, error)
func (*ProxySegmentStorageMock) CountRemovedKeys ¶
func (p *ProxySegmentStorageMock) CountRemovedKeys(segmentName string) int
func (*ProxySegmentStorageMock) SegmentsFor ¶
func (p *ProxySegmentStorageMock) SegmentsFor(key string) ([]string, error)
type ProxySplitStorageMock ¶
func (*ProxySplitStorageMock) ChangesSince ¶
func (p *ProxySplitStorageMock) ChangesSince(since int64, sets []string) (*dtos.SplitChangesDTO, error)
func (*ProxySplitStorageMock) RegisterOlderCn ¶
func (p *ProxySplitStorageMock) RegisterOlderCn(payload *dtos.SplitChangesDTO)
Click to show internal directories.
Click to hide internal directories.