mocks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks provides generated mock implementations for testing.

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

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

Shutdown indicates an expected call of Shutdown.

func (*MockNATSServerInstanceMockRecorder) Start

Start indicates an expected call of Start.

Jump to

Keyboard shortcuts

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