mocks

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

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) Close

func (m *MockCloser) Close() error

Close mocks base method.

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

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) IDLength

func (m *MockIDManager) IDLength() int

IDLength 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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL