mock_topology

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_topology is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTopology

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

MockTopology is a mock of Topology interface.

func NewMockTopology

func NewMockTopology(ctrl *gomock.Controller) *MockTopology

NewMockTopology creates a new mock instance.

func (*MockTopology) Anycast

func (m *MockTopology) Anycast(arg0 addr.SVC) (*net.UDPAddr, error)

Anycast mocks base method.

func (*MockTopology) BR

func (m *MockTopology) BR(arg0 string) (topology.BRInfo, bool)

BR mocks base method.

func (*MockTopology) BRNames

func (m *MockTopology) BRNames() []string

BRNames mocks base method.

func (*MockTopology) Core

func (m *MockTopology) Core() bool

Core mocks base method.

func (*MockTopology) EXPECT

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

func (*MockTopology) Gateways

func (m *MockTopology) Gateways() ([]topology.GatewayInfo, error)

Gateways mocks base method.

func (*MockTopology) IA

func (m *MockTopology) IA() addr.IA

IA mocks base method.

func (*MockTopology) IFInfoMap

func (m *MockTopology) IFInfoMap() topology.IfInfoMap

IFInfoMap mocks base method.

func (*MockTopology) InterfaceIDs

func (m *MockTopology) InterfaceIDs() []common.IFIDType

InterfaceIDs mocks base method.

func (*MockTopology) MTU

func (m *MockTopology) MTU() uint16

MTU mocks base method.

func (*MockTopology) MakeHostInfos

func (m *MockTopology) MakeHostInfos(arg0 topology.ServiceType) ([]*net.UDPAddr, error)

MakeHostInfos mocks base method.

func (*MockTopology) Multicast

func (m *MockTopology) Multicast(arg0 addr.SVC) ([]*net.UDPAddr, error)

Multicast mocks base method.

func (*MockTopology) PublicAddress

func (m *MockTopology) PublicAddress(arg0 addr.SVC, arg1 string) *net.UDPAddr

PublicAddress mocks base method.

func (*MockTopology) SVCNames

func (m *MockTopology) SVCNames(arg0 addr.SVC) topology.ServiceNames

SVCNames mocks base method.

func (*MockTopology) UnderlayAnycast

func (m *MockTopology) UnderlayAnycast(arg0 addr.SVC) (*net.UDPAddr, error)

UnderlayAnycast mocks base method.

func (*MockTopology) UnderlayMulticast

func (m *MockTopology) UnderlayMulticast(arg0 addr.SVC) ([]*net.UDPAddr, error)

UnderlayMulticast mocks base method.

func (*MockTopology) UnderlayNextHop

func (m *MockTopology) UnderlayNextHop(arg0 common.IFIDType) (*net.UDPAddr, bool)

UnderlayNextHop mocks base method.

func (*MockTopology) Writable

func (m *MockTopology) Writable() *topology.RWTopology

Writable mocks base method.

type MockTopologyMockRecorder

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

MockTopologyMockRecorder is the mock recorder for MockTopology.

func (*MockTopologyMockRecorder) Anycast

func (mr *MockTopologyMockRecorder) Anycast(arg0 interface{}) *gomock.Call

Anycast indicates an expected call of Anycast.

func (*MockTopologyMockRecorder) BR

func (mr *MockTopologyMockRecorder) BR(arg0 interface{}) *gomock.Call

BR indicates an expected call of BR.

func (*MockTopologyMockRecorder) BRNames

func (mr *MockTopologyMockRecorder) BRNames() *gomock.Call

BRNames indicates an expected call of BRNames.

func (*MockTopologyMockRecorder) Core

func (mr *MockTopologyMockRecorder) Core() *gomock.Call

Core indicates an expected call of Core.

func (*MockTopologyMockRecorder) Gateways

func (mr *MockTopologyMockRecorder) Gateways() *gomock.Call

Gateways indicates an expected call of Gateways.

func (*MockTopologyMockRecorder) IA

IA indicates an expected call of IA.

func (*MockTopologyMockRecorder) IFInfoMap

func (mr *MockTopologyMockRecorder) IFInfoMap() *gomock.Call

IFInfoMap indicates an expected call of IFInfoMap.

func (*MockTopologyMockRecorder) InterfaceIDs

func (mr *MockTopologyMockRecorder) InterfaceIDs() *gomock.Call

InterfaceIDs indicates an expected call of InterfaceIDs.

func (*MockTopologyMockRecorder) MTU

MTU indicates an expected call of MTU.

func (*MockTopologyMockRecorder) MakeHostInfos

func (mr *MockTopologyMockRecorder) MakeHostInfos(arg0 interface{}) *gomock.Call

MakeHostInfos indicates an expected call of MakeHostInfos.

func (*MockTopologyMockRecorder) Multicast

func (mr *MockTopologyMockRecorder) Multicast(arg0 interface{}) *gomock.Call

Multicast indicates an expected call of Multicast.

func (*MockTopologyMockRecorder) PublicAddress

func (mr *MockTopologyMockRecorder) PublicAddress(arg0, arg1 interface{}) *gomock.Call

PublicAddress indicates an expected call of PublicAddress.

func (*MockTopologyMockRecorder) SVCNames

func (mr *MockTopologyMockRecorder) SVCNames(arg0 interface{}) *gomock.Call

SVCNames indicates an expected call of SVCNames.

func (*MockTopologyMockRecorder) UnderlayAnycast

func (mr *MockTopologyMockRecorder) UnderlayAnycast(arg0 interface{}) *gomock.Call

UnderlayAnycast indicates an expected call of UnderlayAnycast.

func (*MockTopologyMockRecorder) UnderlayMulticast

func (mr *MockTopologyMockRecorder) UnderlayMulticast(arg0 interface{}) *gomock.Call

UnderlayMulticast indicates an expected call of UnderlayMulticast.

func (*MockTopologyMockRecorder) UnderlayNextHop

func (mr *MockTopologyMockRecorder) UnderlayNextHop(arg0 interface{}) *gomock.Call

UnderlayNextHop indicates an expected call of UnderlayNextHop.

func (*MockTopologyMockRecorder) Writable

func (mr *MockTopologyMockRecorder) Writable() *gomock.Call

Writable indicates an expected call of Writable.

type MockValidator

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

MockValidator is a mock of Validator interface.

func NewMockValidator

func NewMockValidator(ctrl *gomock.Controller) *MockValidator

NewMockValidator creates a new mock instance.

func (*MockValidator) EXPECT

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

func (*MockValidator) Validate

func (m *MockValidator) Validate(arg0, arg1 *topology.RWTopology) error

Validate mocks base method.

type MockValidatorMockRecorder

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

MockValidatorMockRecorder is the mock recorder for MockValidator.

func (*MockValidatorMockRecorder) Validate

func (mr *MockValidatorMockRecorder) Validate(arg0, arg1 interface{}) *gomock.Call

Validate indicates an expected call of Validate.

Jump to

Keyboard shortcuts

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