Documentation ¶
Overview ¶
Package mock_tscalculator is a generated GoMock package.
Index ¶
- type MockDayTypeFetcher
- type MockDayTypeFetcherMockRecorder
- type MockWorkLogFetcher
- func (m *MockWorkLogFetcher) EXPECT() *MockWorkLogFetcherMockRecorder
- func (m *MockWorkLogFetcher) UserWorkedIssuesByDate(ctx context.Context, user model.User, date time.Time) ([]model.Issue, error)
- func (m *MockWorkLogFetcher) WorkLogsPerIssues(ctx context.Context, user model.User, startedAfter, startedBefore time.Time, ...) ([]model.WorkLog, error)
- type MockWorkLogFetcherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDayTypeFetcher ¶
type MockDayTypeFetcher struct {
// contains filtered or unexported fields
}
MockDayTypeFetcher is a mock of DayTypeFetcher interface.
func NewMockDayTypeFetcher ¶
func NewMockDayTypeFetcher(ctrl *gomock.Controller) *MockDayTypeFetcher
NewMockDayTypeFetcher creates a new mock instance.
func (*MockDayTypeFetcher) EXPECT ¶
func (m *MockDayTypeFetcher) EXPECT() *MockDayTypeFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDayTypeFetcher) FetchDayType ¶
FetchDayType mocks base method.
type MockDayTypeFetcherMockRecorder ¶
type MockDayTypeFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockDayTypeFetcherMockRecorder is the mock recorder for MockDayTypeFetcher.
func (*MockDayTypeFetcherMockRecorder) FetchDayType ¶
func (mr *MockDayTypeFetcherMockRecorder) FetchDayType(ctx, dt interface{}) *gomock.Call
FetchDayType indicates an expected call of FetchDayType.
type MockWorkLogFetcher ¶
type MockWorkLogFetcher struct {
// contains filtered or unexported fields
}
MockWorkLogFetcher is a mock of WorkLogFetcher interface.
func NewMockWorkLogFetcher ¶
func NewMockWorkLogFetcher(ctrl *gomock.Controller) *MockWorkLogFetcher
NewMockWorkLogFetcher creates a new mock instance.
func (*MockWorkLogFetcher) EXPECT ¶
func (m *MockWorkLogFetcher) EXPECT() *MockWorkLogFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockWorkLogFetcherMockRecorder ¶
type MockWorkLogFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkLogFetcherMockRecorder is the mock recorder for MockWorkLogFetcher.
func (*MockWorkLogFetcherMockRecorder) UserWorkedIssuesByDate ¶
func (mr *MockWorkLogFetcherMockRecorder) UserWorkedIssuesByDate(ctx, user, date interface{}) *gomock.Call
UserWorkedIssuesByDate indicates an expected call of UserWorkedIssuesByDate.
func (*MockWorkLogFetcherMockRecorder) WorkLogsPerIssues ¶
func (mr *MockWorkLogFetcherMockRecorder) WorkLogsPerIssues(ctx, user, startedAfter, startedBefore, issues interface{}) *gomock.Call
WorkLogsPerIssues indicates an expected call of WorkLogsPerIssues.