Documentation ¶
Overview ¶
Package mock_snet is a generated GoMock package.
Index ¶
- type MockNetwork
- func (m *MockNetwork) Dial(arg0 context.Context, arg1 string, arg2 *net.UDPAddr, arg3 *snet.UDPAddr, ...) (*snet.Conn, error)
- func (m *MockNetwork) EXPECT() *MockNetworkMockRecorder
- func (m *MockNetwork) Listen(arg0 context.Context, arg1 string, arg2 *net.UDPAddr, arg3 addr.HostSVC) (*snet.Conn, error)
- type MockNetworkMockRecorder
- type MockPacketConn
- func (m *MockPacketConn) Close() error
- func (m *MockPacketConn) EXPECT() *MockPacketConnMockRecorder
- func (m *MockPacketConn) ReadFrom(arg0 *snet.Packet, arg1 *net.UDPAddr) error
- func (m *MockPacketConn) SetDeadline(arg0 time.Time) error
- func (m *MockPacketConn) SetReadDeadline(arg0 time.Time) error
- func (m *MockPacketConn) SetWriteDeadline(arg0 time.Time) error
- func (m *MockPacketConn) WriteTo(arg0 *snet.Packet, arg1 *net.UDPAddr) error
- type MockPacketConnMockRecorder
- func (mr *MockPacketConnMockRecorder) Close() *gomock.Call
- func (mr *MockPacketConnMockRecorder) ReadFrom(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPacketConnMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockPacketConnMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockPacketConnMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockPacketConnMockRecorder) WriteTo(arg0, arg1 interface{}) *gomock.Call
- type MockPacketDispatcherService
- type MockPacketDispatcherServiceMockRecorder
- type MockPath
- type MockPathMockRecorder
- type MockPathQuerier
- type MockPathQuerierMockRecorder
- type MockRevocationHandler
- type MockRevocationHandlerMockRecorder
- type MockRouter
- type MockRouterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNetwork ¶
type MockNetwork struct {
// contains filtered or unexported fields
}
MockNetwork is a mock of Network interface
func NewMockNetwork ¶
func NewMockNetwork(ctrl *gomock.Controller) *MockNetwork
NewMockNetwork creates a new mock instance
func (*MockNetwork) Dial ¶ added in v0.5.0
func (m *MockNetwork) Dial(arg0 context.Context, arg1 string, arg2 *net.UDPAddr, arg3 *snet.UDPAddr, arg4 addr.HostSVC) (*snet.Conn, error)
Dial mocks base method
func (*MockNetwork) EXPECT ¶
func (m *MockNetwork) EXPECT() *MockNetworkMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockNetworkMockRecorder ¶
type MockNetworkMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkMockRecorder is the mock recorder for MockNetwork
func (*MockNetworkMockRecorder) Dial ¶ added in v0.5.0
func (mr *MockNetworkMockRecorder) Dial(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Dial indicates an expected call of Dial
func (*MockNetworkMockRecorder) Listen ¶ added in v0.5.0
func (mr *MockNetworkMockRecorder) Listen(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Listen indicates an expected call of Listen
type MockPacketConn ¶
type MockPacketConn struct {
// contains filtered or unexported fields
}
MockPacketConn is a mock of PacketConn interface
func NewMockPacketConn ¶
func NewMockPacketConn(ctrl *gomock.Controller) *MockPacketConn
NewMockPacketConn creates a new mock instance
func (*MockPacketConn) EXPECT ¶
func (m *MockPacketConn) EXPECT() *MockPacketConnMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPacketConn) SetDeadline ¶
func (m *MockPacketConn) SetDeadline(arg0 time.Time) error
SetDeadline mocks base method
func (*MockPacketConn) SetReadDeadline ¶
func (m *MockPacketConn) SetReadDeadline(arg0 time.Time) error
SetReadDeadline mocks base method
func (*MockPacketConn) SetWriteDeadline ¶
func (m *MockPacketConn) SetWriteDeadline(arg0 time.Time) error
SetWriteDeadline mocks base method
type MockPacketConnMockRecorder ¶
type MockPacketConnMockRecorder struct {
// contains filtered or unexported fields
}
MockPacketConnMockRecorder is the mock recorder for MockPacketConn
func (*MockPacketConnMockRecorder) Close ¶
func (mr *MockPacketConnMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockPacketConnMockRecorder) ReadFrom ¶
func (mr *MockPacketConnMockRecorder) ReadFrom(arg0, arg1 interface{}) *gomock.Call
ReadFrom indicates an expected call of ReadFrom
func (*MockPacketConnMockRecorder) SetDeadline ¶
func (mr *MockPacketConnMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call
SetDeadline indicates an expected call of SetDeadline
func (*MockPacketConnMockRecorder) SetReadDeadline ¶
func (mr *MockPacketConnMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call
SetReadDeadline indicates an expected call of SetReadDeadline
func (*MockPacketConnMockRecorder) SetWriteDeadline ¶
func (mr *MockPacketConnMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call
SetWriteDeadline indicates an expected call of SetWriteDeadline
func (*MockPacketConnMockRecorder) WriteTo ¶
func (mr *MockPacketConnMockRecorder) WriteTo(arg0, arg1 interface{}) *gomock.Call
WriteTo indicates an expected call of WriteTo
type MockPacketDispatcherService ¶
type MockPacketDispatcherService struct {
// contains filtered or unexported fields
}
MockPacketDispatcherService is a mock of PacketDispatcherService interface
func NewMockPacketDispatcherService ¶
func NewMockPacketDispatcherService(ctrl *gomock.Controller) *MockPacketDispatcherService
NewMockPacketDispatcherService creates a new mock instance
func (*MockPacketDispatcherService) EXPECT ¶
func (m *MockPacketDispatcherService) EXPECT() *MockPacketDispatcherServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockPacketDispatcherServiceMockRecorder ¶
type MockPacketDispatcherServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPacketDispatcherServiceMockRecorder is the mock recorder for MockPacketDispatcherService
func (*MockPacketDispatcherServiceMockRecorder) Register ¶ added in v0.5.0
func (mr *MockPacketDispatcherServiceMockRecorder) Register(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Register indicates an expected call of Register
type MockPath ¶
type MockPath struct {
// contains filtered or unexported fields
}
MockPath is a mock of Path interface
func NewMockPath ¶
func NewMockPath(ctrl *gomock.Controller) *MockPath
NewMockPath creates a new mock instance
func (*MockPath) Destination ¶
Destination mocks base method
func (*MockPath) EXPECT ¶
func (m *MockPath) EXPECT() *MockPathMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPath) Metadata ¶ added in v0.6.0
func (m *MockPath) Metadata() *snet.PathMetadata
Metadata mocks base method
func (*MockPath) UnderlayNextHop ¶ added in v0.6.0
UnderlayNextHop mocks base method
type MockPathMockRecorder ¶
type MockPathMockRecorder struct {
// contains filtered or unexported fields
}
MockPathMockRecorder is the mock recorder for MockPath
func (*MockPathMockRecorder) Copy ¶
func (mr *MockPathMockRecorder) Copy() *gomock.Call
Copy indicates an expected call of Copy
func (*MockPathMockRecorder) Destination ¶
func (mr *MockPathMockRecorder) Destination() *gomock.Call
Destination indicates an expected call of Destination
func (*MockPathMockRecorder) Metadata ¶ added in v0.6.0
func (mr *MockPathMockRecorder) Metadata() *gomock.Call
Metadata indicates an expected call of Metadata
func (*MockPathMockRecorder) Path ¶
func (mr *MockPathMockRecorder) Path() *gomock.Call
Path indicates an expected call of Path
func (*MockPathMockRecorder) UnderlayNextHop ¶ added in v0.6.0
func (mr *MockPathMockRecorder) UnderlayNextHop() *gomock.Call
UnderlayNextHop indicates an expected call of UnderlayNextHop
type MockPathQuerier ¶ added in v0.5.0
type MockPathQuerier struct {
// contains filtered or unexported fields
}
MockPathQuerier is a mock of PathQuerier interface
func NewMockPathQuerier ¶ added in v0.5.0
func NewMockPathQuerier(ctrl *gomock.Controller) *MockPathQuerier
NewMockPathQuerier creates a new mock instance
func (*MockPathQuerier) EXPECT ¶ added in v0.5.0
func (m *MockPathQuerier) EXPECT() *MockPathQuerierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockPathQuerierMockRecorder ¶ added in v0.5.0
type MockPathQuerierMockRecorder struct {
// contains filtered or unexported fields
}
MockPathQuerierMockRecorder is the mock recorder for MockPathQuerier
func (*MockPathQuerierMockRecorder) Query ¶ added in v0.5.0
func (mr *MockPathQuerierMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
Query indicates an expected call of Query
type MockRevocationHandler ¶ added in v0.6.0
type MockRevocationHandler struct {
// contains filtered or unexported fields
}
MockRevocationHandler is a mock of RevocationHandler interface
func NewMockRevocationHandler ¶ added in v0.6.0
func NewMockRevocationHandler(ctrl *gomock.Controller) *MockRevocationHandler
NewMockRevocationHandler creates a new mock instance
func (*MockRevocationHandler) EXPECT ¶ added in v0.6.0
func (m *MockRevocationHandler) EXPECT() *MockRevocationHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRevocationHandlerMockRecorder ¶ added in v0.6.0
type MockRevocationHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockRevocationHandlerMockRecorder is the mock recorder for MockRevocationHandler
func (*MockRevocationHandlerMockRecorder) RevokeRaw ¶ added in v0.6.0
func (mr *MockRevocationHandlerMockRecorder) RevokeRaw(arg0, arg1 interface{}) *gomock.Call
RevokeRaw indicates an expected call of RevokeRaw
type MockRouter ¶
type MockRouter struct {
// contains filtered or unexported fields
}
MockRouter is a mock of Router interface
func NewMockRouter ¶
func NewMockRouter(ctrl *gomock.Controller) *MockRouter
NewMockRouter creates a new mock instance
func (*MockRouter) EXPECT ¶
func (m *MockRouter) EXPECT() *MockRouterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRouterMockRecorder ¶
type MockRouterMockRecorder struct {
// contains filtered or unexported fields
}
MockRouterMockRecorder is the mock recorder for MockRouter
func (*MockRouterMockRecorder) AllRoutes ¶
func (mr *MockRouterMockRecorder) AllRoutes(arg0, arg1 interface{}) *gomock.Call
AllRoutes indicates an expected call of AllRoutes
func (*MockRouterMockRecorder) Route ¶
func (mr *MockRouterMockRecorder) Route(arg0, arg1 interface{}) *gomock.Call
Route indicates an expected call of Route