mocks

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: MPL-2.0 Imports: 12 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.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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, arg2 string) error

CreateApplication mocks base method.

func (*MockApplicationRepository) CreateApplicationEndpoint added in v0.6.0

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

CreateApplicationEndpoint 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, arg2 string) error

UpdateApplication 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, arg2 interface{}) *gomock.Call

CreateApplication indicates an expected call of CreateApplication.

func (*MockApplicationRepositoryMockRecorder) CreateApplicationEndpoint added in v0.6.0

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

CreateApplicationEndpoint indicates an expected call of CreateApplicationEndpoint.

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, arg2 interface{}) *gomock.Call

UpdateApplication indicates an expected call of UpdateApplication.

type MockCache added in v0.5.3

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

MockCache is a mock of Cache interface.

func NewMockCache added in v0.5.3

func NewMockCache(ctrl *gomock.Controller) *MockCache

NewMockCache creates a new mock instance.

func (*MockCache) Delete added in v0.5.3

func (m *MockCache) Delete(ctx context.Context, key string) error

Delete mocks base method.

func (*MockCache) EXPECT added in v0.5.3

func (m *MockCache) EXPECT() *MockCacheMockRecorder

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

func (*MockCache) Get added in v0.5.3

func (m *MockCache) Get(ctx context.Context, key string, data interface{}) error

Get mocks base method.

func (*MockCache) Set added in v0.5.3

func (m *MockCache) Set(ctx context.Context, key string, data interface{}, expiration time.Duration) error

Set mocks base method.

type MockCacheMockRecorder added in v0.5.3

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

MockCacheMockRecorder is the mock recorder for MockCache.

func (*MockCacheMockRecorder) Delete added in v0.5.3

func (mr *MockCacheMockRecorder) Delete(ctx, key interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockCacheMockRecorder) Get added in v0.5.3

func (mr *MockCacheMockRecorder) Get(ctx, key, data interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockCacheMockRecorder) Set added in v0.5.3

func (mr *MockCacheMockRecorder) Set(ctx, key, data, expiration interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockConfigurationRepository added in v0.6.0

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

MockConfigurationRepository is a mock of ConfigurationRepository interface.

func NewMockConfigurationRepository added in v0.6.0

func NewMockConfigurationRepository(ctrl *gomock.Controller) *MockConfigurationRepository

NewMockConfigurationRepository creates a new mock instance.

func (*MockConfigurationRepository) CreateConfiguration added in v0.6.0

func (m *MockConfigurationRepository) CreateConfiguration(arg0 context.Context, arg1 *datastore.Configuration) error

CreateConfiguration mocks base method.

func (*MockConfigurationRepository) EXPECT added in v0.6.0

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

func (*MockConfigurationRepository) LoadConfiguration added in v0.6.0

LoadConfiguration mocks base method.

func (*MockConfigurationRepository) UpdateConfiguration added in v0.6.0

func (m *MockConfigurationRepository) UpdateConfiguration(arg0 context.Context, arg1 *datastore.Configuration) error

UpdateConfiguration mocks base method.

type MockConfigurationRepositoryMockRecorder added in v0.6.0

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

MockConfigurationRepositoryMockRecorder is the mock recorder for MockConfigurationRepository.

func (*MockConfigurationRepositoryMockRecorder) CreateConfiguration added in v0.6.0

func (mr *MockConfigurationRepositoryMockRecorder) CreateConfiguration(arg0, arg1 interface{}) *gomock.Call

CreateConfiguration indicates an expected call of CreateConfiguration.

func (*MockConfigurationRepositoryMockRecorder) LoadConfiguration added in v0.6.0

func (mr *MockConfigurationRepositoryMockRecorder) LoadConfiguration(arg0 interface{}) *gomock.Call

LoadConfiguration indicates an expected call of LoadConfiguration.

func (*MockConfigurationRepositoryMockRecorder) UpdateConfiguration added in v0.6.0

func (mr *MockConfigurationRepositoryMockRecorder) UpdateConfiguration(arg0, arg1 interface{}) *gomock.Call

UpdateConfiguration indicates an expected call of UpdateConfiguration.

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) CountDeliveriesByStatus added in v0.4.18

CountDeliveriesByStatus mocks base method.

func (*MockEventDeliveryRepository) CountEventDeliveries added in v0.5.0

func (m *MockEventDeliveryRepository) CountEventDeliveries(arg0 context.Context, arg1, arg2, arg3 string, arg4 []datastore.EventDeliveryStatus, arg5 datastore.SearchParams) (int64, error)

CountEventDeliveries mocks base method.

func (*MockEventDeliveryRepository) CreateEventDelivery

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

CreateEventDelivery mocks base method.

func (*MockEventDeliveryRepository) DeleteGroupEventDeliveries added in v0.6.0

