mocks

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPIKeyRepository

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

MockAPIKeyRepository is a mock of APIKeyRepository interface.

func NewMockAPIKeyRepository

func NewMockAPIKeyRepository(ctrl *gomock.Controller) *MockAPIKeyRepository

NewMockAPIKeyRepository creates a new mock instance.

func (*MockAPIKeyRepository) CreateAPIKey

func (m *MockAPIKeyRepository) CreateAPIKey(arg0 context.Context, arg1 *datastore.APIKey) error

CreateAPIKey mocks base method.

func (*MockAPIKeyRepository) EXPECT

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

func (*MockAPIKeyRepository) FindAPIKeyByHash

func (m *MockAPIKeyRepository) FindAPIKeyByHash(arg0 context.Context, arg1 string) (*datastore.APIKey, error)

FindAPIKeyByHash mocks base method.

func (*MockAPIKeyRepository) FindAPIKeyByID

func (m *MockAPIKeyRepository) FindAPIKeyByID(arg0 context.Context, arg1 string) (*datastore.APIKey, error)

FindAPIKeyByID mocks base method.

func (*MockAPIKeyRepository) FindAPIKeyByMaskID

func (m *MockAPIKeyRepository) FindAPIKeyByMaskID(arg0 context.Context, arg1 string) (*datastore.APIKey, error)

FindAPIKeyByMaskID mocks base method.

func (*MockAPIKeyRepository) LoadAPIKeysPaged

LoadAPIKeysPaged mocks base method.

func (*MockAPIKeyRepository) RevokeAPIKeys

func (m *MockAPIKeyRepository) RevokeAPIKeys(arg0 context.Context, arg1 []string) error

RevokeAPIKeys mocks base method.

func (*MockAPIKeyRepository) UpdateAPIKey

func (m *MockAPIKeyRepository) UpdateAPIKey(arg0 context.Context, arg1 *datastore.APIKey) error

UpdateAPIKey mocks base method.

type MockAPIKeyRepositoryMockRecorder

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

MockAPIKeyRepositoryMockRecorder is the mock recorder for MockAPIKeyRepository.

func (*MockAPIKeyRepositoryMockRecorder) CreateAPIKey

func (mr *MockAPIKeyRepositoryMockRecorder) CreateAPIKey(arg0, arg1 interface{}) *gomock.Call

CreateAPIKey indicates an expected call of CreateAPIKey.

func (*MockAPIKeyRepositoryMockRecorder) FindAPIKeyByHash

func (mr *MockAPIKeyRepositoryMockRecorder) FindAPIKeyByHash(arg0, arg1 interface{}) *gomock.Call

FindAPIKeyByHash indicates an expected call of FindAPIKeyByHash.

func (*MockAPIKeyRepositoryMockRecorder) FindAPIKeyByID

func (mr *MockAPIKeyRepositoryMockRecorder) FindAPIKeyByID(arg0, arg1 interface{}) *gomock.Call

FindAPIKeyByID indicates an expected call of FindAPIKeyByID.

func (*MockAPIKeyRepositoryMockRecorder) FindAPIKeyByMaskID

func (mr *MockAPIKeyRepositoryMockRecorder) FindAPIKeyByMaskID(arg0, arg1 interface{}) *gomock.Call

FindAPIKeyByMaskID indicates an expected call of FindAPIKeyByMaskID.

func (*MockAPIKeyRepositoryMockRecorder) LoadAPIKeysPaged

func (mr *MockAPIKeyRepositoryMockRecorder) LoadAPIKeysPaged(arg0, arg1 interface{}) *gomock.Call

LoadAPIKeysPaged indicates an expected call of LoadAPIKeysPaged.

func (*MockAPIKeyRepositoryMockRecorder) RevokeAPIKeys

func (mr *MockAPIKeyRepositoryMockRecorder) RevokeAPIKeys(arg0, arg1 interface{}) *gomock.Call

RevokeAPIKeys indicates an expected call of RevokeAPIKeys.

func (*MockAPIKeyRepositoryMockRecorder) UpdateAPIKey

func (mr *MockAPIKeyRepositoryMockRecorder) UpdateAPIKey(arg0, arg1 interface{}) *gomock.Call

