Documentation ¶
Overview ¶
Package mock_topology is a generated GoMock package.
Index ¶
- type MockTopology
- func (m *MockTopology) Anycast(arg0 addr.SVC) (*net.UDPAddr, error)
- func (m *MockTopology) BR(arg0 string) (topology.BRInfo, bool)
- func (m *MockTopology) BRNames() []string
- func (m *MockTopology) Core() bool
- func (m *MockTopology) EXPECT() *MockTopologyMockRecorder
- func (m *MockTopology) Gateways() ([]topology.GatewayInfo, error)
- func (m *MockTopology) IA() addr.IA
- func (m *MockTopology) IFInfoMap() topology.IfInfoMap
- func (m *MockTopology) InterfaceIDs() []common.IFIDType
- func (m *MockTopology) MTU() uint16
- func (m *MockTopology) MakeHostInfos(arg0 topology.ServiceType) ([]*net.UDPAddr, error)
- func (m *MockTopology) Multicast(arg0 addr.SVC) ([]*net.UDPAddr, error)
- func (m *MockTopology) PublicAddress(arg0 addr.SVC, arg1 string) *net.UDPAddr
- func (m *MockTopology) SVCNames(arg0 addr.SVC) topology.ServiceNames
- func (m *MockTopology) UnderlayAnycast(arg0 addr.SVC) (*net.UDPAddr, error)
- func (m *MockTopology) UnderlayMulticast(arg0 addr.SVC) ([]*net.UDPAddr, error)
- func (m *MockTopology) UnderlayNextHop(arg0 common.IFIDType) (*net.UDPAddr, bool)
- func (m *MockTopology) Writable() *topology.RWTopology
- type MockTopologyMockRecorder
- func (mr *MockTopologyMockRecorder) Anycast(arg0 interface{}) *gomock.Call
- func (mr *MockTopologyMockRecorder) BR(arg0 interface{}) *gomock.Call
- func (mr *MockTopologyMockRecorder) BRNames() *gomock.Call
- func (mr *MockTopologyMockRecorder) Core() *gomock.Call
- func (mr *MockTopologyMockRecorder) Gateways() *gomock.Call
- func (mr *MockTopologyMockRecorder) IA() *gomock.Call
- func (mr *MockTopologyMockRecorder) IFInfoMap() *gomock.Call
- func (mr *MockTopologyMockRecorder) InterfaceIDs() *gomock.Call
- func (mr *MockTopologyMockRecorder) MTU() *gomock.Call
- func (mr *MockTopologyMockRecorder) MakeHostInfos(arg0 interface{}) *gomock.Call
- func (mr *MockTopologyMockRecorder) Multicast(arg0 interface{}) *gomock.Call
- func (mr *MockTopologyMockRecorder) PublicAddress(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopologyMockRecorder) SVCNames(arg0 interface{}) *gomock.Call
- func (mr *MockTopologyMockRecorder) UnderlayAnycast(arg0 interface{}) *gomock.Call
- func (mr *MockTopologyMockRecorder) UnderlayMulticast(arg0 interface{}) *gomock.Call
- func (mr *MockTopologyMockRecorder) UnderlayNextHop(arg0 interface{}) *gomock.Call
- func (mr *MockTopologyMockRecorder) Writable() *gomock.Call
- type MockValidator
- type MockValidatorMockRecorder
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) BR ¶
func (m *MockTopology) BR(arg0 string) (topology.BRInfo, bool)
BR mocks base method.
func (*MockTopology) EXPECT ¶
func (m *MockTopology) EXPECT() *MockTopologyMockRecorder
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) 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) MakeHostInfos ¶
func (m *MockTopology) MakeHostInfos(arg0 topology.ServiceType) ([]*net.UDPAddr, error)
MakeHostInfos mocks base method.
func (*MockTopology) PublicAddress ¶
PublicAddress mocks base method.
func (*MockTopology) SVCNames ¶
func (m *MockTopology) SVCNames(arg0 addr.SVC) topology.ServiceNames
SVCNames mocks base method.
func (*MockTopology) UnderlayAnycast ¶
UnderlayAnycast mocks base method.
func (*MockTopology) UnderlayMulticast ¶
UnderlayMulticast mocks base method.
func (*MockTopology) UnderlayNextHop ¶
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 ¶
func (mr *MockTopologyMockRecorder) IA() *gomock.Call
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 ¶
func (mr *MockTopologyMockRecorder) MTU() *gomock.Call
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 ¶
func (m *MockValidator) EXPECT() *MockValidatorMockRecorder
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.