Documentation ¶
Overview ¶
Package mock_sentryapi is a generated GoMock package.
Index ¶
- type MockHub
- func (m *MockHub) AddBreadcrumb(arg0 *sentry.Breadcrumb, arg1 *sentry.BreadcrumbHint)
- func (m *MockHub) CaptureEvent(arg0 *sentry.Event) *sentry.EventID
- func (m *MockHub) CaptureException(arg0 error) *sentry.EventID
- func (m *MockHub) CaptureMessage(arg0 string) *sentry.EventID
- func (m *MockHub) Clone() sentryapi.Hub
- func (m *MockHub) ConfigureScope(arg0 func(*sentry.Scope))
- func (m *MockHub) EXPECT() *MockHubMockRecorder
- func (m *MockHub) Flush(arg0 time.Duration) bool
- func (m *MockHub) LastEventID() sentry.EventID
- func (m *MockHub) PopScope()
- func (m *MockHub) PushScope() *sentry.Scope
- func (m *MockHub) Recover(arg0 interface{}) *sentry.EventID
- func (m *MockHub) RecoverWithContext(arg0 context.Context, arg1 interface{}) *sentry.EventID
- func (m *MockHub) Scope() *sentry.Scope
- func (m *MockHub) WithScope(arg0 func(*sentry.Scope))
- type MockHubMockRecorder
- func (mr *MockHubMockRecorder) AddBreadcrumb(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHubMockRecorder) CaptureEvent(arg0 interface{}) *gomock.Call
- func (mr *MockHubMockRecorder) CaptureException(arg0 interface{}) *gomock.Call
- func (mr *MockHubMockRecorder) CaptureMessage(arg0 interface{}) *gomock.Call
- func (mr *MockHubMockRecorder) Clone() *gomock.Call
- func (mr *MockHubMockRecorder) ConfigureScope(arg0 interface{}) *gomock.Call
- func (mr *MockHubMockRecorder) Flush(arg0 interface{}) *gomock.Call
- func (mr *MockHubMockRecorder) LastEventID() *gomock.Call
- func (mr *MockHubMockRecorder) PopScope() *gomock.Call
- func (mr *MockHubMockRecorder) PushScope() *gomock.Call
- func (mr *MockHubMockRecorder) Recover(arg0 interface{}) *gomock.Call
- func (mr *MockHubMockRecorder) RecoverWithContext(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHubMockRecorder) Scope() *gomock.Call
- func (mr *MockHubMockRecorder) WithScope(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHub ¶
type MockHub struct {
// contains filtered or unexported fields
}
MockHub is a mock of Hub interface
func NewMockHub ¶
func NewMockHub(ctrl *gomock.Controller) *MockHub
NewMockHub creates a new mock instance
func (*MockHub) AddBreadcrumb ¶
func (m *MockHub) AddBreadcrumb(arg0 *sentry.Breadcrumb, arg1 *sentry.BreadcrumbHint)
AddBreadcrumb mocks base method
func (*MockHub) CaptureEvent ¶
CaptureEvent mocks base method
func (*MockHub) CaptureException ¶
CaptureException mocks base method
func (*MockHub) CaptureMessage ¶
CaptureMessage mocks base method
func (*MockHub) ConfigureScope ¶
ConfigureScope mocks base method
func (*MockHub) EXPECT ¶
func (m *MockHub) EXPECT() *MockHubMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHub) LastEventID ¶
LastEventID mocks base method
func (*MockHub) RecoverWithContext ¶
RecoverWithContext mocks base method
type MockHubMockRecorder ¶
type MockHubMockRecorder struct {
// contains filtered or unexported fields
}
MockHubMockRecorder is the mock recorder for MockHub
func (*MockHubMockRecorder) AddBreadcrumb ¶
func (mr *MockHubMockRecorder) AddBreadcrumb(arg0, arg1 interface{}) *gomock.Call
AddBreadcrumb indicates an expected call of AddBreadcrumb
func (*MockHubMockRecorder) CaptureEvent ¶
func (mr *MockHubMockRecorder) CaptureEvent(arg0 interface{}) *gomock.Call
CaptureEvent indicates an expected call of CaptureEvent
func (*MockHubMockRecorder) CaptureException ¶
func (mr *MockHubMockRecorder) CaptureException(arg0 interface{}) *gomock.Call
CaptureException indicates an expected call of CaptureException
func (*MockHubMockRecorder) CaptureMessage ¶
func (mr *MockHubMockRecorder) CaptureMessage(arg0 interface{}) *gomock.Call
CaptureMessage indicates an expected call of CaptureMessage
func (*MockHubMockRecorder) Clone ¶
func (mr *MockHubMockRecorder) Clone() *gomock.Call
Clone indicates an expected call of Clone
func (*MockHubMockRecorder) ConfigureScope ¶
func (mr *MockHubMockRecorder) ConfigureScope(arg0 interface{}) *gomock.Call
ConfigureScope indicates an expected call of ConfigureScope
func (*MockHubMockRecorder) Flush ¶
func (mr *MockHubMockRecorder) Flush(arg0 interface{}) *gomock.Call
Flush indicates an expected call of Flush
func (*MockHubMockRecorder) LastEventID ¶
func (mr *MockHubMockRecorder) LastEventID() *gomock.Call
LastEventID indicates an expected call of LastEventID
func (*MockHubMockRecorder) PopScope ¶
func (mr *MockHubMockRecorder) PopScope() *gomock.Call
PopScope indicates an expected call of PopScope
func (*MockHubMockRecorder) PushScope ¶
func (mr *MockHubMockRecorder) PushScope() *gomock.Call
PushScope indicates an expected call of PushScope
func (*MockHubMockRecorder) Recover ¶
func (mr *MockHubMockRecorder) Recover(arg0 interface{}) *gomock.Call
Recover indicates an expected call of Recover
func (*MockHubMockRecorder) RecoverWithContext ¶
func (mr *MockHubMockRecorder) RecoverWithContext(arg0, arg1 interface{}) *gomock.Call
RecoverWithContext indicates an expected call of RecoverWithContext
func (*MockHubMockRecorder) Scope ¶
func (mr *MockHubMockRecorder) Scope() *gomock.Call
Scope indicates an expected call of Scope
func (*MockHubMockRecorder) WithScope ¶
func (mr *MockHubMockRecorder) WithScope(arg0 interface{}) *gomock.Call
WithScope indicates an expected call of WithScope