UpdateAPIKey indicates an expected call of UpdateAPIKey.

type MockApplicationRepository

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

MockApplicationRepository is a mock of ApplicationRepository interface.

func NewMockApplicationRepository

func NewMockApplicationRepository(ctrl *gomock.Controller) *MockApplicationRepository

NewMockApplicationRepository creates a new mock instance.

func (*MockApplicationRepository) CountGroupApplications

func (m *MockApplicationRepository) CountGroupApplications(ctx context.Context, groupID string) (int64, error)

CountGroupApplications mocks base method.

func (*MockApplicationRepository) CreateApplication

func (m *MockApplicationRepository) CreateApplication(arg0 context.Context, arg1 *datastore.Application) error

CreateApplication mocks base method.

func (*MockApplicationRepository) DeleteApplication

func (m *MockApplicationRepository) DeleteApplication(arg0 context.Context, arg1 *datastore.Application) error

DeleteApplication mocks base method.

func (*MockApplicationRepository) DeleteGroupApps

func (m *MockApplicationRepository) DeleteGroupApps(arg0 context.Context, arg1 string) error

DeleteGroupApps mocks base method.

func (*MockApplicationRepository) EXPECT

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

func (*MockApplicationRepository) FindApplicationByID

func (m *MockApplicationRepository) FindApplicationByID(arg0 context.Context, arg1 string) (*datastore.Application, error)

FindApplicationByID mocks base method.

func (*MockApplicationRepository) FindApplicationEndpointByID

func (m *MockApplicationRepository) FindApplicationEndpointByID(arg0 context.Context, arg1, arg2 string) (*datastore.Endpoint, error)

FindApplicationEndpointByID mocks base method.

func (*MockApplicationRepository) LoadApplicationsPaged

func (m *MockApplicationRepository) LoadApplicationsPaged(arg0 context.Context, arg1, arg2 string, arg3 datastore.Pageable) ([]datastore.Application, datastore.PaginationData, error)

LoadApplicationsPaged mocks base method.

func (*MockApplicationRepository) LoadApplicationsPagedByGroupId

func (m *MockApplicationRepository) LoadApplicationsPagedByGroupId(arg0 context.Context, arg1 string, arg2 datastore.Pageable) ([]datastore.Application, datastore.PaginationData, error)

LoadApplicationsPagedByGroupId mocks base method.

func (*MockApplicationRepository) SearchApplicationsByGroupId

func (m *MockApplicationRepository) SearchApplicationsByGroupId(arg0 context.Context, arg1 string, arg2 datastore.SearchParams) ([]datastore.Application, error)

SearchApplicationsByGroupId mocks base method.

func (*MockApplicationRepository) UpdateApplication

func (m *MockApplicationRepository) UpdateApplication(arg0 context.Context, arg1 *datastore.Application) error

UpdateApplication mocks base method.

func (*MockApplicationRepository) UpdateApplicationEndpointsStatus

func (m *MockApplicationRepository) UpdateApplicationEndpointsStatus(arg0 context.Context, arg1 string, arg2 []string, arg3 datastore.EndpointStatus) error

UpdateApplicationEndpointsStatus mocks base method.

type MockApplicationRepositoryMockRecorder

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

MockApplicationRepositoryMockRecorder is the mock recorder for MockApplicationRepository.

func (*MockApplicationRepositoryMockRecorder) CountGroupApplications

func (mr *MockApplicationRepositoryMockRecorder) CountGroupApplications(ctx, groupID interface{}) *gomock.Call

CountGroupApplications indicates an expected call of CountGroupApplications.

func (*MockApplicationRepositoryMockRecorder) CreateApplication

func (mr *MockApplicationRepositoryMockRecorder) CreateApplication(arg0, arg1 interface{}) *gomock.Call

CreateApplication indicates an expected call of CreateApplication.

func (*MockApplicationRepositoryMockRecorder) DeleteApplication

func (mr *MockApplicationRepositoryMockRecorder) DeleteApplication(arg0, arg1 interface{}) *gomock.Call

DeleteApplication indicates an expected call of DeleteApplication.

func (*MockApplicationRepositoryMockRecorder) DeleteGroupApps

