Documentation ¶
Index ¶
- type Client
- type Config
- type Factory
- type MockClient
- func (_m *MockClient) AddClient(_a0 api.AddClientParam) (dto.Client, error)
- func (_m *MockClient) AddProject(_a0 api.AddProjectParam) (dto.Project, error)
- func (_m *MockClient) AddTask(_a0 api.AddTaskParam) (dto.Task, error)
- func (_m *MockClient) ChangeInvoiced(_a0 api.ChangeInvoicedParam) error
- func (_m *MockClient) CreateTimeEntry(_a0 api.CreateTimeEntryParam) (dto.TimeEntryImpl, error)
- func (_m *MockClient) DeleteProject(_a0 api.DeleteProjectParam) (dto.Project, error)
- func (_m *MockClient) DeleteTask(_a0 api.DeleteTaskParam) (dto.Task, error)
- func (_m *MockClient) DeleteTimeEntry(_a0 api.DeleteTimeEntryParam) error
- func (_m *MockClient) EXPECT() *MockClient_Expecter
- func (_m *MockClient) GetClients(_a0 api.GetClientsParam) ([]dto.Client, error)
- func (_m *MockClient) GetHydratedTimeEntry(_a0 api.GetTimeEntryParam) (*dto.TimeEntry, error)
- func (_m *MockClient) GetHydratedTimeEntryInProgress(_a0 api.GetTimeEntryInProgressParam) (*dto.TimeEntry, error)
- func (_m *MockClient) GetMe() (dto.User, error)
- func (_m *MockClient) GetProject(_a0 api.GetProjectParam) (*dto.Project, error)
- func (_m *MockClient) GetProjects(_a0 api.GetProjectsParam) ([]dto.Project, error)
- func (_m *MockClient) GetTag(_a0 api.GetTagParam) (*dto.Tag, error)
- func (_m *MockClient) GetTags(_a0 api.GetTagsParam) ([]dto.Tag, error)
- func (_m *MockClient) GetTask(_a0 api.GetTaskParam) (dto.Task, error)
- func (_m *MockClient) GetTasks(_a0 api.GetTasksParam) ([]dto.Task, error)
- func (_m *MockClient) GetTimeEntry(_a0 api.GetTimeEntryParam) (*dto.TimeEntryImpl, error)
- func (_m *MockClient) GetTimeEntryInProgress(_a0 api.GetTimeEntryInProgressParam) (*dto.TimeEntryImpl, error)
- func (_m *MockClient) GetUser(_a0 api.GetUser) (dto.User, error)
- func (_m *MockClient) GetUserTimeEntries(_a0 api.GetUserTimeEntriesParam) ([]dto.TimeEntryImpl, error)
- func (_m *MockClient) GetUsersHydratedTimeEntries(_a0 api.GetUserTimeEntriesParam) ([]dto.TimeEntry, error)
- func (_m *MockClient) GetWorkspace(_a0 api.GetWorkspace) (dto.Workspace, error)
- func (_m *MockClient) GetWorkspaces(_a0 api.GetWorkspaces) ([]dto.Workspace, error)
- func (_m *MockClient) Log(_a0 api.LogParam) ([]dto.TimeEntry, error)
- func (_m *MockClient) LogRange(_a0 api.LogRangeParam) ([]dto.TimeEntry, error)
- func (_m *MockClient) Out(_a0 api.OutParam) error
- func (_m *MockClient) SetDebugLogger(logger api.Logger) api.Client
- func (_m *MockClient) SetInfoLogger(logger api.Logger) api.Client
- func (_m *MockClient) UpdateProject(_a0 api.UpdateProjectParam) (dto.Project, error)
- func (_m *MockClient) UpdateProjectEstimate(_a0 api.UpdateProjectEstimateParam) (dto.Project, error)
- func (_m *MockClient) UpdateProjectMemberships(_a0 api.UpdateProjectMembershipsParam) (dto.Project, error)
- func (_m *MockClient) UpdateProjectTemplate(_a0 api.UpdateProjectTemplateParam) (dto.Project, error)
- func (_m *MockClient) UpdateProjectUserBillableRate(_a0 api.UpdateProjectUserRateParam) (dto.Project, error)
- func (_m *MockClient) UpdateProjectUserCostRate(_a0 api.UpdateProjectUserRateParam) (dto.Project, error)
- func (_m *MockClient) UpdateTask(_a0 api.UpdateTaskParam) (dto.Task, error)
- func (_m *MockClient) UpdateTimeEntry(_a0 api.UpdateTimeEntryParam) (dto.TimeEntryImpl, error)
- func (_m *MockClient) WorkspaceUsers(_a0 api.WorkspaceUsersParam) ([]dto.User, error)
- type MockClient_AddClient_Call
- func (_c *MockClient_AddClient_Call) Return(_a0 dto.Client, _a1 error) *MockClient_AddClient_Call
- func (_c *MockClient_AddClient_Call) Run(run func(_a0 api.AddClientParam)) *MockClient_AddClient_Call
- func (_c *MockClient_AddClient_Call) RunAndReturn(run func(api.AddClientParam) (dto.Client, error)) *MockClient_AddClient_Call
- type MockClient_AddProject_Call
- func (_c *MockClient_AddProject_Call) Return(_a0 dto.Project, _a1 error) *MockClient_AddProject_Call
- func (_c *MockClient_AddProject_Call) Run(run func(_a0 api.AddProjectParam)) *MockClient_AddProject_Call
- func (_c *MockClient_AddProject_Call) RunAndReturn(run func(api.AddProjectParam) (dto.Project, error)) *MockClient_AddProject_Call
- type MockClient_AddTask_Call
- func (_c *MockClient_AddTask_Call) Return(_a0 dto.Task, _a1 error) *MockClient_AddTask_Call
- func (_c *MockClient_AddTask_Call) Run(run func(_a0 api.AddTaskParam)) *MockClient_AddTask_Call
- func (_c *MockClient_AddTask_Call) RunAndReturn(run func(api.AddTaskParam) (dto.Task, error)) *MockClient_AddTask_Call
- type MockClient_ChangeInvoiced_Call
- func (_c *MockClient_ChangeInvoiced_Call) Return(_a0 error) *MockClient_ChangeInvoiced_Call
- func (_c *MockClient_ChangeInvoiced_Call) Run(run func(_a0 api.ChangeInvoicedParam)) *MockClient_ChangeInvoiced_Call
- func (_c *MockClient_ChangeInvoiced_Call) RunAndReturn(run func(api.ChangeInvoicedParam) error) *MockClient_ChangeInvoiced_Call
- type MockClient_CreateTimeEntry_Call
- func (_c *MockClient_CreateTimeEntry_Call) Return(_a0 dto.TimeEntryImpl, _a1 error) *MockClient_CreateTimeEntry_Call
- func (_c *MockClient_CreateTimeEntry_Call) Run(run func(_a0 api.CreateTimeEntryParam)) *MockClient_CreateTimeEntry_Call
- func (_c *MockClient_CreateTimeEntry_Call) RunAndReturn(run func(api.CreateTimeEntryParam) (dto.TimeEntryImpl, error)) *MockClient_CreateTimeEntry_Call
- type MockClient_DeleteProject_Call
- func (_c *MockClient_DeleteProject_Call) Return(_a0 dto.Project, _a1 error) *MockClient_DeleteProject_Call
- func (_c *MockClient_DeleteProject_Call) Run(run func(_a0 api.DeleteProjectParam)) *MockClient_DeleteProject_Call
- func (_c *MockClient_DeleteProject_Call) RunAndReturn(run func(api.DeleteProjectParam) (dto.Project, error)) *MockClient_DeleteProject_Call
- type MockClient_DeleteTask_Call
- func (_c *MockClient_DeleteTask_Call) Return(_a0 dto.Task, _a1 error) *MockClient_DeleteTask_Call
- func (_c *MockClient_DeleteTask_Call) Run(run func(_a0 api.DeleteTaskParam)) *MockClient_DeleteTask_Call
- func (_c *MockClient_DeleteTask_Call) RunAndReturn(run func(api.DeleteTaskParam) (dto.Task, error)) *MockClient_DeleteTask_Call
- type MockClient_DeleteTimeEntry_Call
- func (_c *MockClient_DeleteTimeEntry_Call) Return(_a0 error) *MockClient_DeleteTimeEntry_Call
- func (_c *MockClient_DeleteTimeEntry_Call) Run(run func(_a0 api.DeleteTimeEntryParam)) *MockClient_DeleteTimeEntry_Call
- func (_c *MockClient_DeleteTimeEntry_Call) RunAndReturn(run func(api.DeleteTimeEntryParam) error) *MockClient_DeleteTimeEntry_Call
- type MockClient_Expecter
- func (_e *MockClient_Expecter) AddClient(_a0 interface{}) *MockClient_AddClient_Call
- func (_e *MockClient_Expecter) AddProject(_a0 interface{}) *MockClient_AddProject_Call
- func (_e *MockClient_Expecter) AddTask(_a0 interface{}) *MockClient_AddTask_Call
- func (_e *MockClient_Expecter) ChangeInvoiced(_a0 interface{}) *MockClient_ChangeInvoiced_Call
- func (_e *MockClient_Expecter) CreateTimeEntry(_a0 interface{}) *MockClient_CreateTimeEntry_Call
- func (_e *MockClient_Expecter) DeleteProject(_a0 interface{}) *MockClient_DeleteProject_Call
- func (_e *MockClient_Expecter) DeleteTask(_a0 interface{}) *MockClient_DeleteTask_Call
- func (_e *MockClient_Expecter) DeleteTimeEntry(_a0 interface{}) *MockClient_DeleteTimeEntry_Call
- func (_e *MockClient_Expecter) GetClients(_a0 interface{}) *MockClient_GetClients_Call
- func (_e *MockClient_Expecter) GetHydratedTimeEntry(_a0 interface{}) *MockClient_GetHydratedTimeEntry_Call
- func (_e *MockClient_Expecter) GetHydratedTimeEntryInProgress(_a0 interface{}) *MockClient_GetHydratedTimeEntryInProgress_Call
- func (_e *MockClient_Expecter) GetMe() *MockClient_GetMe_Call
- func (_e *MockClient_Expecter) GetProject(_a0 interface{}) *MockClient_GetProject_Call
- func (_e *MockClient_Expecter) GetProjects(_a0 interface{}) *MockClient_GetProjects_Call
- func (_e *MockClient_Expecter) GetTag(_a0 interface{}) *MockClient_GetTag_Call
- func (_e *MockClient_Expecter) GetTags(_a0 interface{}) *MockClient_GetTags_Call
- func (_e *MockClient_Expecter) GetTask(_a0 interface{}) *MockClient_GetTask_Call
- func (_e *MockClient_Expecter) GetTasks(_a0 interface{}) *MockClient_GetTasks_Call
- func (_e *MockClient_Expecter) GetTimeEntry(_a0 interface{}) *MockClient_GetTimeEntry_Call
- func (_e *MockClient_Expecter) GetTimeEntryInProgress(_a0 interface{}) *MockClient_GetTimeEntryInProgress_Call
- func (_e *MockClient_Expecter) GetUser(_a0 interface{}) *MockClient_GetUser_Call
- func (_e *MockClient_Expecter) GetUserTimeEntries(_a0 interface{}) *MockClient_GetUserTimeEntries_Call
- func (_e *MockClient_Expecter) GetUsersHydratedTimeEntries(_a0 interface{}) *MockClient_GetUsersHydratedTimeEntries_Call
- func (_e *MockClient_Expecter) GetWorkspace(_a0 interface{}) *MockClient_GetWorkspace_Call
- func (_e *MockClient_Expecter) GetWorkspaces(_a0 interface{}) *MockClient_GetWorkspaces_Call
- func (_e *MockClient_Expecter) Log(_a0 interface{}) *MockClient_Log_Call
- func (_e *MockClient_Expecter) LogRange(_a0 interface{}) *MockClient_LogRange_Call
- func (_e *MockClient_Expecter) Out(_a0 interface{}) *MockClient_Out_Call
- func (_e *MockClient_Expecter) SetDebugLogger(logger interface{}) *MockClient_SetDebugLogger_Call
- func (_e *MockClient_Expecter) SetInfoLogger(logger interface{}) *MockClient_SetInfoLogger_Call
- func (_e *MockClient_Expecter) UpdateProject(_a0 interface{}) *MockClient_UpdateProject_Call
- func (_e *MockClient_Expecter) UpdateProjectEstimate(_a0 interface{}) *MockClient_UpdateProjectEstimate_Call
- func (_e *MockClient_Expecter) UpdateProjectMemberships(_a0 interface{}) *MockClient_UpdateProjectMemberships_Call
- func (_e *MockClient_Expecter) UpdateProjectTemplate(_a0 interface{}) *MockClient_UpdateProjectTemplate_Call
- func (_e *MockClient_Expecter) UpdateProjectUserBillableRate(_a0 interface{}) *MockClient_UpdateProjectUserBillableRate_Call
- func (_e *MockClient_Expecter) UpdateProjectUserCostRate(_a0 interface{}) *MockClient_UpdateProjectUserCostRate_Call
- func (_e *MockClient_Expecter) UpdateTask(_a0 interface{}) *MockClient_UpdateTask_Call
- func (_e *MockClient_Expecter) UpdateTimeEntry(_a0 interface{}) *MockClient_UpdateTimeEntry_Call
- func (_e *MockClient_Expecter) WorkspaceUsers(_a0 interface{}) *MockClient_WorkspaceUsers_Call
- type MockClient_GetClients_Call
- func (_c *MockClient_GetClients_Call) Return(_a0 []dto.Client, _a1 error) *MockClient_GetClients_Call
- func (_c *MockClient_GetClients_Call) Run(run func(_a0 api.GetClientsParam)) *MockClient_GetClients_Call
- func (_c *MockClient_GetClients_Call) RunAndReturn(run func(api.GetClientsParam) ([]dto.Client, error)) *MockClient_GetClients_Call
- type MockClient_GetHydratedTimeEntryInProgress_Call
- func (_c *MockClient_GetHydratedTimeEntryInProgress_Call) Return(_a0 *dto.TimeEntry, _a1 error) *MockClient_GetHydratedTimeEntryInProgress_Call
- func (_c *MockClient_GetHydratedTimeEntryInProgress_Call) Run(run func(_a0 api.GetTimeEntryInProgressParam)) *MockClient_GetHydratedTimeEntryInProgress_Call
- func (_c *MockClient_GetHydratedTimeEntryInProgress_Call) RunAndReturn(run func(api.GetTimeEntryInProgressParam) (*dto.TimeEntry, error)) *MockClient_GetHydratedTimeEntryInProgress_Call
- type MockClient_GetHydratedTimeEntry_Call
- func (_c *MockClient_GetHydratedTimeEntry_Call) Return(_a0 *dto.TimeEntry, _a1 error) *MockClient_GetHydratedTimeEntry_Call
- func (_c *MockClient_GetHydratedTimeEntry_Call) Run(run func(_a0 api.GetTimeEntryParam)) *MockClient_GetHydratedTimeEntry_Call
- func (_c *MockClient_GetHydratedTimeEntry_Call) RunAndReturn(run func(api.GetTimeEntryParam) (*dto.TimeEntry, error)) *MockClient_GetHydratedTimeEntry_Call
- type MockClient_GetMe_Call
- type MockClient_GetProject_Call
- func (_c *MockClient_GetProject_Call) Return(_a0 *dto.Project, _a1 error) *MockClient_GetProject_Call
- func (_c *MockClient_GetProject_Call) Run(run func(_a0 api.GetProjectParam)) *MockClient_GetProject_Call
- func (_c *MockClient_GetProject_Call) RunAndReturn(run func(api.GetProjectParam) (*dto.Project, error)) *MockClient_GetProject_Call
- type MockClient_GetProjects_Call
- func (_c *MockClient_GetProjects_Call) Return(_a0 []dto.Project, _a1 error) *MockClient_GetProjects_Call
- func (_c *MockClient_GetProjects_Call) Run(run func(_a0 api.GetProjectsParam)) *MockClient_GetProjects_Call
- func (_c *MockClient_GetProjects_Call) RunAndReturn(run func(api.GetProjectsParam) ([]dto.Project, error)) *MockClient_GetProjects_Call
- type MockClient_GetTag_Call
- type MockClient_GetTags_Call
- func (_c *MockClient_GetTags_Call) Return(_a0 []dto.Tag, _a1 error) *MockClient_GetTags_Call
- func (_c *MockClient_GetTags_Call) Run(run func(_a0 api.GetTagsParam)) *MockClient_GetTags_Call
- func (_c *MockClient_GetTags_Call) RunAndReturn(run func(api.GetTagsParam) ([]dto.Tag, error)) *MockClient_GetTags_Call
- type MockClient_GetTask_Call
- func (_c *MockClient_GetTask_Call) Return(_a0 dto.Task, _a1 error) *MockClient_GetTask_Call
- func (_c *MockClient_GetTask_Call) Run(run func(_a0 api.GetTaskParam)) *MockClient_GetTask_Call
- func (_c *MockClient_GetTask_Call) RunAndReturn(run func(api.GetTaskParam) (dto.Task, error)) *MockClient_GetTask_Call
- type MockClient_GetTasks_Call
- func (_c *MockClient_GetTasks_Call) Return(_a0 []dto.Task, _a1 error) *MockClient_GetTasks_Call
- func (_c *MockClient_GetTasks_Call) Run(run func(_a0 api.GetTasksParam)) *MockClient_GetTasks_Call
- func (_c *MockClient_GetTasks_Call) RunAndReturn(run func(api.GetTasksParam) ([]dto.Task, error)) *MockClient_GetTasks_Call
- type MockClient_GetTimeEntryInProgress_Call
- func (_c *MockClient_GetTimeEntryInProgress_Call) Return(_a0 *dto.TimeEntryImpl, _a1 error) *MockClient_GetTimeEntryInProgress_Call
- func (_c *MockClient_GetTimeEntryInProgress_Call) Run(run func(_a0 api.GetTimeEntryInProgressParam)) *MockClient_GetTimeEntryInProgress_Call
- func (_c *MockClient_GetTimeEntryInProgress_Call) RunAndReturn(run func(api.GetTimeEntryInProgressParam) (*dto.TimeEntryImpl, error)) *MockClient_GetTimeEntryInProgress_Call
- type MockClient_GetTimeEntry_Call
- func (_c *MockClient_GetTimeEntry_Call) Return(_a0 *dto.TimeEntryImpl, _a1 error) *MockClient_GetTimeEntry_Call
- func (_c *MockClient_GetTimeEntry_Call) Run(run func(_a0 api.GetTimeEntryParam)) *MockClient_GetTimeEntry_Call
- func (_c *MockClient_GetTimeEntry_Call) RunAndReturn(run func(api.GetTimeEntryParam) (*dto.TimeEntryImpl, error)) *MockClient_GetTimeEntry_Call
- type MockClient_GetUserTimeEntries_Call
- func (_c *MockClient_GetUserTimeEntries_Call) Return(_a0 []dto.TimeEntryImpl, _a1 error) *MockClient_GetUserTimeEntries_Call
- func (_c *MockClient_GetUserTimeEntries_Call) Run(run func(_a0 api.GetUserTimeEntriesParam)) *MockClient_GetUserTimeEntries_Call
- func (_c *MockClient_GetUserTimeEntries_Call) RunAndReturn(run func(api.GetUserTimeEntriesParam) ([]dto.TimeEntryImpl, error)) *MockClient_GetUserTimeEntries_Call
- type MockClient_GetUser_Call
- type MockClient_GetUsersHydratedTimeEntries_Call
- func (_c *MockClient_GetUsersHydratedTimeEntries_Call) Return(_a0 []dto.TimeEntry, _a1 error) *MockClient_GetUsersHydratedTimeEntries_Call
- func (_c *MockClient_GetUsersHydratedTimeEntries_Call) Run(run func(_a0 api.GetUserTimeEntriesParam)) *MockClient_GetUsersHydratedTimeEntries_Call
- func (_c *MockClient_GetUsersHydratedTimeEntries_Call) RunAndReturn(run func(api.GetUserTimeEntriesParam) ([]dto.TimeEntry, error)) *MockClient_GetUsersHydratedTimeEntries_Call
- type MockClient_GetWorkspace_Call
- func (_c *MockClient_GetWorkspace_Call) Return(_a0 dto.Workspace, _a1 error) *MockClient_GetWorkspace_Call
- func (_c *MockClient_GetWorkspace_Call) Run(run func(_a0 api.GetWorkspace)) *MockClient_GetWorkspace_Call
- func (_c *MockClient_GetWorkspace_Call) RunAndReturn(run func(api.GetWorkspace) (dto.Workspace, error)) *MockClient_GetWorkspace_Call
- type MockClient_GetWorkspaces_Call
- func (_c *MockClient_GetWorkspaces_Call) Return(_a0 []dto.Workspace, _a1 error) *MockClient_GetWorkspaces_Call
- func (_c *MockClient_GetWorkspaces_Call) Run(run func(_a0 api.GetWorkspaces)) *MockClient_GetWorkspaces_Call
- func (_c *MockClient_GetWorkspaces_Call) RunAndReturn(run func(api.GetWorkspaces) ([]dto.Workspace, error)) *MockClient_GetWorkspaces_Call
- type MockClient_LogRange_Call
- func (_c *MockClient_LogRange_Call) Return(_a0 []dto.TimeEntry, _a1 error) *MockClient_LogRange_Call
- func (_c *MockClient_LogRange_Call) Run(run func(_a0 api.LogRangeParam)) *MockClient_LogRange_Call
- func (_c *MockClient_LogRange_Call) RunAndReturn(run func(api.LogRangeParam) ([]dto.TimeEntry, error)) *MockClient_LogRange_Call
- type MockClient_Log_Call
- type MockClient_Out_Call
- type MockClient_SetDebugLogger_Call
- func (_c *MockClient_SetDebugLogger_Call) Return(_a0 api.Client) *MockClient_SetDebugLogger_Call
- func (_c *MockClient_SetDebugLogger_Call) Run(run func(logger api.Logger)) *MockClient_SetDebugLogger_Call
- func (_c *MockClient_SetDebugLogger_Call) RunAndReturn(run func(api.Logger) api.Client) *MockClient_SetDebugLogger_Call
- type MockClient_SetInfoLogger_Call
- func (_c *MockClient_SetInfoLogger_Call) Return(_a0 api.Client) *MockClient_SetInfoLogger_Call
- func (_c *MockClient_SetInfoLogger_Call) Run(run func(logger api.Logger)) *MockClient_SetInfoLogger_Call
- func (_c *MockClient_SetInfoLogger_Call) RunAndReturn(run func(api.Logger) api.Client) *MockClient_SetInfoLogger_Call
- type MockClient_UpdateProjectEstimate_Call
- func (_c *MockClient_UpdateProjectEstimate_Call) Return(_a0 dto.Project, _a1 error) *MockClient_UpdateProjectEstimate_Call
- func (_c *MockClient_UpdateProjectEstimate_Call) Run(run func(_a0 api.UpdateProjectEstimateParam)) *MockClient_UpdateProjectEstimate_Call
- func (_c *MockClient_UpdateProjectEstimate_Call) RunAndReturn(run func(api.UpdateProjectEstimateParam) (dto.Project, error)) *MockClient_UpdateProjectEstimate_Call
- type MockClient_UpdateProjectMemberships_Call
- func (_c *MockClient_UpdateProjectMemberships_Call) Return(_a0 dto.Project, _a1 error) *MockClient_UpdateProjectMemberships_Call
- func (_c *MockClient_UpdateProjectMemberships_Call) Run(run func(_a0 api.UpdateProjectMembershipsParam)) *MockClient_UpdateProjectMemberships_Call
- func (_c *MockClient_UpdateProjectMemberships_Call) RunAndReturn(run func(api.UpdateProjectMembershipsParam) (dto.Project, error)) *MockClient_UpdateProjectMemberships_Call
- type MockClient_UpdateProjectTemplate_Call
- func (_c *MockClient_UpdateProjectTemplate_Call) Return(_a0 dto.Project, _a1 error) *MockClient_UpdateProjectTemplate_Call
- func (_c *MockClient_UpdateProjectTemplate_Call) Run(run func(_a0 api.UpdateProjectTemplateParam)) *MockClient_UpdateProjectTemplate_Call
- func (_c *MockClient_UpdateProjectTemplate_Call) RunAndReturn(run func(api.UpdateProjectTemplateParam) (dto.Project, error)) *MockClient_UpdateProjectTemplate_Call
- type MockClient_UpdateProjectUserBillableRate_Call
- func (_c *MockClient_UpdateProjectUserBillableRate_Call) Return(_a0 dto.Project, _a1 error) *MockClient_UpdateProjectUserBillableRate_Call
- func (_c *MockClient_UpdateProjectUserBillableRate_Call) Run(run func(_a0 api.UpdateProjectUserRateParam)) *MockClient_UpdateProjectUserBillableRate_Call
- func (_c *MockClient_UpdateProjectUserBillableRate_Call) RunAndReturn(run func(api.UpdateProjectUserRateParam) (dto.Project, error)) *MockClient_UpdateProjectUserBillableRate_Call
- type MockClient_UpdateProjectUserCostRate_Call
- func (_c *MockClient_UpdateProjectUserCostRate_Call) Return(_a0 dto.Project, _a1 error) *MockClient_UpdateProjectUserCostRate_Call
- func (_c *MockClient_UpdateProjectUserCostRate_Call) Run(run func(_a0 api.UpdateProjectUserRateParam)) *MockClient_UpdateProjectUserCostRate_Call
- func (_c *MockClient_UpdateProjectUserCostRate_Call) RunAndReturn(run func(api.UpdateProjectUserRateParam) (dto.Project, error)) *MockClient_UpdateProjectUserCostRate_Call
- type MockClient_UpdateProject_Call
- func (_c *MockClient_UpdateProject_Call) Return(_a0 dto.Project, _a1 error) *MockClient_UpdateProject_Call
- func (_c *MockClient_UpdateProject_Call) Run(run func(_a0 api.UpdateProjectParam)) *MockClient_UpdateProject_Call
- func (_c *MockClient_UpdateProject_Call) RunAndReturn(run func(api.UpdateProjectParam) (dto.Project, error)) *MockClient_UpdateProject_Call
- type MockClient_UpdateTask_Call
- func (_c *MockClient_UpdateTask_Call) Return(_a0 dto.Task, _a1 error) *MockClient_UpdateTask_Call
- func (_c *MockClient_UpdateTask_Call) Run(run func(_a0 api.UpdateTaskParam)) *MockClient_UpdateTask_Call
- func (_c *MockClient_UpdateTask_Call) RunAndReturn(run func(api.UpdateTaskParam) (dto.Task, error)) *MockClient_UpdateTask_Call
- type MockClient_UpdateTimeEntry_Call
- func (_c *MockClient_UpdateTimeEntry_Call) Return(_a0 dto.TimeEntryImpl, _a1 error) *MockClient_UpdateTimeEntry_Call
- func (_c *MockClient_UpdateTimeEntry_Call) Run(run func(_a0 api.UpdateTimeEntryParam)) *MockClient_UpdateTimeEntry_Call
- func (_c *MockClient_UpdateTimeEntry_Call) RunAndReturn(run func(api.UpdateTimeEntryParam) (dto.TimeEntryImpl, error)) *MockClient_UpdateTimeEntry_Call
- type MockClient_WorkspaceUsers_Call
- func (_c *MockClient_WorkspaceUsers_Call) Return(_a0 []dto.User, _a1 error) *MockClient_WorkspaceUsers_Call
- func (_c *MockClient_WorkspaceUsers_Call) Run(run func(_a0 api.WorkspaceUsersParam)) *MockClient_WorkspaceUsers_Call
- func (_c *MockClient_WorkspaceUsers_Call) RunAndReturn(run func(api.WorkspaceUsersParam) ([]dto.User, error)) *MockClient_WorkspaceUsers_Call
- type MockConfig
- func (_m *MockConfig) All() map[string]interface{}
- func (_m *MockConfig) EXPECT() *MockConfig_Expecter
- func (_m *MockConfig) Get(_a0 string) interface{}
- func (_m *MockConfig) GetBool(_a0 string) bool
- func (_m *MockConfig) GetInt(_a0 string) int
- func (_m *MockConfig) GetString(_a0 string) string
- func (_m *MockConfig) GetStringSlice(_a0 string) []string
- func (_m *MockConfig) GetWorkWeekdays() []string
- func (_m *MockConfig) InteractivePageSize() int
- func (_m *MockConfig) IsAllowNameForID() bool
- func (_m *MockConfig) IsDebuging() bool
- func (_m *MockConfig) IsInteractive() bool
- func (_m *MockConfig) IsSearchProjectWithClientsName() bool
- func (_m *MockConfig) Language() language.Tag
- func (_m *MockConfig) LogLevel() string
- func (_m *MockConfig) Save() error
- func (_m *MockConfig) SetBool(_a0 string, _a1 bool)
- func (_m *MockConfig) SetInt(_a0 string, _a1 int)
- func (_m *MockConfig) SetLanguage(_a0 language.Tag)
- func (_m *MockConfig) SetString(_a0 string, _a1 string)
- func (_m *MockConfig) SetStringSlice(_a0 string, _a1 []string)
- func (_m *MockConfig) SetTimeZone(_a0 *time.Location)
- func (_m *MockConfig) TimeZone() *time.Location
- type MockConfig_All_Call
- type MockConfig_Expecter
- func (_e *MockConfig_Expecter) All() *MockConfig_All_Call
- func (_e *MockConfig_Expecter) Get(_a0 interface{}) *MockConfig_Get_Call
- func (_e *MockConfig_Expecter) GetBool(_a0 interface{}) *MockConfig_GetBool_Call
- func (_e *MockConfig_Expecter) GetInt(_a0 interface{}) *MockConfig_GetInt_Call
- func (_e *MockConfig_Expecter) GetString(_a0 interface{}) *MockConfig_GetString_Call
- func (_e *MockConfig_Expecter) GetStringSlice(_a0 interface{}) *MockConfig_GetStringSlice_Call
- func (_e *MockConfig_Expecter) GetWorkWeekdays() *MockConfig_GetWorkWeekdays_Call
- func (_e *MockConfig_Expecter) InteractivePageSize() *MockConfig_InteractivePageSize_Call
- func (_e *MockConfig_Expecter) IsAllowNameForID() *MockConfig_IsAllowNameForID_Call
- func (_e *MockConfig_Expecter) IsDebuging() *MockConfig_IsDebuging_Call
- func (_e *MockConfig_Expecter) IsInteractive() *MockConfig_IsInteractive_Call
- func (_e *MockConfig_Expecter) IsSearchProjectWithClientsName() *MockConfig_IsSearchProjectWithClientsName_Call
- func (_e *MockConfig_Expecter) Language() *MockConfig_Language_Call
- func (_e *MockConfig_Expecter) LogLevel() *MockConfig_LogLevel_Call
- func (_e *MockConfig_Expecter) Save() *MockConfig_Save_Call
- func (_e *MockConfig_Expecter) SetBool(_a0 interface{}, _a1 interface{}) *MockConfig_SetBool_Call
- func (_e *MockConfig_Expecter) SetInt(_a0 interface{}, _a1 interface{}) *MockConfig_SetInt_Call
- func (_e *MockConfig_Expecter) SetLanguage(_a0 interface{}) *MockConfig_SetLanguage_Call
- func (_e *MockConfig_Expecter) SetString(_a0 interface{}, _a1 interface{}) *MockConfig_SetString_Call
- func (_e *MockConfig_Expecter) SetStringSlice(_a0 interface{}, _a1 interface{}) *MockConfig_SetStringSlice_Call
- func (_e *MockConfig_Expecter) SetTimeZone(_a0 interface{}) *MockConfig_SetTimeZone_Call
- func (_e *MockConfig_Expecter) TimeZone() *MockConfig_TimeZone_Call
- type MockConfig_GetBool_Call
- type MockConfig_GetInt_Call
- type MockConfig_GetStringSlice_Call
- func (_c *MockConfig_GetStringSlice_Call) Return(_a0 []string) *MockConfig_GetStringSlice_Call
- func (_c *MockConfig_GetStringSlice_Call) Run(run func(_a0 string)) *MockConfig_GetStringSlice_Call
- func (_c *MockConfig_GetStringSlice_Call) RunAndReturn(run func(string) []string) *MockConfig_GetStringSlice_Call
- type MockConfig_GetString_Call
- type MockConfig_GetWorkWeekdays_Call
- type MockConfig_Get_Call
- type MockConfig_InteractivePageSize_Call
- func (_c *MockConfig_InteractivePageSize_Call) Return(_a0 int) *MockConfig_InteractivePageSize_Call
- func (_c *MockConfig_InteractivePageSize_Call) Run(run func()) *MockConfig_InteractivePageSize_Call
- func (_c *MockConfig_InteractivePageSize_Call) RunAndReturn(run func() int) *MockConfig_InteractivePageSize_Call
- type MockConfig_IsAllowNameForID_Call
- type MockConfig_IsDebuging_Call
- type MockConfig_IsInteractive_Call
- type MockConfig_IsSearchProjectWithClientsName_Call
- func (_c *MockConfig_IsSearchProjectWithClientsName_Call) Return(_a0 bool) *MockConfig_IsSearchProjectWithClientsName_Call
- func (_c *MockConfig_IsSearchProjectWithClientsName_Call) Run(run func()) *MockConfig_IsSearchProjectWithClientsName_Call
- func (_c *MockConfig_IsSearchProjectWithClientsName_Call) RunAndReturn(run func() bool) *MockConfig_IsSearchProjectWithClientsName_Call
- type MockConfig_Language_Call
- type MockConfig_LogLevel_Call
- type MockConfig_Save_Call
- type MockConfig_SetBool_Call
- type MockConfig_SetInt_Call
- type MockConfig_SetLanguage_Call
- type MockConfig_SetStringSlice_Call
- func (_c *MockConfig_SetStringSlice_Call) Return() *MockConfig_SetStringSlice_Call
- func (_c *MockConfig_SetStringSlice_Call) Run(run func(_a0 string, _a1 []string)) *MockConfig_SetStringSlice_Call
- func (_c *MockConfig_SetStringSlice_Call) RunAndReturn(run func(string, []string)) *MockConfig_SetStringSlice_Call
- type MockConfig_SetString_Call
- type MockConfig_SetTimeZone_Call
- type MockConfig_TimeZone_Call
- type MockFactory
- func (_m *MockFactory) Client() (api.Client, error)
- func (_m *MockFactory) Config() cmdutil.Config
- func (_m *MockFactory) EXPECT() *MockFactory_Expecter
- func (_m *MockFactory) GetUserID() (string, error)
- func (_m *MockFactory) GetWorkspace() (dto.Workspace, error)
- func (_m *MockFactory) GetWorkspaceID() (string, error)
- func (_m *MockFactory) UI() ui.UI
- func (_m *MockFactory) Version() cmdutil.Version
- type MockFactory_Client_Call
- type MockFactory_Config_Call
- type MockFactory_Expecter
- func (_e *MockFactory_Expecter) Client() *MockFactory_Client_Call
- func (_e *MockFactory_Expecter) Config() *MockFactory_Config_Call
- func (_e *MockFactory_Expecter) GetUserID() *MockFactory_GetUserID_Call
- func (_e *MockFactory_Expecter) GetWorkspace() *MockFactory_GetWorkspace_Call
- func (_e *MockFactory_Expecter) GetWorkspaceID() *MockFactory_GetWorkspaceID_Call
- func (_e *MockFactory_Expecter) UI() *MockFactory_UI_Call
- func (_e *MockFactory_Expecter) Version() *MockFactory_Version_Call
- type MockFactory_GetUserID_Call
- type MockFactory_GetWorkspaceID_Call
- func (_c *MockFactory_GetWorkspaceID_Call) Return(_a0 string, _a1 error) *MockFactory_GetWorkspaceID_Call
- func (_c *MockFactory_GetWorkspaceID_Call) Run(run func()) *MockFactory_GetWorkspaceID_Call
- func (_c *MockFactory_GetWorkspaceID_Call) RunAndReturn(run func() (string, error)) *MockFactory_GetWorkspaceID_Call
- type MockFactory_GetWorkspace_Call
- func (_c *MockFactory_GetWorkspace_Call) Return(_a0 dto.Workspace, _a1 error) *MockFactory_GetWorkspace_Call
- func (_c *MockFactory_GetWorkspace_Call) Run(run func()) *MockFactory_GetWorkspace_Call
- func (_c *MockFactory_GetWorkspace_Call) RunAndReturn(run func() (dto.Workspace, error)) *MockFactory_GetWorkspace_Call
- type MockFactory_UI_Call
- type MockFactory_Version_Call
- type SimpleConfig
- func (*SimpleConfig) All() map[string]interface{}
- func (*SimpleConfig) Get(_ string) interface{}
- func (d *SimpleConfig) GetBool(n string) bool
- func (d *SimpleConfig) GetInt(n string) int
- func (d *SimpleConfig) GetString(n string) string
- func (d *SimpleConfig) GetStringSlice(n string) []string
- func (d *SimpleConfig) GetWorkWeekdays() []string
- func (s *SimpleConfig) InteractivePageSize() int
- func (d *SimpleConfig) IsAllowNameForID() bool
- func (d *SimpleConfig) IsDebuging() bool
- func (d *SimpleConfig) IsInteractive() bool
- func (s *SimpleConfig) IsSearchProjectWithClientsName() bool
- func (d *SimpleConfig) Language() language.Tag
- func (d *SimpleConfig) LogLevel() string
- func (*SimpleConfig) Save() error
- func (*SimpleConfig) SetBool(_ string, _ bool)
- func (*SimpleConfig) SetInt(_ string, _ int)
- func (d *SimpleConfig) SetLanguage(l language.Tag)
- func (*SimpleConfig) SetString(_, _ string)
- func (*SimpleConfig) SetStringSlice(_ string, _ []string)
- func (s *SimpleConfig) SetTimeZone(loc *time.Location)
- func (s *SimpleConfig) TimeZone() *time.Location
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
MockClient is an autogenerated mock type for the Client type
func NewMockClient ¶
func NewMockClient(t interface { mock.TestingT Cleanup(func()) }) *MockClient
NewMockClient creates a new instance of MockClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockClient) AddClient ¶
func (_m *MockClient) AddClient(_a0 api.AddClientParam) (dto.Client, error)
AddClient provides a mock function with given fields: _a0
func (*MockClient) AddProject ¶
func (_m *MockClient) AddProject(_a0 api.AddProjectParam) (dto.Project, error)
AddProject provides a mock function with given fields: _a0
func (*MockClient) AddTask ¶
func (_m *MockClient) AddTask(_a0 api.AddTaskParam) (dto.Task, error)
AddTask provides a mock function with given fields: _a0
func (*MockClient) ChangeInvoiced ¶
func (_m *MockClient) ChangeInvoiced(_a0 api.ChangeInvoicedParam) error
ChangeInvoiced provides a mock function with given fields: _a0
func (*MockClient) CreateTimeEntry ¶
func (_m *MockClient) CreateTimeEntry(_a0 api.CreateTimeEntryParam) (dto.TimeEntryImpl, error)
CreateTimeEntry provides a mock function with given fields: _a0
func (*MockClient) DeleteProject ¶ added in v0.42.0
func (_m *MockClient) DeleteProject(_a0 api.DeleteProjectParam) (dto.Project, error)
DeleteProject provides a mock function with given fields: _a0
func (*MockClient) DeleteTask ¶
func (_m *MockClient) DeleteTask(_a0 api.DeleteTaskParam) (dto.Task, error)
DeleteTask provides a mock function with given fields: _a0
func (*MockClient) DeleteTimeEntry ¶
func (_m *MockClient) DeleteTimeEntry(_a0 api.DeleteTimeEntryParam) error
DeleteTimeEntry provides a mock function with given fields: _a0
func (*MockClient) EXPECT ¶ added in v0.42.0
func (_m *MockClient) EXPECT() *MockClient_Expecter
func (*MockClient) GetClients ¶
func (_m *MockClient) GetClients(_a0 api.GetClientsParam) ([]dto.Client, error)
GetClients provides a mock function with given fields: _a0
func (*MockClient) GetHydratedTimeEntry ¶
func (_m *MockClient) GetHydratedTimeEntry(_a0 api.GetTimeEntryParam) (*dto.TimeEntry, error)
GetHydratedTimeEntry provides a mock function with given fields: _a0
func (*MockClient) GetHydratedTimeEntryInProgress ¶
func (_m *MockClient) GetHydratedTimeEntryInProgress(_a0 api.GetTimeEntryInProgressParam) (*dto.TimeEntry, error)
GetHydratedTimeEntryInProgress provides a mock function with given fields: _a0
func (*MockClient) GetMe ¶
func (_m *MockClient) GetMe() (dto.User, error)
GetMe provides a mock function with given fields:
func (*MockClient) GetProject ¶
func (_m *MockClient) GetProject(_a0 api.GetProjectParam) (*dto.Project, error)
GetProject provides a mock function with given fields: _a0
func (*MockClient) GetProjects ¶
func (_m *MockClient) GetProjects(_a0 api.GetProjectsParam) ([]dto.Project, error)
GetProjects provides a mock function with given fields: _a0
func (*MockClient) GetTag ¶
func (_m *MockClient) GetTag(_a0 api.GetTagParam) (*dto.Tag, error)
GetTag provides a mock function with given fields: _a0
func (*MockClient) GetTags ¶
func (_m *MockClient) GetTags(_a0 api.GetTagsParam) ([]dto.Tag, error)
GetTags provides a mock function with given fields: _a0
func (*MockClient) GetTask ¶
func (_m *MockClient) GetTask(_a0 api.GetTaskParam) (dto.Task, error)
GetTask provides a mock function with given fields: _a0
func (*MockClient) GetTasks ¶
func (_m *MockClient) GetTasks(_a0 api.GetTasksParam) ([]dto.Task, error)
GetTasks provides a mock function with given fields: _a0
func (*MockClient) GetTimeEntry ¶
func (_m *MockClient) GetTimeEntry(_a0 api.GetTimeEntryParam) (*dto.TimeEntryImpl, error)
GetTimeEntry provides a mock function with given fields: _a0
func (*MockClient) GetTimeEntryInProgress ¶
func (_m *MockClient) GetTimeEntryInProgress(_a0 api.GetTimeEntryInProgressParam) (*dto.TimeEntryImpl, error)
GetTimeEntryInProgress provides a mock function with given fields: _a0
func (*MockClient) GetUserTimeEntries ¶
func (_m *MockClient) GetUserTimeEntries(_a0 api.GetUserTimeEntriesParam) ([]dto.TimeEntryImpl, error)
GetUserTimeEntries provides a mock function with given fields: _a0
func (*MockClient) GetUsersHydratedTimeEntries ¶
func (_m *MockClient) GetUsersHydratedTimeEntries(_a0 api.GetUserTimeEntriesParam) ([]dto.TimeEntry, error)
GetUsersHydratedTimeEntries provides a mock function with given fields: _a0
func (*MockClient) GetWorkspace ¶
func (_m *MockClient) GetWorkspace(_a0 api.GetWorkspace) (dto.Workspace, error)
GetWorkspace provides a mock function with given fields: _a0
func (*MockClient) GetWorkspaces ¶
func (_m *MockClient) GetWorkspaces(_a0 api.GetWorkspaces) ([]dto.Workspace, error)
GetWorkspaces provides a mock function with given fields: _a0
func (*MockClient) LogRange ¶
func (_m *MockClient) LogRange(_a0 api.LogRangeParam) ([]dto.TimeEntry, error)
LogRange provides a mock function with given fields: _a0
func (*MockClient) Out ¶
func (_m *MockClient) Out(_a0 api.OutParam) error
Out provides a mock function with given fields: _a0
func (*MockClient) SetDebugLogger ¶
func (_m *MockClient) SetDebugLogger(logger api.Logger) api.Client
SetDebugLogger provides a mock function with given fields: logger
func (*MockClient) SetInfoLogger ¶
func (_m *MockClient) SetInfoLogger(logger api.Logger) api.Client
SetInfoLogger provides a mock function with given fields: logger
func (*MockClient) UpdateProject ¶ added in v0.40.0
func (_m *MockClient) UpdateProject(_a0 api.UpdateProjectParam) (dto.Project, error)
UpdateProject provides a mock function with given fields: _a0
func (*MockClient) UpdateProjectEstimate ¶ added in v0.42.0
func (_m *MockClient) UpdateProjectEstimate(_a0 api.UpdateProjectEstimateParam) (dto.Project, error)
UpdateProjectEstimate provides a mock function with given fields: _a0
func (*MockClient) UpdateProjectMemberships ¶ added in v0.42.0
func (_m *MockClient) UpdateProjectMemberships(_a0 api.UpdateProjectMembershipsParam) (dto.Project, error)
UpdateProjectMemberships provides a mock function with given fields: _a0
func (*MockClient) UpdateProjectTemplate ¶ added in v0.42.0
func (_m *MockClient) UpdateProjectTemplate(_a0 api.UpdateProjectTemplateParam) (dto.Project, error)
UpdateProjectTemplate provides a mock function with given fields: _a0
func (*MockClient) UpdateProjectUserBillableRate ¶ added in v0.42.0
func (_m *MockClient) UpdateProjectUserBillableRate(_a0 api.UpdateProjectUserRateParam) (dto.Project, error)
UpdateProjectUserBillableRate provides a mock function with given fields: _a0
func (*MockClient) UpdateProjectUserCostRate ¶ added in v0.42.0
func (_m *MockClient) UpdateProjectUserCostRate(_a0 api.UpdateProjectUserRateParam) (dto.Project, error)
UpdateProjectUserCostRate provides a mock function with given fields: _a0
func (*MockClient) UpdateTask ¶
func (_m *MockClient) UpdateTask(_a0 api.UpdateTaskParam) (dto.Task, error)
UpdateTask provides a mock function with given fields: _a0
func (*MockClient) UpdateTimeEntry ¶
func (_m *MockClient) UpdateTimeEntry(_a0 api.UpdateTimeEntryParam) (dto.TimeEntryImpl, error)
UpdateTimeEntry provides a mock function with given fields: _a0
func (*MockClient) WorkspaceUsers ¶
func (_m *MockClient) WorkspaceUsers(_a0 api.WorkspaceUsersParam) ([]dto.User, error)
WorkspaceUsers provides a mock function with given fields: _a0
type MockClient_AddClient_Call ¶ added in v0.42.0
MockClient_AddClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddClient'
func (*MockClient_AddClient_Call) Return ¶ added in v0.42.0
func (_c *MockClient_AddClient_Call) Return(_a0 dto.Client, _a1 error) *MockClient_AddClient_Call
func (*MockClient_AddClient_Call) Run ¶ added in v0.42.0
func (_c *MockClient_AddClient_Call) Run(run func(_a0 api.AddClientParam)) *MockClient_AddClient_Call
func (*MockClient_AddClient_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_AddClient_Call) RunAndReturn(run func(api.AddClientParam) (dto.Client, error)) *MockClient_AddClient_Call
type MockClient_AddProject_Call ¶ added in v0.42.0
MockClient_AddProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddProject'
func (*MockClient_AddProject_Call) Return ¶ added in v0.42.0
func (_c *MockClient_AddProject_Call) Return(_a0 dto.Project, _a1 error) *MockClient_AddProject_Call
func (*MockClient_AddProject_Call) Run ¶ added in v0.42.0
func (_c *MockClient_AddProject_Call) Run(run func(_a0 api.AddProjectParam)) *MockClient_AddProject_Call
func (*MockClient_AddProject_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_AddProject_Call) RunAndReturn(run func(api.AddProjectParam) (dto.Project, error)) *MockClient_AddProject_Call
type MockClient_AddTask_Call ¶ added in v0.42.0
MockClient_AddTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddTask'
func (*MockClient_AddTask_Call) Return ¶ added in v0.42.0
func (_c *MockClient_AddTask_Call) Return(_a0 dto.Task, _a1 error) *MockClient_AddTask_Call
func (*MockClient_AddTask_Call) Run ¶ added in v0.42.0
func (_c *MockClient_AddTask_Call) Run(run func(_a0 api.AddTaskParam)) *MockClient_AddTask_Call
func (*MockClient_AddTask_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_AddTask_Call) RunAndReturn(run func(api.AddTaskParam) (dto.Task, error)) *MockClient_AddTask_Call
type MockClient_ChangeInvoiced_Call ¶ added in v0.42.0
MockClient_ChangeInvoiced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChangeInvoiced'
func (*MockClient_ChangeInvoiced_Call) Return ¶ added in v0.42.0
func (_c *MockClient_ChangeInvoiced_Call) Return(_a0 error) *MockClient_ChangeInvoiced_Call
func (*MockClient_ChangeInvoiced_Call) Run ¶ added in v0.42.0
func (_c *MockClient_ChangeInvoiced_Call) Run(run func(_a0 api.ChangeInvoicedParam)) *MockClient_ChangeInvoiced_Call
func (*MockClient_ChangeInvoiced_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_ChangeInvoiced_Call) RunAndReturn(run func(api.ChangeInvoicedParam) error) *MockClient_ChangeInvoiced_Call
type MockClient_CreateTimeEntry_Call ¶ added in v0.42.0
MockClient_CreateTimeEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTimeEntry'
func (*MockClient_CreateTimeEntry_Call) Return ¶ added in v0.42.0
func (_c *MockClient_CreateTimeEntry_Call) Return(_a0 dto.TimeEntryImpl, _a1 error) *MockClient_CreateTimeEntry_Call
func (*MockClient_CreateTimeEntry_Call) Run ¶ added in v0.42.0
func (_c *MockClient_CreateTimeEntry_Call) Run(run func(_a0 api.CreateTimeEntryParam)) *MockClient_CreateTimeEntry_Call
func (*MockClient_CreateTimeEntry_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_CreateTimeEntry_Call) RunAndReturn(run func(api.CreateTimeEntryParam) (dto.TimeEntryImpl, error)) *MockClient_CreateTimeEntry_Call
type MockClient_DeleteProject_Call ¶ added in v0.42.0
MockClient_DeleteProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteProject'
func (*MockClient_DeleteProject_Call) Return ¶ added in v0.42.0
func (_c *MockClient_DeleteProject_Call) Return(_a0 dto.Project, _a1 error) *MockClient_DeleteProject_Call
func (*MockClient_DeleteProject_Call) Run ¶ added in v0.42.0
func (_c *MockClient_DeleteProject_Call) Run(run func(_a0 api.DeleteProjectParam)) *MockClient_DeleteProject_Call
func (*MockClient_DeleteProject_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_DeleteProject_Call) RunAndReturn(run func(api.DeleteProjectParam) (dto.Project, error)) *MockClient_DeleteProject_Call
type MockClient_DeleteTask_Call ¶ added in v0.42.0
MockClient_DeleteTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTask'
func (*MockClient_DeleteTask_Call) Return ¶ added in v0.42.0
func (_c *MockClient_DeleteTask_Call) Return(_a0 dto.Task, _a1 error) *MockClient_DeleteTask_Call
func (*MockClient_DeleteTask_Call) Run ¶ added in v0.42.0
func (_c *MockClient_DeleteTask_Call) Run(run func(_a0 api.DeleteTaskParam)) *MockClient_DeleteTask_Call
func (*MockClient_DeleteTask_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_DeleteTask_Call) RunAndReturn(run func(api.DeleteTaskParam) (dto.Task, error)) *MockClient_DeleteTask_Call
type MockClient_DeleteTimeEntry_Call ¶ added in v0.42.0
MockClient_DeleteTimeEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTimeEntry'
func (*MockClient_DeleteTimeEntry_Call) Return ¶ added in v0.42.0
func (_c *MockClient_DeleteTimeEntry_Call) Return(_a0 error) *MockClient_DeleteTimeEntry_Call
func (*MockClient_DeleteTimeEntry_Call) Run ¶ added in v0.42.0
func (_c *MockClient_DeleteTimeEntry_Call) Run(run func(_a0 api.DeleteTimeEntryParam)) *MockClient_DeleteTimeEntry_Call
func (*MockClient_DeleteTimeEntry_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_DeleteTimeEntry_Call) RunAndReturn(run func(api.DeleteTimeEntryParam) error) *MockClient_DeleteTimeEntry_Call
type MockClient_Expecter ¶ added in v0.42.0
type MockClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockClient_Expecter) AddClient ¶ added in v0.42.0
func (_e *MockClient_Expecter) AddClient(_a0 interface{}) *MockClient_AddClient_Call
AddClient is a helper method to define mock.On call
- _a0 api.AddClientParam
func (*MockClient_Expecter) AddProject ¶ added in v0.42.0
func (_e *MockClient_Expecter) AddProject(_a0 interface{}) *MockClient_AddProject_Call
AddProject is a helper method to define mock.On call
- _a0 api.AddProjectParam
func (*MockClient_Expecter) AddTask ¶ added in v0.42.0
func (_e *MockClient_Expecter) AddTask(_a0 interface{}) *MockClient_AddTask_Call
AddTask is a helper method to define mock.On call
- _a0 api.AddTaskParam
func (*MockClient_Expecter) ChangeInvoiced ¶ added in v0.42.0
func (_e *MockClient_Expecter) ChangeInvoiced(_a0 interface{}) *MockClient_ChangeInvoiced_Call
ChangeInvoiced is a helper method to define mock.On call
- _a0 api.ChangeInvoicedParam
func (*MockClient_Expecter) CreateTimeEntry ¶ added in v0.42.0
func (_e *MockClient_Expecter) CreateTimeEntry(_a0 interface{}) *MockClient_CreateTimeEntry_Call
CreateTimeEntry is a helper method to define mock.On call
- _a0 api.CreateTimeEntryParam
func (*MockClient_Expecter) DeleteProject ¶ added in v0.42.0
func (_e *MockClient_Expecter) DeleteProject(_a0 interface{}) *MockClient_DeleteProject_Call
DeleteProject is a helper method to define mock.On call
- _a0 api.DeleteProjectParam
func (*MockClient_Expecter) DeleteTask ¶ added in v0.42.0
func (_e *MockClient_Expecter) DeleteTask(_a0 interface{}) *MockClient_DeleteTask_Call
DeleteTask is a helper method to define mock.On call
- _a0 api.DeleteTaskParam
func (*MockClient_Expecter) DeleteTimeEntry ¶ added in v0.42.0
func (_e *MockClient_Expecter) DeleteTimeEntry(_a0 interface{}) *MockClient_DeleteTimeEntry_Call
DeleteTimeEntry is a helper method to define mock.On call
- _a0 api.DeleteTimeEntryParam
func (*MockClient_Expecter) GetClients ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetClients(_a0 interface{}) *MockClient_GetClients_Call
GetClients is a helper method to define mock.On call
- _a0 api.GetClientsParam
func (*MockClient_Expecter) GetHydratedTimeEntry ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetHydratedTimeEntry(_a0 interface{}) *MockClient_GetHydratedTimeEntry_Call
GetHydratedTimeEntry is a helper method to define mock.On call
- _a0 api.GetTimeEntryParam
func (*MockClient_Expecter) GetHydratedTimeEntryInProgress ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetHydratedTimeEntryInProgress(_a0 interface{}) *MockClient_GetHydratedTimeEntryInProgress_Call
GetHydratedTimeEntryInProgress is a helper method to define mock.On call
- _a0 api.GetTimeEntryInProgressParam
func (*MockClient_Expecter) GetMe ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetMe() *MockClient_GetMe_Call
GetMe is a helper method to define mock.On call
func (*MockClient_Expecter) GetProject ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetProject(_a0 interface{}) *MockClient_GetProject_Call
GetProject is a helper method to define mock.On call
- _a0 api.GetProjectParam
func (*MockClient_Expecter) GetProjects ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetProjects(_a0 interface{}) *MockClient_GetProjects_Call
GetProjects is a helper method to define mock.On call
- _a0 api.GetProjectsParam
func (*MockClient_Expecter) GetTag ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetTag(_a0 interface{}) *MockClient_GetTag_Call
GetTag is a helper method to define mock.On call
- _a0 api.GetTagParam
func (*MockClient_Expecter) GetTags ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetTags(_a0 interface{}) *MockClient_GetTags_Call
GetTags is a helper method to define mock.On call
- _a0 api.GetTagsParam
func (*MockClient_Expecter) GetTask ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetTask(_a0 interface{}) *MockClient_GetTask_Call
GetTask is a helper method to define mock.On call
- _a0 api.GetTaskParam
func (*MockClient_Expecter) GetTasks ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetTasks(_a0 interface{}) *MockClient_GetTasks_Call
GetTasks is a helper method to define mock.On call
- _a0 api.GetTasksParam
func (*MockClient_Expecter) GetTimeEntry ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetTimeEntry(_a0 interface{}) *MockClient_GetTimeEntry_Call
GetTimeEntry is a helper method to define mock.On call
- _a0 api.GetTimeEntryParam
func (*MockClient_Expecter) GetTimeEntryInProgress ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetTimeEntryInProgress(_a0 interface{}) *MockClient_GetTimeEntryInProgress_Call
GetTimeEntryInProgress is a helper method to define mock.On call
- _a0 api.GetTimeEntryInProgressParam
func (*MockClient_Expecter) GetUser ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetUser(_a0 interface{}) *MockClient_GetUser_Call
GetUser is a helper method to define mock.On call
- _a0 api.GetUser
func (*MockClient_Expecter) GetUserTimeEntries ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetUserTimeEntries(_a0 interface{}) *MockClient_GetUserTimeEntries_Call
GetUserTimeEntries is a helper method to define mock.On call
- _a0 api.GetUserTimeEntriesParam
func (*MockClient_Expecter) GetUsersHydratedTimeEntries ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetUsersHydratedTimeEntries(_a0 interface{}) *MockClient_GetUsersHydratedTimeEntries_Call
GetUsersHydratedTimeEntries is a helper method to define mock.On call
- _a0 api.GetUserTimeEntriesParam
func (*MockClient_Expecter) GetWorkspace ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetWorkspace(_a0 interface{}) *MockClient_GetWorkspace_Call
GetWorkspace is a helper method to define mock.On call
- _a0 api.GetWorkspace
func (*MockClient_Expecter) GetWorkspaces ¶ added in v0.42.0
func (_e *MockClient_Expecter) GetWorkspaces(_a0 interface{}) *MockClient_GetWorkspaces_Call
GetWorkspaces is a helper method to define mock.On call
- _a0 api.GetWorkspaces
func (*MockClient_Expecter) Log ¶ added in v0.42.0
func (_e *MockClient_Expecter) Log(_a0 interface{}) *MockClient_Log_Call
Log is a helper method to define mock.On call
- _a0 api.LogParam
func (*MockClient_Expecter) LogRange ¶ added in v0.42.0
func (_e *MockClient_Expecter) LogRange(_a0 interface{}) *MockClient_LogRange_Call
LogRange is a helper method to define mock.On call
- _a0 api.LogRangeParam
func (*MockClient_Expecter) Out ¶ added in v0.42.0
func (_e *MockClient_Expecter) Out(_a0 interface{}) *MockClient_Out_Call
Out is a helper method to define mock.On call
- _a0 api.OutParam
func (*MockClient_Expecter) SetDebugLogger ¶ added in v0.42.0
func (_e *MockClient_Expecter) SetDebugLogger(logger interface{}) *MockClient_SetDebugLogger_Call
SetDebugLogger is a helper method to define mock.On call
- logger api.Logger
func (*MockClient_Expecter) SetInfoLogger ¶ added in v0.42.0
func (_e *MockClient_Expecter) SetInfoLogger(logger interface{}) *MockClient_SetInfoLogger_Call
SetInfoLogger is a helper method to define mock.On call
- logger api.Logger
func (*MockClient_Expecter) UpdateProject ¶ added in v0.42.0
func (_e *MockClient_Expecter) UpdateProject(_a0 interface{}) *MockClient_UpdateProject_Call
UpdateProject is a helper method to define mock.On call
- _a0 api.UpdateProjectParam
func (*MockClient_Expecter) UpdateProjectEstimate ¶ added in v0.42.0
func (_e *MockClient_Expecter) UpdateProjectEstimate(_a0 interface{}) *MockClient_UpdateProjectEstimate_Call
UpdateProjectEstimate is a helper method to define mock.On call
- _a0 api.UpdateProjectEstimateParam
func (*MockClient_Expecter) UpdateProjectMemberships ¶ added in v0.42.0
func (_e *MockClient_Expecter) UpdateProjectMemberships(_a0 interface{}) *MockClient_UpdateProjectMemberships_Call
UpdateProjectMemberships is a helper method to define mock.On call
- _a0 api.UpdateProjectMembershipsParam
func (*MockClient_Expecter) UpdateProjectTemplate ¶ added in v0.42.0
func (_e *MockClient_Expecter) UpdateProjectTemplate(_a0 interface{}) *MockClient_UpdateProjectTemplate_Call
UpdateProjectTemplate is a helper method to define mock.On call
- _a0 api.UpdateProjectTemplateParam
func (*MockClient_Expecter) UpdateProjectUserBillableRate ¶ added in v0.42.0
func (_e *MockClient_Expecter) UpdateProjectUserBillableRate(_a0 interface{}) *MockClient_UpdateProjectUserBillableRate_Call
UpdateProjectUserBillableRate is a helper method to define mock.On call
- _a0 api.UpdateProjectUserRateParam
func (*MockClient_Expecter) UpdateProjectUserCostRate ¶ added in v0.42.0
func (_e *MockClient_Expecter) UpdateProjectUserCostRate(_a0 interface{}) *MockClient_UpdateProjectUserCostRate_Call
UpdateProjectUserCostRate is a helper method to define mock.On call
- _a0 api.UpdateProjectUserRateParam
func (*MockClient_Expecter) UpdateTask ¶ added in v0.42.0
func (_e *MockClient_Expecter) UpdateTask(_a0 interface{}) *MockClient_UpdateTask_Call
UpdateTask is a helper method to define mock.On call
- _a0 api.UpdateTaskParam
func (*MockClient_Expecter) UpdateTimeEntry ¶ added in v0.42.0
func (_e *MockClient_Expecter) UpdateTimeEntry(_a0 interface{}) *MockClient_UpdateTimeEntry_Call
UpdateTimeEntry is a helper method to define mock.On call
- _a0 api.UpdateTimeEntryParam
func (*MockClient_Expecter) WorkspaceUsers ¶ added in v0.42.0
func (_e *MockClient_Expecter) WorkspaceUsers(_a0 interface{}) *MockClient_WorkspaceUsers_Call
WorkspaceUsers is a helper method to define mock.On call
- _a0 api.WorkspaceUsersParam
type MockClient_GetClients_Call ¶ added in v0.42.0
MockClient_GetClients_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClients'
func (*MockClient_GetClients_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetClients_Call) Return(_a0 []dto.Client, _a1 error) *MockClient_GetClients_Call
func (*MockClient_GetClients_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetClients_Call) Run(run func(_a0 api.GetClientsParam)) *MockClient_GetClients_Call
func (*MockClient_GetClients_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetClients_Call) RunAndReturn(run func(api.GetClientsParam) ([]dto.Client, error)) *MockClient_GetClients_Call
type MockClient_GetHydratedTimeEntryInProgress_Call ¶ added in v0.42.0
MockClient_GetHydratedTimeEntryInProgress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHydratedTimeEntryInProgress'
func (*MockClient_GetHydratedTimeEntryInProgress_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetHydratedTimeEntryInProgress_Call) Return(_a0 *dto.TimeEntry, _a1 error) *MockClient_GetHydratedTimeEntryInProgress_Call
func (*MockClient_GetHydratedTimeEntryInProgress_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetHydratedTimeEntryInProgress_Call) Run(run func(_a0 api.GetTimeEntryInProgressParam)) *MockClient_GetHydratedTimeEntryInProgress_Call
func (*MockClient_GetHydratedTimeEntryInProgress_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetHydratedTimeEntryInProgress_Call) RunAndReturn(run func(api.GetTimeEntryInProgressParam) (*dto.TimeEntry, error)) *MockClient_GetHydratedTimeEntryInProgress_Call
type MockClient_GetHydratedTimeEntry_Call ¶ added in v0.42.0
MockClient_GetHydratedTimeEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHydratedTimeEntry'
func (*MockClient_GetHydratedTimeEntry_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetHydratedTimeEntry_Call) Return(_a0 *dto.TimeEntry, _a1 error) *MockClient_GetHydratedTimeEntry_Call
func (*MockClient_GetHydratedTimeEntry_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetHydratedTimeEntry_Call) Run(run func(_a0 api.GetTimeEntryParam)) *MockClient_GetHydratedTimeEntry_Call
func (*MockClient_GetHydratedTimeEntry_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetHydratedTimeEntry_Call) RunAndReturn(run func(api.GetTimeEntryParam) (*dto.TimeEntry, error)) *MockClient_GetHydratedTimeEntry_Call
type MockClient_GetMe_Call ¶ added in v0.42.0
MockClient_GetMe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMe'
func (*MockClient_GetMe_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetMe_Call) Return(_a0 dto.User, _a1 error) *MockClient_GetMe_Call
func (*MockClient_GetMe_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetMe_Call) Run(run func()) *MockClient_GetMe_Call
func (*MockClient_GetMe_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetMe_Call) RunAndReturn(run func() (dto.User, error)) *MockClient_GetMe_Call
type MockClient_GetProject_Call ¶ added in v0.42.0
MockClient_GetProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProject'
func (*MockClient_GetProject_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetProject_Call) Return(_a0 *dto.Project, _a1 error) *MockClient_GetProject_Call
func (*MockClient_GetProject_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetProject_Call) Run(run func(_a0 api.GetProjectParam)) *MockClient_GetProject_Call
func (*MockClient_GetProject_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetProject_Call) RunAndReturn(run func(api.GetProjectParam) (*dto.Project, error)) *MockClient_GetProject_Call
type MockClient_GetProjects_Call ¶ added in v0.42.0
MockClient_GetProjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProjects'
func (*MockClient_GetProjects_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetProjects_Call) Return(_a0 []dto.Project, _a1 error) *MockClient_GetProjects_Call
func (*MockClient_GetProjects_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetProjects_Call) Run(run func(_a0 api.GetProjectsParam)) *MockClient_GetProjects_Call
func (*MockClient_GetProjects_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetProjects_Call) RunAndReturn(run func(api.GetProjectsParam) ([]dto.Project, error)) *MockClient_GetProjects_Call
type MockClient_GetTag_Call ¶ added in v0.42.0
MockClient_GetTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTag'
func (*MockClient_GetTag_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetTag_Call) Return(_a0 *dto.Tag, _a1 error) *MockClient_GetTag_Call
func (*MockClient_GetTag_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetTag_Call) Run(run func(_a0 api.GetTagParam)) *MockClient_GetTag_Call
func (*MockClient_GetTag_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetTag_Call) RunAndReturn(run func(api.GetTagParam) (*dto.Tag, error)) *MockClient_GetTag_Call
type MockClient_GetTags_Call ¶ added in v0.42.0
MockClient_GetTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTags'
func (*MockClient_GetTags_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetTags_Call) Return(_a0 []dto.Tag, _a1 error) *MockClient_GetTags_Call
func (*MockClient_GetTags_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetTags_Call) Run(run func(_a0 api.GetTagsParam)) *MockClient_GetTags_Call
func (*MockClient_GetTags_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetTags_Call) RunAndReturn(run func(api.GetTagsParam) ([]dto.Tag, error)) *MockClient_GetTags_Call
type MockClient_GetTask_Call ¶ added in v0.42.0
MockClient_GetTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTask'
func (*MockClient_GetTask_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetTask_Call) Return(_a0 dto.Task, _a1 error) *MockClient_GetTask_Call
func (*MockClient_GetTask_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetTask_Call) Run(run func(_a0 api.GetTaskParam)) *MockClient_GetTask_Call
func (*MockClient_GetTask_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetTask_Call) RunAndReturn(run func(api.GetTaskParam) (dto.Task, error)) *MockClient_GetTask_Call
type MockClient_GetTasks_Call ¶ added in v0.42.0
MockClient_GetTasks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTasks'
func (*MockClient_GetTasks_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetTasks_Call) Return(_a0 []dto.Task, _a1 error) *MockClient_GetTasks_Call
func (*MockClient_GetTasks_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetTasks_Call) Run(run func(_a0 api.GetTasksParam)) *MockClient_GetTasks_Call
func (*MockClient_GetTasks_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetTasks_Call) RunAndReturn(run func(api.GetTasksParam) ([]dto.Task, error)) *MockClient_GetTasks_Call
type MockClient_GetTimeEntryInProgress_Call ¶ added in v0.42.0
MockClient_GetTimeEntryInProgress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTimeEntryInProgress'
func (*MockClient_GetTimeEntryInProgress_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetTimeEntryInProgress_Call) Return(_a0 *dto.TimeEntryImpl, _a1 error) *MockClient_GetTimeEntryInProgress_Call
func (*MockClient_GetTimeEntryInProgress_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetTimeEntryInProgress_Call) Run(run func(_a0 api.GetTimeEntryInProgressParam)) *MockClient_GetTimeEntryInProgress_Call
func (*MockClient_GetTimeEntryInProgress_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetTimeEntryInProgress_Call) RunAndReturn(run func(api.GetTimeEntryInProgressParam) (*dto.TimeEntryImpl, error)) *MockClient_GetTimeEntryInProgress_Call
type MockClient_GetTimeEntry_Call ¶ added in v0.42.0
MockClient_GetTimeEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTimeEntry'
func (*MockClient_GetTimeEntry_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetTimeEntry_Call) Return(_a0 *dto.TimeEntryImpl, _a1 error) *MockClient_GetTimeEntry_Call
func (*MockClient_GetTimeEntry_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetTimeEntry_Call) Run(run func(_a0 api.GetTimeEntryParam)) *MockClient_GetTimeEntry_Call
func (*MockClient_GetTimeEntry_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetTimeEntry_Call) RunAndReturn(run func(api.GetTimeEntryParam) (*dto.TimeEntryImpl, error)) *MockClient_GetTimeEntry_Call
type MockClient_GetUserTimeEntries_Call ¶ added in v0.42.0
MockClient_GetUserTimeEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserTimeEntries'
func (*MockClient_GetUserTimeEntries_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetUserTimeEntries_Call) Return(_a0 []dto.TimeEntryImpl, _a1 error) *MockClient_GetUserTimeEntries_Call
func (*MockClient_GetUserTimeEntries_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetUserTimeEntries_Call) Run(run func(_a0 api.GetUserTimeEntriesParam)) *MockClient_GetUserTimeEntries_Call
func (*MockClient_GetUserTimeEntries_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetUserTimeEntries_Call) RunAndReturn(run func(api.GetUserTimeEntriesParam) ([]dto.TimeEntryImpl, error)) *MockClient_GetUserTimeEntries_Call
type MockClient_GetUser_Call ¶ added in v0.42.0
MockClient_GetUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUser'
func (*MockClient_GetUser_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetUser_Call) Return(_a0 dto.User, _a1 error) *MockClient_GetUser_Call
func (*MockClient_GetUser_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetUser_Call) Run(run func(_a0 api.GetUser)) *MockClient_GetUser_Call
func (*MockClient_GetUser_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetUser_Call) RunAndReturn(run func(api.GetUser) (dto.User, error)) *MockClient_GetUser_Call
type MockClient_GetUsersHydratedTimeEntries_Call ¶ added in v0.42.0
MockClient_GetUsersHydratedTimeEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUsersHydratedTimeEntries'
func (*MockClient_GetUsersHydratedTimeEntries_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetUsersHydratedTimeEntries_Call) Return(_a0 []dto.TimeEntry, _a1 error) *MockClient_GetUsersHydratedTimeEntries_Call
func (*MockClient_GetUsersHydratedTimeEntries_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetUsersHydratedTimeEntries_Call) Run(run func(_a0 api.GetUserTimeEntriesParam)) *MockClient_GetUsersHydratedTimeEntries_Call
func (*MockClient_GetUsersHydratedTimeEntries_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetUsersHydratedTimeEntries_Call) RunAndReturn(run func(api.GetUserTimeEntriesParam) ([]dto.TimeEntry, error)) *MockClient_GetUsersHydratedTimeEntries_Call
type MockClient_GetWorkspace_Call ¶ added in v0.42.0
MockClient_GetWorkspace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkspace'
func (*MockClient_GetWorkspace_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetWorkspace_Call) Return(_a0 dto.Workspace, _a1 error) *MockClient_GetWorkspace_Call
func (*MockClient_GetWorkspace_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetWorkspace_Call) Run(run func(_a0 api.GetWorkspace)) *MockClient_GetWorkspace_Call
func (*MockClient_GetWorkspace_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetWorkspace_Call) RunAndReturn(run func(api.GetWorkspace) (dto.Workspace, error)) *MockClient_GetWorkspace_Call
type MockClient_GetWorkspaces_Call ¶ added in v0.42.0
MockClient_GetWorkspaces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkspaces'
func (*MockClient_GetWorkspaces_Call) Return ¶ added in v0.42.0
func (_c *MockClient_GetWorkspaces_Call) Return(_a0 []dto.Workspace, _a1 error) *MockClient_GetWorkspaces_Call
func (*MockClient_GetWorkspaces_Call) Run ¶ added in v0.42.0
func (_c *MockClient_GetWorkspaces_Call) Run(run func(_a0 api.GetWorkspaces)) *MockClient_GetWorkspaces_Call
func (*MockClient_GetWorkspaces_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_GetWorkspaces_Call) RunAndReturn(run func(api.GetWorkspaces) ([]dto.Workspace, error)) *MockClient_GetWorkspaces_Call
type MockClient_LogRange_Call ¶ added in v0.42.0
MockClient_LogRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogRange'
func (*MockClient_LogRange_Call) Return ¶ added in v0.42.0
func (_c *MockClient_LogRange_Call) Return(_a0 []dto.TimeEntry, _a1 error) *MockClient_LogRange_Call
func (*MockClient_LogRange_Call) Run ¶ added in v0.42.0
func (_c *MockClient_LogRange_Call) Run(run func(_a0 api.LogRangeParam)) *MockClient_LogRange_Call
func (*MockClient_LogRange_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_LogRange_Call) RunAndReturn(run func(api.LogRangeParam) ([]dto.TimeEntry, error)) *MockClient_LogRange_Call
type MockClient_Log_Call ¶ added in v0.42.0
MockClient_Log_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Log'
func (*MockClient_Log_Call) Return ¶ added in v0.42.0
func (_c *MockClient_Log_Call) Return(_a0 []dto.TimeEntry, _a1 error) *MockClient_Log_Call
func (*MockClient_Log_Call) Run ¶ added in v0.42.0
func (_c *MockClient_Log_Call) Run(run func(_a0 api.LogParam)) *MockClient_Log_Call
func (*MockClient_Log_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_Log_Call) RunAndReturn(run func(api.LogParam) ([]dto.TimeEntry, error)) *MockClient_Log_Call
type MockClient_Out_Call ¶ added in v0.42.0
MockClient_Out_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Out'
func (*MockClient_Out_Call) Return ¶ added in v0.42.0
func (_c *MockClient_Out_Call) Return(_a0 error) *MockClient_Out_Call
func (*MockClient_Out_Call) Run ¶ added in v0.42.0
func (_c *MockClient_Out_Call) Run(run func(_a0 api.OutParam)) *MockClient_Out_Call
func (*MockClient_Out_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_Out_Call) RunAndReturn(run func(api.OutParam) error) *MockClient_Out_Call
type MockClient_SetDebugLogger_Call ¶ added in v0.42.0
MockClient_SetDebugLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDebugLogger'
func (*MockClient_SetDebugLogger_Call) Return ¶ added in v0.42.0
func (_c *MockClient_SetDebugLogger_Call) Return(_a0 api.Client) *MockClient_SetDebugLogger_Call
func (*MockClient_SetDebugLogger_Call) Run ¶ added in v0.42.0
func (_c *MockClient_SetDebugLogger_Call) Run(run func(logger api.Logger)) *MockClient_SetDebugLogger_Call
func (*MockClient_SetDebugLogger_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_SetDebugLogger_Call) RunAndReturn(run func(api.Logger) api.Client) *MockClient_SetDebugLogger_Call
type MockClient_SetInfoLogger_Call ¶ added in v0.42.0
MockClient_SetInfoLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetInfoLogger'
func (*MockClient_SetInfoLogger_Call) Return ¶ added in v0.42.0
func (_c *MockClient_SetInfoLogger_Call) Return(_a0 api.Client) *MockClient_SetInfoLogger_Call
func (*MockClient_SetInfoLogger_Call) Run ¶ added in v0.42.0
func (_c *MockClient_SetInfoLogger_Call) Run(run func(logger api.Logger)) *MockClient_SetInfoLogger_Call
func (*MockClient_SetInfoLogger_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_SetInfoLogger_Call) RunAndReturn(run func(api.Logger) api.Client) *MockClient_SetInfoLogger_Call
type MockClient_UpdateProjectEstimate_Call ¶ added in v0.42.0
MockClient_UpdateProjectEstimate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateProjectEstimate'
func (*MockClient_UpdateProjectEstimate_Call) Return ¶ added in v0.42.0
func (_c *MockClient_UpdateProjectEstimate_Call) Return(_a0 dto.Project, _a1 error) *MockClient_UpdateProjectEstimate_Call
func (*MockClient_UpdateProjectEstimate_Call) Run ¶ added in v0.42.0
func (_c *MockClient_UpdateProjectEstimate_Call) Run(run func(_a0 api.UpdateProjectEstimateParam)) *MockClient_UpdateProjectEstimate_Call
func (*MockClient_UpdateProjectEstimate_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_UpdateProjectEstimate_Call) RunAndReturn(run func(api.UpdateProjectEstimateParam) (dto.Project, error)) *MockClient_UpdateProjectEstimate_Call
type MockClient_UpdateProjectMemberships_Call ¶ added in v0.42.0
MockClient_UpdateProjectMemberships_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateProjectMemberships'
func (*MockClient_UpdateProjectMemberships_Call) Return ¶ added in v0.42.0
func (_c *MockClient_UpdateProjectMemberships_Call) Return(_a0 dto.Project, _a1 error) *MockClient_UpdateProjectMemberships_Call
func (*MockClient_UpdateProjectMemberships_Call) Run ¶ added in v0.42.0
func (_c *MockClient_UpdateProjectMemberships_Call) Run(run func(_a0 api.UpdateProjectMembershipsParam)) *MockClient_UpdateProjectMemberships_Call
func (*MockClient_UpdateProjectMemberships_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_UpdateProjectMemberships_Call) RunAndReturn(run func(api.UpdateProjectMembershipsParam) (dto.Project, error)) *MockClient_UpdateProjectMemberships_Call
type MockClient_UpdateProjectTemplate_Call ¶ added in v0.42.0
MockClient_UpdateProjectTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateProjectTemplate'
func (*MockClient_UpdateProjectTemplate_Call) Return ¶ added in v0.42.0
func (_c *MockClient_UpdateProjectTemplate_Call) Return(_a0 dto.Project, _a1 error) *MockClient_UpdateProjectTemplate_Call
func (*MockClient_UpdateProjectTemplate_Call) Run ¶ added in v0.42.0
func (_c *MockClient_UpdateProjectTemplate_Call) Run(run func(_a0 api.UpdateProjectTemplateParam)) *MockClient_UpdateProjectTemplate_Call
func (*MockClient_UpdateProjectTemplate_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_UpdateProjectTemplate_Call) RunAndReturn(run func(api.UpdateProjectTemplateParam) (dto.Project, error)) *MockClient_UpdateProjectTemplate_Call
type MockClient_UpdateProjectUserBillableRate_Call ¶ added in v0.42.0
MockClient_UpdateProjectUserBillableRate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateProjectUserBillableRate'
func (*MockClient_UpdateProjectUserBillableRate_Call) Return ¶ added in v0.42.0
func (_c *MockClient_UpdateProjectUserBillableRate_Call) Return(_a0 dto.Project, _a1 error) *MockClient_UpdateProjectUserBillableRate_Call
func (*MockClient_UpdateProjectUserBillableRate_Call) Run ¶ added in v0.42.0
func (_c *MockClient_UpdateProjectUserBillableRate_Call) Run(run func(_a0 api.UpdateProjectUserRateParam)) *MockClient_UpdateProjectUserBillableRate_Call
func (*MockClient_UpdateProjectUserBillableRate_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_UpdateProjectUserBillableRate_Call) RunAndReturn(run func(api.UpdateProjectUserRateParam) (dto.Project, error)) *MockClient_UpdateProjectUserBillableRate_Call
type MockClient_UpdateProjectUserCostRate_Call ¶ added in v0.42.0
MockClient_UpdateProjectUserCostRate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateProjectUserCostRate'
func (*MockClient_UpdateProjectUserCostRate_Call) Return ¶ added in v0.42.0
func (_c *MockClient_UpdateProjectUserCostRate_Call) Return(_a0 dto.Project, _a1 error) *MockClient_UpdateProjectUserCostRate_Call
func (*MockClient_UpdateProjectUserCostRate_Call) Run ¶ added in v0.42.0
func (_c *MockClient_UpdateProjectUserCostRate_Call) Run(run func(_a0 api.UpdateProjectUserRateParam)) *MockClient_UpdateProjectUserCostRate_Call
func (*MockClient_UpdateProjectUserCostRate_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_UpdateProjectUserCostRate_Call) RunAndReturn(run func(api.UpdateProjectUserRateParam) (dto.Project, error)) *MockClient_UpdateProjectUserCostRate_Call
type MockClient_UpdateProject_Call ¶ added in v0.42.0
MockClient_UpdateProject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateProject'
func (*MockClient_UpdateProject_Call) Return ¶ added in v0.42.0
func (_c *MockClient_UpdateProject_Call) Return(_a0 dto.Project, _a1 error) *MockClient_UpdateProject_Call
func (*MockClient_UpdateProject_Call) Run ¶ added in v0.42.0
func (_c *MockClient_UpdateProject_Call) Run(run func(_a0 api.UpdateProjectParam)) *MockClient_UpdateProject_Call
func (*MockClient_UpdateProject_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_UpdateProject_Call) RunAndReturn(run func(api.UpdateProjectParam) (dto.Project, error)) *MockClient_UpdateProject_Call
type MockClient_UpdateTask_Call ¶ added in v0.42.0
MockClient_UpdateTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTask'
func (*MockClient_UpdateTask_Call) Return ¶ added in v0.42.0
func (_c *MockClient_UpdateTask_Call) Return(_a0 dto.Task, _a1 error) *MockClient_UpdateTask_Call
func (*MockClient_UpdateTask_Call) Run ¶ added in v0.42.0
func (_c *MockClient_UpdateTask_Call) Run(run func(_a0 api.UpdateTaskParam)) *MockClient_UpdateTask_Call
func (*MockClient_UpdateTask_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_UpdateTask_Call) RunAndReturn(run func(api.UpdateTaskParam) (dto.Task, error)) *MockClient_UpdateTask_Call
type MockClient_UpdateTimeEntry_Call ¶ added in v0.42.0
MockClient_UpdateTimeEntry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTimeEntry'
func (*MockClient_UpdateTimeEntry_Call) Return ¶ added in v0.42.0
func (_c *MockClient_UpdateTimeEntry_Call) Return(_a0 dto.TimeEntryImpl, _a1 error) *MockClient_UpdateTimeEntry_Call
func (*MockClient_UpdateTimeEntry_Call) Run ¶ added in v0.42.0
func (_c *MockClient_UpdateTimeEntry_Call) Run(run func(_a0 api.UpdateTimeEntryParam)) *MockClient_UpdateTimeEntry_Call
func (*MockClient_UpdateTimeEntry_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_UpdateTimeEntry_Call) RunAndReturn(run func(api.UpdateTimeEntryParam) (dto.TimeEntryImpl, error)) *MockClient_UpdateTimeEntry_Call
type MockClient_WorkspaceUsers_Call ¶ added in v0.42.0
MockClient_WorkspaceUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WorkspaceUsers'
func (*MockClient_WorkspaceUsers_Call) Return ¶ added in v0.42.0
func (_c *MockClient_WorkspaceUsers_Call) Return(_a0 []dto.User, _a1 error) *MockClient_WorkspaceUsers_Call
func (*MockClient_WorkspaceUsers_Call) Run ¶ added in v0.42.0
func (_c *MockClient_WorkspaceUsers_Call) Run(run func(_a0 api.WorkspaceUsersParam)) *MockClient_WorkspaceUsers_Call
func (*MockClient_WorkspaceUsers_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockClient_WorkspaceUsers_Call) RunAndReturn(run func(api.WorkspaceUsersParam) ([]dto.User, error)) *MockClient_WorkspaceUsers_Call
type MockConfig ¶
MockConfig is an autogenerated mock type for the Config type
func NewMockConfig ¶
func NewMockConfig(t interface { mock.TestingT Cleanup(func()) }) *MockConfig
NewMockConfig creates a new instance of MockConfig. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockConfig) All ¶
func (_m *MockConfig) All() map[string]interface{}
All provides a mock function with given fields:
func (*MockConfig) EXPECT ¶ added in v0.42.0
func (_m *MockConfig) EXPECT() *MockConfig_Expecter
func (*MockConfig) Get ¶
func (_m *MockConfig) Get(_a0 string) interface{}
Get provides a mock function with given fields: _a0
func (*MockConfig) GetBool ¶
func (_m *MockConfig) GetBool(_a0 string) bool
GetBool provides a mock function with given fields: _a0
func (*MockConfig) GetInt ¶
func (_m *MockConfig) GetInt(_a0 string) int
GetInt provides a mock function with given fields: _a0
func (*MockConfig) GetString ¶
func (_m *MockConfig) GetString(_a0 string) string
GetString provides a mock function with given fields: _a0
func (*MockConfig) GetStringSlice ¶
func (_m *MockConfig) GetStringSlice(_a0 string) []string
GetStringSlice provides a mock function with given fields: _a0
func (*MockConfig) GetWorkWeekdays ¶
func (_m *MockConfig) GetWorkWeekdays() []string
GetWorkWeekdays provides a mock function with given fields:
func (*MockConfig) InteractivePageSize ¶ added in v0.44.0
func (_m *MockConfig) InteractivePageSize() int
InteractivePageSize provides a mock function with given fields:
func (*MockConfig) IsAllowNameForID ¶
func (_m *MockConfig) IsAllowNameForID() bool
IsAllowNameForID provides a mock function with given fields:
func (*MockConfig) IsDebuging ¶
func (_m *MockConfig) IsDebuging() bool
IsDebuging provides a mock function with given fields:
func (*MockConfig) IsInteractive ¶
func (_m *MockConfig) IsInteractive() bool
IsInteractive provides a mock function with given fields:
func (*MockConfig) IsSearchProjectWithClientsName ¶ added in v0.48.0
func (_m *MockConfig) IsSearchProjectWithClientsName() bool
IsSearchProjectWithClientsName provides a mock function with given fields:
func (*MockConfig) Language ¶ added in v0.53.0
func (_m *MockConfig) Language() language.Tag
Language provides a mock function with given fields:
func (*MockConfig) LogLevel ¶
func (_m *MockConfig) LogLevel() string
LogLevel provides a mock function with given fields:
func (*MockConfig) Save ¶
func (_m *MockConfig) Save() error
Save provides a mock function with given fields:
func (*MockConfig) SetBool ¶
func (_m *MockConfig) SetBool(_a0 string, _a1 bool)
SetBool provides a mock function with given fields: _a0, _a1
func (*MockConfig) SetInt ¶
func (_m *MockConfig) SetInt(_a0 string, _a1 int)
SetInt provides a mock function with given fields: _a0, _a1
func (*MockConfig) SetLanguage ¶ added in v0.53.0
func (_m *MockConfig) SetLanguage(_a0 language.Tag)
SetLanguage provides a mock function with given fields: _a0
func (*MockConfig) SetString ¶
func (_m *MockConfig) SetString(_a0 string, _a1 string)
SetString provides a mock function with given fields: _a0, _a1
func (*MockConfig) SetStringSlice ¶
func (_m *MockConfig) SetStringSlice(_a0 string, _a1 []string)
SetStringSlice provides a mock function with given fields: _a0, _a1
func (*MockConfig) SetTimeZone ¶ added in v0.53.0
func (_m *MockConfig) SetTimeZone(_a0 *time.Location)
SetTimeZone provides a mock function with given fields: _a0
func (*MockConfig) TimeZone ¶ added in v0.53.0
func (_m *MockConfig) TimeZone() *time.Location
TimeZone provides a mock function with given fields:
type MockConfig_All_Call ¶ added in v0.42.0
MockConfig_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'
func (*MockConfig_All_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_All_Call) Return(_a0 map[string]interface{}) *MockConfig_All_Call
func (*MockConfig_All_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_All_Call) Run(run func()) *MockConfig_All_Call
func (*MockConfig_All_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_All_Call) RunAndReturn(run func() map[string]interface{}) *MockConfig_All_Call
type MockConfig_Expecter ¶ added in v0.42.0
type MockConfig_Expecter struct {
// contains filtered or unexported fields
}
func (*MockConfig_Expecter) All ¶ added in v0.42.0
func (_e *MockConfig_Expecter) All() *MockConfig_All_Call
All is a helper method to define mock.On call
func (*MockConfig_Expecter) Get ¶ added in v0.42.0
func (_e *MockConfig_Expecter) Get(_a0 interface{}) *MockConfig_Get_Call
Get is a helper method to define mock.On call
- _a0 string
func (*MockConfig_Expecter) GetBool ¶ added in v0.42.0
func (_e *MockConfig_Expecter) GetBool(_a0 interface{}) *MockConfig_GetBool_Call
GetBool is a helper method to define mock.On call
- _a0 string
func (*MockConfig_Expecter) GetInt ¶ added in v0.42.0
func (_e *MockConfig_Expecter) GetInt(_a0 interface{}) *MockConfig_GetInt_Call
GetInt is a helper method to define mock.On call
- _a0 string
func (*MockConfig_Expecter) GetString ¶ added in v0.42.0
func (_e *MockConfig_Expecter) GetString(_a0 interface{}) *MockConfig_GetString_Call
GetString is a helper method to define mock.On call
- _a0 string
func (*MockConfig_Expecter) GetStringSlice ¶ added in v0.42.0
func (_e *MockConfig_Expecter) GetStringSlice(_a0 interface{}) *MockConfig_GetStringSlice_Call
GetStringSlice is a helper method to define mock.On call
- _a0 string
func (*MockConfig_Expecter) GetWorkWeekdays ¶ added in v0.42.0
func (_e *MockConfig_Expecter) GetWorkWeekdays() *MockConfig_GetWorkWeekdays_Call
GetWorkWeekdays is a helper method to define mock.On call
func (*MockConfig_Expecter) InteractivePageSize ¶ added in v0.44.0
func (_e *MockConfig_Expecter) InteractivePageSize() *MockConfig_InteractivePageSize_Call
InteractivePageSize is a helper method to define mock.On call
func (*MockConfig_Expecter) IsAllowNameForID ¶ added in v0.42.0
func (_e *MockConfig_Expecter) IsAllowNameForID() *MockConfig_IsAllowNameForID_Call
IsAllowNameForID is a helper method to define mock.On call
func (*MockConfig_Expecter) IsDebuging ¶ added in v0.42.0
func (_e *MockConfig_Expecter) IsDebuging() *MockConfig_IsDebuging_Call
IsDebuging is a helper method to define mock.On call
func (*MockConfig_Expecter) IsInteractive ¶ added in v0.42.0
func (_e *MockConfig_Expecter) IsInteractive() *MockConfig_IsInteractive_Call
IsInteractive is a helper method to define mock.On call
func (*MockConfig_Expecter) IsSearchProjectWithClientsName ¶ added in v0.48.0
func (_e *MockConfig_Expecter) IsSearchProjectWithClientsName() *MockConfig_IsSearchProjectWithClientsName_Call
IsSearchProjectWithClientsName is a helper method to define mock.On call
func (*MockConfig_Expecter) Language ¶ added in v0.53.0
func (_e *MockConfig_Expecter) Language() *MockConfig_Language_Call
Language is a helper method to define mock.On call
func (*MockConfig_Expecter) LogLevel ¶ added in v0.42.0
func (_e *MockConfig_Expecter) LogLevel() *MockConfig_LogLevel_Call
LogLevel is a helper method to define mock.On call
func (*MockConfig_Expecter) Save ¶ added in v0.42.0
func (_e *MockConfig_Expecter) Save() *MockConfig_Save_Call
Save is a helper method to define mock.On call
func (*MockConfig_Expecter) SetBool ¶ added in v0.42.0
func (_e *MockConfig_Expecter) SetBool(_a0 interface{}, _a1 interface{}) *MockConfig_SetBool_Call
SetBool is a helper method to define mock.On call
- _a0 string
- _a1 bool
func (*MockConfig_Expecter) SetInt ¶ added in v0.42.0
func (_e *MockConfig_Expecter) SetInt(_a0 interface{}, _a1 interface{}) *MockConfig_SetInt_Call
SetInt is a helper method to define mock.On call
- _a0 string
- _a1 int
func (*MockConfig_Expecter) SetLanguage ¶ added in v0.53.0
func (_e *MockConfig_Expecter) SetLanguage(_a0 interface{}) *MockConfig_SetLanguage_Call
SetLanguage is a helper method to define mock.On call
- _a0 language.Tag
func (*MockConfig_Expecter) SetString ¶ added in v0.42.0
func (_e *MockConfig_Expecter) SetString(_a0 interface{}, _a1 interface{}) *MockConfig_SetString_Call
SetString is a helper method to define mock.On call
- _a0 string
- _a1 string
func (*MockConfig_Expecter) SetStringSlice ¶ added in v0.42.0
func (_e *MockConfig_Expecter) SetStringSlice(_a0 interface{}, _a1 interface{}) *MockConfig_SetStringSlice_Call
SetStringSlice is a helper method to define mock.On call
- _a0 string
- _a1 []string
func (*MockConfig_Expecter) SetTimeZone ¶ added in v0.53.0
func (_e *MockConfig_Expecter) SetTimeZone(_a0 interface{}) *MockConfig_SetTimeZone_Call
SetTimeZone is a helper method to define mock.On call
- _a0 *time.Location
func (*MockConfig_Expecter) TimeZone ¶ added in v0.53.0
func (_e *MockConfig_Expecter) TimeZone() *MockConfig_TimeZone_Call
TimeZone is a helper method to define mock.On call
type MockConfig_GetBool_Call ¶ added in v0.42.0
MockConfig_GetBool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBool'
func (*MockConfig_GetBool_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_GetBool_Call) Return(_a0 bool) *MockConfig_GetBool_Call
func (*MockConfig_GetBool_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_GetBool_Call) Run(run func(_a0 string)) *MockConfig_GetBool_Call
func (*MockConfig_GetBool_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_GetBool_Call) RunAndReturn(run func(string) bool) *MockConfig_GetBool_Call
type MockConfig_GetInt_Call ¶ added in v0.42.0
MockConfig_GetInt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInt'
func (*MockConfig_GetInt_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_GetInt_Call) Return(_a0 int) *MockConfig_GetInt_Call
func (*MockConfig_GetInt_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_GetInt_Call) Run(run func(_a0 string)) *MockConfig_GetInt_Call
func (*MockConfig_GetInt_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_GetInt_Call) RunAndReturn(run func(string) int) *MockConfig_GetInt_Call
type MockConfig_GetStringSlice_Call ¶ added in v0.42.0
MockConfig_GetStringSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStringSlice'
func (*MockConfig_GetStringSlice_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_GetStringSlice_Call) Return(_a0 []string) *MockConfig_GetStringSlice_Call
func (*MockConfig_GetStringSlice_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_GetStringSlice_Call) Run(run func(_a0 string)) *MockConfig_GetStringSlice_Call
func (*MockConfig_GetStringSlice_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_GetStringSlice_Call) RunAndReturn(run func(string) []string) *MockConfig_GetStringSlice_Call
type MockConfig_GetString_Call ¶ added in v0.42.0
MockConfig_GetString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetString'
func (*MockConfig_GetString_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_GetString_Call) Return(_a0 string) *MockConfig_GetString_Call
func (*MockConfig_GetString_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_GetString_Call) Run(run func(_a0 string)) *MockConfig_GetString_Call
func (*MockConfig_GetString_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_GetString_Call) RunAndReturn(run func(string) string) *MockConfig_GetString_Call
type MockConfig_GetWorkWeekdays_Call ¶ added in v0.42.0
MockConfig_GetWorkWeekdays_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkWeekdays'
func (*MockConfig_GetWorkWeekdays_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_GetWorkWeekdays_Call) Return(_a0 []string) *MockConfig_GetWorkWeekdays_Call
func (*MockConfig_GetWorkWeekdays_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_GetWorkWeekdays_Call) Run(run func()) *MockConfig_GetWorkWeekdays_Call
func (*MockConfig_GetWorkWeekdays_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_GetWorkWeekdays_Call) RunAndReturn(run func() []string) *MockConfig_GetWorkWeekdays_Call
type MockConfig_Get_Call ¶ added in v0.42.0
MockConfig_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockConfig_Get_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_Get_Call) Return(_a0 interface{}) *MockConfig_Get_Call
func (*MockConfig_Get_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_Get_Call) Run(run func(_a0 string)) *MockConfig_Get_Call
func (*MockConfig_Get_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_Get_Call) RunAndReturn(run func(string) interface{}) *MockConfig_Get_Call
type MockConfig_InteractivePageSize_Call ¶ added in v0.44.0
MockConfig_InteractivePageSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InteractivePageSize'
func (*MockConfig_InteractivePageSize_Call) Return ¶ added in v0.44.0
func (_c *MockConfig_InteractivePageSize_Call) Return(_a0 int) *MockConfig_InteractivePageSize_Call
func (*MockConfig_InteractivePageSize_Call) Run ¶ added in v0.44.0
func (_c *MockConfig_InteractivePageSize_Call) Run(run func()) *MockConfig_InteractivePageSize_Call
func (*MockConfig_InteractivePageSize_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_InteractivePageSize_Call) RunAndReturn(run func() int) *MockConfig_InteractivePageSize_Call
type MockConfig_IsAllowNameForID_Call ¶ added in v0.42.0
MockConfig_IsAllowNameForID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAllowNameForID'
func (*MockConfig_IsAllowNameForID_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_IsAllowNameForID_Call) Return(_a0 bool) *MockConfig_IsAllowNameForID_Call
func (*MockConfig_IsAllowNameForID_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_IsAllowNameForID_Call) Run(run func()) *MockConfig_IsAllowNameForID_Call
func (*MockConfig_IsAllowNameForID_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_IsAllowNameForID_Call) RunAndReturn(run func() bool) *MockConfig_IsAllowNameForID_Call
type MockConfig_IsDebuging_Call ¶ added in v0.42.0
MockConfig_IsDebuging_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsDebuging'
func (*MockConfig_IsDebuging_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_IsDebuging_Call) Return(_a0 bool) *MockConfig_IsDebuging_Call
func (*MockConfig_IsDebuging_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_IsDebuging_Call) Run(run func()) *MockConfig_IsDebuging_Call
func (*MockConfig_IsDebuging_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_IsDebuging_Call) RunAndReturn(run func() bool) *MockConfig_IsDebuging_Call
type MockConfig_IsInteractive_Call ¶ added in v0.42.0
MockConfig_IsInteractive_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsInteractive'
func (*MockConfig_IsInteractive_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_IsInteractive_Call) Return(_a0 bool) *MockConfig_IsInteractive_Call
func (*MockConfig_IsInteractive_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_IsInteractive_Call) Run(run func()) *MockConfig_IsInteractive_Call
func (*MockConfig_IsInteractive_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_IsInteractive_Call) RunAndReturn(run func() bool) *MockConfig_IsInteractive_Call
type MockConfig_IsSearchProjectWithClientsName_Call ¶ added in v0.48.0
MockConfig_IsSearchProjectWithClientsName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSearchProjectWithClientsName'
func (*MockConfig_IsSearchProjectWithClientsName_Call) Return ¶ added in v0.48.0
func (_c *MockConfig_IsSearchProjectWithClientsName_Call) Return(_a0 bool) *MockConfig_IsSearchProjectWithClientsName_Call
func (*MockConfig_IsSearchProjectWithClientsName_Call) Run ¶ added in v0.48.0
func (_c *MockConfig_IsSearchProjectWithClientsName_Call) Run(run func()) *MockConfig_IsSearchProjectWithClientsName_Call
func (*MockConfig_IsSearchProjectWithClientsName_Call) RunAndReturn ¶ added in v0.48.0
func (_c *MockConfig_IsSearchProjectWithClientsName_Call) RunAndReturn(run func() bool) *MockConfig_IsSearchProjectWithClientsName_Call
type MockConfig_Language_Call ¶ added in v0.53.0
MockConfig_Language_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Language'
func (*MockConfig_Language_Call) Return ¶ added in v0.53.0
func (_c *MockConfig_Language_Call) Return(_a0 language.Tag) *MockConfig_Language_Call
func (*MockConfig_Language_Call) Run ¶ added in v0.53.0
func (_c *MockConfig_Language_Call) Run(run func()) *MockConfig_Language_Call
func (*MockConfig_Language_Call) RunAndReturn ¶ added in v0.53.0
func (_c *MockConfig_Language_Call) RunAndReturn(run func() language.Tag) *MockConfig_Language_Call
type MockConfig_LogLevel_Call ¶ added in v0.42.0
MockConfig_LogLevel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogLevel'
func (*MockConfig_LogLevel_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_LogLevel_Call) Return(_a0 string) *MockConfig_LogLevel_Call
func (*MockConfig_LogLevel_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_LogLevel_Call) Run(run func()) *MockConfig_LogLevel_Call
func (*MockConfig_LogLevel_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_LogLevel_Call) RunAndReturn(run func() string) *MockConfig_LogLevel_Call
type MockConfig_Save_Call ¶ added in v0.42.0
MockConfig_Save_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Save'
func (*MockConfig_Save_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_Save_Call) Return(_a0 error) *MockConfig_Save_Call
func (*MockConfig_Save_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_Save_Call) Run(run func()) *MockConfig_Save_Call
func (*MockConfig_Save_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_Save_Call) RunAndReturn(run func() error) *MockConfig_Save_Call
type MockConfig_SetBool_Call ¶ added in v0.42.0
MockConfig_SetBool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetBool'
func (*MockConfig_SetBool_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_SetBool_Call) Return() *MockConfig_SetBool_Call
func (*MockConfig_SetBool_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_SetBool_Call) Run(run func(_a0 string, _a1 bool)) *MockConfig_SetBool_Call
func (*MockConfig_SetBool_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_SetBool_Call) RunAndReturn(run func(string, bool)) *MockConfig_SetBool_Call
type MockConfig_SetInt_Call ¶ added in v0.42.0
MockConfig_SetInt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetInt'
func (*MockConfig_SetInt_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_SetInt_Call) Return() *MockConfig_SetInt_Call
func (*MockConfig_SetInt_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_SetInt_Call) Run(run func(_a0 string, _a1 int)) *MockConfig_SetInt_Call
func (*MockConfig_SetInt_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_SetInt_Call) RunAndReturn(run func(string, int)) *MockConfig_SetInt_Call
type MockConfig_SetLanguage_Call ¶ added in v0.53.0
MockConfig_SetLanguage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLanguage'
func (*MockConfig_SetLanguage_Call) Return ¶ added in v0.53.0
func (_c *MockConfig_SetLanguage_Call) Return() *MockConfig_SetLanguage_Call
func (*MockConfig_SetLanguage_Call) Run ¶ added in v0.53.0
func (_c *MockConfig_SetLanguage_Call) Run(run func(_a0 language.Tag)) *MockConfig_SetLanguage_Call
func (*MockConfig_SetLanguage_Call) RunAndReturn ¶ added in v0.53.0
func (_c *MockConfig_SetLanguage_Call) RunAndReturn(run func(language.Tag)) *MockConfig_SetLanguage_Call
type MockConfig_SetStringSlice_Call ¶ added in v0.42.0
MockConfig_SetStringSlice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetStringSlice'
func (*MockConfig_SetStringSlice_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_SetStringSlice_Call) Return() *MockConfig_SetStringSlice_Call
func (*MockConfig_SetStringSlice_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_SetStringSlice_Call) Run(run func(_a0 string, _a1 []string)) *MockConfig_SetStringSlice_Call
func (*MockConfig_SetStringSlice_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_SetStringSlice_Call) RunAndReturn(run func(string, []string)) *MockConfig_SetStringSlice_Call
type MockConfig_SetString_Call ¶ added in v0.42.0
MockConfig_SetString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetString'
func (*MockConfig_SetString_Call) Return ¶ added in v0.42.0
func (_c *MockConfig_SetString_Call) Return() *MockConfig_SetString_Call
func (*MockConfig_SetString_Call) Run ¶ added in v0.42.0
func (_c *MockConfig_SetString_Call) Run(run func(_a0 string, _a1 string)) *MockConfig_SetString_Call
func (*MockConfig_SetString_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockConfig_SetString_Call) RunAndReturn(run func(string, string)) *MockConfig_SetString_Call
type MockConfig_SetTimeZone_Call ¶ added in v0.53.0
MockConfig_SetTimeZone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTimeZone'
func (*MockConfig_SetTimeZone_Call) Return ¶ added in v0.53.0
func (_c *MockConfig_SetTimeZone_Call) Return() *MockConfig_SetTimeZone_Call
func (*MockConfig_SetTimeZone_Call) Run ¶ added in v0.53.0
func (_c *MockConfig_SetTimeZone_Call) Run(run func(_a0 *time.Location)) *MockConfig_SetTimeZone_Call
func (*MockConfig_SetTimeZone_Call) RunAndReturn ¶ added in v0.53.0
func (_c *MockConfig_SetTimeZone_Call) RunAndReturn(run func(*time.Location)) *MockConfig_SetTimeZone_Call
type MockConfig_TimeZone_Call ¶ added in v0.53.0
MockConfig_TimeZone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimeZone'
func (*MockConfig_TimeZone_Call) Return ¶ added in v0.53.0
func (_c *MockConfig_TimeZone_Call) Return(_a0 *time.Location) *MockConfig_TimeZone_Call
func (*MockConfig_TimeZone_Call) Run ¶ added in v0.53.0
func (_c *MockConfig_TimeZone_Call) Run(run func()) *MockConfig_TimeZone_Call
func (*MockConfig_TimeZone_Call) RunAndReturn ¶ added in v0.53.0
func (_c *MockConfig_TimeZone_Call) RunAndReturn(run func() *time.Location) *MockConfig_TimeZone_Call
type MockFactory ¶
MockFactory is an autogenerated mock type for the Factory type
func NewMockFactory ¶
func NewMockFactory(t interface { mock.TestingT Cleanup(func()) }) *MockFactory
NewMockFactory creates a new instance of MockFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockFactory) Client ¶
func (_m *MockFactory) Client() (api.Client, error)
Client provides a mock function with given fields:
func (*MockFactory) Config ¶
func (_m *MockFactory) Config() cmdutil.Config
Config provides a mock function with given fields:
func (*MockFactory) EXPECT ¶ added in v0.42.0
func (_m *MockFactory) EXPECT() *MockFactory_Expecter
func (*MockFactory) GetUserID ¶
func (_m *MockFactory) GetUserID() (string, error)
GetUserID provides a mock function with given fields:
func (*MockFactory) GetWorkspace ¶
func (_m *MockFactory) GetWorkspace() (dto.Workspace, error)
GetWorkspace provides a mock function with given fields:
func (*MockFactory) GetWorkspaceID ¶
func (_m *MockFactory) GetWorkspaceID() (string, error)
GetWorkspaceID provides a mock function with given fields:
func (*MockFactory) UI ¶ added in v0.44.0
func (_m *MockFactory) UI() ui.UI
UI provides a mock function with given fields:
func (*MockFactory) Version ¶
func (_m *MockFactory) Version() cmdutil.Version
Version provides a mock function with given fields:
type MockFactory_Client_Call ¶ added in v0.42.0
MockFactory_Client_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Client'
func (*MockFactory_Client_Call) Return ¶ added in v0.42.0
func (_c *MockFactory_Client_Call) Return(_a0 api.Client, _a1 error) *MockFactory_Client_Call
func (*MockFactory_Client_Call) Run ¶ added in v0.42.0
func (_c *MockFactory_Client_Call) Run(run func()) *MockFactory_Client_Call
func (*MockFactory_Client_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockFactory_Client_Call) RunAndReturn(run func() (api.Client, error)) *MockFactory_Client_Call
type MockFactory_Config_Call ¶ added in v0.42.0
MockFactory_Config_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Config'
func (*MockFactory_Config_Call) Return ¶ added in v0.42.0
func (_c *MockFactory_Config_Call) Return(_a0 cmdutil.Config) *MockFactory_Config_Call
func (*MockFactory_Config_Call) Run ¶ added in v0.42.0
func (_c *MockFactory_Config_Call) Run(run func()) *MockFactory_Config_Call
func (*MockFactory_Config_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockFactory_Config_Call) RunAndReturn(run func() cmdutil.Config) *MockFactory_Config_Call
type MockFactory_Expecter ¶ added in v0.42.0
type MockFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*MockFactory_Expecter) Client ¶ added in v0.42.0
func (_e *MockFactory_Expecter) Client() *MockFactory_Client_Call
Client is a helper method to define mock.On call
func (*MockFactory_Expecter) Config ¶ added in v0.42.0
func (_e *MockFactory_Expecter) Config() *MockFactory_Config_Call
Config is a helper method to define mock.On call
func (*MockFactory_Expecter) GetUserID ¶ added in v0.42.0
func (_e *MockFactory_Expecter) GetUserID() *MockFactory_GetUserID_Call
GetUserID is a helper method to define mock.On call
func (*MockFactory_Expecter) GetWorkspace ¶ added in v0.42.0
func (_e *MockFactory_Expecter) GetWorkspace() *MockFactory_GetWorkspace_Call
GetWorkspace is a helper method to define mock.On call
func (*MockFactory_Expecter) GetWorkspaceID ¶ added in v0.42.0
func (_e *MockFactory_Expecter) GetWorkspaceID() *MockFactory_GetWorkspaceID_Call
GetWorkspaceID is a helper method to define mock.On call
func (*MockFactory_Expecter) UI ¶ added in v0.44.0
func (_e *MockFactory_Expecter) UI() *MockFactory_UI_Call
UI is a helper method to define mock.On call
func (*MockFactory_Expecter) Version ¶ added in v0.42.0
func (_e *MockFactory_Expecter) Version() *MockFactory_Version_Call
Version is a helper method to define mock.On call
type MockFactory_GetUserID_Call ¶ added in v0.42.0
MockFactory_GetUserID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserID'
func (*MockFactory_GetUserID_Call) Return ¶ added in v0.42.0
func (_c *MockFactory_GetUserID_Call) Return(_a0 string, _a1 error) *MockFactory_GetUserID_Call
func (*MockFactory_GetUserID_Call) Run ¶ added in v0.42.0
func (_c *MockFactory_GetUserID_Call) Run(run func()) *MockFactory_GetUserID_Call
func (*MockFactory_GetUserID_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockFactory_GetUserID_Call) RunAndReturn(run func() (string, error)) *MockFactory_GetUserID_Call
type MockFactory_GetWorkspaceID_Call ¶ added in v0.42.0
MockFactory_GetWorkspaceID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkspaceID'
func (*MockFactory_GetWorkspaceID_Call) Return ¶ added in v0.42.0
func (_c *MockFactory_GetWorkspaceID_Call) Return(_a0 string, _a1 error) *MockFactory_GetWorkspaceID_Call
func (*MockFactory_GetWorkspaceID_Call) Run ¶ added in v0.42.0
func (_c *MockFactory_GetWorkspaceID_Call) Run(run func()) *MockFactory_GetWorkspaceID_Call
func (*MockFactory_GetWorkspaceID_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockFactory_GetWorkspaceID_Call) RunAndReturn(run func() (string, error)) *MockFactory_GetWorkspaceID_Call
type MockFactory_GetWorkspace_Call ¶ added in v0.42.0
MockFactory_GetWorkspace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkspace'
func (*MockFactory_GetWorkspace_Call) Return ¶ added in v0.42.0
func (_c *MockFactory_GetWorkspace_Call) Return(_a0 dto.Workspace, _a1 error) *MockFactory_GetWorkspace_Call
func (*MockFactory_GetWorkspace_Call) Run ¶ added in v0.42.0
func (_c *MockFactory_GetWorkspace_Call) Run(run func()) *MockFactory_GetWorkspace_Call
func (*MockFactory_GetWorkspace_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockFactory_GetWorkspace_Call) RunAndReturn(run func() (dto.Workspace, error)) *MockFactory_GetWorkspace_Call
type MockFactory_UI_Call ¶ added in v0.44.0
MockFactory_UI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UI'
func (*MockFactory_UI_Call) Return ¶ added in v0.44.0
func (_c *MockFactory_UI_Call) Return(_a0 ui.UI) *MockFactory_UI_Call
func (*MockFactory_UI_Call) Run ¶ added in v0.44.0
func (_c *MockFactory_UI_Call) Run(run func()) *MockFactory_UI_Call
func (*MockFactory_UI_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockFactory_UI_Call) RunAndReturn(run func() ui.UI) *MockFactory_UI_Call
type MockFactory_Version_Call ¶ added in v0.42.0
MockFactory_Version_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Version'
func (*MockFactory_Version_Call) Return ¶ added in v0.42.0
func (_c *MockFactory_Version_Call) Return(_a0 cmdutil.Version) *MockFactory_Version_Call
func (*MockFactory_Version_Call) Run ¶ added in v0.42.0
func (_c *MockFactory_Version_Call) Run(run func()) *MockFactory_Version_Call
func (*MockFactory_Version_Call) RunAndReturn ¶ added in v0.47.0
func (_c *MockFactory_Version_Call) RunAndReturn(run func() cmdutil.Version) *MockFactory_Version_Call
type SimpleConfig ¶ added in v0.42.0
type SimpleConfig struct { WorkweekDays []string Interactive bool InteractivePageSizeNumber int AllowNameForID bool UserID string Workspace string Token string AllowIncomplete bool ShowTask bool DescriptionAutocomplete bool DescriptionAutocompleteDays int ShowTotalDuration bool LogLevelValue string AllowArchivedTags bool SearchProjectWithClientsName bool LanguageTag language.Tag TimeZoneLoc *time.Location }
SimpleConfig is used to set configs for tests were changing the config or accessing them with Get and All is not important
func (*SimpleConfig) All ¶ added in v0.42.0
func (*SimpleConfig) All() map[string]interface{}
func (*SimpleConfig) Get ¶ added in v0.42.0
func (*SimpleConfig) Get(_ string) interface{}
func (*SimpleConfig) GetBool ¶ added in v0.42.0
func (d *SimpleConfig) GetBool(n string) bool
func (*SimpleConfig) GetInt ¶ added in v0.42.0
func (d *SimpleConfig) GetInt(n string) int
func (*SimpleConfig) GetString ¶ added in v0.42.0
func (d *SimpleConfig) GetString(n string) string
func (*SimpleConfig) GetStringSlice ¶ added in v0.42.0
func (d *SimpleConfig) GetStringSlice(n string) []string
func (*SimpleConfig) GetWorkWeekdays ¶ added in v0.42.0
func (d *SimpleConfig) GetWorkWeekdays() []string
func (*SimpleConfig) InteractivePageSize ¶ added in v0.44.0
func (s *SimpleConfig) InteractivePageSize() int
InteractivePageSize sets how many items are shown when prompting projects
func (*SimpleConfig) IsAllowNameForID ¶ added in v0.42.0
func (d *SimpleConfig) IsAllowNameForID() bool
func (*SimpleConfig) IsDebuging ¶ added in v0.42.0
func (d *SimpleConfig) IsDebuging() bool
func (*SimpleConfig) IsInteractive ¶ added in v0.42.0
func (d *SimpleConfig) IsInteractive() bool
func (*SimpleConfig) IsSearchProjectWithClientsName ¶ added in v0.48.0
func (s *SimpleConfig) IsSearchProjectWithClientsName() bool
IsSearchProjectWithClientsName defines if the project name for ID should include the client's name
func (*SimpleConfig) Language ¶ added in v0.53.0
func (d *SimpleConfig) Language() language.Tag
func (*SimpleConfig) LogLevel ¶ added in v0.42.0
func (d *SimpleConfig) LogLevel() string
func (*SimpleConfig) Save ¶ added in v0.42.0
func (*SimpleConfig) Save() error
func (*SimpleConfig) SetBool ¶ added in v0.42.0
func (*SimpleConfig) SetBool(_ string, _ bool)
func (*SimpleConfig) SetInt ¶ added in v0.42.0
func (*SimpleConfig) SetInt(_ string, _ int)
func (*SimpleConfig) SetLanguage ¶ added in v0.53.0
func (d *SimpleConfig) SetLanguage(l language.Tag)
func (*SimpleConfig) SetString ¶ added in v0.42.0
func (*SimpleConfig) SetString(_, _ string)
func (*SimpleConfig) SetStringSlice ¶ added in v0.42.0
func (*SimpleConfig) SetStringSlice(_ string, _ []string)
func (*SimpleConfig) SetTimeZone ¶ added in v0.53.0
func (s *SimpleConfig) SetTimeZone(loc *time.Location)
SetTimeZone changes the timezone used for dates
func (*SimpleConfig) TimeZone ¶ added in v0.53.0
func (s *SimpleConfig) TimeZone() *time.Location
TimeZone which time zone to use for showing date & time