func (m *MockEventDeliveryRepository) DeleteGroupEventDeliveries(ctx context.Context, filter *datastore.EventDeliveryFilter, hardDelete bool) error

DeleteGroupEventDeliveries 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) UpdateStatusOfEventDeliveries added in v0.4.19

func (m *MockEventDeliveryRepository) UpdateStatusOfEventDeliveries(arg0 context.Context, arg1 []string, arg2 datastore.EventDeliveryStatus) error

UpdateStatusOfEventDeliveries 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) CountDeliveriesByStatus added in v0.4.18

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

CountDeliveriesByStatus indicates an expected call of CountDeliveriesByStatus.

func (*MockEventDeliveryRepositoryMockRecorder) CountEventDeliveries added in v0.5.0

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

CountEventDeliveries indicates an expected call of CountEventDeliveries.

func (*MockEventDeliveryRepositoryMockRecorder) CreateEventDelivery

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

CreateEventDelivery indicates an expected call of CreateEventDelivery.

func (*MockEventDeliveryRepositoryMockRecorder) DeleteGroupEventDeliveries added in v0.6.0

func (mr *MockEventDeliveryRepositoryMockRecorder) DeleteGroupEventDeliveries(ctx, filter, hardDelete interface{}) *gomock.Call

DeleteGroupEventDeliveries indicates an expected call of DeleteGroupEventDeliveries.

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) UpdateStatusOfEventDeliveries added in v0.4.19

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

UpdateStatusOfEventDeliveries indicates an expected call of UpdateStatusOfEventDeliveries.

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 *datastore.EventFilter, arg2 bool) 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) FindEventsByIDs added in v0.6.0

func (m *MockEventRepository) FindEventsByIDs(arg0 context.Context, arg1 []string) ([]datastore.Event, error)

FindEventsByIDs 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, arg2 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) FindEventsByIDs added in v0.6.0

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

FindEventsByIDs indicates an expected call of FindEventsByIDs.

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) FillGroupsStatistics added in v0.6.0

func (m *MockGroupRepository) FillGroupsStatistics(ctx context.Context, groups []*datastore.Group) error

FillGroupsStatistics 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) FillGroupsStatistics added in v0.6.0

func (mr *MockGroupRepositoryMockRecorder) FillGroupsStatistics(ctx, groups interface{}) *gomock.Call

FillGroupsStatistics indicates an expected call of FillGroupsStatistics.

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 MockOrganisationInviteRepository added in v0.6.0

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

MockOrganisationInviteRepository is a mock of OrganisationInviteRepository interface.

func NewMockOrganisationInviteRepository added in v0.6.0

func NewMockOrganisationInviteRepository(ctrl *gomock.Controller) *MockOrganisationInviteRepository

NewMockOrganisationInviteRepository creates a new mock instance.

func (*MockOrganisationInviteRepository) CreateOrganisationInvite added in v0.6.0

func (m *MockOrganisationInviteRepository) CreateOrganisationInvite(ctx context.Context, iv *datastore.OrganisationInvite) error

CreateOrganisationInvite mocks base method.

func (*MockOrganisationInviteRepository) DeleteOrganisationInvite added in v0.6.0

func (m *MockOrganisationInviteRepository) DeleteOrganisationInvite(ctx context.Context, uid string) error

DeleteOrganisationInvite mocks base method.

func (*MockOrganisationInviteRepository) EXPECT added in v0.6.0

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

func (*MockOrganisationInviteRepository) FetchOrganisationInviteByID added in v0.6.0

func (m *MockOrganisationInviteRepository) FetchOrganisationInviteByID(ctx context.Context, uid string) (*datastore.OrganisationInvite, error)

FetchOrganisationInviteByID mocks base method.

func (*MockOrganisationInviteRepository) FetchOrganisationInviteByToken added in v0.6.0

func (m *MockOrganisationInviteRepository) FetchOrganisationInviteByToken(ctx context.Context, token string) (*datastore.OrganisationInvite, error)

FetchOrganisationInviteByToken mocks base method.

func (*MockOrganisationInviteRepository) LoadOrganisationsInvitesPaged added in v0.6.0

LoadOrganisationsInvitesPaged mocks base method.

func (*MockOrganisationInviteRepository) UpdateOrganisationInvite added in v0.6.0

func (m *MockOrganisationInviteRepository) UpdateOrganisationInvite(ctx context.Context, iv *datastore.OrganisationInvite) error

UpdateOrganisationInvite mocks base method.

type MockOrganisationInviteRepositoryMockRecorder added in v0.6.0

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

MockOrganisationInviteRepositoryMockRecorder is the mock recorder for MockOrganisationInviteRepository.

func (*MockOrganisationInviteRepositoryMockRecorder) CreateOrganisationInvite added in v0.6.0

func (mr *MockOrganisationInviteRepositoryMockRecorder) CreateOrganisationInvite(ctx, iv interface{}) *gomock.Call

CreateOrganisationInvite indicates an expected call of CreateOrganisationInvite.

func (*MockOrganisationInviteRepositoryMockRecorder) DeleteOrganisationInvite added in v0.6.0

func (mr *MockOrganisationInviteRepositoryMockRecorder) DeleteOrganisationInvite(ctx, uid interface{}) *gomock.Call

DeleteOrganisationInvite indicates an expected call of DeleteOrganisationInvite.

func (*MockOrganisationInviteRepositoryMockRecorder) FetchOrganisationInviteByID added in v0.6.0

func (mr *MockOrganisationInviteRepositoryMockRecorder) FetchOrganisationInviteByID(ctx, uid interface{}) *gomock.Call

FetchOrganisationInviteByID indicates an expected call of FetchOrganisationInviteByID.

func (*MockOrganisationInviteRepositoryMockRecorder) FetchOrganisationInviteByToken added in v0.6.0

func (mr *MockOrganisationInviteRepositoryMockRecorder) FetchOrganisationInviteByToken(ctx, token interface{}) *gomock.Call

FetchOrganisationInviteByToken indicates an expected call of FetchOrganisationInviteByToken.

func (*MockOrganisationInviteRepositoryMockRecorder) LoadOrganisationsInvitesPaged added in v0.6.0

func (mr *MockOrganisationInviteRepositoryMockRecorder) LoadOrganisationsInvitesPaged(ctx, orgID, inviteStatus, pageable interface{}) *gomock.Call

LoadOrganisationsInvitesPaged indicates an expected call of LoadOrganisationsInvitesPaged.

func (*MockOrganisationInviteRepositoryMockRecorder) UpdateOrganisationInvite added in v0.6.0

func (mr *MockOrganisationInviteRepositoryMockRecorder) UpdateOrganisationInvite(ctx, iv interface{}) *gomock.Call

UpdateOrganisationInvite indicates an expected call of UpdateOrganisationInvite.

type MockOrganisationMemberRepository added in v0.6.0

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

MockOrganisationMemberRepository is a mock of OrganisationMemberRepository interface.

func NewMockOrganisationMemberRepository added in v0.6.0

func NewMockOrganisationMemberRepository(ctrl *gomock.Controller) *MockOrganisationMemberRepository

NewMockOrganisationMemberRepository creates a new mock instance.

func (*MockOrganisationMemberRepository) CreateOrganisationMember added in v0.6.0

func (m *MockOrganisationMemberRepository) CreateOrganisationMember(ctx context.Context, member *datastore.OrganisationMember) error

CreateOrganisationMember mocks base method.

func (*MockOrganisationMemberRepository) DeleteOrganisationMember added in v0.6.0

func (m *MockOrganisationMemberRepository) DeleteOrganisationMember(ctx context.Context, memberID, orgID string) error

DeleteOrganisationMember mocks base method.

func (*MockOrganisationMemberRepository) EXPECT added in v0.6.0

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

func (*MockOrganisationMemberRepository) FetchOrganisationMemberByID added in v0.6.0

func (m *MockOrganisationMemberRepository) FetchOrganisationMemberByID(ctx context.Context, memberID, organisationID string) (*datastore.OrganisationMember, error)

FetchOrganisationMemberByID mocks base method.

func (*MockOrganisationMemberRepository) FetchOrganisationMemberByUserID added in v0.6.0

func (m *MockOrganisationMemberRepository) FetchOrganisationMemberByUserID(ctx context.Context, userID, organisationID string) (*datastore.OrganisationMember, error)

FetchOrganisationMemberByUserID mocks base method.

func (*MockOrganisationMemberRepository) LoadOrganisationMembersPaged added in v0.6.0

func (m *MockOrganisationMemberRepository) LoadOrganisationMembersPaged(ctx context.Context, organisationID string, pageable datastore.Pageable) ([]*datastore.OrganisationMember, datastore.PaginationData, error)

LoadOrganisationMembersPaged mocks base method.

func (*MockOrganisationMemberRepository) LoadUserOrganisationsPaged added in v0.6.0

LoadUserOrganisationsPaged mocks base method.

func (*MockOrganisationMemberRepository) UpdateOrganisationMember added in v0.6.0

func (m *MockOrganisationMemberRepository) UpdateOrganisationMember(ctx context.Context, member *datastore.OrganisationMember) error

UpdateOrganisationMember mocks base method.

type MockOrganisationMemberRepositoryMockRecorder added in v0.6.0

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

MockOrganisationMemberRepositoryMockRecorder is the mock recorder for MockOrganisationMemberRepository.

func (*MockOrganisationMemberRepositoryMockRecorder) CreateOrganisationMember added in v0.6.0

func (mr *MockOrganisationMemberRepositoryMockRecorder) CreateOrganisationMember(ctx, member interface{}) *gomock.Call

CreateOrganisationMember indicates an expected call of CreateOrganisationMember.

func (*MockOrganisationMemberRepositoryMockRecorder) DeleteOrganisationMember added in v0.6.0

func (mr *MockOrganisationMemberRepositoryMockRecorder) DeleteOrganisationMember(ctx, memberID, orgID interface{}) *gomock.Call

DeleteOrganisationMember indicates an expected call of DeleteOrganisationMember.

func (*MockOrganisationMemberRepositoryMockRecorder) FetchOrganisationMemberByID added in v0.6.0

func (mr *MockOrganisationMemberRepositoryMockRecorder) FetchOrganisationMemberByID(ctx, memberID, organisationID interface{}) *gomock.Call

FetchOrganisationMemberByID indicates an expected call of FetchOrganisationMemberByID.

func (*MockOrganisationMemberRepositoryMockRecorder) FetchOrganisationMemberByUserID added in v0.6.0

func (mr *MockOrganisationMemberRepositoryMockRecorder) FetchOrganisationMemberByUserID(ctx, userID, organisationID interface{}) *gomock.Call

FetchOrganisationMemberByUserID indicates an expected call of FetchOrganisationMemberByUserID.

func (*MockOrganisationMemberRepositoryMockRecorder) LoadOrganisationMembersPaged added in v0.6.0

func (mr *MockOrganisationMemberRepositoryMockRecorder) LoadOrganisationMembersPaged(ctx, organisationID, pageable interface{}) *gomock.Call

LoadOrganisationMembersPaged indicates an expected call of LoadOrganisationMembersPaged.

func (*MockOrganisationMemberRepositoryMockRecorder) LoadUserOrganisationsPaged added in v0.6.0

func (mr *MockOrganisationMemberRepositoryMockRecorder) LoadUserOrganisationsPaged(ctx, userID, pageable interface{}) *gomock.Call

LoadUserOrganisationsPaged indicates an expected call of LoadUserOrganisationsPaged.

func (*MockOrganisationMemberRepositoryMockRecorder) UpdateOrganisationMember added in v0.6.0

func (mr *MockOrganisationMemberRepositoryMockRecorder) UpdateOrganisationMember(ctx, member interface{}) *gomock.Call

UpdateOrganisationMember indicates an expected call of UpdateOrganisationMember.

type MockOrganisationRepository added in v0.1.0

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

MockOrganisationRepository is a mock of OrganisationRepository interface.

func NewMockOrganisationRepository added in v0.1.0

func NewMockOrganisationRepository(ctrl *gomock.Controller) *MockOrganisationRepository

NewMockOrganisationRepository creates a new mock instance.

func (*MockOrganisationRepository) CreateOrganisation added in v0.1.0

func (m *MockOrganisationRepository) CreateOrganisation(arg0 context.Context, arg1 *datastore.Organisation) error

CreateOrganisation mocks base method.

func (*MockOrganisationRepository) DeleteOrganisation added in v0.6.0

func (m *MockOrganisationRepository) DeleteOrganisation(arg0 context.Context, arg1 string) error

DeleteOrganisation mocks base method.

func (*MockOrganisationRepository) EXPECT added in v0.1.0

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

func (*MockOrganisationRepository) FetchOrganisationByID added in v0.1.0

func (m *MockOrganisationRepository) FetchOrganisationByID(arg0 context.Context, arg1 string) (*datastore.Organisation, error)

FetchOrganisationByID mocks base method.

func (*MockOrganisationRepository) LoadOrganisationsPaged added in v0.6.0

LoadOrganisationsPaged mocks base method.

func (*MockOrganisationRepository) UpdateOrganisation added in v0.1.0

func (m *MockOrganisationRepository) UpdateOrganisation(arg0 context.Context, arg1 *datastore.Organisation) error

UpdateOrganisation mocks base method.

type MockOrganisationRepositoryMockRecorder added in v0.1.0

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

MockOrganisationRepositoryMockRecorder is the mock recorder for MockOrganisationRepository.

func (*MockOrganisationRepositoryMockRecorder) CreateOrganisation added in v0.1.0

func (mr *MockOrganisationRepositoryMockRecorder) CreateOrganisation(arg0, arg1 interface{}) *gomock.Call

CreateOrganisation indicates an expected call of CreateOrganisation.

func (*MockOrganisationRepositoryMockRecorder) DeleteOrganisation added in v0.6.0

func (mr *MockOrganisationRepositoryMockRecorder) DeleteOrganisation(arg0, arg1 interface{}) *gomock.Call

DeleteOrganisation indicates an expected call of DeleteOrganisation.

func (*MockOrganisationRepositoryMockRecorder) FetchOrganisationByID added in v0.1.0

func (mr *MockOrganisationRepositoryMockRecorder) FetchOrganisationByID(arg0, arg1 interface{}) *gomock.Call

FetchOrganisationByID indicates an expected call of FetchOrganisationByID.

func (*MockOrganisationRepositoryMockRecorder) LoadOrganisationsPaged added in v0.6.0

func (mr *MockOrganisationRepositoryMockRecorder) LoadOrganisationsPaged(arg0, arg1 interface{}) *gomock.Call

LoadOrganisationsPaged indicates an expected call of LoadOrganisationsPaged.

func (*MockOrganisationRepositoryMockRecorder) UpdateOrganisation added in v0.1.0

func (mr *MockOrganisationRepositoryMockRecorder) UpdateOrganisation(arg0, arg1 interface{}) *gomock.Call

UpdateOrganisation indicates an expected call of UpdateOrganisation.

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

func (m *MockQueuer) EXPECT() *MockQueuerMockRecorder

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

func (*MockQueuer) Options added in v0.6.0

func (m *MockQueuer) Options() queue.QueueOptions

Options mocks base method.

func (*MockQueuer) Write

func (m *MockQueuer) Write(arg0 convoy.TaskName, arg1 convoy.QueueName, arg2 *queue.Job) error

Write mocks base method.

type MockQueuerMockRecorder

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

MockQueuerMockRecorder is the mock recorder for MockQueuer.

func (*MockQueuerMockRecorder) Options added in v0.6.0

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

Options indicates an expected call of Options.

func (*MockQueuerMockRecorder) Write

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

Write indicates an expected call of Write.

type MockRateLimiter added in v0.5.0

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

MockRateLimiter is a mock of RateLimiter interface.

func NewMockRateLimiter added in v0.5.0

func NewMockRateLimiter(ctrl *gomock.Controller) *MockRateLimiter

NewMockRateLimiter creates a new mock instance.

func (*MockRateLimiter) Allow added in v0.5.0

func (m *MockRateLimiter) Allow(ctx context.Context, key string, limit, duration int) (*redis_rate.Result, error)

Allow mocks base method.

func (*MockRateLimiter) EXPECT added in v0.5.0

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

func (*MockRateLimiter) ShouldAllow added in v0.5.0

func (m *MockRateLimiter) ShouldAllow(ctx context.Context, key string, limit, duration int) (*redis_rate.Result, error)

ShouldAllow mocks base method.

type MockRateLimiterMockRecorder added in v0.5.0

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

MockRateLimiterMockRecorder is the mock recorder for MockRateLimiter.

func (*MockRateLimiterMockRecorder) Allow added in v0.5.0

func (mr *MockRateLimiterMockRecorder) Allow(ctx, key, limit, duration interface{}) *gomock.Call

Allow indicates an expected call of Allow.

func (*MockRateLimiterMockRecorder) ShouldAllow added in v0.5.0

func (mr *MockRateLimiterMockRecorder) ShouldAllow(ctx, key, limit, duration interface{}) *gomock.Call

ShouldAllow indicates an expected call of ShouldAllow.

type MockSearcher added in v0.6.0

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

MockSearcher is a mock of Searcher interface.

func NewMockSearcher added in v0.6.0

func NewMockSearcher(ctrl *gomock.Controller) *MockSearcher

NewMockSearcher creates a new mock instance.

func (*MockSearcher) EXPECT added in v0.6.0

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

func (*MockSearcher) Index added in v0.6.0

func (m *MockSearcher) Index(collection string, document convoy.GenericMap) error

Index mocks base method.

func (*MockSearcher) Remove added in v0.6.0

func (m *MockSearcher) Remove(collection string, filter *datastore.Filter) error

Remove mocks base method.

func (*MockSearcher) Search added in v0.6.0

func (m *MockSearcher) Search(collection string, filter *datastore.Filter) ([]string, datastore.PaginationData, error)

Search mocks base method.

type MockSearcherMockRecorder added in v0.6.0

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

MockSearcherMockRecorder is the mock recorder for MockSearcher.

func (*MockSearcherMockRecorder) Index added in v0.6.0

func (mr *MockSearcherMockRecorder) Index(collection, document interface{}) *gomock.Call

Index indicates an expected call of Index.

func (*MockSearcherMockRecorder) Remove added in v0.6.0

func (mr *MockSearcherMockRecorder) Remove(collection, filter interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockSearcherMockRecorder) Search added in v0.6.0

func (mr *MockSearcherMockRecorder) Search(collection, filter interface{}) *gomock.Call

Search indicates an expected call of Search.

type MockSender added in v0.5.3

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

MockSender is a mock of Sender interface.

func NewMockSender added in v0.5.3

func NewMockSender(ctrl *gomock.Controller) *MockSender

NewMockSender creates a new mock instance.

func (*MockSender) EXPECT added in v0.5.3

func (m *MockSender) EXPECT() *MockSenderMockRecorder

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

func (*MockSender) SendNotification added in v0.5.3

func (m *MockSender) SendNotification(arg0 context.Context, arg1 *notification.Notification) error

SendNotification mocks base method.

type MockSenderMockRecorder added in v0.5.3

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

MockSenderMockRecorder is the mock recorder for MockSender.

func (*MockSenderMockRecorder) SendNotification added in v0.5.3

func (mr *MockSenderMockRecorder) SendNotification(arg0, arg1 interface{}) *gomock.Call

SendNotification indicates an expected call of SendNotification.

type MockSmtpClient added in v0.6.0

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

MockSmtpClient is a mock of SmtpClient interface.

func NewMockSmtpClient added in v0.6.0

func NewMockSmtpClient(ctrl *gomock.Controller) *MockSmtpClient

NewMockSmtpClient creates a new mock instance.

func (*MockSmtpClient) EXPECT added in v0.6.0

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

func (*MockSmtpClient) SendEmail added in v0.6.0

func (m *MockSmtpClient) SendEmail(emailAddr, subject string, body bytes.Buffer) error

SendEmail mocks base method.

type MockSmtpClientMockRecorder added in v0.6.0

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

MockSmtpClientMockRecorder is the mock recorder for MockSmtpClient.

func (*MockSmtpClientMockRecorder) SendEmail added in v0.6.0

func (mr *MockSmtpClientMockRecorder) SendEmail(emailAddr, subject, body interface{}) *gomock.Call

SendEmail indicates an expected call of SendEmail.

type MockSourceRepository added in v0.6.0

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

MockSourceRepository is a mock of SourceRepository interface.

func NewMockSourceRepository added in v0.6.0

func NewMockSourceRepository(ctrl *gomock.Controller) *MockSourceRepository

NewMockSourceRepository creates a new mock instance.

func (*MockSourceRepository) CreateSource added in v0.6.0

func (m *MockSourceRepository) CreateSource(arg0 context.Context, arg1 *datastore.Source) error

CreateSource mocks base method.

func (*MockSourceRepository) DeleteSourceByID added in v0.6.0

func (m *MockSourceRepository) DeleteSourceByID(ctx context.Context, groupID, id string) error

DeleteSourceByID mocks base method.

func (*MockSourceRepository) EXPECT added in v0.6.0

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

func (*MockSourceRepository) FindSourceByID added in v0.6.0

func (m *MockSourceRepository) FindSourceByID(ctx context.Context, groupID, id string) (*datastore.Source, error)

FindSourceByID mocks base method.

func (*MockSourceRepository) FindSourceByMaskID added in v0.6.0

func (m *MockSourceRepository) FindSourceByMaskID(ctx context.Context, maskID string) (*datastore.Source, error)

FindSourceByMaskID mocks base method.

func (*MockSourceRepository) LoadSourcesPaged added in v0.6.0

LoadSourcesPaged mocks base method.

func (*MockSourceRepository) UpdateSource added in v0.6.0

func (m *MockSourceRepository) UpdateSource(ctx context.Context, groupID string, source *datastore.Source) error

UpdateSource mocks base method.

type MockSourceRepositoryMockRecorder added in v0.6.0

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

MockSourceRepositoryMockRecorder is the mock recorder for MockSourceRepository.

func (*MockSourceRepositoryMockRecorder) CreateSource added in v0.6.0

func (mr *MockSourceRepositoryMockRecorder) CreateSource(arg0, arg1 interface{}) *gomock.Call

CreateSource indicates an expected call of CreateSource.

func (*MockSourceRepositoryMockRecorder) DeleteSourceByID added in v0.6.0

func (mr *MockSourceRepositoryMockRecorder) DeleteSourceByID(ctx, groupID, id interface{}) *gomock.Call

DeleteSourceByID indicates an expected call of DeleteSourceByID.

func (*MockSourceRepositoryMockRecorder) FindSourceByID added in v0.6.0

func (mr *MockSourceRepositoryMockRecorder) FindSourceByID(ctx, groupID, id interface{}) *gomock.Call

FindSourceByID indicates an expected call of FindSourceByID.

func (*MockSourceRepositoryMockRecorder) FindSourceByMaskID added in v0.6.0

func (mr *MockSourceRepositoryMockRecorder) FindSourceByMaskID(ctx, maskID interface{}) *gomock.Call

FindSourceByMaskID indicates an expected call of FindSourceByMaskID.

func (*MockSourceRepositoryMockRecorder) LoadSourcesPaged added in v0.6.0

