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.
Index ¶
- type MockEventsRepository
- func (m *MockEventsRepository) CreateEvent(arg0 domain.Event) (int, error)
- func (m *MockEventsRepository) EXPECT() *MockEventsRepositoryMockRecorder
- func (m *MockEventsRepository) ReadEvent(arg0 int) (*domain.Event, error)
- func (m *MockEventsRepository) SearchEvents(arg0 domain.SearchEventsInput) (*[]domain.Event, error)
- type MockEventsRepositoryMockRecorder
- type MockEventsService
- func (m *MockEventsService) EXPECT() *MockEventsServiceMockRecorder
- func (m *MockEventsService) LogEvent(arg0 domain.LogEventInput) (int, error)
- func (m *MockEventsService) ReadEvent(arg0 int) (*domain.Event, error)
- func (m *MockEventsService) SearchEvents(arg0 domain.SearchEventsInput) (*[]domain.Event, error)
- type MockEventsServiceMockRecorder
- type MockProjectsRepository
- func (m *MockProjectsRepository) CreateProject(arg0 domain.Project) (int, error)
- func (m *MockProjectsRepository) DeleteProject(arg0 int) (int64, error)
- func (m *MockProjectsRepository) EXPECT() *MockProjectsRepositoryMockRecorder
- func (m *MockProjectsRepository) ReadProject(arg0 int) (*domain.Project, error)
- func (m *MockProjectsRepository) SearchProjects(arg0 domain.SearchProjectsInput) (*[]domain.Project, error)
- func (m *MockProjectsRepository) UpdateProject(arg0 int, arg1 domain.Project) (int64, error)
- type MockProjectsRepositoryMockRecorder
- func (mr *MockProjectsRepositoryMockRecorder) CreateProject(arg0 interface{}) *gomock.Call
- func (mr *MockProjectsRepositoryMockRecorder) DeleteProject(arg0 interface{}) *gomock.Call
- func (mr *MockProjectsRepositoryMockRecorder) ReadProject(arg0 interface{}) *gomock.Call
- func (mr *MockProjectsRepositoryMockRecorder) SearchProjects(arg0 interface{}) *gomock.Call
- func (mr *MockProjectsRepositoryMockRecorder) UpdateProject(arg0, arg1 interface{}) *gomock.Call
- type MockProjectsService
- func (m *MockProjectsService) CreateProject(arg0 domain.Project) (int, error)
- func (m *MockProjectsService) DeleteProject(arg0 int) (int64, error)
- func (m *MockProjectsService) EXPECT() *MockProjectsServiceMockRecorder
- func (m *MockProjectsService) ReadProject(arg0 int) (*domain.Project, error)
- func (m *MockProjectsService) SearchProjects(arg0 domain.SearchProjectsInput) (*[]domain.Project, error)
- func (m *MockProjectsService) UpdateProject(arg0 int, arg1 domain.Project) (int64, error)
- type MockProjectsServiceMockRecorder
- func (mr *MockProjectsServiceMockRecorder) CreateProject(arg0 interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) DeleteProject(arg0 interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) ReadProject(arg0 interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) SearchProjects(arg0 interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) UpdateProject(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventsRepository ¶
type MockEventsRepository struct {
// contains filtered or unexported fields
}
MockEventsRepository is a mock of EventsRepository interface
func NewMockEventsRepository ¶
func NewMockEventsRepository(ctrl *gomock.Controller) *MockEventsRepository
NewMockEventsRepository creates a new mock instance
func (*MockEventsRepository) CreateEvent ¶
func (m *MockEventsRepository) CreateEvent(arg0 domain.Event) (int, error)
CreateEvent mocks base method
func (*MockEventsRepository) EXPECT ¶
func (m *MockEventsRepository) EXPECT() *MockEventsRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEventsRepository) ReadEvent ¶
func (m *MockEventsRepository) ReadEvent(arg0 int) (*domain.Event, error)
ReadEvent mocks base method
func (*MockEventsRepository) SearchEvents ¶
func (m *MockEventsRepository) SearchEvents(arg0 domain.SearchEventsInput) (*[]domain.Event, error)
SearchEvents mocks base method
type MockEventsRepositoryMockRecorder ¶
type MockEventsRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockEventsRepositoryMockRecorder is the mock recorder for MockEventsRepository
func (*MockEventsRepositoryMockRecorder) CreateEvent ¶
func (mr *MockEventsRepositoryMockRecorder) CreateEvent(arg0 interface{}) *gomock.Call
CreateEvent indicates an expected call of CreateEvent
func (*MockEventsRepositoryMockRecorder) ReadEvent ¶
func (mr *MockEventsRepositoryMockRecorder) ReadEvent(arg0 interface{}) *gomock.Call
ReadEvent indicates an expected call of ReadEvent
func (*MockEventsRepositoryMockRecorder) SearchEvents ¶
func (mr *MockEventsRepositoryMockRecorder) SearchEvents(arg0 interface{}) *gomock.Call
SearchEvents indicates an expected call of SearchEvents
type MockEventsService ¶
type MockEventsService struct {
// contains filtered or unexported fields
}
MockEventsService is a mock of EventsService interface
func NewMockEventsService ¶
func NewMockEventsService(ctrl *gomock.Controller) *MockEventsService
NewMockEventsService creates a new mock instance
func (*MockEventsService) EXPECT ¶
func (m *MockEventsService) EXPECT() *MockEventsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEventsService) LogEvent ¶
func (m *MockEventsService) LogEvent(arg0 domain.LogEventInput) (int, error)
LogEvent mocks base method
func (*MockEventsService) ReadEvent ¶
func (m *MockEventsService) ReadEvent(arg0 int) (*domain.Event, error)
ReadEvent mocks base method
func (*MockEventsService) SearchEvents ¶
func (m *MockEventsService) SearchEvents(arg0 domain.SearchEventsInput) (*[]domain.Event, error)
SearchEvents mocks base method
type MockEventsServiceMockRecorder ¶
type MockEventsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockEventsServiceMockRecorder is the mock recorder for MockEventsService
func (*MockEventsServiceMockRecorder) LogEvent ¶
func (mr *MockEventsServiceMockRecorder) LogEvent(arg0 interface{}) *gomock.Call
LogEvent indicates an expected call of LogEvent
func (*MockEventsServiceMockRecorder) ReadEvent ¶
func (mr *MockEventsServiceMockRecorder) ReadEvent(arg0 interface{}) *gomock.Call
ReadEvent indicates an expected call of ReadEvent
func (*MockEventsServiceMockRecorder) SearchEvents ¶
func (mr *MockEventsServiceMockRecorder) SearchEvents(arg0 interface{}) *gomock.Call
SearchEvents indicates an expected call of SearchEvents
type MockProjectsRepository ¶
type MockProjectsRepository struct {
// contains filtered or unexported fields
}
MockProjectsRepository is a mock of ProjectsRepository interface
func NewMockProjectsRepository ¶
func NewMockProjectsRepository(ctrl *gomock.Controller) *MockProjectsRepository
NewMockProjectsRepository creates a new mock instance
func (*MockProjectsRepository) CreateProject ¶
func (m *MockProjectsRepository) CreateProject(arg0 domain.Project) (int, error)
CreateProject mocks base method
func (*MockProjectsRepository) DeleteProject ¶
func (m *MockProjectsRepository) DeleteProject(arg0 int) (int64, error)
DeleteProject mocks base method
func (*MockProjectsRepository) EXPECT ¶
func (m *MockProjectsRepository) EXPECT() *MockProjectsRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProjectsRepository) ReadProject ¶
func (m *MockProjectsRepository) ReadProject(arg0 int) (*domain.Project, error)
ReadProject mocks base method
func (*MockProjectsRepository) SearchProjects ¶
func (m *MockProjectsRepository) SearchProjects(arg0 domain.SearchProjectsInput) (*[]domain.Project, error)
SearchProjects mocks base method
func (*MockProjectsRepository) UpdateProject ¶
UpdateProject mocks base method
type MockProjectsRepositoryMockRecorder ¶
type MockProjectsRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectsRepositoryMockRecorder is the mock recorder for MockProjectsRepository
func (*MockProjectsRepositoryMockRecorder) CreateProject ¶
func (mr *MockProjectsRepositoryMockRecorder) CreateProject(arg0 interface{}) *gomock.Call
CreateProject indicates an expected call of CreateProject
func (*MockProjectsRepositoryMockRecorder) DeleteProject ¶
func (mr *MockProjectsRepositoryMockRecorder) DeleteProject(arg0 interface{}) *gomock.Call
DeleteProject indicates an expected call of DeleteProject
func (*MockProjectsRepositoryMockRecorder) ReadProject ¶
func (mr *MockProjectsRepositoryMockRecorder) ReadProject(arg0 interface{}) *gomock.Call
ReadProject indicates an expected call of ReadProject
func (*MockProjectsRepositoryMockRecorder) SearchProjects ¶
func (mr *MockProjectsRepositoryMockRecorder) SearchProjects(arg0 interface{}) *gomock.Call
SearchProjects indicates an expected call of SearchProjects
func (*MockProjectsRepositoryMockRecorder) UpdateProject ¶
func (mr *MockProjectsRepositoryMockRecorder) UpdateProject(arg0, arg1 interface{}) *gomock.Call
UpdateProject indicates an expected call of UpdateProject
type MockProjectsService ¶
type MockProjectsService struct {
// contains filtered or unexported fields
}
MockProjectsService is a mock of ProjectsService interface
func NewMockProjectsService ¶
func NewMockProjectsService(ctrl *gomock.Controller) *MockProjectsService
NewMockProjectsService creates a new mock instance
func (*MockProjectsService) CreateProject ¶
func (m *MockProjectsService) CreateProject(arg0 domain.Project) (int, error)
CreateProject mocks base method
func (*MockProjectsService) DeleteProject ¶
func (m *MockProjectsService) DeleteProject(arg0 int) (int64, error)
DeleteProject mocks base method
func (*MockProjectsService) EXPECT ¶
func (m *MockProjectsService) EXPECT() *MockProjectsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProjectsService) ReadProject ¶
func (m *MockProjectsService) ReadProject(arg0 int) (*domain.Project, error)
ReadProject mocks base method
func (*MockProjectsService) SearchProjects ¶
func (m *MockProjectsService) SearchProjects(arg0 domain.SearchProjectsInput) (*[]domain.Project, error)
SearchProjects mocks base method
func (*MockProjectsService) UpdateProject ¶
UpdateProject mocks base method
type MockProjectsServiceMockRecorder ¶
type MockProjectsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectsServiceMockRecorder is the mock recorder for MockProjectsService
func (*MockProjectsServiceMockRecorder) CreateProject ¶
func (mr *MockProjectsServiceMockRecorder) CreateProject(arg0 interface{}) *gomock.Call
CreateProject indicates an expected call of CreateProject
func (*MockProjectsServiceMockRecorder) DeleteProject ¶
func (mr *MockProjectsServiceMockRecorder) DeleteProject(arg0 interface{}) *gomock.Call
DeleteProject indicates an expected call of DeleteProject
func (*MockProjectsServiceMockRecorder) ReadProject ¶
func (mr *MockProjectsServiceMockRecorder) ReadProject(arg0 interface{}) *gomock.Call
ReadProject indicates an expected call of ReadProject
func (*MockProjectsServiceMockRecorder) SearchProjects ¶
func (mr *MockProjectsServiceMockRecorder) SearchProjects(arg0 interface{}) *gomock.Call
SearchProjects indicates an expected call of SearchProjects
func (*MockProjectsServiceMockRecorder) UpdateProject ¶
func (mr *MockProjectsServiceMockRecorder) UpdateProject(arg0, arg1 interface{}) *gomock.Call
UpdateProject indicates an expected call of UpdateProject