Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockProbes
- func (m *MockProbes) AverageRTT() time.Duration
- func (m *MockProbes) CreatedAt() time.Time
- func (m *MockProbes) Dequeue() (*networktopology.Probe, bool)
- func (m *MockProbes) EXPECT() *MockProbesMockRecorder
- func (m *MockProbes) Enqueue(arg0 *networktopology.Probe) error
- func (m *MockProbes) Items() *list.List
- func (m *MockProbes) Length() int
- func (m *MockProbes) Peek() (*networktopology.Probe, bool)
- func (m *MockProbes) UpdatedAt() time.Time
- type MockProbesMockRecorder
- func (mr *MockProbesMockRecorder) AverageRTT() *gomock.Call
- func (mr *MockProbesMockRecorder) CreatedAt() *gomock.Call
- func (mr *MockProbesMockRecorder) Dequeue() *gomock.Call
- func (mr *MockProbesMockRecorder) Enqueue(arg0 interface{}) *gomock.Call
- func (mr *MockProbesMockRecorder) Items() *gomock.Call
- func (mr *MockProbesMockRecorder) Length() *gomock.Call
- func (mr *MockProbesMockRecorder) Peek() *gomock.Call
- func (mr *MockProbesMockRecorder) UpdatedAt() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProbes ¶
type MockProbes struct {
// contains filtered or unexported fields
}
MockProbes is a mock of Probes interface.
func NewMockProbes ¶
func NewMockProbes(ctrl *gomock.Controller) *MockProbes
NewMockProbes creates a new mock instance.
func (*MockProbes) AverageRTT ¶
func (m *MockProbes) AverageRTT() time.Duration
AverageRTT mocks base method.
func (*MockProbes) CreatedAt ¶
func (m *MockProbes) CreatedAt() time.Time
CreatedAt mocks base method.
func (*MockProbes) Dequeue ¶
func (m *MockProbes) Dequeue() (*networktopology.Probe, bool)
Dequeue mocks base method.
func (*MockProbes) EXPECT ¶
func (m *MockProbes) EXPECT() *MockProbesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProbes) Enqueue ¶
func (m *MockProbes) Enqueue(arg0 *networktopology.Probe) error
Enqueue mocks base method.
func (*MockProbes) Peek ¶
func (m *MockProbes) Peek() (*networktopology.Probe, bool)
Peek mocks base method.
func (*MockProbes) UpdatedAt ¶
func (m *MockProbes) UpdatedAt() time.Time
UpdatedAt mocks base method.
type MockProbesMockRecorder ¶
type MockProbesMockRecorder struct {
// contains filtered or unexported fields
}
MockProbesMockRecorder is the mock recorder for MockProbes.
func (*MockProbesMockRecorder) AverageRTT ¶
func (mr *MockProbesMockRecorder) AverageRTT() *gomock.Call
AverageRTT indicates an expected call of AverageRTT.
func (*MockProbesMockRecorder) CreatedAt ¶
func (mr *MockProbesMockRecorder) CreatedAt() *gomock.Call
CreatedAt indicates an expected call of CreatedAt.
func (*MockProbesMockRecorder) Dequeue ¶
func (mr *MockProbesMockRecorder) Dequeue() *gomock.Call
Dequeue indicates an expected call of Dequeue.
func (*MockProbesMockRecorder) Enqueue ¶
func (mr *MockProbesMockRecorder) Enqueue(arg0 interface{}) *gomock.Call
Enqueue indicates an expected call of Enqueue.
func (*MockProbesMockRecorder) Items ¶
func (mr *MockProbesMockRecorder) Items() *gomock.Call
Items indicates an expected call of Items.
func (*MockProbesMockRecorder) Length ¶
func (mr *MockProbesMockRecorder) Length() *gomock.Call
Length indicates an expected call of Length.
func (*MockProbesMockRecorder) Peek ¶
func (mr *MockProbesMockRecorder) Peek() *gomock.Call
Peek indicates an expected call of Peek.
func (*MockProbesMockRecorder) UpdatedAt ¶
func (mr *MockProbesMockRecorder) UpdatedAt() *gomock.Call
UpdatedAt indicates an expected call of UpdatedAt.