mocks

package
v2.1.0-alpha.9 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNetworkTopology added in v2.0.30

type MockNetworkTopology struct {
	// contains filtered or unexported fields
}

MockNetworkTopology is a mock of NetworkTopology interface.

func NewMockNetworkTopology added in v2.0.30

func NewMockNetworkTopology(ctrl *gomock.Controller) *MockNetworkTopology

NewMockNetworkTopology creates a new mock instance.

func (*MockNetworkTopology) DeleteHost added in v2.0.30

func (m *MockNetworkTopology) DeleteHost(arg0 string) error

DeleteHost mocks base method.

func (*MockNetworkTopology) EXPECT added in v2.0.30

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

func (*MockNetworkTopology) LoadDestHostIDs

func (m *MockNetworkTopology) LoadDestHostIDs(arg0 string) ([]string, error)

LoadDestHostIDs mocks base method.

func (*MockNetworkTopology) LoadProbes

func (m *MockNetworkTopology) LoadProbes(arg0, arg1 string) networktopology.Probes

LoadProbes mocks base method.

func (*MockNetworkTopology) ProbedCount added in v2.0.30

func (m *MockNetworkTopology) ProbedCount(arg0 string) (uint64, error)

ProbedCount mocks base method.

type MockNetworkTopologyMockRecorder added in v2.0.30

type MockNetworkTopologyMockRecorder struct {
	// contains filtered or unexported fields
}

MockNetworkTopologyMockRecorder is the mock recorder for MockNetworkTopology.

func (*MockNetworkTopologyMockRecorder) DeleteHost added in v2.0.30

func (mr *MockNetworkTopologyMockRecorder) DeleteHost(arg0 interface{}) *gomock.Call

DeleteHost indicates an expected call of DeleteHost.

func (*MockNetworkTopologyMockRecorder) LoadDestHostIDs

func (mr *MockNetworkTopologyMockRecorder) LoadDestHostIDs(arg0 interface{}) *gomock.Call

LoadDestHostIDs indicates an expected call of LoadDestHostIDs.

func (*MockNetworkTopologyMockRecorder) LoadProbes

func (mr *MockNetworkTopologyMockRecorder) LoadProbes(arg0, arg1 interface{}) *gomock.Call

LoadProbes indicates an expected call of LoadProbes.

func (*MockNetworkTopologyMockRecorder) ProbedCount added in v2.0.30

func (mr *MockNetworkTopologyMockRecorder) ProbedCount(arg0 interface{}) *gomock.Call

ProbedCount indicates an expected call of ProbedCount.

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, error)

AverageRTT mocks base method.

func (*MockProbes) CreatedAt

func (m *MockProbes) CreatedAt() (time.Time, error)

CreatedAt mocks base method.

func (*MockProbes) Dequeue

func (m *MockProbes) Dequeue() (*networktopology.Probe, error)

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) Length

func (m *MockProbes) Length() (int64, error)

Length mocks base method.

func (*MockProbes) Peek

func (m *MockProbes) Peek() (*networktopology.Probe, error)

Peek mocks base method.

func (*MockProbes) UpdatedAt

func (m *MockProbes) UpdatedAt() (time.Time, error)

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) 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.

Jump to

Keyboard shortcuts

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