Documentation ¶
Overview ¶
Package mockreporter is a generated GoMock package.
Package mockreporter is a generated GoMock package.
Index ¶
- type MockCreator
- type MockCreatorMockRecorder
- type MockReporter
- func (m *MockReporter) AddTag(arg0, arg1 string)
- func (m *MockReporter) AddTags(arg0 map[string]string)
- func (m *MockReporter) EXPECT() *MockReporterMockRecorder
- func (m *MockReporter) ReportError(arg0 error)
- func (m *MockReporter) ReportErrorAndWait(arg0 error)
- func (m *MockReporter) SetUser(arg0 *go_reporter.User)
- type MockReporterMockRecorder
- func (mr *MockReporterMockRecorder) AddTag(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) AddTags(arg0 interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportError(arg0 interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportErrorAndWait(arg0 interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) SetUser(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCreator ¶
type MockCreator struct {
// contains filtered or unexported fields
}
MockCreator is a mock of Creator interface
func NewMockCreator ¶
func NewMockCreator(ctrl *gomock.Controller) *MockCreator
NewMockCreator creates a new mock instance
func (*MockCreator) EXPECT ¶
func (m *MockCreator) EXPECT() *MockCreatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCreator) New ¶
func (m *MockCreator) New() (go_reporter.Reporter, error)
New mocks base method
type MockCreatorMockRecorder ¶
type MockCreatorMockRecorder struct {
// contains filtered or unexported fields
}
MockCreatorMockRecorder is the mock recorder for MockCreator
func (*MockCreatorMockRecorder) New ¶
func (mr *MockCreatorMockRecorder) New() *gomock.Call
New indicates an expected call of New
type MockReporter ¶
type MockReporter struct {
// contains filtered or unexported fields
}
MockReporter is a mock of Reporter interface
func NewMockReporter ¶
func NewMockReporter(ctrl *gomock.Controller) *MockReporter
NewMockReporter creates a new mock instance
func (*MockReporter) AddTag ¶
func (m *MockReporter) AddTag(arg0, arg1 string)
AddTag mocks base method
func (*MockReporter) AddTags ¶
func (m *MockReporter) AddTags(arg0 map[string]string)
AddTags mocks base method
func (*MockReporter) EXPECT ¶
func (m *MockReporter) EXPECT() *MockReporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReporter) ReportError ¶
func (m *MockReporter) ReportError(arg0 error)
ReportError mocks base method
func (*MockReporter) ReportErrorAndWait ¶
func (m *MockReporter) ReportErrorAndWait(arg0 error)
ReportErrorAndWait mocks base method
func (*MockReporter) SetUser ¶
func (m *MockReporter) SetUser(arg0 *go_reporter.User)
SetUser mocks base method
type MockReporterMockRecorder ¶
type MockReporterMockRecorder struct {
// contains filtered or unexported fields
}
MockReporterMockRecorder is the mock recorder for MockReporter
func (*MockReporterMockRecorder) AddTag ¶
func (mr *MockReporterMockRecorder) AddTag(arg0, arg1 interface{}) *gomock.Call
AddTag indicates an expected call of AddTag
func (*MockReporterMockRecorder) AddTags ¶
func (mr *MockReporterMockRecorder) AddTags(arg0 interface{}) *gomock.Call
AddTags indicates an expected call of AddTags
func (*MockReporterMockRecorder) ReportError ¶
func (mr *MockReporterMockRecorder) ReportError(arg0 interface{}) *gomock.Call
ReportError indicates an expected call of ReportError
func (*MockReporterMockRecorder) ReportErrorAndWait ¶
func (mr *MockReporterMockRecorder) ReportErrorAndWait(arg0 interface{}) *gomock.Call
ReportErrorAndWait indicates an expected call of ReportErrorAndWait
func (*MockReporterMockRecorder) SetUser ¶
func (mr *MockReporterMockRecorder) SetUser(arg0 interface{}) *gomock.Call
SetUser indicates an expected call of SetUser