Documentation
¶
Overview ¶
Package mocks provides generated mock implementations for testing.
Package mocks is a generated GoMock package.
Index ¶
- type MockNATSServerInstance
- func (m *MockNATSServerInstance) EXPECT() *MockNATSServerInstanceMockRecorder
- func (m *MockNATSServerInstance) ReadyForConnections(timeout time.Duration) bool
- func (m *MockNATSServerInstance) SetLogger(logger server.Logger, debug, trace bool)
- func (m *MockNATSServerInstance) Shutdown()
- func (m *MockNATSServerInstance) Start()
- type MockNATSServerInstanceMockRecorder
- func (mr *MockNATSServerInstanceMockRecorder) ReadyForConnections(timeout any) *gomock.Call
- func (mr *MockNATSServerInstanceMockRecorder) SetLogger(logger, debug, trace any) *gomock.Call
- func (mr *MockNATSServerInstanceMockRecorder) Shutdown() *gomock.Call
- func (mr *MockNATSServerInstanceMockRecorder) Start() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNATSServerInstance ¶
type MockNATSServerInstance struct {
// contains filtered or unexported fields
}
MockNATSServerInstance is a mock of NATSServerInstance interface.
func NewMockNATSServerInstance ¶
func NewMockNATSServerInstance(ctrl *gomock.Controller) *MockNATSServerInstance
NewMockNATSServerInstance creates a new mock instance.
func (*MockNATSServerInstance) EXPECT ¶
func (m *MockNATSServerInstance) EXPECT() *MockNATSServerInstanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNATSServerInstance) ReadyForConnections ¶
func (m *MockNATSServerInstance) ReadyForConnections(timeout time.Duration) bool
ReadyForConnections mocks base method.
func (*MockNATSServerInstance) SetLogger ¶
func (m *MockNATSServerInstance) SetLogger(logger server.Logger, debug, trace bool)
SetLogger mocks base method.
func (*MockNATSServerInstance) Shutdown ¶
func (m *MockNATSServerInstance) Shutdown()
Shutdown mocks base method.
func (*MockNATSServerInstance) Start ¶
func (m *MockNATSServerInstance) Start()
Start mocks base method.
type MockNATSServerInstanceMockRecorder ¶
type MockNATSServerInstanceMockRecorder struct {
// contains filtered or unexported fields
}
MockNATSServerInstanceMockRecorder is the mock recorder for MockNATSServerInstance.
func (*MockNATSServerInstanceMockRecorder) ReadyForConnections ¶
func (mr *MockNATSServerInstanceMockRecorder) ReadyForConnections(timeout any) *gomock.Call
ReadyForConnections indicates an expected call of ReadyForConnections.
func (*MockNATSServerInstanceMockRecorder) SetLogger ¶
func (mr *MockNATSServerInstanceMockRecorder) SetLogger(logger, debug, trace any) *gomock.Call
SetLogger indicates an expected call of SetLogger.
func (*MockNATSServerInstanceMockRecorder) Shutdown ¶
func (mr *MockNATSServerInstanceMockRecorder) Shutdown() *gomock.Call
Shutdown indicates an expected call of Shutdown.
func (*MockNATSServerInstanceMockRecorder) Start ¶
func (mr *MockNATSServerInstanceMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.