func (mr *MockSourceRepositoryMockRecorder) LoadSourcesPaged(ctx, groupID, filter, pageable interface{}) *gomock.Call

LoadSourcesPaged indicates an expected call of LoadSourcesPaged.

func (*MockSourceRepositoryMockRecorder) UpdateSource added in v0.6.0

func (mr *MockSourceRepositoryMockRecorder) UpdateSource(ctx, groupID, source interface{}) *gomock.Call

UpdateSource indicates an expected call of UpdateSource.

type MockSubscriptionRepository added in v0.6.0

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

MockSubscriptionRepository is a mock of SubscriptionRepository interface.

func NewMockSubscriptionRepository added in v0.6.0

func NewMockSubscriptionRepository(ctrl *gomock.Controller) *MockSubscriptionRepository

NewMockSubscriptionRepository creates a new mock instance.

func (*MockSubscriptionRepository) CreateSubscription added in v0.6.0

func (m *MockSubscriptionRepository) CreateSubscription(arg0 context.Context, arg1 string, arg2 *datastore.Subscription) error

CreateSubscription mocks base method.

func (*MockSubscriptionRepository) DeleteSubscription added in v0.6.0

func (m *MockSubscriptionRepository) DeleteSubscription(arg0 context.Context, arg1 string, arg2 *datastore.Subscription) error

DeleteSubscription mocks base method.

func (*MockSubscriptionRepository) EXPECT added in v0.6.0

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

func (*MockSubscriptionRepository) FindSubscriptionByID added in v0.6.0

func (m *MockSubscriptionRepository) FindSubscriptionByID(arg0 context.Context, arg1, arg2 string) (*datastore.Subscription, error)

FindSubscriptionByID mocks base method.

func (*MockSubscriptionRepository) FindSubscriptionsByAppID added in v0.6.0

func (m *MockSubscriptionRepository) FindSubscriptionsByAppID(ctx context.Context, groupId, appID string) ([]datastore.Subscription, error)

FindSubscriptionsByAppID mocks base method.

func (*MockSubscriptionRepository) FindSubscriptionsByEventType added in v0.6.0

func (m *MockSubscriptionRepository) FindSubscriptionsByEventType(arg0 context.Context, arg1, arg2 string, arg3 datastore.EventType) ([]datastore.Subscription, error)

FindSubscriptionsByEventType mocks base method.

func (*MockSubscriptionRepository) FindSubscriptionsBySourceIDs added in v0.6.0

func (m *MockSubscriptionRepository) FindSubscriptionsBySourceIDs(arg0 context.Context, arg1, arg2 string) ([]datastore.Subscription, error)

FindSubscriptionsBySourceIDs mocks base method.

func (*MockSubscriptionRepository) LoadSubscriptionsPaged added in v0.6.0

LoadSubscriptionsPaged mocks base method.

func (*MockSubscriptionRepository) UpdateSubscription added in v0.6.0

func (m *MockSubscriptionRepository) UpdateSubscription(arg0 context.Context, arg1 string, arg2 *datastore.Subscription) error

UpdateSubscription mocks base method.

func (*MockSubscriptionRepository) UpdateSubscriptionStatus added in v0.6.0

func (m *MockSubscriptionRepository) UpdateSubscriptionStatus(arg0 context.Context, arg1, arg2 string, arg3 datastore.SubscriptionStatus) error

UpdateSubscriptionStatus mocks base method.

type MockSubscriptionRepositoryMockRecorder added in v0.6.0

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

MockSubscriptionRepositoryMockRecorder is the mock recorder for MockSubscriptionRepository.

func (*MockSubscriptionRepositoryMockRecorder) CreateSubscription added in v0.6.0

func (mr *MockSubscriptionRepositoryMockRecorder) CreateSubscription(arg0, arg1, arg2 interface{}) *gomock.Call

CreateSubscription indicates an expected call of CreateSubscription.

func (*MockSubscriptionRepositoryMockRecorder) DeleteSubscription added in v0.6.0

