mocks

package
v5.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyLargeSegmentStorageMock added in v5.9.0

type ProxyLargeSegmentStorageMock struct {
	mock.Mock
}

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

func (*ProxyLargeSegmentStorageMock) Update added in v5.9.0

func (s *ProxyLargeSegmentStorageMock) Update(name string, userKeys []string, till int64)

type ProxySegmentStorageMock

type ProxySegmentStorageMock struct {
	mock.Mock
}

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

type ProxySplitStorageMock struct {
	mock.Mock
}

func (*ProxySplitStorageMock) ChangesSince

func (p *ProxySplitStorageMock) ChangesSince(since int64, sets []string) (*dtos.SplitChangesDTO, error)

func (*ProxySplitStorageMock) RegisterOlderCn

func (p *ProxySplitStorageMock) RegisterOlderCn(payload *dtos.SplitChangesDTO)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL