Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCloser ¶
type MockCloser struct {
// contains filtered or unexported fields
}
MockCloser is a mock of Closer interface.
func NewMockCloser ¶
func NewMockCloser(ctrl *gomock.Controller) *MockCloser
NewMockCloser creates a new mock instance.
func (*MockCloser) EXPECT ¶
func (m *MockCloser) EXPECT() *MockCloserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCloserMockRecorder ¶
type MockCloserMockRecorder struct {
// contains filtered or unexported fields
}
MockCloserMockRecorder is the mock recorder for MockCloser.
func (*MockCloserMockRecorder) Close ¶
func (mr *MockCloserMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
type MockIDManager ¶
type MockIDManager struct {
// contains filtered or unexported fields
}
MockIDManager is a mock of IDManager interface.
func NewMockIDManager ¶
func NewMockIDManager(ctrl *gomock.Controller) *MockIDManager
NewMockIDManager creates a new mock instance.
func (*MockIDManager) CloseAllChannels ¶
func (m *MockIDManager) CloseAllChannels()
CloseAllChannels mocks base method.
func (*MockIDManager) EXPECT ¶
func (m *MockIDManager) EXPECT() *MockIDManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIDManager) FindChannel ¶
func (m *MockIDManager) FindChannel(arg0 []byte) (chan<- []byte, bool)
FindChannel mocks base method.
func (*MockIDManager) NewID ¶
func (m *MockIDManager) NewID() ([]byte, <-chan []byte)
NewID mocks base method.
type MockIDManagerMockRecorder ¶
type MockIDManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockIDManagerMockRecorder is the mock recorder for MockIDManager.
func (*MockIDManagerMockRecorder) CloseAllChannels ¶
func (mr *MockIDManagerMockRecorder) CloseAllChannels() *gomock.Call
CloseAllChannels indicates an expected call of CloseAllChannels.
func (*MockIDManagerMockRecorder) FindChannel ¶
func (mr *MockIDManagerMockRecorder) FindChannel(arg0 interface{}) *gomock.Call
FindChannel indicates an expected call of FindChannel.
func (*MockIDManagerMockRecorder) IDLength ¶
func (mr *MockIDManagerMockRecorder) IDLength() *gomock.Call
IDLength indicates an expected call of IDLength.
func (*MockIDManagerMockRecorder) NewID ¶
func (mr *MockIDManagerMockRecorder) NewID() *gomock.Call
NewID indicates an expected call of NewID.
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
MockLogger is a mock of Logger interface.
func NewMockLogger ¶
func NewMockLogger(ctrl *gomock.Controller) *MockLogger
NewMockLogger creates a new mock instance.
func (*MockLogger) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogger) Error ¶
func (m *MockLogger) Error(arg0 string, arg1 ...interface{})
Error mocks base method.
func (*MockLogger) Info ¶
func (m *MockLogger) Info(arg0 string, arg1 ...interface{})
Info mocks base method.
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger.
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockLoggerMockRecorder) Info ¶
func (mr *MockLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Info indicates an expected call of Info.
type MockPacketStream ¶
type MockPacketStream struct {
// contains filtered or unexported fields
}
MockPacketStream is a mock of PacketStream interface.
func NewMockPacketStream ¶
func NewMockPacketStream(ctrl *gomock.Controller) *MockPacketStream
NewMockPacketStream creates a new mock instance.
func (*MockPacketStream) EXPECT ¶
func (m *MockPacketStream) EXPECT() *MockPacketStreamMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPacketStream) ReceivePacket ¶
func (m *MockPacketStream) ReceivePacket() (hsmlib.Packet, error)
ReceivePacket mocks base method.
func (*MockPacketStream) SendPacket ¶
func (m *MockPacketStream) SendPacket(arg0 hsmlib.Packet) error
SendPacket mocks base method.
type MockPacketStreamMockRecorder ¶
type MockPacketStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockPacketStreamMockRecorder is the mock recorder for MockPacketStream.
func (*MockPacketStreamMockRecorder) ReceivePacket ¶
func (mr *MockPacketStreamMockRecorder) ReceivePacket() *gomock.Call
ReceivePacket indicates an expected call of ReceivePacket.
func (*MockPacketStreamMockRecorder) SendPacket ¶
func (mr *MockPacketStreamMockRecorder) SendPacket(arg0 interface{}) *gomock.Call
SendPacket indicates an expected call of SendPacket.