Documentation ¶
Overview ¶
Package mock_routing is a generated GoMock package.
Index ¶
- type MockHostIndex
- type MockHostIndexMockRecorder
- type MockIndex
- type MockIndexMockRecorder
- type MockIterator
- type MockIteratorMockRecorder
- type MockMetaIndex
- type MockMetaIndexMockRecorder
- type MockPeerIndex
- type MockPeerIndexMockRecorder
- type MockRecord
- type MockRecordMockRecorder
- func (mr *MockRecordMockRecorder) Host() *gomock.Call
- func (mr *MockRecordMockRecorder) Meta() *gomock.Call
- func (mr *MockRecordMockRecorder) Peer() *gomock.Call
- func (mr *MockRecordMockRecorder) Seq() *gomock.Call
- func (mr *MockRecordMockRecorder) Server() *gomock.Call
- func (mr *MockRecordMockRecorder) TTL() *gomock.Call
- type MockServerIndex
- type MockServerIndexMockRecorder
- type MockSnapshot
- func (m *MockSnapshot) EXPECT() *MockSnapshotMockRecorder
- func (m *MockSnapshot) Get(arg0 routing.Index) (routing.Iterator, error)
- func (m *MockSnapshot) GetReverse(arg0 routing.Index) (routing.Iterator, error)
- func (m *MockSnapshot) LowerBound(arg0 routing.Index) (routing.Iterator, error)
- func (m *MockSnapshot) ReverseLowerBound(arg0 routing.Index) (routing.Iterator, error)
- type MockSnapshotMockRecorder
- func (mr *MockSnapshotMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockSnapshotMockRecorder) GetReverse(arg0 interface{}) *gomock.Call
- func (mr *MockSnapshotMockRecorder) LowerBound(arg0 interface{}) *gomock.Call
- func (mr *MockSnapshotMockRecorder) ReverseLowerBound(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHostIndex ¶
type MockHostIndex struct {
// contains filtered or unexported fields
}
MockHostIndex is a mock of HostIndex interface.
func NewMockHostIndex ¶
func NewMockHostIndex(ctrl *gomock.Controller) *MockHostIndex
NewMockHostIndex creates a new mock instance.
func (*MockHostIndex) EXPECT ¶
func (m *MockHostIndex) EXPECT() *MockHostIndexMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHostIndex) HostBytes ¶
func (m *MockHostIndex) HostBytes() ([]byte, error)
HostBytes mocks base method.
type MockHostIndexMockRecorder ¶
type MockHostIndexMockRecorder struct {
// contains filtered or unexported fields
}
MockHostIndexMockRecorder is the mock recorder for MockHostIndex.
func (*MockHostIndexMockRecorder) HostBytes ¶
func (mr *MockHostIndexMockRecorder) HostBytes() *gomock.Call
HostBytes indicates an expected call of HostBytes.
type MockIndex ¶
type MockIndex struct {
// contains filtered or unexported fields
}
MockIndex is a mock of Index interface.
func NewMockIndex ¶
func NewMockIndex(ctrl *gomock.Controller) *MockIndex
NewMockIndex creates a new mock instance.
func (*MockIndex) EXPECT ¶
func (m *MockIndex) EXPECT() *MockIndexMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIndexMockRecorder ¶
type MockIndexMockRecorder struct {
// contains filtered or unexported fields
}
MockIndexMockRecorder is the mock recorder for MockIndex.
func (*MockIndexMockRecorder) Prefix ¶
func (mr *MockIndexMockRecorder) Prefix() *gomock.Call
Prefix indicates an expected call of Prefix.
func (*MockIndexMockRecorder) String ¶
func (mr *MockIndexMockRecorder) String() *gomock.Call
String indicates an expected call of String.
type MockIterator ¶
type MockIterator struct {
// contains filtered or unexported fields
}
MockIterator is a mock of Iterator interface.
func NewMockIterator ¶
func NewMockIterator(ctrl *gomock.Controller) *MockIterator
NewMockIterator creates a new mock instance.
func (*MockIterator) EXPECT ¶
func (m *MockIterator) EXPECT() *MockIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIteratorMockRecorder ¶
type MockIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockIteratorMockRecorder is the mock recorder for MockIterator.
func (*MockIteratorMockRecorder) Next ¶
func (mr *MockIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
type MockMetaIndex ¶
type MockMetaIndex struct {
// contains filtered or unexported fields
}
MockMetaIndex is a mock of MetaIndex interface.
func NewMockMetaIndex ¶
func NewMockMetaIndex(ctrl *gomock.Controller) *MockMetaIndex
NewMockMetaIndex creates a new mock instance.
func (*MockMetaIndex) EXPECT ¶
func (m *MockMetaIndex) EXPECT() *MockMetaIndexMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetaIndex) MetaBytes ¶
func (m *MockMetaIndex) MetaBytes() ([]byte, error)
MetaBytes mocks base method.
type MockMetaIndexMockRecorder ¶
type MockMetaIndexMockRecorder struct {
// contains filtered or unexported fields
}
MockMetaIndexMockRecorder is the mock recorder for MockMetaIndex.
func (*MockMetaIndexMockRecorder) MetaBytes ¶
func (mr *MockMetaIndexMockRecorder) MetaBytes() *gomock.Call
MetaBytes indicates an expected call of MetaBytes.
type MockPeerIndex ¶
type MockPeerIndex struct {
// contains filtered or unexported fields
}
MockPeerIndex is a mock of PeerIndex interface.
func NewMockPeerIndex ¶
func NewMockPeerIndex(ctrl *gomock.Controller) *MockPeerIndex
NewMockPeerIndex creates a new mock instance.
func (*MockPeerIndex) EXPECT ¶
func (m *MockPeerIndex) EXPECT() *MockPeerIndexMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPeerIndex) PeerBytes ¶
func (m *MockPeerIndex) PeerBytes() ([]byte, error)
PeerBytes mocks base method.
type MockPeerIndexMockRecorder ¶
type MockPeerIndexMockRecorder struct {
// contains filtered or unexported fields
}
MockPeerIndexMockRecorder is the mock recorder for MockPeerIndex.
func (*MockPeerIndexMockRecorder) PeerBytes ¶
func (mr *MockPeerIndexMockRecorder) PeerBytes() *gomock.Call
PeerBytes indicates an expected call of PeerBytes.
type MockRecord ¶
type MockRecord struct {
// contains filtered or unexported fields
}
MockRecord is a mock of Record interface.
func NewMockRecord ¶
func NewMockRecord(ctrl *gomock.Controller) *MockRecord
NewMockRecord creates a new mock instance.
func (*MockRecord) EXPECT ¶
func (m *MockRecord) EXPECT() *MockRecordMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRecordMockRecorder ¶
type MockRecordMockRecorder struct {
// contains filtered or unexported fields
}
MockRecordMockRecorder is the mock recorder for MockRecord.
func (*MockRecordMockRecorder) Host ¶
func (mr *MockRecordMockRecorder) Host() *gomock.Call
Host indicates an expected call of Host.
func (*MockRecordMockRecorder) Meta ¶
func (mr *MockRecordMockRecorder) Meta() *gomock.Call
Meta indicates an expected call of Meta.
func (*MockRecordMockRecorder) Peer ¶
func (mr *MockRecordMockRecorder) Peer() *gomock.Call
Peer indicates an expected call of Peer.
func (*MockRecordMockRecorder) Seq ¶
func (mr *MockRecordMockRecorder) Seq() *gomock.Call
Seq indicates an expected call of Seq.
func (*MockRecordMockRecorder) Server ¶
func (mr *MockRecordMockRecorder) Server() *gomock.Call
Server indicates an expected call of Server.
func (*MockRecordMockRecorder) TTL ¶
func (mr *MockRecordMockRecorder) TTL() *gomock.Call
TTL indicates an expected call of TTL.
type MockServerIndex ¶
type MockServerIndex struct {
// contains filtered or unexported fields
}
MockServerIndex is a mock of ServerIndex interface.
func NewMockServerIndex ¶
func NewMockServerIndex(ctrl *gomock.Controller) *MockServerIndex
NewMockServerIndex creates a new mock instance.
func (*MockServerIndex) EXPECT ¶
func (m *MockServerIndex) EXPECT() *MockServerIndexMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServerIndex) ServerBytes ¶
func (m *MockServerIndex) ServerBytes() ([]byte, error)
ServerBytes mocks base method.
type MockServerIndexMockRecorder ¶
type MockServerIndexMockRecorder struct {
// contains filtered or unexported fields
}
MockServerIndexMockRecorder is the mock recorder for MockServerIndex.
func (*MockServerIndexMockRecorder) ServerBytes ¶
func (mr *MockServerIndexMockRecorder) ServerBytes() *gomock.Call
ServerBytes indicates an expected call of ServerBytes.
type MockSnapshot ¶
type MockSnapshot struct {
// contains filtered or unexported fields
}
MockSnapshot is a mock of Snapshot interface.
func NewMockSnapshot ¶
func NewMockSnapshot(ctrl *gomock.Controller) *MockSnapshot
NewMockSnapshot creates a new mock instance.
func (*MockSnapshot) EXPECT ¶
func (m *MockSnapshot) EXPECT() *MockSnapshotMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSnapshot) GetReverse ¶
GetReverse mocks base method.
func (*MockSnapshot) LowerBound ¶
LowerBound mocks base method.
func (*MockSnapshot) ReverseLowerBound ¶
ReverseLowerBound mocks base method.
type MockSnapshotMockRecorder ¶
type MockSnapshotMockRecorder struct {
// contains filtered or unexported fields
}
MockSnapshotMockRecorder is the mock recorder for MockSnapshot.
func (*MockSnapshotMockRecorder) Get ¶
func (mr *MockSnapshotMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockSnapshotMockRecorder) GetReverse ¶
func (mr *MockSnapshotMockRecorder) GetReverse(arg0 interface{}) *gomock.Call
GetReverse indicates an expected call of GetReverse.
func (*MockSnapshotMockRecorder) LowerBound ¶
func (mr *MockSnapshotMockRecorder) LowerBound(arg0 interface{}) *gomock.Call
LowerBound indicates an expected call of LowerBound.
func (*MockSnapshotMockRecorder) ReverseLowerBound ¶
func (mr *MockSnapshotMockRecorder) ReverseLowerBound(arg0 interface{}) *gomock.Call
ReverseLowerBound indicates an expected call of ReverseLowerBound.