mock_routing

package
v0.0.0-...-055f8da Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_routing is a generated GoMock package.

Index

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

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.

func (*MockIndex) Prefix

func (m *MockIndex) Prefix() bool

Prefix mocks base method.

func (*MockIndex) String

func (m *MockIndex) String() string

String mocks base method.

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIterator) Next

func (m *MockIterator) Next() routing.Record

Next mocks base method.

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

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

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.

func (*MockRecord) Host

func (m *MockRecord) Host() (string, error)

Host mocks base method.

func (*MockRecord) Meta

func (m *MockRecord) Meta() (routing.Meta, error)

Meta mocks base method.

func (*MockRecord) Peer

func (m *MockRecord) Peer() peer.ID

Peer mocks base method.

func (*MockRecord) Seq

func (m *MockRecord) Seq() uint64

Seq mocks base method.

func (*MockRecord) Server

func (m *MockRecord) Server() routing.ID

Server mocks base method.

func (*MockRecord) TTL

func (m *MockRecord) TTL() time.Duration

TTL mocks base method.

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSnapshot) Get

func (m *MockSnapshot) Get(arg0 routing.Index) (routing.Iterator, error)

Get mocks base method.

func (*MockSnapshot) GetReverse

func (m *MockSnapshot) GetReverse(arg0 routing.Index) (routing.Iterator, error)

GetReverse mocks base method.

func (*MockSnapshot) LowerBound

func (m *MockSnapshot) LowerBound(arg0 routing.Index) (routing.Iterator, error)

LowerBound mocks base method.

func (*MockSnapshot) ReverseLowerBound

func (m *MockSnapshot) ReverseLowerBound(arg0 routing.Index) (routing.Iterator, error)

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.

Jump to

Keyboard shortcuts

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