mocks

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mock_convoy 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 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) CreateApplication

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

CreateApplication mocks base method.

func (*MockApplicationRepository) DeleteApplication

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

DeleteApplication 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) (*convoy.Application, error)

FindApplicationByID mocks base method.

func (*MockApplicationRepository) LoadApplicationsPaged

LoadApplicationsPaged mocks base method.

func (*MockApplicationRepository) LoadApplicationsPagedByOrgId added in v0.1.0

func (m *MockApplicationRepository) LoadApplicationsPagedByOrgId(arg0 context.Context, arg1 string, arg2 models.Pageable) ([]convoy.Application, mongopagination.PaginationData, error)

LoadApplicationsPagedByOrgId mocks base method.

func (*MockApplicationRepository) SearchApplicationsByOrgId added in v0.1.0

func (m *MockApplicationRepository) SearchApplicationsByOrgId(arg0 context.Context, arg1 string, arg2 models.SearchParams) ([]convoy.Application, error)

SearchApplicationsByOrgId mocks base method.

func (*MockApplicationRepository) UpdateApplication

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

UpdateApplication mocks base method.

type MockApplicationRepositoryMockRecorder

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

MockApplicationRepositoryMockRecorder is the mock recorder for MockApplicationRepository.

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

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

FindApplicationByID indicates an expected call of FindApplicationByID.

func (*MockApplicationRepositoryMockRecorder) LoadApplicationsPaged

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

LoadApplicationsPaged indicates an expected call of LoadApplicationsPaged.

func (*MockApplicationRepositoryMockRecorder) LoadApplicationsPagedByOrgId added in v0.1.0

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

LoadApplicationsPagedByOrgId indicates an expected call of LoadApplicationsPagedByOrgId.

func (*MockApplicationRepositoryMockRecorder) SearchApplicationsByOrgId added in v0.1.0

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

SearchApplicationsByOrgId indicates an expected call of SearchApplicationsByOrgId.

func (*MockApplicationRepositoryMockRecorder) UpdateApplication

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

UpdateApplication indicates an expected call of UpdateApplication.

type MockMessageRepository added in v0.1.0

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

MockMessageRepository is a mock of MessageRepository interface.

func NewMockMessageRepository added in v0.1.0

func NewMockMessageRepository(ctrl *gomock.Controller) *MockMessageRepository

NewMockMessageRepository creates a new mock instance.

func (*MockMessageRepository) CreateMessage added in v0.1.0

func (m *MockMessageRepository) CreateMessage(arg0 context.Context, arg1 *convoy.Message) error

CreateMessage mocks base method.

func (*MockMessageRepository) EXPECT added in v0.1.0

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

func (*MockMessageRepository) FindMessageByID added in v0.1.0

func (m *MockMessageRepository) FindMessageByID(ctx context.Context, id string) (*convoy.Message, error)

FindMessageByID mocks base method.

func (*MockMessageRepository) LoadAbandonedMessagesForPostingRetry added in v0.1.0

func (m *MockMessageRepository) LoadAbandonedMessagesForPostingRetry(arg0 context.Context) ([]convoy.Message, error)

LoadAbandonedMessagesForPostingRetry mocks base method.

func (*MockMessageRepository) LoadMessageIntervals added in v0.1.0

func (m *MockMessageRepository) LoadMessageIntervals(arg0 context.Context, arg1 string, arg2 models.SearchParams, arg3 convoy.Period, arg4 int) ([]models.MessageInterval, error)

LoadMessageIntervals mocks base method.

func (*MockMessageRepository) LoadMessagesForPostingRetry added in v0.1.0

func (m *MockMessageRepository) LoadMessagesForPostingRetry(arg0 context.Context) ([]convoy.Message, error)

LoadMessagesForPostingRetry mocks base method.

func (*MockMessageRepository) LoadMessagesPaged added in v0.1.0

LoadMessagesPaged mocks base method.

func (*MockMessageRepository) LoadMessagesPagedByAppId added in v0.1.0

func (m *MockMessageRepository) LoadMessagesPagedByAppId(arg0 context.Context, arg1 string, arg2 models.Pageable) ([]convoy.Message, mongopagination.PaginationData, error)

LoadMessagesPagedByAppId mocks base method.

func (*MockMessageRepository) LoadMessagesScheduledForPosting added in v0.1.0

func (m *MockMessageRepository) LoadMessagesScheduledForPosting(arg0 context.Context) ([]convoy.Message, error)

LoadMessagesScheduledForPosting mocks base method.

func (*MockMessageRepository) UpdateMessageWithAttempt added in v0.1.0

func (m_2 *MockMessageRepository) UpdateMessageWithAttempt(ctx context.Context, m convoy.Message, attempt convoy.MessageAttempt) error

UpdateMessageWithAttempt mocks base method.

