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 ¶
func (m *MockAuditWritter) EXPECT() *MockAuditWritterMockRecorder
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.
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 ¶
func (mr *MockAuditWritterMockRecorder) Sync() *gomock.Call
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.
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 ¶
func (m *MockEventProcessor) EXPECT() *MockEventProcessorMockRecorder
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 ¶
func (m *MockHttpListener) EXPECT() *MockHttpListenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHttpListenerMockRecorder ¶
type MockHttpListenerMockRecorder struct {
// contains filtered or unexported fields
}
MockHttpListenerMockRecorder is the mock recorder for MockHttpListener.
func (*MockHttpListenerMockRecorder) Start ¶
func (mr *MockHttpListenerMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockHttpListenerMockRecorder) Stop ¶
func (mr *MockHttpListenerMockRecorder) Stop() *gomock.Call
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 ¶
func (m *MockMetricsServer) EXPECT() *MockMetricsServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (mr *MockMetricsServerMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockMetricsServerMockRecorder) Stop ¶
func (mr *MockMetricsServerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.