mocks

package
v5.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 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 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