func (*MockMessageRepository) UpdateStatusOfMessages added in v0.1.0

func (m *MockMessageRepository) UpdateStatusOfMessages(arg0 context.Context, arg1 []convoy.Message, arg2 convoy.MessageStatus) error

UpdateStatusOfMessages mocks base method.

type MockMessageRepositoryMockRecorder added in v0.1.0

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

MockMessageRepositoryMockRecorder is the mock recorder for MockMessageRepository.

func (*MockMessageRepositoryMockRecorder) CreateMessage added in v0.1.0

func (mr *MockMessageRepositoryMockRecorder) CreateMessage(arg0, arg1 interface{}) *gomock.Call

CreateMessage indicates an expected call of CreateMessage.

func (*MockMessageRepositoryMockRecorder) FindMessageByID added in v0.1.0

func (mr *MockMessageRepositoryMockRecorder) FindMessageByID(ctx, id interface{}) *gomock.Call

FindMessageByID indicates an expected call of FindMessageByID.

func (*MockMessageRepositoryMockRecorder) LoadAbandonedMessagesForPostingRetry added in v0.1.0

func (mr *MockMessageRepositoryMockRecorder) LoadAbandonedMessagesForPostingRetry(arg0 interface{}) *gomock.Call

LoadAbandonedMessagesForPostingRetry indicates an expected call of LoadAbandonedMessagesForPostingRetry.

func (*MockMessageRepositoryMockRecorder) LoadMessageIntervals added in v0.1.0

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

LoadMessageIntervals indicates an expected call of LoadMessageIntervals.

func (*MockMessageRepositoryMockRecorder) LoadMessagesForPostingRetry added in v0.1.0

func (mr *MockMessageRepositoryMockRecorder) LoadMessagesForPostingRetry(arg0 interface{}) *gomock.Call

LoadMessagesForPostingRetry indicates an expected call of LoadMessagesForPostingRetry.

func (*MockMessageRepositoryMockRecorder) LoadMessagesPaged added in v0.1.0

func (mr *MockMessageRepositoryMockRecorder) LoadMessagesPaged(arg0, arg1, arg2 interface{}) *gomock.Call

LoadMessagesPaged indicates an expected call of LoadMessagesPaged.

func (*MockMessageRepositoryMockRecorder) LoadMessagesPagedByAppId added in v0.1.0

func (mr *MockMessageRepositoryMockRecorder) LoadMessagesPagedByAppId(arg0, arg1, arg2 interface{}) *gomock.Call

LoadMessagesPagedByAppId indicates an expected call of LoadMessagesPagedByAppId.

func (*MockMessageRepositoryMockRecorder) LoadMessagesScheduledForPosting added in v0.1.0

func (mr *MockMessageRepositoryMockRecorder) LoadMessagesScheduledForPosting(arg0 interface{}) *gomock.Call

LoadMessagesScheduledForPosting indicates an expected call of LoadMessagesScheduledForPosting.

func (*MockMessageRepositoryMockRecorder) UpdateMessageWithAttempt added in v0.1.0

func (mr *MockMessageRepositoryMockRecorder) UpdateMessageWithAttempt(ctx, m, attempt interface{}) *gomock.Call

UpdateMessageWithAttempt indicates an expected call of UpdateMessageWithAttempt.

func (*MockMessageRepositoryMockRecorder) UpdateStatusOfMessages added in v0.1.0

func (mr *MockMessageRepositoryMockRecorder) UpdateStatusOfMessages(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateStatusOfMessages indicates an expected call of UpdateStatusOfMessages.

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 *convoy.Organisation) error

CreateOrganisation 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) (*convoy.Organisation, error)

FetchOrganisationByID mocks base method.

func (*MockOrganisationRepository) LoadOrganisations added in v0.1.0

func (m *MockOrganisationRepository) LoadOrganisations(arg0 context.Context) ([]*convoy.Organisation, error)

LoadOrganisations mocks base method.

func (*MockOrganisationRepository) UpdateOrganisation added in v0.1.0

func (m *MockOrganisationRepository) UpdateOrganisation(arg0 context.Context, arg1 *convoy.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) FetchOrganisationByID added in v0.1.0

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

FetchOrganisationByID indicates an expected call of FetchOrganisationByID.

func (*MockOrganisationRepositoryMockRecorder) LoadOrganisations added in v0.1.0

func (mr *MockOrganisationRepositoryMockRecorder) LoadOrganisations(arg0 interface{}) *gomock.Call

LoadOrganisations indicates an expected call of LoadOrganisations.

func (*MockOrganisationRepositoryMockRecorder) UpdateOrganisation added in v0.1.0

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

UpdateOrganisation indicates an expected call of UpdateOrganisation.

Jump to

Keyboard shortcuts

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