Documentation ¶
Overview ¶
Package mock_controlsvc is a generated GoMock package.
Package mock_controlsvc is a generated GoMock package.
Package mock_controlsvc is a generated GoMock package.
Package mock_controlsvc is a generated GoMock package.
Index ¶
- type MockAddr
- type MockAddrMockRecorder
- type MockConn
- func (m *MockConn) Close() error
- func (m *MockConn) EXPECT() *MockConnMockRecorder
- func (m *MockConn) LocalAddr() net.Addr
- func (m *MockConn) Read(arg0 []byte) (int, error)
- func (m *MockConn) RemoteAddr() net.Addr
- func (m *MockConn) SetDeadline(arg0 time.Time) error
- func (m *MockConn) SetReadDeadline(arg0 time.Time) error
- func (m *MockConn) SetWriteDeadline(arg0 time.Time) error
- func (m *MockConn) Write(arg0 []byte) (int, error)
- type MockConnMockRecorder
- func (mr *MockConnMockRecorder) Close() *gomock.Call
- func (mr *MockConnMockRecorder) LocalAddr() *gomock.Call
- func (mr *MockConnMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockConnMockRecorder) RemoteAddr() *gomock.Call
- func (mr *MockConnMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockConnMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockConnMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockConnMockRecorder) Write(arg0 interface{}) *gomock.Call
- type MockControlCommand
- type MockControlCommandMockRecorder
- type MockControlCommandType
- type MockControlCommandTypeMockRecorder
- type MockControlFuncOperations
- func (m *MockControlFuncOperations) BridgeConn(arg0 string, arg1 io.ReadWriteCloser, arg2 string, arg3 *logger.ReceptorLogger, ...) error
- func (m *MockControlFuncOperations) Close() error
- func (m *MockControlFuncOperations) EXPECT() *MockControlFuncOperationsMockRecorder
- func (m *MockControlFuncOperations) ReadFromConn(arg0 string, arg1 io.Writer, arg2 controlsvc.Copier) error
- func (m *MockControlFuncOperations) RemoteAddr() net.Addr
- func (m *MockControlFuncOperations) WriteToConn(arg0 string, arg1 chan []byte) error
- type MockControlFuncOperationsMockRecorder
- func (mr *MockControlFuncOperationsMockRecorder) BridgeConn(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockControlFuncOperationsMockRecorder) Close() *gomock.Call
- func (mr *MockControlFuncOperationsMockRecorder) ReadFromConn(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockControlFuncOperationsMockRecorder) RemoteAddr() *gomock.Call
- func (mr *MockControlFuncOperationsMockRecorder) WriteToConn(arg0, arg1 interface{}) *gomock.Call
- type MockCopier
- type MockCopierMockRecorder
- type MockListener
- type MockListenerMockRecorder
- type MockNetceptorForControlCommand
- func (m *MockNetceptorForControlCommand) CancelBackends()
- func (m *MockNetceptorForControlCommand) Dial(arg0, arg1 string, arg2 *tls.Config) (*netceptor.Conn, error)
- func (m *MockNetceptorForControlCommand) EXPECT() *MockNetceptorForControlCommandMockRecorder
- func (m *MockNetceptorForControlCommand) GetClientTLSConfig(arg0, arg1 string, arg2 netceptor.ExpectedHostnameType) (*tls.Config, error)
- func (m *MockNetceptorForControlCommand) GetLogger() *logger.ReceptorLogger
- func (m *MockNetceptorForControlCommand) MaxForwardingHops() byte
- func (m *MockNetceptorForControlCommand) NodeID() string
- func (m *MockNetceptorForControlCommand) Ping(arg0 context.Context, arg1 string, arg2 byte) (time.Duration, string, error)
- func (m *MockNetceptorForControlCommand) Status() netceptor.Status
- func (m *MockNetceptorForControlCommand) Traceroute(arg0 context.Context, arg1 string) <-chan *netceptor.TracerouteResult
- type MockNetceptorForControlCommandMockRecorder
- func (mr *MockNetceptorForControlCommandMockRecorder) CancelBackends() *gomock.Call
- func (mr *MockNetceptorForControlCommandMockRecorder) Dial(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetceptorForControlCommandMockRecorder) GetClientTLSConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetceptorForControlCommandMockRecorder) GetLogger() *gomock.Call
- func (mr *MockNetceptorForControlCommandMockRecorder) MaxForwardingHops() *gomock.Call
- func (mr *MockNetceptorForControlCommandMockRecorder) NodeID() *gomock.Call
- func (mr *MockNetceptorForControlCommandMockRecorder) Ping(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetceptorForControlCommandMockRecorder) Status() *gomock.Call
- func (mr *MockNetceptorForControlCommandMockRecorder) Traceroute(arg0, arg1 interface{}) *gomock.Call
- type MockNetceptorForControlsvc
- func (m *MockNetceptorForControlsvc) CancelBackends()
- func (m *MockNetceptorForControlsvc) Dial(arg0, arg1 string, arg2 *tls.Config) (*netceptor.Conn, error)
- func (m *MockNetceptorForControlsvc) EXPECT() *MockNetceptorForControlsvcMockRecorder
- func (m *MockNetceptorForControlsvc) GetClientTLSConfig(arg0, arg1 string, arg2 netceptor.ExpectedHostnameType) (*tls.Config, error)
- func (m *MockNetceptorForControlsvc) GetLogger() *logger.ReceptorLogger
- func (m *MockNetceptorForControlsvc) ListenAndAdvertise(arg0 string, arg1 *tls.Config, arg2 map[string]string) (*netceptor.Listener, error)
- func (m *MockNetceptorForControlsvc) MaxForwardingHops() byte
- func (m *MockNetceptorForControlsvc) NodeID() string
- func (m *MockNetceptorForControlsvc) Ping(arg0 context.Context, arg1 string, arg2 byte) (time.Duration, string, error)
- func (m *MockNetceptorForControlsvc) Status() netceptor.Status
- func (m *MockNetceptorForControlsvc) Traceroute(arg0 context.Context, arg1 string) <-chan *netceptor.TracerouteResult
- type MockNetceptorForControlsvcMockRecorder
- func (mr *MockNetceptorForControlsvcMockRecorder) CancelBackends() *gomock.Call
- func (mr *MockNetceptorForControlsvcMockRecorder) Dial(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetceptorForControlsvcMockRecorder) GetClientTLSConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetceptorForControlsvcMockRecorder) GetLogger() *gomock.Call
- func (mr *MockNetceptorForControlsvcMockRecorder) ListenAndAdvertise(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetceptorForControlsvcMockRecorder) MaxForwardingHops() *gomock.Call
- func (mr *MockNetceptorForControlsvcMockRecorder) NodeID() *gomock.Call
- func (mr *MockNetceptorForControlsvcMockRecorder) Ping(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetceptorForControlsvcMockRecorder) Status() *gomock.Call
- func (mr *MockNetceptorForControlsvcMockRecorder) Traceroute(arg0, arg1 interface{}) *gomock.Call
- type MockNeter
- type MockNeterMockRecorder
- type MockReadWriteCloser
- type MockReadWriteCloserMockRecorder
- type MockTlser
- type MockTlserMockRecorder
- type MockUtiler
- type MockUtilerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAddr ¶
type MockAddr struct {
// contains filtered or unexported fields
}
MockAddr is a mock of Addr interface.
func NewMockAddr ¶
func NewMockAddr(ctrl *gomock.Controller) *MockAddr
NewMockAddr creates a new mock instance.
func (*MockAddr) EXPECT ¶
func (m *MockAddr) EXPECT() *MockAddrMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAddrMockRecorder ¶
type MockAddrMockRecorder struct {
// contains filtered or unexported fields
}
MockAddrMockRecorder is the mock recorder for MockAddr.
func (*MockAddrMockRecorder) Network ¶
func (mr *MockAddrMockRecorder) Network() *gomock.Call
Network indicates an expected call of Network.
func (*MockAddrMockRecorder) String ¶
func (mr *MockAddrMockRecorder) String() *gomock.Call
String indicates an expected call of String.
type MockConn ¶
type MockConn struct {
// contains filtered or unexported fields
}
MockConn is a mock of Conn interface.
func NewMockConn ¶
func NewMockConn(ctrl *gomock.Controller) *MockConn
NewMockConn creates a new mock instance.
func (*MockConn) EXPECT ¶
func (m *MockConn) EXPECT() *MockConnMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConn) RemoteAddr ¶
RemoteAddr mocks base method.
func (*MockConn) SetDeadline ¶
SetDeadline mocks base method.
func (*MockConn) SetReadDeadline ¶
SetReadDeadline mocks base method.
func (*MockConn) SetWriteDeadline ¶
SetWriteDeadline mocks base method.
type MockConnMockRecorder ¶
type MockConnMockRecorder struct {
// contains filtered or unexported fields
}
MockConnMockRecorder is the mock recorder for MockConn.
func (*MockConnMockRecorder) Close ¶
func (mr *MockConnMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockConnMockRecorder) LocalAddr ¶
func (mr *MockConnMockRecorder) LocalAddr() *gomock.Call
LocalAddr indicates an expected call of LocalAddr.
func (*MockConnMockRecorder) Read ¶
func (mr *MockConnMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockConnMockRecorder) RemoteAddr ¶
func (mr *MockConnMockRecorder) RemoteAddr() *gomock.Call
RemoteAddr indicates an expected call of RemoteAddr.
func (*MockConnMockRecorder) SetDeadline ¶
func (mr *MockConnMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call
SetDeadline indicates an expected call of SetDeadline.
func (*MockConnMockRecorder) SetReadDeadline ¶
func (mr *MockConnMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call
SetReadDeadline indicates an expected call of SetReadDeadline.
func (*MockConnMockRecorder) SetWriteDeadline ¶
func (mr *MockConnMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call
SetWriteDeadline indicates an expected call of SetWriteDeadline.
func (*MockConnMockRecorder) Write ¶
func (mr *MockConnMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockControlCommand ¶
type MockControlCommand struct {
// contains filtered or unexported fields
}
MockControlCommand is a mock of ControlCommand interface.
func NewMockControlCommand ¶
func NewMockControlCommand(ctrl *gomock.Controller) *MockControlCommand
NewMockControlCommand creates a new mock instance.
func (*MockControlCommand) ControlFunc ¶
func (m *MockControlCommand) ControlFunc(arg0 context.Context, arg1 controlsvc.NetceptorForControlCommand, arg2 controlsvc.ControlFuncOperations) (map[string]interface{}, error)
ControlFunc mocks base method.
func (*MockControlCommand) EXPECT ¶
func (m *MockControlCommand) EXPECT() *MockControlCommandMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockControlCommandMockRecorder ¶
type MockControlCommandMockRecorder struct {
// contains filtered or unexported fields
}
MockControlCommandMockRecorder is the mock recorder for MockControlCommand.
func (*MockControlCommandMockRecorder) ControlFunc ¶
func (mr *MockControlCommandMockRecorder) ControlFunc(arg0, arg1, arg2 interface{}) *gomock.Call
ControlFunc indicates an expected call of ControlFunc.
type MockControlCommandType ¶
type MockControlCommandType struct {
// contains filtered or unexported fields
}
MockControlCommandType is a mock of ControlCommandType interface.
func NewMockControlCommandType ¶
func NewMockControlCommandType(ctrl *gomock.Controller) *MockControlCommandType
NewMockControlCommandType creates a new mock instance.
func (*MockControlCommandType) EXPECT ¶
func (m *MockControlCommandType) EXPECT() *MockControlCommandTypeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockControlCommandType) InitFromJSON ¶
func (m *MockControlCommandType) InitFromJSON(arg0 map[string]interface{}) (controlsvc.ControlCommand, error)
InitFromJSON mocks base method.
func (*MockControlCommandType) InitFromString ¶
func (m *MockControlCommandType) InitFromString(arg0 string) (controlsvc.ControlCommand, error)
InitFromString mocks base method.
type MockControlCommandTypeMockRecorder ¶
type MockControlCommandTypeMockRecorder struct {
// contains filtered or unexported fields
}
MockControlCommandTypeMockRecorder is the mock recorder for MockControlCommandType.
func (*MockControlCommandTypeMockRecorder) InitFromJSON ¶
func (mr *MockControlCommandTypeMockRecorder) InitFromJSON(arg0 interface{}) *gomock.Call
InitFromJSON indicates an expected call of InitFromJSON.
func (*MockControlCommandTypeMockRecorder) InitFromString ¶
func (mr *MockControlCommandTypeMockRecorder) InitFromString(arg0 interface{}) *gomock.Call
InitFromString indicates an expected call of InitFromString.
type MockControlFuncOperations ¶
type MockControlFuncOperations struct {
// contains filtered or unexported fields
}
MockControlFuncOperations is a mock of ControlFuncOperations interface.
func NewMockControlFuncOperations ¶
func NewMockControlFuncOperations(ctrl *gomock.Controller) *MockControlFuncOperations
NewMockControlFuncOperations creates a new mock instance.
func (*MockControlFuncOperations) BridgeConn ¶
func (m *MockControlFuncOperations) BridgeConn(arg0 string, arg1 io.ReadWriteCloser, arg2 string, arg3 *logger.ReceptorLogger, arg4 controlsvc.Utiler) error
BridgeConn mocks base method.
func (*MockControlFuncOperations) Close ¶
func (m *MockControlFuncOperations) Close() error
Close mocks base method.
func (*MockControlFuncOperations) EXPECT ¶
func (m *MockControlFuncOperations) EXPECT() *MockControlFuncOperationsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockControlFuncOperations) ReadFromConn ¶
func (m *MockControlFuncOperations) ReadFromConn(arg0 string, arg1 io.Writer, arg2 controlsvc.Copier) error
ReadFromConn mocks base method.
func (*MockControlFuncOperations) RemoteAddr ¶
func (m *MockControlFuncOperations) RemoteAddr() net.Addr
RemoteAddr mocks base method.
func (*MockControlFuncOperations) WriteToConn ¶
func (m *MockControlFuncOperations) WriteToConn(arg0 string, arg1 chan []byte) error
WriteToConn mocks base method.
type MockControlFuncOperationsMockRecorder ¶
type MockControlFuncOperationsMockRecorder struct {
// contains filtered or unexported fields
}
MockControlFuncOperationsMockRecorder is the mock recorder for MockControlFuncOperations.
func (*MockControlFuncOperationsMockRecorder) BridgeConn ¶
func (mr *MockControlFuncOperationsMockRecorder) BridgeConn(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
BridgeConn indicates an expected call of BridgeConn.
func (*MockControlFuncOperationsMockRecorder) Close ¶
func (mr *MockControlFuncOperationsMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockControlFuncOperationsMockRecorder) ReadFromConn ¶
func (mr *MockControlFuncOperationsMockRecorder) ReadFromConn(arg0, arg1, arg2 interface{}) *gomock.Call
ReadFromConn indicates an expected call of ReadFromConn.
func (*MockControlFuncOperationsMockRecorder) RemoteAddr ¶
func (mr *MockControlFuncOperationsMockRecorder) RemoteAddr() *gomock.Call
RemoteAddr indicates an expected call of RemoteAddr.
func (*MockControlFuncOperationsMockRecorder) WriteToConn ¶
func (mr *MockControlFuncOperationsMockRecorder) WriteToConn(arg0, arg1 interface{}) *gomock.Call
WriteToConn indicates an expected call of WriteToConn.
type MockCopier ¶
type MockCopier struct {
// contains filtered or unexported fields
}
MockCopier is a mock of Copier interface.
func NewMockCopier ¶
func NewMockCopier(ctrl *gomock.Controller) *MockCopier
NewMockCopier creates a new mock instance.
func (*MockCopier) EXPECT ¶
func (m *MockCopier) EXPECT() *MockCopierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCopierMockRecorder ¶
type MockCopierMockRecorder struct {
// contains filtered or unexported fields
}
MockCopierMockRecorder is the mock recorder for MockCopier.
func (*MockCopierMockRecorder) Copy ¶
func (mr *MockCopierMockRecorder) Copy(arg0, arg1 interface{}) *gomock.Call
Copy indicates an expected call of Copy.
type MockListener ¶
type MockListener struct {
// contains filtered or unexported fields
}
MockListener is a mock of Listener interface.
func NewMockListener ¶
func NewMockListener(ctrl *gomock.Controller) *MockListener
NewMockListener creates a new mock instance.
func (*MockListener) Accept ¶
func (m *MockListener) Accept() (net.Conn, error)
Accept mocks base method.
func (*MockListener) EXPECT ¶
func (m *MockListener) EXPECT() *MockListenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockListenerMockRecorder ¶
type MockListenerMockRecorder struct {
// contains filtered or unexported fields
}
MockListenerMockRecorder is the mock recorder for MockListener.
func (*MockListenerMockRecorder) Accept ¶
func (mr *MockListenerMockRecorder) Accept() *gomock.Call
Accept indicates an expected call of Accept.
func (*MockListenerMockRecorder) Addr ¶
func (mr *MockListenerMockRecorder) Addr() *gomock.Call
Addr indicates an expected call of Addr.
func (*MockListenerMockRecorder) Close ¶
func (mr *MockListenerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
type MockNetceptorForControlCommand ¶
type MockNetceptorForControlCommand struct {
// contains filtered or unexported fields
}
MockNetceptorForControlCommand is a mock of NetceptorForControlCommand interface.
func NewMockNetceptorForControlCommand ¶
func NewMockNetceptorForControlCommand(ctrl *gomock.Controller) *MockNetceptorForControlCommand
NewMockNetceptorForControlCommand creates a new mock instance.
func (*MockNetceptorForControlCommand) CancelBackends ¶
func (m *MockNetceptorForControlCommand) CancelBackends()
CancelBackends mocks base method.
func (*MockNetceptorForControlCommand) Dial ¶
func (m *MockNetceptorForControlCommand) Dial(arg0, arg1 string, arg2 *tls.Config) (*netceptor.Conn, error)
Dial mocks base method.
func (*MockNetceptorForControlCommand) EXPECT ¶
func (m *MockNetceptorForControlCommand) EXPECT() *MockNetceptorForControlCommandMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetceptorForControlCommand) GetClientTLSConfig ¶
func (m *MockNetceptorForControlCommand) GetClientTLSConfig(arg0, arg1 string, arg2 netceptor.ExpectedHostnameType) (*tls.Config, error)
GetClientTLSConfig mocks base method.
func (*MockNetceptorForControlCommand) GetLogger ¶
func (m *MockNetceptorForControlCommand) GetLogger() *logger.ReceptorLogger
GetLogger mocks base method.
func (*MockNetceptorForControlCommand) MaxForwardingHops ¶
func (m *MockNetceptorForControlCommand) MaxForwardingHops() byte
MaxForwardingHops mocks base method.
func (*MockNetceptorForControlCommand) NodeID ¶
func (m *MockNetceptorForControlCommand) NodeID() string
NodeID mocks base method.
func (*MockNetceptorForControlCommand) Ping ¶
func (m *MockNetceptorForControlCommand) Ping(arg0 context.Context, arg1 string, arg2 byte) (time.Duration, string, error)
Ping mocks base method.
func (*MockNetceptorForControlCommand) Status ¶
func (m *MockNetceptorForControlCommand) Status() netceptor.Status
Status mocks base method.
func (*MockNetceptorForControlCommand) Traceroute ¶
func (m *MockNetceptorForControlCommand) Traceroute(arg0 context.Context, arg1 string) <-chan *netceptor.TracerouteResult
Traceroute mocks base method.
type MockNetceptorForControlCommandMockRecorder ¶
type MockNetceptorForControlCommandMockRecorder struct {
// contains filtered or unexported fields
}
MockNetceptorForControlCommandMockRecorder is the mock recorder for MockNetceptorForControlCommand.
func (*MockNetceptorForControlCommandMockRecorder) CancelBackends ¶
func (mr *MockNetceptorForControlCommandMockRecorder) CancelBackends() *gomock.Call
CancelBackends indicates an expected call of CancelBackends.
func (*MockNetceptorForControlCommandMockRecorder) Dial ¶
func (mr *MockNetceptorForControlCommandMockRecorder) Dial(arg0, arg1, arg2 interface{}) *gomock.Call
Dial indicates an expected call of Dial.
func (*MockNetceptorForControlCommandMockRecorder) GetClientTLSConfig ¶
func (mr *MockNetceptorForControlCommandMockRecorder) GetClientTLSConfig(arg0, arg1, arg2 interface{}) *gomock.Call
GetClientTLSConfig indicates an expected call of GetClientTLSConfig.
func (*MockNetceptorForControlCommandMockRecorder) GetLogger ¶
func (mr *MockNetceptorForControlCommandMockRecorder) GetLogger() *gomock.Call
GetLogger indicates an expected call of GetLogger.
func (*MockNetceptorForControlCommandMockRecorder) MaxForwardingHops ¶
func (mr *MockNetceptorForControlCommandMockRecorder) MaxForwardingHops() *gomock.Call
MaxForwardingHops indicates an expected call of MaxForwardingHops.
func (*MockNetceptorForControlCommandMockRecorder) NodeID ¶
func (mr *MockNetceptorForControlCommandMockRecorder) NodeID() *gomock.Call
NodeID indicates an expected call of NodeID.
func (*MockNetceptorForControlCommandMockRecorder) Ping ¶
func (mr *MockNetceptorForControlCommandMockRecorder) Ping(arg0, arg1, arg2 interface{}) *gomock.Call
Ping indicates an expected call of Ping.
func (*MockNetceptorForControlCommandMockRecorder) Status ¶
func (mr *MockNetceptorForControlCommandMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.
func (*MockNetceptorForControlCommandMockRecorder) Traceroute ¶
func (mr *MockNetceptorForControlCommandMockRecorder) Traceroute(arg0, arg1 interface{}) *gomock.Call
Traceroute indicates an expected call of Traceroute.
type MockNetceptorForControlsvc ¶
type MockNetceptorForControlsvc struct {
// contains filtered or unexported fields
}
MockNetceptorForControlsvc is a mock of NetceptorForControlsvc interface.
func NewMockNetceptorForControlsvc ¶
func NewMockNetceptorForControlsvc(ctrl *gomock.Controller) *MockNetceptorForControlsvc
NewMockNetceptorForControlsvc creates a new mock instance.
func (*MockNetceptorForControlsvc) CancelBackends ¶
func (m *MockNetceptorForControlsvc) CancelBackends()
CancelBackends mocks base method.
func (*MockNetceptorForControlsvc) Dial ¶
func (m *MockNetceptorForControlsvc) Dial(arg0, arg1 string, arg2 *tls.Config) (*netceptor.Conn, error)
Dial mocks base method.
func (*MockNetceptorForControlsvc) EXPECT ¶
func (m *MockNetceptorForControlsvc) EXPECT() *MockNetceptorForControlsvcMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetceptorForControlsvc) GetClientTLSConfig ¶
func (m *MockNetceptorForControlsvc) GetClientTLSConfig(arg0, arg1 string, arg2 netceptor.ExpectedHostnameType) (*tls.Config, error)
GetClientTLSConfig mocks base method.
func (*MockNetceptorForControlsvc) GetLogger ¶
func (m *MockNetceptorForControlsvc) GetLogger() *logger.ReceptorLogger
GetLogger mocks base method.
func (*MockNetceptorForControlsvc) ListenAndAdvertise ¶
func (m *MockNetceptorForControlsvc) ListenAndAdvertise(arg0 string, arg1 *tls.Config, arg2 map[string]string) (*netceptor.Listener, error)
ListenAndAdvertise mocks base method.
func (*MockNetceptorForControlsvc) MaxForwardingHops ¶
func (m *MockNetceptorForControlsvc) MaxForwardingHops() byte
MaxForwardingHops mocks base method.
func (*MockNetceptorForControlsvc) NodeID ¶
func (m *MockNetceptorForControlsvc) NodeID() string
NodeID mocks base method.
func (*MockNetceptorForControlsvc) Ping ¶
func (m *MockNetceptorForControlsvc) Ping(arg0 context.Context, arg1 string, arg2 byte) (time.Duration, string, error)
Ping mocks base method.
func (*MockNetceptorForControlsvc) Status ¶
func (m *MockNetceptorForControlsvc) Status() netceptor.Status
Status mocks base method.
func (*MockNetceptorForControlsvc) Traceroute ¶
func (m *MockNetceptorForControlsvc) Traceroute(arg0 context.Context, arg1 string) <-chan *netceptor.TracerouteResult
Traceroute mocks base method.
type MockNetceptorForControlsvcMockRecorder ¶
type MockNetceptorForControlsvcMockRecorder struct {
// contains filtered or unexported fields
}
MockNetceptorForControlsvcMockRecorder is the mock recorder for MockNetceptorForControlsvc.
func (*MockNetceptorForControlsvcMockRecorder) CancelBackends ¶
func (mr *MockNetceptorForControlsvcMockRecorder) CancelBackends() *gomock.Call
CancelBackends indicates an expected call of CancelBackends.
func (*MockNetceptorForControlsvcMockRecorder) Dial ¶
func (mr *MockNetceptorForControlsvcMockRecorder) Dial(arg0, arg1, arg2 interface{}) *gomock.Call
Dial indicates an expected call of Dial.
func (*MockNetceptorForControlsvcMockRecorder) GetClientTLSConfig ¶
func (mr *MockNetceptorForControlsvcMockRecorder) GetClientTLSConfig(arg0, arg1, arg2 interface{}) *gomock.Call
GetClientTLSConfig indicates an expected call of GetClientTLSConfig.
func (*MockNetceptorForControlsvcMockRecorder) GetLogger ¶
func (mr *MockNetceptorForControlsvcMockRecorder) GetLogger() *gomock.Call
GetLogger indicates an expected call of GetLogger.
func (*MockNetceptorForControlsvcMockRecorder) ListenAndAdvertise ¶
func (mr *MockNetceptorForControlsvcMockRecorder) ListenAndAdvertise(arg0, arg1, arg2 interface{}) *gomock.Call
ListenAndAdvertise indicates an expected call of ListenAndAdvertise.
func (*MockNetceptorForControlsvcMockRecorder) MaxForwardingHops ¶
func (mr *MockNetceptorForControlsvcMockRecorder) MaxForwardingHops() *gomock.Call
MaxForwardingHops indicates an expected call of MaxForwardingHops.
func (*MockNetceptorForControlsvcMockRecorder) NodeID ¶
func (mr *MockNetceptorForControlsvcMockRecorder) NodeID() *gomock.Call
NodeID indicates an expected call of NodeID.
func (*MockNetceptorForControlsvcMockRecorder) Ping ¶
func (mr *MockNetceptorForControlsvcMockRecorder) Ping(arg0, arg1, arg2 interface{}) *gomock.Call
Ping indicates an expected call of Ping.
func (*MockNetceptorForControlsvcMockRecorder) Status ¶
func (mr *MockNetceptorForControlsvcMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.
func (*MockNetceptorForControlsvcMockRecorder) Traceroute ¶
func (mr *MockNetceptorForControlsvcMockRecorder) Traceroute(arg0, arg1 interface{}) *gomock.Call
Traceroute indicates an expected call of Traceroute.
type MockNeter ¶
type MockNeter struct {
// contains filtered or unexported fields
}
MockNeter is a mock of Neter interface.
func NewMockNeter ¶
func NewMockNeter(ctrl *gomock.Controller) *MockNeter
NewMockNeter creates a new mock instance.
func (*MockNeter) EXPECT ¶
func (m *MockNeter) EXPECT() *MockNeterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockNeterMockRecorder ¶
type MockNeterMockRecorder struct {
// contains filtered or unexported fields
}
MockNeterMockRecorder is the mock recorder for MockNeter.
func (*MockNeterMockRecorder) Listen ¶
func (mr *MockNeterMockRecorder) Listen(arg0, arg1 interface{}) *gomock.Call
Listen indicates an expected call of Listen.
type MockReadWriteCloser ¶
type MockReadWriteCloser struct {
// contains filtered or unexported fields
}
MockReadWriteCloser is a mock of ReadWriteCloser interface.
func NewMockReadWriteCloser ¶
func NewMockReadWriteCloser(ctrl *gomock.Controller) *MockReadWriteCloser
NewMockReadWriteCloser creates a new mock instance.
func (*MockReadWriteCloser) Close ¶
func (m *MockReadWriteCloser) Close() error
Close mocks base method.
func (*MockReadWriteCloser) EXPECT ¶
func (m *MockReadWriteCloser) EXPECT() *MockReadWriteCloserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockReadWriteCloserMockRecorder ¶
type MockReadWriteCloserMockRecorder struct {
// contains filtered or unexported fields
}
MockReadWriteCloserMockRecorder is the mock recorder for MockReadWriteCloser.
func (*MockReadWriteCloserMockRecorder) Close ¶
func (mr *MockReadWriteCloserMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockReadWriteCloserMockRecorder) Read ¶
func (mr *MockReadWriteCloserMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockReadWriteCloserMockRecorder) Write ¶
func (mr *MockReadWriteCloserMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockTlser ¶
type MockTlser struct {
// contains filtered or unexported fields
}
MockTlser is a mock of Tlser interface.
func NewMockTlser ¶
func NewMockTlser(ctrl *gomock.Controller) *MockTlser
NewMockTlser creates a new mock instance.
func (*MockTlser) EXPECT ¶
func (m *MockTlser) EXPECT() *MockTlserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTlserMockRecorder ¶
type MockTlserMockRecorder struct {
// contains filtered or unexported fields
}
MockTlserMockRecorder is the mock recorder for MockTlser.
func (*MockTlserMockRecorder) NewListener ¶
func (mr *MockTlserMockRecorder) NewListener(arg0, arg1 interface{}) *gomock.Call
NewListener indicates an expected call of NewListener.
type MockUtiler ¶
type MockUtiler struct {
// contains filtered or unexported fields
}
MockUtiler is a mock of Utiler interface.
func NewMockUtiler ¶
func NewMockUtiler(ctrl *gomock.Controller) *MockUtiler
NewMockUtiler creates a new mock instance.
func (*MockUtiler) BridgeConns ¶
func (m *MockUtiler) BridgeConns(arg0 io.ReadWriteCloser, arg1 string, arg2 io.ReadWriteCloser, arg3 string, arg4 *logger.ReceptorLogger)
BridgeConns mocks base method.
func (*MockUtiler) EXPECT ¶
func (m *MockUtiler) EXPECT() *MockUtilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUtilerMockRecorder ¶
type MockUtilerMockRecorder struct {
// contains filtered or unexported fields
}
MockUtilerMockRecorder is the mock recorder for MockUtiler.
func (*MockUtilerMockRecorder) BridgeConns ¶
func (mr *MockUtilerMockRecorder) BridgeConns(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
BridgeConns indicates an expected call of BridgeConns.
func (*MockUtilerMockRecorder) UnixSocketListen ¶
func (mr *MockUtilerMockRecorder) UnixSocketListen(arg0, arg1 interface{}) *gomock.Call
UnixSocketListen indicates an expected call of UnixSocketListen.