mymock

package
v0.0.0-...-835e501 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mymock is a generated GoMock package.

Package mymock is a generated GoMock package.

Package mymock is a generated GoMock package.

Package mymock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuditWritter

type MockAuditWritter struct {
	// contains filtered or unexported fields
}

MockAuditWritter is a mock of AuditWritter interface.

func NewMockAuditWritter

func NewMockAuditWritter(ctrl *gomock.Controller) *MockAuditWritter

NewMockAuditWritter creates a new mock instance.

func (*MockAuditWritter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAuditWritter) LogEvent

func (m *MockAuditWritter) LogEvent(arg0 []byte)

LogEvent mocks base method.

func (*MockAuditWritter) Sync

func (m *MockAuditWritter) Sync()

Sync mocks base method.

type MockAuditWritterMockRecorder

type MockAuditWritterMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuditWritterMockRecorder is the mock recorder for MockAuditWritter.

func (*MockAuditWritterMockRecorder) LogEvent

func (mr *MockAuditWritterMockRecorder) LogEvent(arg0 interface{}) *gomock.Call

LogEvent indicates an expected call of LogEvent.

func (*MockAuditWritterMockRecorder) Sync

Sync indicates an expected call of Sync.

type MockCounter

type MockCounter struct {
	// contains filtered or unexported fields
}

MockCounter is a mock of Counter interface.

func NewMockCounter

func NewMockCounter(ctrl *gomock.Controller) *MockCounter

NewMockCounter creates a new mock instance.

func (*MockCounter) EXPECT

func (m *MockCounter) EXPECT() *MockCounterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCounter) Inc

func (m *MockCounter) Inc()

Inc mocks base method.

type MockCounterMockRecorder

type MockCounterMockRecorder struct {
	// contains filtered or unexported fields
}

MockCounterMockRecorder is the mock recorder for MockCounter.

func (*MockCounterMockRecorder) Inc

func (mr *MockCounterMockRecorder) Inc() *gomock.Call

Inc indicates an expected call of Inc.

type MockEventProcessor

type MockEventProcessor struct {
	// contains filtered or unexported fields
}

MockEventProcessor is a mock of EventProcessor interface.

func NewMockEventProcessor

func NewMockEventProcessor(ctrl *gomock.Controller) *MockEventProcessor

NewMockEventProcessor creates a new mock instance.

func (*MockEventProcessor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEventProcessor) ProcessEvent

func (m *MockEventProcessor) ProcessEvent(arg0 http.ResponseWriter, arg1 *http.Request)

ProcessEvent mocks base method.

type MockEventProcessorMockRecorder

type MockEventProcessorMockRecorder struct {
	// contains filtered or unexported fields
}

MockEventProcessorMockRecorder is the mock recorder for MockEventProcessor.

func (*MockEventProcessorMockRecorder) ProcessEvent

func (mr *MockEventProcessorMockRecorder) ProcessEvent(arg0, arg1 interface{}) *gomock.Call

ProcessEvent indicates an expected call of ProcessEvent.

type MockHttpListener

type MockHttpListener struct {
	// contains filtered or unexported fields
}

MockHttpListener is a mock of HttpListener interface.

func NewMockHttpListener

func NewMockHttpListener(ctrl *gomock.Controller) *MockHttpListener

NewMockHttpListener creates a new mock instance.

func (*MockHttpListener) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHttpListener) Start

func (m *MockHttpListener) Start()

Start mocks base method.

func (*MockHttpListener) Stop

func (m *MockHttpListener) Stop()

Stop mocks base method.

type MockHttpListenerMockRecorder

type MockHttpListenerMockRecorder struct {
	// contains filtered or unexported fields
}

MockHttpListenerMockRecorder is the mock recorder for MockHttpListener.

func (*MockHttpListenerMockRecorder) Start

Start indicates an expected call of Start.

func (*MockHttpListenerMockRecorder) Stop

Stop indicates an expected call of Stop.

type MockMetricsServer

type MockMetricsServer struct {
	// contains filtered or unexported fields
}

MockMetricsServer is a mock of MetricsServer interface.

func NewMockMetricsServer

func NewMockMetricsServer(ctrl *gomock.Controller) *MockMetricsServer

NewMockMetricsServer creates a new mock instance.

func (*MockMetricsServer) CreateAndRegisterCounter

func (m *MockMetricsServer) CreateAndRegisterCounter(arg0, arg1 string) metrics.Counter

CreateAndRegisterCounter mocks base method.

func (*MockMetricsServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMetricsServer) Start

func (m *MockMetricsServer) Start()

Start mocks base method.

func (*MockMetricsServer) Stop

func (m *MockMetricsServer) Stop()

Stop mocks base method.

type MockMetricsServerMockRecorder

type MockMetricsServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockMetricsServerMockRecorder is the mock recorder for MockMetricsServer.

func (*MockMetricsServerMockRecorder) CreateAndRegisterCounter

func (mr *MockMetricsServerMockRecorder) CreateAndRegisterCounter(arg0, arg1 interface{}) *gomock.Call

CreateAndRegisterCounter indicates an expected call of CreateAndRegisterCounter.

func (*MockMetricsServerMockRecorder) Start

Start indicates an expected call of Start.

func (*MockMetricsServerMockRecorder) Stop

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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