Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockCombinedRepo
- func (m *MockCombinedRepo) EXPECT() *MockCombinedRepoMockRecorder
- func (m *MockCombinedRepo) GetCLAGroupByID(ctx context.Context, claGroupID string, loadRepoDetails bool) (*models.ClaGroup, error)
- func (m *MockCombinedRepo) GetClaGroupIDForProject(ctx context.Context, projectSFID string) (*projects_cla_groups.ProjectClaGroup, error)
- func (m *MockCombinedRepo) GetCompany(ctx context.Context, companyID string) (*models.Company, error)
- func (m *MockCombinedRepo) GetUser(userID string) (*models.User, error)
- func (m *MockCombinedRepo) GetUserByUserName(userName string, fullMatch bool) (*models.User, error)
- type MockCombinedRepoMockRecorder
- func (mr *MockCombinedRepoMockRecorder) GetCLAGroupByID(ctx, claGroupID, loadRepoDetails interface{}) *gomock.Call
- func (mr *MockCombinedRepoMockRecorder) GetClaGroupIDForProject(ctx, projectSFID interface{}) *gomock.Call
- func (mr *MockCombinedRepoMockRecorder) GetCompany(ctx, companyID interface{}) *gomock.Call
- func (mr *MockCombinedRepoMockRecorder) GetUser(userID interface{}) *gomock.Call
- func (mr *MockCombinedRepoMockRecorder) GetUserByUserName(userName, fullMatch interface{}) *gomock.Call
- type MockRepository
- func (m *MockRepository) AddDataToEvent(...) error
- func (m *MockRepository) CreateEvent(event *models.Event) error
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) GetClaGroupEvents(claGroupID string, nextKey *string, paramPageSize *int64, all bool, ...) (*models.EventList, error)
- func (m *MockRepository) GetCompanyClaGroupEvents(claGroupID, companySFID string, nextKey *string, paramPageSize *int64, ...) (*models.EventList, error)
- func (m *MockRepository) GetCompanyEvents(companyID, eventType string, nextKey *string, paramPageSize *int64, all bool) (*models.EventList, error)
- func (m *MockRepository) GetCompanyFoundationEvents(companySFID, companyID, foundationSFID string, nextKey *string, ...) (*models.EventList, error)
- func (m *MockRepository) GetFoundationEvents(foundationSFID string, nextKey *string, paramPageSize *int64, all bool, ...) (*models.EventList, error)
- func (m *MockRepository) GetRecentEvents(pageSize int64) (*models.EventList, error)
- func (m *MockRepository) SearchEvents(params *events.SearchEventsParams, pageSize int64) (*models.EventList, error)
- type MockRepositoryMockRecorder
- func (mr *MockRepositoryMockRecorder) AddDataToEvent(...) *gomock.Call
- func (mr *MockRepositoryMockRecorder) CreateEvent(event interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetClaGroupEvents(claGroupID, nextKey, paramPageSize, all, searchTerm interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetCompanyClaGroupEvents(claGroupID, companySFID, nextKey, paramPageSize, searchTerm, all interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetCompanyEvents(companyID, eventType, nextKey, paramPageSize, all interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetCompanyFoundationEvents(...) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetFoundationEvents(foundationSFID, nextKey, paramPageSize, all, searchTerm interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetRecentEvents(pageSize interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) SearchEvents(params, pageSize interface{}) *gomock.Call
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetClaGroupEvents(claGroupID string, nextKey *string, paramPageSize *int64, all bool, ...) (*models.EventList, error)
- func (m *MockService) GetCompanyClaGroupEvents(claGroupID, companySFID string, nextKey *string, paramPageSize *int64, ...) (*models.EventList, error)
- func (m *MockService) GetCompanyEvents(companyID, eventType string, nextKey *string, paramPageSize *int64, all bool) (*models.EventList, error)
- func (m *MockService) GetCompanyFoundationEvents(companySFID, companyID, foundationSFID string, nextKey *string, ...) (*models.EventList, error)
- func (m *MockService) GetFoundationEvents(foundationSFID string, nextKey *string, paramPageSize *int64, all bool, ...) (*models.EventList, error)
- func (m *MockService) GetRecentEvents(paramPageSize *int64) (*models.EventList, error)
- func (m *MockService) LogEvent(args *events.LogEventArgs)
- func (m *MockService) LogEventWithContext(ctx context.Context, args *events.LogEventArgs)
- func (m *MockService) SearchEvents(params *events0.SearchEventsParams) (*models.EventList, error)
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) GetClaGroupEvents(claGroupID, nextKey, paramPageSize, all, searchTerm interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetCompanyClaGroupEvents(claGroupID, companySFID, nextKey, paramPageSize, searchTerm, all interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetCompanyEvents(companyID, eventType, nextKey, paramPageSize, all interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetCompanyFoundationEvents(...) *gomock.Call
- func (mr *MockServiceMockRecorder) GetFoundationEvents(foundationSFID, nextKey, paramPageSize, all, searchTerm interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetRecentEvents(paramPageSize interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) LogEvent(args interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) LogEventWithContext(ctx, args interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) SearchEvents(params interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCombinedRepo ¶
type MockCombinedRepo struct {
// contains filtered or unexported fields
}
MockCombinedRepo is a mock of CombinedRepo interface.
func NewMockCombinedRepo ¶
func NewMockCombinedRepo(ctrl *gomock.Controller) *MockCombinedRepo
NewMockCombinedRepo creates a new mock instance.
func (*MockCombinedRepo) EXPECT ¶
func (m *MockCombinedRepo) EXPECT() *MockCombinedRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCombinedRepo) GetCLAGroupByID ¶
func (m *MockCombinedRepo) GetCLAGroupByID(ctx context.Context, claGroupID string, loadRepoDetails bool) (*models.ClaGroup, error)
GetCLAGroupByID mocks base method.
func (*MockCombinedRepo) GetClaGroupIDForProject ¶
func (m *MockCombinedRepo) GetClaGroupIDForProject(ctx context.Context, projectSFID string) (*projects_cla_groups.ProjectClaGroup, error)
GetClaGroupIDForProject mocks base method.
func (*MockCombinedRepo) GetCompany ¶
func (m *MockCombinedRepo) GetCompany(ctx context.Context, companyID string) (*models.Company, error)
GetCompany mocks base method.
func (*MockCombinedRepo) GetUser ¶
func (m *MockCombinedRepo) GetUser(userID string) (*models.User, error)
GetUser mocks base method.
func (*MockCombinedRepo) GetUserByUserName ¶
GetUserByUserName mocks base method.
type MockCombinedRepoMockRecorder ¶
type MockCombinedRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockCombinedRepoMockRecorder is the mock recorder for MockCombinedRepo.
func (*MockCombinedRepoMockRecorder) GetCLAGroupByID ¶
func (mr *MockCombinedRepoMockRecorder) GetCLAGroupByID(ctx, claGroupID, loadRepoDetails interface{}) *gomock.Call
GetCLAGroupByID indicates an expected call of GetCLAGroupByID.
func (*MockCombinedRepoMockRecorder) GetClaGroupIDForProject ¶
func (mr *MockCombinedRepoMockRecorder) GetClaGroupIDForProject(ctx, projectSFID interface{}) *gomock.Call
GetClaGroupIDForProject indicates an expected call of GetClaGroupIDForProject.
func (*MockCombinedRepoMockRecorder) GetCompany ¶
func (mr *MockCombinedRepoMockRecorder) GetCompany(ctx, companyID interface{}) *gomock.Call
GetCompany indicates an expected call of GetCompany.
func (*MockCombinedRepoMockRecorder) GetUser ¶
func (mr *MockCombinedRepoMockRecorder) GetUser(userID interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockCombinedRepoMockRecorder) GetUserByUserName ¶
func (mr *MockCombinedRepoMockRecorder) GetUserByUserName(userName, fullMatch interface{}) *gomock.Call
GetUserByUserName indicates an expected call of GetUserByUserName.
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface.
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance.
func (*MockRepository) AddDataToEvent ¶
func (m *MockRepository) AddDataToEvent(eventID, parentProjectSFID, projectSFID, projectSFName, companySFID, projectID, claGroupID string) error
AddDataToEvent mocks base method.
func (*MockRepository) CreateEvent ¶
func (m *MockRepository) CreateEvent(event *models.Event) error
CreateEvent mocks base method.
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepository) GetClaGroupEvents ¶
func (m *MockRepository) GetClaGroupEvents(claGroupID string, nextKey *string, paramPageSize *int64, all bool, searchTerm *string) (*models.EventList, error)
GetClaGroupEvents mocks base method.
func (*MockRepository) GetCompanyClaGroupEvents ¶
func (m *MockRepository) GetCompanyClaGroupEvents(claGroupID, companySFID string, nextKey *string, paramPageSize *int64, searchTerm *string, all bool) (*models.EventList, error)
GetCompanyClaGroupEvents mocks base method.
func (*MockRepository) GetCompanyEvents ¶
func (m *MockRepository) GetCompanyEvents(companyID, eventType string, nextKey *string, paramPageSize *int64, all bool) (*models.EventList, error)
GetCompanyEvents mocks base method.
func (*MockRepository) GetCompanyFoundationEvents ¶
func (m *MockRepository) GetCompanyFoundationEvents(companySFID, companyID, foundationSFID string, nextKey *string, paramPageSize *int64, searchTerm *string, all bool) (*models.EventList, error)
GetCompanyFoundationEvents mocks base method.
func (*MockRepository) GetFoundationEvents ¶
func (m *MockRepository) GetFoundationEvents(foundationSFID string, nextKey *string, paramPageSize *int64, all bool, searchTerm *string) (*models.EventList, error)
GetFoundationEvents mocks base method.
func (*MockRepository) GetRecentEvents ¶
func (m *MockRepository) GetRecentEvents(pageSize int64) (*models.EventList, error)
GetRecentEvents mocks base method.
func (*MockRepository) SearchEvents ¶
func (m *MockRepository) SearchEvents(params *events.SearchEventsParams, pageSize int64) (*models.EventList, error)
SearchEvents mocks base method.
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) AddDataToEvent ¶
func (mr *MockRepositoryMockRecorder) AddDataToEvent(eventID, parentProjectSFID, projectSFID, projectSFName, companySFID, projectID, claGroupID interface{}) *gomock.Call
AddDataToEvent indicates an expected call of AddDataToEvent.
func (*MockRepositoryMockRecorder) CreateEvent ¶
func (mr *MockRepositoryMockRecorder) CreateEvent(event interface{}) *gomock.Call
CreateEvent indicates an expected call of CreateEvent.
func (*MockRepositoryMockRecorder) GetClaGroupEvents ¶
func (mr *MockRepositoryMockRecorder) GetClaGroupEvents(claGroupID, nextKey, paramPageSize, all, searchTerm interface{}) *gomock.Call
GetClaGroupEvents indicates an expected call of GetClaGroupEvents.
func (*MockRepositoryMockRecorder) GetCompanyClaGroupEvents ¶
func (mr *MockRepositoryMockRecorder) GetCompanyClaGroupEvents(claGroupID, companySFID, nextKey, paramPageSize, searchTerm, all interface{}) *gomock.Call
GetCompanyClaGroupEvents indicates an expected call of GetCompanyClaGroupEvents.
func (*MockRepositoryMockRecorder) GetCompanyEvents ¶
func (mr *MockRepositoryMockRecorder) GetCompanyEvents(companyID, eventType, nextKey, paramPageSize, all interface{}) *gomock.Call
GetCompanyEvents indicates an expected call of GetCompanyEvents.
func (*MockRepositoryMockRecorder) GetCompanyFoundationEvents ¶
func (mr *MockRepositoryMockRecorder) GetCompanyFoundationEvents(companySFID, companyID, foundationSFID, nextKey, paramPageSize, searchTerm, all interface{}) *gomock.Call
GetCompanyFoundationEvents indicates an expected call of GetCompanyFoundationEvents.
func (*MockRepositoryMockRecorder) GetFoundationEvents ¶
func (mr *MockRepositoryMockRecorder) GetFoundationEvents(foundationSFID, nextKey, paramPageSize, all, searchTerm interface{}) *gomock.Call
GetFoundationEvents indicates an expected call of GetFoundationEvents.
func (*MockRepositoryMockRecorder) GetRecentEvents ¶
func (mr *MockRepositoryMockRecorder) GetRecentEvents(pageSize interface{}) *gomock.Call
GetRecentEvents indicates an expected call of GetRecentEvents.
func (*MockRepositoryMockRecorder) SearchEvents ¶
func (mr *MockRepositoryMockRecorder) SearchEvents(params, pageSize interface{}) *gomock.Call
SearchEvents indicates an expected call of SearchEvents.
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) GetClaGroupEvents ¶
func (m *MockService) GetClaGroupEvents(claGroupID string, nextKey *string, paramPageSize *int64, all bool, searchTerm *string) (*models.EventList, error)
GetClaGroupEvents mocks base method.
func (*MockService) GetCompanyClaGroupEvents ¶
func (m *MockService) GetCompanyClaGroupEvents(claGroupID, companySFID string, nextKey *string, paramPageSize *int64, searchTerm *string, all bool) (*models.EventList, error)
GetCompanyClaGroupEvents mocks base method.
func (*MockService) GetCompanyEvents ¶
func (m *MockService) GetCompanyEvents(companyID, eventType string, nextKey *string, paramPageSize *int64, all bool) (*models.EventList, error)
GetCompanyEvents mocks base method.
func (*MockService) GetCompanyFoundationEvents ¶
func (m *MockService) GetCompanyFoundationEvents(companySFID, companyID, foundationSFID string, nextKey *string, paramPageSize *int64, searchTerm *string, all bool) (*models.EventList, error)
GetCompanyFoundationEvents mocks base method.
func (*MockService) GetFoundationEvents ¶
func (m *MockService) GetFoundationEvents(foundationSFID string, nextKey *string, paramPageSize *int64, all bool, searchTerm *string) (*models.EventList, error)
GetFoundationEvents mocks base method.
func (*MockService) GetRecentEvents ¶
func (m *MockService) GetRecentEvents(paramPageSize *int64) (*models.EventList, error)
GetRecentEvents mocks base method.
func (*MockService) LogEvent ¶
func (m *MockService) LogEvent(args *events.LogEventArgs)
LogEvent mocks base method.
func (*MockService) LogEventWithContext ¶
func (m *MockService) LogEventWithContext(ctx context.Context, args *events.LogEventArgs)
LogEventWithContext mocks base method.
func (*MockService) SearchEvents ¶
func (m *MockService) SearchEvents(params *events0.SearchEventsParams) (*models.EventList, error)
SearchEvents mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) GetClaGroupEvents ¶
func (mr *MockServiceMockRecorder) GetClaGroupEvents(claGroupID, nextKey, paramPageSize, all, searchTerm interface{}) *gomock.Call
GetClaGroupEvents indicates an expected call of GetClaGroupEvents.
func (*MockServiceMockRecorder) GetCompanyClaGroupEvents ¶
func (mr *MockServiceMockRecorder) GetCompanyClaGroupEvents(claGroupID, companySFID, nextKey, paramPageSize, searchTerm, all interface{}) *gomock.Call
GetCompanyClaGroupEvents indicates an expected call of GetCompanyClaGroupEvents.
func (*MockServiceMockRecorder) GetCompanyEvents ¶
func (mr *MockServiceMockRecorder) GetCompanyEvents(companyID, eventType, nextKey, paramPageSize, all interface{}) *gomock.Call
GetCompanyEvents indicates an expected call of GetCompanyEvents.
func (*MockServiceMockRecorder) GetCompanyFoundationEvents ¶
func (mr *MockServiceMockRecorder) GetCompanyFoundationEvents(companySFID, companyID, foundationSFID, nextKey, paramPageSize, searchTerm, all interface{}) *gomock.Call
GetCompanyFoundationEvents indicates an expected call of GetCompanyFoundationEvents.
func (*MockServiceMockRecorder) GetFoundationEvents ¶
func (mr *MockServiceMockRecorder) GetFoundationEvents(foundationSFID, nextKey, paramPageSize, all, searchTerm interface{}) *gomock.Call
GetFoundationEvents indicates an expected call of GetFoundationEvents.
func (*MockServiceMockRecorder) GetRecentEvents ¶
func (mr *MockServiceMockRecorder) GetRecentEvents(paramPageSize interface{}) *gomock.Call
GetRecentEvents indicates an expected call of GetRecentEvents.
func (*MockServiceMockRecorder) LogEvent ¶
func (mr *MockServiceMockRecorder) LogEvent(args interface{}) *gomock.Call
LogEvent indicates an expected call of LogEvent.
func (*MockServiceMockRecorder) LogEventWithContext ¶
func (mr *MockServiceMockRecorder) LogEventWithContext(ctx, args interface{}) *gomock.Call
LogEventWithContext indicates an expected call of LogEventWithContext.
func (*MockServiceMockRecorder) SearchEvents ¶
func (mr *MockServiceMockRecorder) SearchEvents(params interface{}) *gomock.Call
SearchEvents indicates an expected call of SearchEvents.