Documentation ¶
Overview ¶
Package mock_iface is a generated GoMock package.
Index ¶
- type MockSession
- func (m *MockSession) AnnounceWorkerStopped()
- func (m *MockSession) Cleanup() error
- func (m *MockSession) Conn() snet.Conn
- func (m *MockSession) Crit(arg0 string, arg1 ...interface{})
- func (m *MockSession) Debug(arg0 string, arg1 ...interface{})
- func (m *MockSession) EXPECT() *MockSessionMockRecorder
- func (m *MockSession) Error(arg0 string, arg1 ...interface{})
- func (m *MockSession) GetHandler() log.Handler
- func (m *MockSession) Healthy() bool
- func (m *MockSession) IA() addr.IA
- func (m *MockSession) ID() mgmt.SessionType
- func (m *MockSession) Info(arg0 string, arg1 ...interface{})
- func (m *MockSession) New(arg0 ...interface{}) log.Logger
- func (m *MockSession) PathPool() iface.PathPool
- func (m *MockSession) Remote() *iface.RemoteInfo
- func (m *MockSession) Ring() *ringbuf.Ring
- func (m *MockSession) SetHandler(arg0 log.Handler)
- func (m *MockSession) Trace(arg0 string, arg1 ...interface{})
- func (m *MockSession) Warn(arg0 string, arg1 ...interface{})
- type MockSessionMockRecorder
- func (mr *MockSessionMockRecorder) AnnounceWorkerStopped() *gomock.Call
- func (mr *MockSessionMockRecorder) Cleanup() *gomock.Call
- func (mr *MockSessionMockRecorder) Conn() *gomock.Call
- func (mr *MockSessionMockRecorder) Crit(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockSessionMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockSessionMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockSessionMockRecorder) GetHandler() *gomock.Call
- func (mr *MockSessionMockRecorder) Healthy() *gomock.Call
- func (mr *MockSessionMockRecorder) IA() *gomock.Call
- func (mr *MockSessionMockRecorder) ID() *gomock.Call
- func (mr *MockSessionMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockSessionMockRecorder) New(arg0 ...interface{}) *gomock.Call
- func (mr *MockSessionMockRecorder) PathPool() *gomock.Call
- func (mr *MockSessionMockRecorder) Remote() *gomock.Call
- func (mr *MockSessionMockRecorder) Ring() *gomock.Call
- func (mr *MockSessionMockRecorder) SetHandler(arg0 interface{}) *gomock.Call
- func (mr *MockSessionMockRecorder) Trace(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockSessionMockRecorder) Warn(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSession ¶
type MockSession struct {
// contains filtered or unexported fields
}
MockSession is a mock of Session interface
func NewMockSession ¶
func NewMockSession(ctrl *gomock.Controller) *MockSession
NewMockSession creates a new mock instance
func (*MockSession) AnnounceWorkerStopped ¶
func (m *MockSession) AnnounceWorkerStopped()
AnnounceWorkerStopped mocks base method
func (*MockSession) Crit ¶
func (m *MockSession) Crit(arg0 string, arg1 ...interface{})
Crit mocks base method
func (*MockSession) Debug ¶
func (m *MockSession) Debug(arg0 string, arg1 ...interface{})
Debug mocks base method
func (*MockSession) EXPECT ¶
func (m *MockSession) EXPECT() *MockSessionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSession) Error ¶
func (m *MockSession) Error(arg0 string, arg1 ...interface{})
Error mocks base method
func (*MockSession) GetHandler ¶
func (m *MockSession) GetHandler() log.Handler
GetHandler mocks base method
func (*MockSession) Info ¶
func (m *MockSession) Info(arg0 string, arg1 ...interface{})
Info mocks base method
func (*MockSession) New ¶
func (m *MockSession) New(arg0 ...interface{}) log.Logger
New mocks base method
func (*MockSession) PathPool ¶
func (m *MockSession) PathPool() iface.PathPool
PathPool mocks base method
func (*MockSession) Remote ¶
func (m *MockSession) Remote() *iface.RemoteInfo
Remote mocks base method
func (*MockSession) SetHandler ¶
func (m *MockSession) SetHandler(arg0 log.Handler)
SetHandler mocks base method
func (*MockSession) Trace ¶
func (m *MockSession) Trace(arg0 string, arg1 ...interface{})
Trace mocks base method
func (*MockSession) Warn ¶
func (m *MockSession) Warn(arg0 string, arg1 ...interface{})
Warn mocks base method
type MockSessionMockRecorder ¶
type MockSessionMockRecorder struct {
// contains filtered or unexported fields
}
MockSessionMockRecorder is the mock recorder for MockSession
func (*MockSessionMockRecorder) AnnounceWorkerStopped ¶
func (mr *MockSessionMockRecorder) AnnounceWorkerStopped() *gomock.Call
AnnounceWorkerStopped indicates an expected call of AnnounceWorkerStopped
func (*MockSessionMockRecorder) Cleanup ¶
func (mr *MockSessionMockRecorder) Cleanup() *gomock.Call
Cleanup indicates an expected call of Cleanup
func (*MockSessionMockRecorder) Conn ¶
func (mr *MockSessionMockRecorder) Conn() *gomock.Call
Conn indicates an expected call of Conn
func (*MockSessionMockRecorder) Crit ¶
func (mr *MockSessionMockRecorder) Crit(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Crit indicates an expected call of Crit
func (*MockSessionMockRecorder) Debug ¶
func (mr *MockSessionMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debug indicates an expected call of Debug
func (*MockSessionMockRecorder) Error ¶
func (mr *MockSessionMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Error indicates an expected call of Error
func (*MockSessionMockRecorder) GetHandler ¶
func (mr *MockSessionMockRecorder) GetHandler() *gomock.Call
GetHandler indicates an expected call of GetHandler
func (*MockSessionMockRecorder) Healthy ¶
func (mr *MockSessionMockRecorder) Healthy() *gomock.Call
Healthy indicates an expected call of Healthy
func (*MockSessionMockRecorder) IA ¶
func (mr *MockSessionMockRecorder) IA() *gomock.Call
IA indicates an expected call of IA
func (*MockSessionMockRecorder) ID ¶
func (mr *MockSessionMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID
func (*MockSessionMockRecorder) Info ¶
func (mr *MockSessionMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Info indicates an expected call of Info
func (*MockSessionMockRecorder) New ¶
func (mr *MockSessionMockRecorder) New(arg0 ...interface{}) *gomock.Call
New indicates an expected call of New
func (*MockSessionMockRecorder) PathPool ¶
func (mr *MockSessionMockRecorder) PathPool() *gomock.Call
PathPool indicates an expected call of PathPool
func (*MockSessionMockRecorder) Remote ¶
func (mr *MockSessionMockRecorder) Remote() *gomock.Call
Remote indicates an expected call of Remote
func (*MockSessionMockRecorder) Ring ¶
func (mr *MockSessionMockRecorder) Ring() *gomock.Call
Ring indicates an expected call of Ring
func (*MockSessionMockRecorder) SetHandler ¶
func (mr *MockSessionMockRecorder) SetHandler(arg0 interface{}) *gomock.Call
SetHandler indicates an expected call of SetHandler
func (*MockSessionMockRecorder) Trace ¶
func (mr *MockSessionMockRecorder) Trace(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Trace indicates an expected call of Trace
func (*MockSessionMockRecorder) Warn ¶
func (mr *MockSessionMockRecorder) Warn(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Warn indicates an expected call of Warn