func (mr *MockSubscriptionRepositoryMockRecorder) DeleteSubscription(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteSubscription indicates an expected call of DeleteSubscription.

func (*MockSubscriptionRepositoryMockRecorder) FindSubscriptionByID added in v0.6.0

func (mr *MockSubscriptionRepositoryMockRecorder) FindSubscriptionByID(arg0, arg1, arg2 interface{}) *gomock.Call

FindSubscriptionByID indicates an expected call of FindSubscriptionByID.

func (*MockSubscriptionRepositoryMockRecorder) FindSubscriptionsByAppID added in v0.6.0

func (mr *MockSubscriptionRepositoryMockRecorder) FindSubscriptionsByAppID(ctx, groupId, appID interface{}) *gomock.Call

FindSubscriptionsByAppID indicates an expected call of FindSubscriptionsByAppID.

func (*MockSubscriptionRepositoryMockRecorder) FindSubscriptionsByEventType added in v0.6.0

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

FindSubscriptionsByEventType indicates an expected call of FindSubscriptionsByEventType.

func (*MockSubscriptionRepositoryMockRecorder) FindSubscriptionsBySourceIDs added in v0.6.0

func (mr *MockSubscriptionRepositoryMockRecorder) FindSubscriptionsBySourceIDs(arg0, arg1, arg2 interface{}) *gomock.Call

FindSubscriptionsBySourceIDs indicates an expected call of FindSubscriptionsBySourceIDs.

func (*MockSubscriptionRepositoryMockRecorder) LoadSubscriptionsPaged added in v0.6.0

func (mr *MockSubscriptionRepositoryMockRecorder) LoadSubscriptionsPaged(arg0, arg1, arg2 interface{}) *gomock.Call

LoadSubscriptionsPaged indicates an expected call of LoadSubscriptionsPaged.

func (*MockSubscriptionRepositoryMockRecorder) UpdateSubscription added in v0.6.0

func (mr *MockSubscriptionRepositoryMockRecorder) UpdateSubscription(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateSubscription indicates an expected call of UpdateSubscription.

func (*MockSubscriptionRepositoryMockRecorder) UpdateSubscriptionStatus added in v0.6.0

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

UpdateSubscriptionStatus indicates an expected call of UpdateSubscriptionStatus.

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) NewContext added in v0.5.3

func (m *MockTracer) NewContext(ctx context.Context, txn *newrelic.Transaction) context.Context

NewContext mocks base method.

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) NewContext added in v0.5.3

func (mr *MockTracerMockRecorder) NewContext(ctx, txn interface{}) *gomock.Call

NewContext indicates an expected call of NewContext.

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.

type MockUserRepository added in v0.6.0

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

MockUserRepository is a mock of UserRepository interface.

func NewMockUserRepository added in v0.6.0

func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository

NewMockUserRepository creates a new mock instance.

func (*MockUserRepository) CreateUser added in v0.6.0

func (m *MockUserRepository) CreateUser(arg0 context.Context, arg1 *datastore.User) error

CreateUser mocks base method.

func (*MockUserRepository) EXPECT added in v0.6.0

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

func (*MockUserRepository) FindUserByEmail added in v0.6.0

func (m *MockUserRepository) FindUserByEmail(arg0 context.Context, arg1 string) (*datastore.User, error)

FindUserByEmail mocks base method.

func (*MockUserRepository) FindUserByID added in v0.6.0

func (m *MockUserRepository) FindUserByID(arg0 context.Context, arg1 string) (*datastore.User, error)

FindUserByID mocks base method.

func (*MockUserRepository) FindUserByToken added in v0.6.0

func (m *MockUserRepository) FindUserByToken(arg0 context.Context, arg1 string) (*datastore.User, error)

FindUserByToken mocks base method.

func (*MockUserRepository) LoadUsersPaged added in v0.6.0

LoadUsersPaged mocks base method.

func (*MockUserRepository) UpdateUser added in v0.6.0

func (m *MockUserRepository) UpdateUser(ctx context.Context, user *datastore.User) error

UpdateUser mocks base method.

type MockUserRepositoryMockRecorder added in v0.6.0

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

MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository.

func (*MockUserRepositoryMockRecorder) CreateUser added in v0.6.0

func (mr *MockUserRepositoryMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockUserRepositoryMockRecorder) FindUserByEmail added in v0.6.0

func (mr *MockUserRepositoryMockRecorder) FindUserByEmail(arg0, arg1 interface{}) *gomock.Call

FindUserByEmail indicates an expected call of FindUserByEmail.

func (*MockUserRepositoryMockRecorder) FindUserByID added in v0.6.0

func (mr *MockUserRepositoryMockRecorder) FindUserByID(arg0, arg1 interface{}) *gomock.Call

FindUserByID indicates an expected call of FindUserByID.

func (*MockUserRepositoryMockRecorder) FindUserByToken added in v0.6.0

func (mr *MockUserRepositoryMockRecorder) FindUserByToken(arg0, arg1 interface{}) *gomock.Call

FindUserByToken indicates an expected call of FindUserByToken.

func (*MockUserRepositoryMockRecorder) LoadUsersPaged added in v0.6.0

func (mr *MockUserRepositoryMockRecorder) LoadUsersPaged(arg0, arg1 interface{}) *gomock.Call

LoadUsersPaged indicates an expected call of LoadUsersPaged.

func (*MockUserRepositoryMockRecorder) UpdateUser added in v0.6.0

func (mr *MockUserRepositoryMockRecorder) UpdateUser(ctx, user interface{}) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

Jump to

Keyboard shortcuts

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