mock_sentryapi

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_sentryapi is a generated GoMock package.

Index

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

func (m *MockHub) CaptureEvent(arg0 *sentry.Event) *sentry.EventID

CaptureEvent mocks base method

func (*MockHub) CaptureException

func (m *MockHub) CaptureException(arg0 error) *sentry.EventID

CaptureException mocks base method

func (*MockHub) CaptureMessage

func (m *MockHub) CaptureMessage(arg0 string) *sentry.EventID

CaptureMessage mocks base method

func (*MockHub) Clone

func (m *MockHub) Clone() sentryapi.Hub

Clone mocks base method

func (*MockHub) ConfigureScope

func (m *MockHub) ConfigureScope(arg0 func(*sentry.Scope))

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

func (m *MockHub) Flush(arg0 time.Duration) bool

Flush mocks base method

func (*MockHub) LastEventID

func (m *MockHub) LastEventID() sentry.EventID

LastEventID mocks base method

func (*MockHub) PopScope

func (m *MockHub) PopScope()

PopScope mocks base method

func (*MockHub) PushScope

func (m *MockHub) PushScope() *sentry.Scope

PushScope mocks base method

func (*MockHub) Recover

func (m *MockHub) Recover(arg0 interface{}) *sentry.EventID

Recover mocks base method

func (*MockHub) RecoverWithContext

func (m *MockHub) RecoverWithContext(arg0 context.Context, arg1 interface{}) *sentry.EventID

RecoverWithContext mocks base method

func (*MockHub) Scope

func (m *MockHub) Scope() *sentry.Scope

Scope mocks base method

func (*MockHub) WithScope

func (m *MockHub) WithScope(arg0 func(*sentry.Scope))

WithScope 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

Jump to

Keyboard shortcuts

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