func (mr *MockApplicationRepositoryMockRecorder) DeleteGroupApps(arg0, arg1 interface{}) *gomock.Call

DeleteGroupApps indicates an expected call of DeleteGroupApps.

func (*MockApplicationRepositoryMockRecorder) FindApplicationByID

func (mr *MockApplicationRepositoryMockRecorder) FindApplicationByID(arg0, arg1 interface{}) *gomock.Call

FindApplicationByID indicates an expected call of FindApplicationByID.

func (*MockApplicationRepositoryMockRecorder) FindApplicationEndpointByID

func (mr *MockApplicationRepositoryMockRecorder) FindApplicationEndpointByID(arg0, arg1, arg2 interface{}) *gomock.Call

FindApplicationEndpointByID indicates an expected call of FindApplicationEndpointByID.

func (*MockApplicationRepositoryMockRecorder) LoadApplicationsPaged

func (mr *MockApplicationRepositoryMockRecorder) LoadApplicationsPaged(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

LoadApplicationsPaged indicates an expected call of LoadApplicationsPaged.

func (*MockApplicationRepositoryMockRecorder) LoadApplicationsPagedByGroupId

func (mr *MockApplicationRepositoryMockRecorder) LoadApplicationsPagedByGroupId(arg0, arg1, arg2 interface{}) *gomock.Call

LoadApplicationsPagedByGroupId indicates an expected call of LoadApplicationsPagedByGroupId.

func (*MockApplicationRepositoryMockRecorder) SearchApplicationsByGroupId

func (mr *MockApplicationRepositoryMockRecorder) SearchApplicationsByGroupId(arg0, arg1, arg2 interface{}) *gomock.Call

SearchApplicationsByGroupId indicates an expected call of SearchApplicationsByGroupId.

func (*MockApplicationRepositoryMockRecorder) UpdateApplication

func (mr *MockApplicationRepositoryMockRecorder) UpdateApplication(arg0, arg1 interface{}) *gomock.Call

UpdateApplication indicates an expected call of UpdateApplication.

func (*MockApplicationRepositoryMockRecorder) UpdateApplicationEndpointsStatus

func (mr *MockApplicationRepositoryMockRecorder) UpdateApplicationEndpointsStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateApplicationEndpointsStatus indicates an expected call of UpdateApplicationEndpointsStatus.

type MockEventDeliveryRepository

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

MockEventDeliveryRepository is a mock of EventDeliveryRepository interface.

func NewMockEventDeliveryRepository

func NewMockEventDeliveryRepository(ctrl *gomock.Controller) *MockEventDeliveryRepository

NewMockEventDeliveryRepository creates a new mock instance.

func (*MockEventDeliveryRepository) CreateEventDelivery

func (m *MockEventDeliveryRepository) CreateEventDelivery(arg0 context.Context, arg1 *datastore.EventDelivery) error

CreateEventDelivery mocks base method.

func (*MockEventDeliveryRepository) EXPECT

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

func (*MockEventDeliveryRepository) FindEventDeliveriesByEventID

func (m *MockEventDeliveryRepository) FindEventDeliveriesByEventID(arg0 context.Context, arg1 string) ([]datastore.EventDelivery, error)

FindEventDeliveriesByEventID mocks base method.

func (*MockEventDeliveryRepository) FindEventDeliveriesByIDs

func (m *MockEventDeliveryRepository) FindEventDeliveriesByIDs(arg0 context.Context, arg1 []string) ([]datastore.EventDelivery, error)

FindEventDeliveriesByIDs mocks base method.

func (*MockEventDeliveryRepository) FindEventDeliveryByID

func (m *MockEventDeliveryRepository) FindEventDeliveryByID(arg0 context.Context, arg1 string) (*datastore.EventDelivery, error)

FindEventDeliveryByID mocks base method.

func (*MockEventDeliveryRepository) LoadEventDeliveriesPaged

LoadEventDeliveriesPaged mocks base method.

func (*MockEventDeliveryRepository) UpdateEventDeliveryWithAttempt

func (m *MockEventDeliveryRepository) UpdateEventDeliveryWithAttempt(arg0 context.Context, arg1 datastore.EventDelivery, arg2 datastore.DeliveryAttempt) error

UpdateEventDeliveryWithAttempt mocks base method.

func (*MockEventDeliveryRepository) UpdateStatusOfEventDelivery

func (m *MockEventDeliveryRepository) UpdateStatusOfEventDelivery(arg0 context.Context, arg1 datastore.EventDelivery, arg2 datastore.EventDeliveryStatus) error

UpdateStatusOfEventDelivery mocks base method.

type MockEventDeliveryRepositoryMockRecorder

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

MockEventDeliveryRepositoryMockRecorder is the mock recorder for MockEventDeliveryRepository.

func (*MockEventDeliveryRepositoryMockRecorder) CreateEventDelivery

func (mr *MockEventDeliveryRepositoryMockRecorder) CreateEventDelivery(arg0, arg1 interface{}) *gomock.Call

CreateEventDelivery indicates an expected call of CreateEventDelivery.

func (*MockEventDeliveryRepositoryMockRecorder) FindEventDeliveriesByEventID

func (mr *MockEventDeliveryRepositoryMockRecorder) FindEventDeliveriesByEventID(arg0, arg1 interface{}) *gomock.Call

FindEventDeliveriesByEventID indicates an expected call of FindEventDeliveriesByEventID.

func (*MockEventDeliveryRepositoryMockRecorder) FindEventDeliveriesByIDs

func (mr *MockEventDeliveryRepositoryMockRecorder) FindEventDeliveriesByIDs(arg0, arg1 interface{}) *gomock.Call

FindEventDeliveriesByIDs indicates an expected call of FindEventDeliveriesByIDs.

func (*MockEventDeliveryRepositoryMockRecorder) FindEventDeliveryByID

func (mr *MockEventDeliveryRepositoryMockRecorder) FindEventDeliveryByID(arg0, arg1 interface{}) *gomock.Call

FindEventDeliveryByID indicates an expected call of FindEventDeliveryByID.

func (*MockEventDeliveryRepositoryMockRecorder) LoadEventDeliveriesPaged

func (mr *MockEventDeliveryRepositoryMockRecorder) LoadEventDeliveriesPaged(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

LoadEventDeliveriesPaged indicates an expected call of LoadEventDeliveriesPaged.

func (*MockEventDeliveryRepositoryMockRecorder) UpdateEventDeliveryWithAttempt

func (mr *MockEventDeliveryRepositoryMockRecorder) UpdateEventDeliveryWithAttempt(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateEventDeliveryWithAttempt indicates an expected call of UpdateEventDeliveryWithAttempt.

func (*MockEventDeliveryRepositoryMockRecorder) UpdateStatusOfEventDelivery

func (mr *MockEventDeliveryRepositoryMockRecorder) UpdateStatusOfEventDelivery(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateStatusOfEventDelivery indicates an expected call of UpdateStatusOfEventDelivery.

type MockEventRepository

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

MockEventRepository is a mock of EventRepository interface.

func NewMockEventRepository

func NewMockEventRepository(ctrl *gomock.Controller) *MockEventRepository

NewMockEventRepository creates a new mock instance.

func (*MockEventRepository) CountGroupMessages

func (m *MockEventRepository) CountGroupMessages(ctx context.Context, groupID string) (int64, error)

CountGroupMessages mocks base method.

func (*MockEventRepository) CreateEvent

func (m *MockEventRepository) CreateEvent(arg0 context.Context, arg1 *datastore.Event) error

CreateEvent mocks base method.

func (*MockEventRepository) DeleteGroupEvents

func (m *MockEventRepository) DeleteGroupEvents(arg0 context.Context, arg1 string) error

DeleteGroupEvents mocks base method.

func (*MockEventRepository) EXPECT

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

func (*MockEventRepository) FindEventByID

func (m *MockEventRepository) FindEventByID(ctx context.Context, id string) (*datastore.Event, error)

FindEventByID mocks base method.

func (*MockEventRepository) LoadEventIntervals

func (m *MockEventRepository) LoadEventIntervals(arg0 context.Context, arg1 string, arg2 datastore.SearchParams, arg3 datastore.Period, arg4 int) ([]datastore.EventInterval, error)

LoadEventIntervals mocks base method.

func (*MockEventRepository) LoadEventsPaged

LoadEventsPaged mocks base method.

type MockEventRepositoryMockRecorder

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

MockEventRepositoryMockRecorder is the mock recorder for MockEventRepository.

func (*MockEventRepositoryMockRecorder) CountGroupMessages

func (mr *MockEventRepositoryMockRecorder) CountGroupMessages(ctx, groupID interface{}) *gomock.Call

CountGroupMessages indicates an expected call of CountGroupMessages.

func (*MockEventRepositoryMockRecorder) CreateEvent

func (mr *MockEventRepositoryMockRecorder) CreateEvent(arg0, arg1 interface{}) *gomock.Call

CreateEvent indicates an expected call of CreateEvent.

func (*MockEventRepositoryMockRecorder) DeleteGroupEvents

func (mr *MockEventRepositoryMockRecorder) DeleteGroupEvents(arg0, arg1 interface{}) *gomock.Call

DeleteGroupEvents indicates an expected call of DeleteGroupEvents.

func (*MockEventRepositoryMockRecorder) FindEventByID

func (mr *MockEventRepositoryMockRecorder) FindEventByID(ctx, id interface{}) *gomock.Call

FindEventByID indicates an expected call of FindEventByID.

func (*MockEventRepositoryMockRecorder) LoadEventIntervals

func (mr *MockEventRepositoryMockRecorder) LoadEventIntervals(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

LoadEventIntervals indicates an expected call of LoadEventIntervals.

func (*MockEventRepositoryMockRecorder) LoadEventsPaged

func (mr *MockEventRepositoryMockRecorder) LoadEventsPaged(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

LoadEventsPaged indicates an expected call of LoadEventsPaged.

type MockGroupRepository

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

MockGroupRepository is a mock of GroupRepository interface.

func NewMockGroupRepository

func NewMockGroupRepository(ctrl *gomock.Controller) *MockGroupRepository

NewMockGroupRepository creates a new mock instance.

func (*MockGroupRepository) CreateGroup

func (m *MockGroupRepository) CreateGroup(arg0 context.Context, arg1 *datastore.Group) error

CreateGroup mocks base method.

func (*MockGroupRepository) DeleteGroup

func (m *MockGroupRepository) DeleteGroup(ctx context.Context, uid string) error

DeleteGroup mocks base method.

func (*MockGroupRepository) EXPECT

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

func (*MockGroupRepository) FetchGroupByID

func (m *MockGroupRepository) FetchGroupByID(arg0 context.Context, arg1 string) (*datastore.Group, error)

FetchGroupByID mocks base method.

func (*MockGroupRepository) FetchGroupsByIDs

func (m *MockGroupRepository) FetchGroupsByIDs(arg0 context.Context, arg1 []string) ([]datastore.Group, error)

FetchGroupsByIDs mocks base method.

func (*MockGroupRepository) LoadGroups

func (m *MockGroupRepository) LoadGroups(arg0 context.Context, arg1 *datastore.GroupFilter) ([]*datastore.Group, error)

LoadGroups mocks base method.

func (*MockGroupRepository) UpdateGroup

func (m *MockGroupRepository) UpdateGroup(arg0 context.Context, arg1 *datastore.Group) error

UpdateGroup mocks base method.

type MockGroupRepositoryMockRecorder

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

MockGroupRepositoryMockRecorder is the mock recorder for MockGroupRepository.

func (*MockGroupRepositoryMockRecorder) CreateGroup

func (mr *MockGroupRepositoryMockRecorder) CreateGroup(arg0, arg1 interface{}) *gomock.Call

CreateGroup indicates an expected call of CreateGroup.

func (*MockGroupRepositoryMockRecorder) DeleteGroup

func (mr *MockGroupRepositoryMockRecorder) DeleteGroup(ctx, uid interface{}) *gomock.Call

DeleteGroup indicates an expected call of DeleteGroup.

func (*MockGroupRepositoryMockRecorder) FetchGroupByID

func (mr *MockGroupRepositoryMockRecorder) FetchGroupByID(arg0, arg1 interface{}) *gomock.Call

FetchGroupByID indicates an expected call of FetchGroupByID.

func (*MockGroupRepositoryMockRecorder) FetchGroupsByIDs

func (mr *MockGroupRepositoryMockRecorder) FetchGroupsByIDs(arg0, arg1 interface{}) *gomock.Call

FetchGroupsByIDs indicates an expected call of FetchGroupsByIDs.

func (*MockGroupRepositoryMockRecorder) LoadGroups

func (mr *MockGroupRepositoryMockRecorder) LoadGroups(arg0, arg1 interface{}) *gomock.Call

LoadGroups indicates an expected call of LoadGroups.

func (*MockGroupRepositoryMockRecorder) UpdateGroup

func (mr *MockGroupRepositoryMockRecorder) UpdateGroup(arg0, arg1 interface{}) *gomock.Call

UpdateGroup indicates an expected call of UpdateGroup.

type MockQueuer

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

MockQueuer is a mock of Queuer interface.

func NewMockQueuer

func NewMockQueuer(ctrl *gomock.Controller) *MockQueuer

NewMockQueuer creates a new mock instance.

func (*MockQueuer) Close

func (m *MockQueuer) Close() error

Close mocks base method.

func (*MockQueuer) Consumer

func (m *MockQueuer) Consumer() taskq.QueueConsumer

Consumer mocks base method.

func (*MockQueuer) EXPECT

func (m *MockQueuer) EXPECT() *MockQueuerMockRecorder

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

func (*MockQueuer) Write

func (m *MockQueuer) Write(arg0 context.Context, arg1 convoy.TaskName, arg2 *datastore.EventDelivery, arg3 time.Duration) error

Write mocks base method.

type MockQueuerMockRecorder

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

MockQueuerMockRecorder is the mock recorder for MockQueuer.

func (*MockQueuerMockRecorder) Close

func (mr *MockQueuerMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockQueuerMockRecorder) Consumer

func (mr *MockQueuerMockRecorder) Consumer() *gomock.Call

Consumer indicates an expected call of Consumer.

func (*MockQueuerMockRecorder) Write

func (mr *MockQueuerMockRecorder) Write(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockTracer

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

MockTracer is a mock of Tracer interface.

func NewMockTracer

func NewMockTracer(ctrl *gomock.Controller) *MockTracer

NewMockTracer creates a new mock instance.

func (*MockTracer) EXPECT

func (m *MockTracer) EXPECT() *MockTracerMockRecorder

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

func (*MockTracer) RequestWithTransactionContext

func (m *MockTracer) RequestWithTransactionContext(r *http.Request, txn *newrelic.Transaction) *http.Request

RequestWithTransactionContext mocks base method.

func (*MockTracer) SetWebRequestHTTP

func (m *MockTracer) SetWebRequestHTTP(r *http.Request, txn *newrelic.Transaction)

SetWebRequestHTTP mocks base method.

func (*MockTracer) SetWebResponse

SetWebResponse mocks base method.

func (*MockTracer) StartTransaction

func (m *MockTracer) StartTransaction(name string) *newrelic.Transaction

StartTransaction mocks base method.

type MockTracerMockRecorder

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

MockTracerMockRecorder is the mock recorder for MockTracer.

func (*MockTracerMockRecorder) RequestWithTransactionContext

func (mr *MockTracerMockRecorder) RequestWithTransactionContext(r, txn interface{}) *gomock.Call

RequestWithTransactionContext indicates an expected call of RequestWithTransactionContext.

func (*MockTracerMockRecorder) SetWebRequestHTTP

func (mr *MockTracerMockRecorder) SetWebRequestHTTP(r, txn interface{}) *gomock.Call

SetWebRequestHTTP indicates an expected call of SetWebRequestHTTP.

func (*MockTracerMockRecorder) SetWebResponse

func (mr *MockTracerMockRecorder) SetWebResponse(w, txn interface{}) *gomock.Call

SetWebResponse indicates an expected call of SetWebResponse.

func (*MockTracerMockRecorder) StartTransaction

func (mr *MockTracerMockRecorder) StartTransaction(name interface{}) *gomock.Call

StartTransaction indicates an expected call of StartTransaction.

Jump to

Keyboard shortcuts

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