mocks

package
v0.55.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	api.Client
}

type Config

type Config interface {
	cmdutil.Config
}

type Factory

type Factory interface {
	cmdutil.Factory
}

type MockClient

type MockClient struct {
	mock.Mock
}

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 (_mock *MockClient) AddClient(addClientParam api.AddClientParam) (dto.Client, error)

AddClient provides a mock function for the type MockClient

func (*MockClient) AddProject

func (_mock *MockClient) AddProject(addProjectParam api.AddProjectParam) (dto.Project, error)

AddProject provides a mock function for the type MockClient

func (*MockClient) AddTask

func (_mock *MockClient) AddTask(addTaskParam api.AddTaskParam) (dto.Task, error)

AddTask provides a mock function for the type MockClient

func (*MockClient) ChangeInvoiced

func (_mock *MockClient) ChangeInvoiced(changeInvoicedParam api.ChangeInvoicedParam) error

ChangeInvoiced provides a mock function for the type MockClient

func (*MockClient) CreateTimeEntry

func (_mock *MockClient) CreateTimeEntry(createTimeEntryParam api.CreateTimeEntryParam) (dto.TimeEntryImpl, error)

CreateTimeEntry provides a mock function for the type MockClient

func (*MockClient) DeleteProject added in v0.42.0

func (_mock *MockClient) DeleteProject(deleteProjectParam api.DeleteProjectParam) (dto.Project, error)

DeleteProject provides a mock function for the type MockClient

func (*MockClient) DeleteTask

func (_mock *MockClient) DeleteTask(deleteTaskParam api.DeleteTaskParam) (dto.Task, error)

DeleteTask provides a mock function for the type MockClient

func (*MockClient) DeleteTimeEntry

func (_mock *MockClient) DeleteTimeEntry(deleteTimeEntryParam api.DeleteTimeEntryParam) error

DeleteTimeEntry provides a mock function for the type MockClient

func (*MockClient) EXPECT added in v0.42.0

func (_m *MockClient) EXPECT() *MockClient_Expecter

func (*MockClient) GetClients

func (_mock *MockClient) GetClients(getClientsParam api.GetClientsParam) ([]dto.Client, error)

GetClients provides a mock function for the type MockClient

func (*MockClient) GetHydratedTimeEntry

func (_mock *MockClient) GetHydratedTimeEntry(getTimeEntryParam api.GetTimeEntryParam) (*dto.TimeEntry, error)

GetHydratedTimeEntry provides a mock function for the type MockClient

func (*MockClient) GetHydratedTimeEntryInProgress

func (_mock *MockClient) GetHydratedTimeEntryInProgress(getTimeEntryInProgressParam api.GetTimeEntryInProgressParam) (*dto.TimeEntry, error)

GetHydratedTimeEntryInProgress provides a mock function for the type MockClient

func (*MockClient) GetMe

func (_mock *MockClient) GetMe() (dto.User, error)

GetMe provides a mock function for the type MockClient

func (*MockClient) GetProject

func (_mock *MockClient) GetProject(getProjectParam api.GetProjectParam) (*dto.Project, error)

GetProject provides a mock function for the type MockClient

func (*MockClient) GetProjects

func (_mock *MockClient) GetProjects(getProjectsParam api.GetProjectsParam) ([]dto.Project, error)

GetProjects provides a mock function for the type MockClient

func (*MockClient) GetTag

func (_mock *MockClient) GetTag(getTagParam api.GetTagParam) (*dto.Tag, error)

GetTag provides a mock function for the type MockClient

func (*MockClient) GetTags

func (_mock *MockClient) GetTags(getTagsParam api.GetTagsParam) ([]dto.Tag, error)

GetTags provides a mock function for the type MockClient

func (*MockClient) GetTask

func (_mock *MockClient) GetTask(getTaskParam api.GetTaskParam) (dto.Task, error)

GetTask provides a mock function for the type MockClient

func (*MockClient) GetTasks

func (_mock *MockClient) GetTasks(getTasksParam api.GetTasksParam) ([]dto.Task, error)

GetTasks provides a mock function for the type MockClient

func (*MockClient) GetTimeEntry

func (_mock *MockClient) GetTimeEntry(getTimeEntryParam api.GetTimeEntryParam) (*dto.TimeEntryImpl, error)

GetTimeEntry provides a mock function for the type MockClient

func (*MockClient) GetTimeEntryInProgress

func (_mock *MockClient) GetTimeEntryInProgress(getTimeEntryInProgressParam api.GetTimeEntryInProgressParam) (*dto.TimeEntryImpl, error)

GetTimeEntryInProgress provides a mock function for the type MockClient

func (*MockClient) GetUser

func (_mock *MockClient) GetUser(getUser api.GetUser) (dto.User, error)

GetUser provides a mock function for the type MockClient

func (*MockClient) GetUserTimeEntries

func (_mock *MockClient) GetUserTimeEntries(getUserTimeEntriesParam api.GetUserTimeEntriesParam) ([]dto.TimeEntryImpl, error)

GetUserTimeEntries provides a mock function for the type MockClient

func (*MockClient) GetUsersHydratedTimeEntries

func (_mock *MockClient) GetUsersHydratedTimeEntries(getUserTimeEntriesParam api.GetUserTimeEntriesParam) ([]dto.TimeEntry, error)

GetUsersHydratedTimeEntries provides a mock function for the type MockClient

func (*MockClient) GetWorkspace

func (_mock *MockClient) GetWorkspace(getWorkspace api.GetWorkspace) (dto.Workspace, error)

GetWorkspace provides a mock function for the type MockClient

func (*MockClient) GetWorkspaces

func (_mock *MockClient) GetWorkspaces(getWorkspaces api.GetWorkspaces) ([]dto.Workspace, error)

GetWorkspaces provides a mock function for the type MockClient

func (*MockClient) Log

func (_mock *MockClient) Log(logParam api.LogParam) ([]dto.TimeEntry, error)

Log provides a mock function for the type MockClient

func (*MockClient) LogRange

func (_mock *MockClient) LogRange(logRangeParam api.LogRangeParam) ([]dto.TimeEntry, error)

LogRange provides a mock function for the type MockClient

func (*MockClient) Out

func (_mock *MockClient) Out(outParam api.OutParam) error

Out provides a mock function for the type MockClient

func (*MockClient) SetDebugLogger

func (_mock *MockClient) SetDebugLogger(logger api.Logger) api.Client

SetDebugLogger provides a mock function for the type MockClient

func (*MockClient) SetInfoLogger

func (_mock *MockClient) SetInfoLogger(logger api.Logger) api.Client

SetInfoLogger provides a mock function for the type MockClient

func (*MockClient) UpdateProject added in v0.40.0

func (_mock *MockClient) UpdateProject(updateProjectParam api.UpdateProjectParam) (dto.Project, error)

UpdateProject provides a mock function for the type MockClient

func (*MockClient) UpdateProjectEstimate added in v0.42.0

func (_mock *MockClient) UpdateProjectEstimate(updateProjectEstimateParam api.UpdateProjectEstimateParam) (dto.Project, error)

UpdateProjectEstimate provides a mock function for the type MockClient

func (*MockClient) UpdateProjectMemberships added in v0.42.0

func (_mock *MockClient) UpdateProjectMemberships(updateProjectMembershipsParam api.UpdateProjectMembershipsParam) (dto.Project, error)

UpdateProjectMemberships provides a mock function for the type MockClient

func (*MockClient) UpdateProjectTemplate added in v0.42.0

func (_mock *MockClient) UpdateProjectTemplate(updateProjectTemplateParam api.UpdateProjectTemplateParam) (dto.Project, error)

UpdateProjectTemplate provides a mock function for the type MockClient

func (*MockClient) UpdateProjectUserBillableRate added in v0.42.0

func (_mock *MockClient) UpdateProjectUserBillableRate(updateProjectUserRateParam api.UpdateProjectUserRateParam) (dto.Project, error)

UpdateProjectUserBillableRate provides a mock function for the type MockClient

func (*MockClient) UpdateProjectUserCostRate added in v0.42.0

func (_mock *MockClient) UpdateProjectUserCostRate(updateProjectUserRateParam api.UpdateProjectUserRateParam) (dto.Project, error)

UpdateProjectUserCostRate provides a mock function for the type MockClient

func (*MockClient) UpdateTask

func (_mock *MockClient) UpdateTask(updateTaskParam api.UpdateTaskParam) (dto.Task, error)

UpdateTask provides a mock function for the type MockClient

func (*MockClient) UpdateTimeEntry

func (_mock *MockClient) UpdateTimeEntry(updateTimeEntryParam api.UpdateTimeEntryParam) (dto.TimeEntryImpl, error)

UpdateTimeEntry provides a mock function for the type MockClient

func (*MockClient) WorkspaceUsers

func (_mock *MockClient) WorkspaceUsers(workspaceUsersParam api.WorkspaceUsersParam) ([]dto.User, error)

WorkspaceUsers provides a mock function for the type MockClient

type MockClient_AddClient_Call added in v0.42.0

type MockClient_AddClient_Call struct {
	*mock.Call
}

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 (*MockClient_AddClient_Call) Run added in v0.42.0

func (_c *MockClient_AddClient_Call) Run(run func(addClientParam api.AddClientParam)) *MockClient_AddClient_Call

func (*MockClient_AddClient_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_AddClient_Call) RunAndReturn(run func(addClientParam api.AddClientParam) (dto.Client, error)) *MockClient_AddClient_Call

type MockClient_AddProject_Call added in v0.42.0

type MockClient_AddProject_Call struct {
	*mock.Call
}

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 (*MockClient_AddProject_Call) Run added in v0.42.0

func (_c *MockClient_AddProject_Call) Run(run func(addProjectParam api.AddProjectParam)) *MockClient_AddProject_Call

func (*MockClient_AddProject_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_AddProject_Call) RunAndReturn(run func(addProjectParam api.AddProjectParam) (dto.Project, error)) *MockClient_AddProject_Call

type MockClient_AddTask_Call added in v0.42.0

type MockClient_AddTask_Call struct {
	*mock.Call
}

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 (*MockClient_AddTask_Call) Run added in v0.42.0

func (_c *MockClient_AddTask_Call) Run(run func(addTaskParam api.AddTaskParam)) *MockClient_AddTask_Call

func (*MockClient_AddTask_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_AddTask_Call) RunAndReturn(run func(addTaskParam api.AddTaskParam) (dto.Task, error)) *MockClient_AddTask_Call

type MockClient_ChangeInvoiced_Call added in v0.42.0

type MockClient_ChangeInvoiced_Call struct {
	*mock.Call
}

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 (*MockClient_ChangeInvoiced_Call) Run added in v0.42.0

func (*MockClient_ChangeInvoiced_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_ChangeInvoiced_Call) RunAndReturn(run func(changeInvoicedParam api.ChangeInvoicedParam) error) *MockClient_ChangeInvoiced_Call

type MockClient_CreateTimeEntry_Call added in v0.42.0

type MockClient_CreateTimeEntry_Call struct {
	*mock.Call
}

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 (*MockClient_CreateTimeEntry_Call) Run added in v0.42.0

func (*MockClient_CreateTimeEntry_Call) RunAndReturn added in v0.47.0

type MockClient_DeleteProject_Call added in v0.42.0

type MockClient_DeleteProject_Call struct {
	*mock.Call
}

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 (*MockClient_DeleteProject_Call) Run added in v0.42.0

func (*MockClient_DeleteProject_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_DeleteProject_Call) RunAndReturn(run func(deleteProjectParam api.DeleteProjectParam) (dto.Project, error)) *MockClient_DeleteProject_Call

type MockClient_DeleteTask_Call added in v0.42.0

type MockClient_DeleteTask_Call struct {
	*mock.Call
}

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 (*MockClient_DeleteTask_Call) Run added in v0.42.0

func (_c *MockClient_DeleteTask_Call) Run(run func(deleteTaskParam api.DeleteTaskParam)) *MockClient_DeleteTask_Call

func (*MockClient_DeleteTask_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_DeleteTask_Call) RunAndReturn(run func(deleteTaskParam api.DeleteTaskParam) (dto.Task, error)) *MockClient_DeleteTask_Call

type MockClient_DeleteTimeEntry_Call added in v0.42.0

type MockClient_DeleteTimeEntry_Call struct {
	*mock.Call
}

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 (*MockClient_DeleteTimeEntry_Call) Run added in v0.42.0

func (*MockClient_DeleteTimeEntry_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_DeleteTimeEntry_Call) RunAndReturn(run func(deleteTimeEntryParam 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(addClientParam interface{}) *MockClient_AddClient_Call

AddClient is a helper method to define mock.On call

  • addClientParam api.AddClientParam

func (*MockClient_Expecter) AddProject added in v0.42.0

func (_e *MockClient_Expecter) AddProject(addProjectParam interface{}) *MockClient_AddProject_Call

AddProject is a helper method to define mock.On call

  • addProjectParam api.AddProjectParam

func (*MockClient_Expecter) AddTask added in v0.42.0

func (_e *MockClient_Expecter) AddTask(addTaskParam interface{}) *MockClient_AddTask_Call

AddTask is a helper method to define mock.On call

  • addTaskParam api.AddTaskParam

func (*MockClient_Expecter) ChangeInvoiced added in v0.42.0

func (_e *MockClient_Expecter) ChangeInvoiced(changeInvoicedParam interface{}) *MockClient_ChangeInvoiced_Call

ChangeInvoiced is a helper method to define mock.On call

  • changeInvoicedParam api.ChangeInvoicedParam

func (*MockClient_Expecter) CreateTimeEntry added in v0.42.0

func (_e *MockClient_Expecter) CreateTimeEntry(createTimeEntryParam interface{}) *MockClient_CreateTimeEntry_Call

CreateTimeEntry is a helper method to define mock.On call

  • createTimeEntryParam api.CreateTimeEntryParam

func (*MockClient_Expecter) DeleteProject added in v0.42.0

func (_e *MockClient_Expecter) DeleteProject(deleteProjectParam interface{}) *MockClient_DeleteProject_Call

DeleteProject is a helper method to define mock.On call

  • deleteProjectParam api.DeleteProjectParam

func (*MockClient_Expecter) DeleteTask added in v0.42.0

func (_e *MockClient_Expecter) DeleteTask(deleteTaskParam interface{}) *MockClient_DeleteTask_Call

DeleteTask is a helper method to define mock.On call

  • deleteTaskParam api.DeleteTaskParam

func (*MockClient_Expecter) DeleteTimeEntry added in v0.42.0

func (_e *MockClient_Expecter) DeleteTimeEntry(deleteTimeEntryParam interface{}) *MockClient_DeleteTimeEntry_Call

DeleteTimeEntry is a helper method to define mock.On call

  • deleteTimeEntryParam api.DeleteTimeEntryParam

func (*MockClient_Expecter) GetClients added in v0.42.0

func (_e *MockClient_Expecter) GetClients(getClientsParam interface{}) *MockClient_GetClients_Call

GetClients is a helper method to define mock.On call

  • getClientsParam api.GetClientsParam

func (*MockClient_Expecter) GetHydratedTimeEntry added in v0.42.0

func (_e *MockClient_Expecter) GetHydratedTimeEntry(getTimeEntryParam interface{}) *MockClient_GetHydratedTimeEntry_Call

GetHydratedTimeEntry is a helper method to define mock.On call

  • getTimeEntryParam api.GetTimeEntryParam

func (*MockClient_Expecter) GetHydratedTimeEntryInProgress added in v0.42.0

func (_e *MockClient_Expecter) GetHydratedTimeEntryInProgress(getTimeEntryInProgressParam interface{}) *MockClient_GetHydratedTimeEntryInProgress_Call

GetHydratedTimeEntryInProgress is a helper method to define mock.On call

  • getTimeEntryInProgressParam api.GetTimeEntryInProgressParam

func (*MockClient_Expecter) GetMe added in v0.42.0

GetMe is a helper method to define mock.On call

func (*MockClient_Expecter) GetProject added in v0.42.0

func (_e *MockClient_Expecter) GetProject(getProjectParam interface{}) *MockClient_GetProject_Call

GetProject is a helper method to define mock.On call

  • getProjectParam api.GetProjectParam

func (*MockClient_Expecter) GetProjects added in v0.42.0

func (_e *MockClient_Expecter) GetProjects(getProjectsParam interface{}) *MockClient_GetProjects_Call

GetProjects is a helper method to define mock.On call

  • getProjectsParam api.GetProjectsParam

func (*MockClient_Expecter) GetTag added in v0.42.0

func (_e *MockClient_Expecter) GetTag(getTagParam interface{}) *MockClient_GetTag_Call

GetTag is a helper method to define mock.On call

  • getTagParam api.GetTagParam

func (*MockClient_Expecter) GetTags added in v0.42.0

func (_e *MockClient_Expecter) GetTags(getTagsParam interface{}) *MockClient_GetTags_Call

GetTags is a helper method to define mock.On call

  • getTagsParam api.GetTagsParam

func (*MockClient_Expecter) GetTask added in v0.42.0

func (_e *MockClient_Expecter) GetTask(getTaskParam interface{}) *MockClient_GetTask_Call

GetTask is a helper method to define mock.On call

  • getTaskParam api.GetTaskParam

func (*MockClient_Expecter) GetTasks added in v0.42.0

func (_e *MockClient_Expecter) GetTasks(getTasksParam interface{}) *MockClient_GetTasks_Call

GetTasks is a helper method to define mock.On call

  • getTasksParam api.GetTasksParam

func (*MockClient_Expecter) GetTimeEntry added in v0.42.0

func (_e *MockClient_Expecter) GetTimeEntry(getTimeEntryParam interface{}) *MockClient_GetTimeEntry_Call

GetTimeEntry is a helper method to define mock.On call

  • getTimeEntryParam api.GetTimeEntryParam

func (*MockClient_Expecter) GetTimeEntryInProgress added in v0.42.0

func (_e *MockClient_Expecter) GetTimeEntryInProgress(getTimeEntryInProgressParam interface{}) *MockClient_GetTimeEntryInProgress_Call

GetTimeEntryInProgress is a helper method to define mock.On call

  • getTimeEntryInProgressParam api.GetTimeEntryInProgressParam

func (*MockClient_Expecter) GetUser added in v0.42.0

func (_e *MockClient_Expecter) GetUser(getUser interface{}) *MockClient_GetUser_Call

GetUser is a helper method to define mock.On call

  • getUser api.GetUser

func (*MockClient_Expecter) GetUserTimeEntries added in v0.42.0

func (_e *MockClient_Expecter) GetUserTimeEntries(getUserTimeEntriesParam interface{}) *MockClient_GetUserTimeEntries_Call

GetUserTimeEntries is a helper method to define mock.On call

  • getUserTimeEntriesParam api.GetUserTimeEntriesParam

func (*MockClient_Expecter) GetUsersHydratedTimeEntries added in v0.42.0

func (_e *MockClient_Expecter) GetUsersHydratedTimeEntries(getUserTimeEntriesParam interface{}) *MockClient_GetUsersHydratedTimeEntries_Call

GetUsersHydratedTimeEntries is a helper method to define mock.On call

  • getUserTimeEntriesParam api.GetUserTimeEntriesParam

func (*MockClient_Expecter) GetWorkspace added in v0.42.0

func (_e *MockClient_Expecter) GetWorkspace(getWorkspace interface{}) *MockClient_GetWorkspace_Call

GetWorkspace is a helper method to define mock.On call

  • getWorkspace api.GetWorkspace

func (*MockClient_Expecter) GetWorkspaces added in v0.42.0

func (_e *MockClient_Expecter) GetWorkspaces(getWorkspaces interface{}) *MockClient_GetWorkspaces_Call

GetWorkspaces is a helper method to define mock.On call

  • getWorkspaces api.GetWorkspaces

func (*MockClient_Expecter) Log added in v0.42.0

func (_e *MockClient_Expecter) Log(logParam interface{}) *MockClient_Log_Call

Log is a helper method to define mock.On call

  • logParam api.LogParam

func (*MockClient_Expecter) LogRange added in v0.42.0

func (_e *MockClient_Expecter) LogRange(logRangeParam interface{}) *MockClient_LogRange_Call

LogRange is a helper method to define mock.On call

  • logRangeParam api.LogRangeParam

func (*MockClient_Expecter) Out added in v0.42.0

func (_e *MockClient_Expecter) Out(outParam interface{}) *MockClient_Out_Call

Out is a helper method to define mock.On call

  • outParam 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(updateProjectParam interface{}) *MockClient_UpdateProject_Call

UpdateProject is a helper method to define mock.On call

  • updateProjectParam api.UpdateProjectParam

func (*MockClient_Expecter) UpdateProjectEstimate added in v0.42.0

func (_e *MockClient_Expecter) UpdateProjectEstimate(updateProjectEstimateParam interface{}) *MockClient_UpdateProjectEstimate_Call

UpdateProjectEstimate is a helper method to define mock.On call

  • updateProjectEstimateParam api.UpdateProjectEstimateParam

func (*MockClient_Expecter) UpdateProjectMemberships added in v0.42.0

func (_e *MockClient_Expecter) UpdateProjectMemberships(updateProjectMembershipsParam interface{}) *MockClient_UpdateProjectMemberships_Call

UpdateProjectMemberships is a helper method to define mock.On call

  • updateProjectMembershipsParam api.UpdateProjectMembershipsParam

func (*MockClient_Expecter) UpdateProjectTemplate added in v0.42.0

func (_e *MockClient_Expecter) UpdateProjectTemplate(updateProjectTemplateParam interface{}) *MockClient_UpdateProjectTemplate_Call

UpdateProjectTemplate is a helper method to define mock.On call

  • updateProjectTemplateParam api.UpdateProjectTemplateParam

func (*MockClient_Expecter) UpdateProjectUserBillableRate added in v0.42.0

func (_e *MockClient_Expecter) UpdateProjectUserBillableRate(updateProjectUserRateParam interface{}) *MockClient_UpdateProjectUserBillableRate_Call

UpdateProjectUserBillableRate is a helper method to define mock.On call

  • updateProjectUserRateParam api.UpdateProjectUserRateParam

func (*MockClient_Expecter) UpdateProjectUserCostRate added in v0.42.0

func (_e *MockClient_Expecter) UpdateProjectUserCostRate(updateProjectUserRateParam interface{}) *MockClient_UpdateProjectUserCostRate_Call

UpdateProjectUserCostRate is a helper method to define mock.On call

  • updateProjectUserRateParam api.UpdateProjectUserRateParam

func (*MockClient_Expecter) UpdateTask added in v0.42.0

func (_e *MockClient_Expecter) UpdateTask(updateTaskParam interface{}) *MockClient_UpdateTask_Call

UpdateTask is a helper method to define mock.On call

  • updateTaskParam api.UpdateTaskParam

func (*MockClient_Expecter) UpdateTimeEntry added in v0.42.0

func (_e *MockClient_Expecter) UpdateTimeEntry(updateTimeEntryParam interface{}) *MockClient_UpdateTimeEntry_Call

UpdateTimeEntry is a helper method to define mock.On call

  • updateTimeEntryParam api.UpdateTimeEntryParam

func (*MockClient_Expecter) WorkspaceUsers added in v0.42.0

func (_e *MockClient_Expecter) WorkspaceUsers(workspaceUsersParam interface{}) *MockClient_WorkspaceUsers_Call

WorkspaceUsers is a helper method to define mock.On call

  • workspaceUsersParam api.WorkspaceUsersParam

type MockClient_GetClients_Call added in v0.42.0

type MockClient_GetClients_Call struct {
	*mock.Call
}

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 (*MockClient_GetClients_Call) Run added in v0.42.0

func (_c *MockClient_GetClients_Call) Run(run func(getClientsParam api.GetClientsParam)) *MockClient_GetClients_Call

func (*MockClient_GetClients_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_GetClients_Call) RunAndReturn(run func(getClientsParam api.GetClientsParam) ([]dto.Client, error)) *MockClient_GetClients_Call

type MockClient_GetHydratedTimeEntryInProgress_Call added in v0.42.0

type MockClient_GetHydratedTimeEntryInProgress_Call struct {
	*mock.Call
}

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 (*MockClient_GetHydratedTimeEntryInProgress_Call) Run added in v0.42.0

func (*MockClient_GetHydratedTimeEntryInProgress_Call) RunAndReturn added in v0.47.0

type MockClient_GetHydratedTimeEntry_Call added in v0.42.0

type MockClient_GetHydratedTimeEntry_Call struct {
	*mock.Call
}

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 (*MockClient_GetHydratedTimeEntry_Call) Run added in v0.42.0

func (*MockClient_GetHydratedTimeEntry_Call) RunAndReturn added in v0.47.0

type MockClient_GetMe_Call added in v0.42.0

type MockClient_GetMe_Call struct {
	*mock.Call
}

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(user dto.User, err 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

type MockClient_GetProject_Call struct {
	*mock.Call
}

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 (*MockClient_GetProject_Call) Run added in v0.42.0

func (_c *MockClient_GetProject_Call) Run(run func(getProjectParam api.GetProjectParam)) *MockClient_GetProject_Call

func (*MockClient_GetProject_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_GetProject_Call) RunAndReturn(run func(getProjectParam api.GetProjectParam) (*dto.Project, error)) *MockClient_GetProject_Call

type MockClient_GetProjects_Call added in v0.42.0

type MockClient_GetProjects_Call struct {
	*mock.Call
}

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 (*MockClient_GetProjects_Call) Run added in v0.42.0

func (_c *MockClient_GetProjects_Call) Run(run func(getProjectsParam api.GetProjectsParam)) *MockClient_GetProjects_Call

func (*MockClient_GetProjects_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_GetProjects_Call) RunAndReturn(run func(getProjectsParam api.GetProjectsParam) ([]dto.Project, error)) *MockClient_GetProjects_Call

type MockClient_GetTag_Call added in v0.42.0

type MockClient_GetTag_Call struct {
	*mock.Call
}

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 (*MockClient_GetTag_Call) Run added in v0.42.0

func (_c *MockClient_GetTag_Call) Run(run func(getTagParam api.GetTagParam)) *MockClient_GetTag_Call

func (*MockClient_GetTag_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_GetTag_Call) RunAndReturn(run func(getTagParam api.GetTagParam) (*dto.Tag, error)) *MockClient_GetTag_Call

type MockClient_GetTags_Call added in v0.42.0

type MockClient_GetTags_Call struct {
	*mock.Call
}

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(tags []dto.Tag, err error) *MockClient_GetTags_Call

func (*MockClient_GetTags_Call) Run added in v0.42.0

func (_c *MockClient_GetTags_Call) Run(run func(getTagsParam api.GetTagsParam)) *MockClient_GetTags_Call

func (*MockClient_GetTags_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_GetTags_Call) RunAndReturn(run func(getTagsParam api.GetTagsParam) ([]dto.Tag, error)) *MockClient_GetTags_Call

type MockClient_GetTask_Call added in v0.42.0

type MockClient_GetTask_Call struct {
	*mock.Call
}

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 (*MockClient_GetTask_Call) Run added in v0.42.0

func (_c *MockClient_GetTask_Call) Run(run func(getTaskParam api.GetTaskParam)) *MockClient_GetTask_Call

func (*MockClient_GetTask_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_GetTask_Call) RunAndReturn(run func(getTaskParam api.GetTaskParam) (dto.Task, error)) *MockClient_GetTask_Call

type MockClient_GetTasks_Call added in v0.42.0

type MockClient_GetTasks_Call struct {
	*mock.Call
}

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 (*MockClient_GetTasks_Call) Run added in v0.42.0

func (_c *MockClient_GetTasks_Call) Run(run func(getTasksParam api.GetTasksParam)) *MockClient_GetTasks_Call

func (*MockClient_GetTasks_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_GetTasks_Call) RunAndReturn(run func(getTasksParam api.GetTasksParam) ([]dto.Task, error)) *MockClient_GetTasks_Call

type MockClient_GetTimeEntryInProgress_Call added in v0.42.0

type MockClient_GetTimeEntryInProgress_Call struct {
	*mock.Call
}

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 (*MockClient_GetTimeEntryInProgress_Call) Run added in v0.42.0

func (*MockClient_GetTimeEntryInProgress_Call) RunAndReturn added in v0.47.0

type MockClient_GetTimeEntry_Call added in v0.42.0

type MockClient_GetTimeEntry_Call struct {
	*mock.Call
}

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 (*MockClient_GetTimeEntry_Call) Run added in v0.42.0

func (*MockClient_GetTimeEntry_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_GetTimeEntry_Call) RunAndReturn(run func(getTimeEntryParam api.GetTimeEntryParam) (*dto.TimeEntryImpl, error)) *MockClient_GetTimeEntry_Call

type MockClient_GetUserTimeEntries_Call added in v0.42.0

type MockClient_GetUserTimeEntries_Call struct {
	*mock.Call
}

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 (*MockClient_GetUserTimeEntries_Call) Run added in v0.42.0

func (*MockClient_GetUserTimeEntries_Call) RunAndReturn added in v0.47.0

type MockClient_GetUser_Call added in v0.42.0

type MockClient_GetUser_Call struct {
	*mock.Call
}

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 (*MockClient_GetUser_Call) Run added in v0.42.0

func (_c *MockClient_GetUser_Call) Run(run func(getUser api.GetUser)) *MockClient_GetUser_Call

func (*MockClient_GetUser_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_GetUser_Call) RunAndReturn(run func(getUser api.GetUser) (dto.User, error)) *MockClient_GetUser_Call

type MockClient_GetUsersHydratedTimeEntries_Call added in v0.42.0

type MockClient_GetUsersHydratedTimeEntries_Call struct {
	*mock.Call
}

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 (*MockClient_GetUsersHydratedTimeEntries_Call) Run added in v0.42.0

func (*MockClient_GetUsersHydratedTimeEntries_Call) RunAndReturn added in v0.47.0

type MockClient_GetWorkspace_Call added in v0.42.0

type MockClient_GetWorkspace_Call struct {
	*mock.Call
}

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 (*MockClient_GetWorkspace_Call) Run added in v0.42.0

func (*MockClient_GetWorkspace_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_GetWorkspace_Call) RunAndReturn(run func(getWorkspace api.GetWorkspace) (dto.Workspace, error)) *MockClient_GetWorkspace_Call

type MockClient_GetWorkspaces_Call added in v0.42.0

type MockClient_GetWorkspaces_Call struct {
	*mock.Call
}

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 (*MockClient_GetWorkspaces_Call) Run added in v0.42.0

func (*MockClient_GetWorkspaces_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_GetWorkspaces_Call) RunAndReturn(run func(getWorkspaces api.GetWorkspaces) ([]dto.Workspace, error)) *MockClient_GetWorkspaces_Call

type MockClient_LogRange_Call added in v0.42.0

type MockClient_LogRange_Call struct {
	*mock.Call
}

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(timeEntrys []dto.TimeEntry, err error) *MockClient_LogRange_Call

func (*MockClient_LogRange_Call) Run added in v0.42.0

func (_c *MockClient_LogRange_Call) Run(run func(logRangeParam api.LogRangeParam)) *MockClient_LogRange_Call

func (*MockClient_LogRange_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_LogRange_Call) RunAndReturn(run func(logRangeParam api.LogRangeParam) ([]dto.TimeEntry, error)) *MockClient_LogRange_Call

type MockClient_Log_Call added in v0.42.0

type MockClient_Log_Call struct {
	*mock.Call
}

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(timeEntrys []dto.TimeEntry, err error) *MockClient_Log_Call

func (*MockClient_Log_Call) Run added in v0.42.0

func (_c *MockClient_Log_Call) Run(run func(logParam api.LogParam)) *MockClient_Log_Call

func (*MockClient_Log_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_Log_Call) RunAndReturn(run func(logParam api.LogParam) ([]dto.TimeEntry, error)) *MockClient_Log_Call

type MockClient_Out_Call added in v0.42.0

type MockClient_Out_Call struct {
	*mock.Call
}

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 (*MockClient_Out_Call) Run added in v0.42.0

func (_c *MockClient_Out_Call) Run(run func(outParam api.OutParam)) *MockClient_Out_Call

func (*MockClient_Out_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_Out_Call) RunAndReturn(run func(outParam api.OutParam) error) *MockClient_Out_Call

type MockClient_SetDebugLogger_Call added in v0.42.0

type MockClient_SetDebugLogger_Call struct {
	*mock.Call
}

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 (*MockClient_SetDebugLogger_Call) Run added in v0.42.0

func (*MockClient_SetDebugLogger_Call) RunAndReturn added in v0.47.0

type MockClient_SetInfoLogger_Call added in v0.42.0

type MockClient_SetInfoLogger_Call struct {
	*mock.Call
}

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 (*MockClient_SetInfoLogger_Call) Run added in v0.42.0

func (*MockClient_SetInfoLogger_Call) RunAndReturn added in v0.47.0

type MockClient_UpdateProjectEstimate_Call added in v0.42.0

type MockClient_UpdateProjectEstimate_Call struct {
	*mock.Call
}

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 (*MockClient_UpdateProjectEstimate_Call) Run added in v0.42.0

func (*MockClient_UpdateProjectEstimate_Call) RunAndReturn added in v0.47.0

type MockClient_UpdateProjectMemberships_Call added in v0.42.0

type MockClient_UpdateProjectMemberships_Call struct {
	*mock.Call
}

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 (*MockClient_UpdateProjectMemberships_Call) Run added in v0.42.0

func (*MockClient_UpdateProjectMemberships_Call) RunAndReturn added in v0.47.0

type MockClient_UpdateProjectTemplate_Call added in v0.42.0

type MockClient_UpdateProjectTemplate_Call struct {
	*mock.Call
}

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 (*MockClient_UpdateProjectTemplate_Call) Run added in v0.42.0

func (*MockClient_UpdateProjectTemplate_Call) RunAndReturn added in v0.47.0

type MockClient_UpdateProjectUserBillableRate_Call added in v0.42.0

type MockClient_UpdateProjectUserBillableRate_Call struct {
	*mock.Call
}

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 (*MockClient_UpdateProjectUserBillableRate_Call) Run added in v0.42.0

func (*MockClient_UpdateProjectUserBillableRate_Call) RunAndReturn added in v0.47.0

type MockClient_UpdateProjectUserCostRate_Call added in v0.42.0

type MockClient_UpdateProjectUserCostRate_Call struct {
	*mock.Call
}

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 (*MockClient_UpdateProjectUserCostRate_Call) Run added in v0.42.0

func (*MockClient_UpdateProjectUserCostRate_Call) RunAndReturn added in v0.47.0

type MockClient_UpdateProject_Call added in v0.42.0

type MockClient_UpdateProject_Call struct {
	*mock.Call
}

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 (*MockClient_UpdateProject_Call) Run added in v0.42.0

func (*MockClient_UpdateProject_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_UpdateProject_Call) RunAndReturn(run func(updateProjectParam api.UpdateProjectParam) (dto.Project, error)) *MockClient_UpdateProject_Call

type MockClient_UpdateTask_Call added in v0.42.0

type MockClient_UpdateTask_Call struct {
	*mock.Call
}

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 (*MockClient_UpdateTask_Call) Run added in v0.42.0

func (_c *MockClient_UpdateTask_Call) Run(run func(updateTaskParam api.UpdateTaskParam)) *MockClient_UpdateTask_Call

func (*MockClient_UpdateTask_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_UpdateTask_Call) RunAndReturn(run func(updateTaskParam api.UpdateTaskParam) (dto.Task, error)) *MockClient_UpdateTask_Call

type MockClient_UpdateTimeEntry_Call added in v0.42.0

type MockClient_UpdateTimeEntry_Call struct {
	*mock.Call
}

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 (*MockClient_UpdateTimeEntry_Call) Run added in v0.42.0

func (*MockClient_UpdateTimeEntry_Call) RunAndReturn added in v0.47.0

type MockClient_WorkspaceUsers_Call added in v0.42.0

type MockClient_WorkspaceUsers_Call struct {
	*mock.Call
}

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 (*MockClient_WorkspaceUsers_Call) Run added in v0.42.0

func (*MockClient_WorkspaceUsers_Call) RunAndReturn added in v0.47.0

func (_c *MockClient_WorkspaceUsers_Call) RunAndReturn(run func(workspaceUsersParam api.WorkspaceUsersParam) ([]dto.User, error)) *MockClient_WorkspaceUsers_Call

type MockConfig

type MockConfig struct {
	mock.Mock
}

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 (_mock *MockConfig) All() map[string]interface{}

All provides a mock function for the type MockConfig

func (*MockConfig) EXPECT added in v0.42.0

func (_m *MockConfig) EXPECT() *MockConfig_Expecter

func (*MockConfig) Get

func (_mock *MockConfig) Get(s string) interface{}

Get provides a mock function for the type MockConfig

func (*MockConfig) GetBool

func (_mock *MockConfig) GetBool(s string) bool

GetBool provides a mock function for the type MockConfig

func (*MockConfig) GetInt

func (_mock *MockConfig) GetInt(s string) int

GetInt provides a mock function for the type MockConfig

func (*MockConfig) GetString

func (_mock *MockConfig) GetString(s string) string

GetString provides a mock function for the type MockConfig

func (*MockConfig) GetStringSlice

func (_mock *MockConfig) GetStringSlice(s string) []string

GetStringSlice provides a mock function for the type MockConfig

func (*MockConfig) GetWorkWeekdays

func (_mock *MockConfig) GetWorkWeekdays() []string

GetWorkWeekdays provides a mock function for the type MockConfig

func (*MockConfig) InteractivePageSize added in v0.44.0

func (_mock *MockConfig) InteractivePageSize() int

InteractivePageSize provides a mock function for the type MockConfig

func (*MockConfig) IsAllowNameForID

func (_mock *MockConfig) IsAllowNameForID() bool

IsAllowNameForID provides a mock function for the type MockConfig

func (*MockConfig) IsDebuging

func (_mock *MockConfig) IsDebuging() bool

IsDebuging provides a mock function for the type MockConfig

func (*MockConfig) IsInteractive

func (_mock *MockConfig) IsInteractive() bool

IsInteractive provides a mock function for the type MockConfig

func (*MockConfig) IsSearchProjectWithClientsName added in v0.48.0

func (_mock *MockConfig) IsSearchProjectWithClientsName() bool

IsSearchProjectWithClientsName provides a mock function for the type MockConfig

func (*MockConfig) Language added in v0.53.0

func (_mock *MockConfig) Language() language.Tag

Language provides a mock function for the type MockConfig

func (*MockConfig) LogLevel

func (_mock *MockConfig) LogLevel() string

LogLevel provides a mock function for the type MockConfig

func (*MockConfig) Save

func (_mock *MockConfig) Save() error

Save provides a mock function for the type MockConfig

func (*MockConfig) SetBool

func (_mock *MockConfig) SetBool(s string, b bool)

SetBool provides a mock function for the type MockConfig

func (*MockConfig) SetInt

func (_mock *MockConfig) SetInt(s string, n int)

SetInt provides a mock function for the type MockConfig

func (*MockConfig) SetLanguage added in v0.53.0

func (_mock *MockConfig) SetLanguage(tag language.Tag)

SetLanguage provides a mock function for the type MockConfig

func (*MockConfig) SetString

func (_mock *MockConfig) SetString(s string, s1 string)

SetString provides a mock function for the type MockConfig

func (*MockConfig) SetStringSlice

func (_mock *MockConfig) SetStringSlice(s string, strings []string)

SetStringSlice provides a mock function for the type MockConfig

func (*MockConfig) SetTimeZone added in v0.53.0

func (_mock *MockConfig) SetTimeZone(location *time.Location)

SetTimeZone provides a mock function for the type MockConfig

func (*MockConfig) TimeZone added in v0.53.0

func (_mock *MockConfig) TimeZone() *time.Location

TimeZone provides a mock function for the type MockConfig

type MockConfig_All_Call added in v0.42.0

type MockConfig_All_Call struct {
	*mock.Call
}

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(stringToIfaceVal 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

All is a helper method to define mock.On call

func (*MockConfig_Expecter) Get added in v0.42.0

func (_e *MockConfig_Expecter) Get(s interface{}) *MockConfig_Get_Call

Get is a helper method to define mock.On call

  • s string

func (*MockConfig_Expecter) GetBool added in v0.42.0

func (_e *MockConfig_Expecter) GetBool(s interface{}) *MockConfig_GetBool_Call

GetBool is a helper method to define mock.On call

  • s string

func (*MockConfig_Expecter) GetInt added in v0.42.0

func (_e *MockConfig_Expecter) GetInt(s interface{}) *MockConfig_GetInt_Call

GetInt is a helper method to define mock.On call

  • s string

func (*MockConfig_Expecter) GetString added in v0.42.0

func (_e *MockConfig_Expecter) GetString(s interface{}) *MockConfig_GetString_Call

GetString is a helper method to define mock.On call

  • s string

func (*MockConfig_Expecter) GetStringSlice added in v0.42.0

func (_e *MockConfig_Expecter) GetStringSlice(s interface{}) *MockConfig_GetStringSlice_Call

GetStringSlice is a helper method to define mock.On call

  • s string

func (*MockConfig_Expecter) GetWorkWeekdays added in v0.42.0

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

IsDebuging is a helper method to define mock.On call

func (*MockConfig_Expecter) IsInteractive added in v0.42.0

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

Language is a helper method to define mock.On call

func (*MockConfig_Expecter) LogLevel added in v0.42.0

LogLevel is a helper method to define mock.On call

func (*MockConfig_Expecter) Save added in v0.42.0

Save is a helper method to define mock.On call

func (*MockConfig_Expecter) SetBool added in v0.42.0

func (_e *MockConfig_Expecter) SetBool(s interface{}, b interface{}) *MockConfig_SetBool_Call

SetBool is a helper method to define mock.On call

  • s string
  • b bool

func (*MockConfig_Expecter) SetInt added in v0.42.0

func (_e *MockConfig_Expecter) SetInt(s interface{}, n interface{}) *MockConfig_SetInt_Call

SetInt is a helper method to define mock.On call

  • s string
  • n int

func (*MockConfig_Expecter) SetLanguage added in v0.53.0

func (_e *MockConfig_Expecter) SetLanguage(tag interface{}) *MockConfig_SetLanguage_Call

SetLanguage is a helper method to define mock.On call

  • tag language.Tag

func (*MockConfig_Expecter) SetString added in v0.42.0

func (_e *MockConfig_Expecter) SetString(s interface{}, s1 interface{}) *MockConfig_SetString_Call

SetString is a helper method to define mock.On call

  • s string
  • s1 string

func (*MockConfig_Expecter) SetStringSlice added in v0.42.0

func (_e *MockConfig_Expecter) SetStringSlice(s interface{}, strings interface{}) *MockConfig_SetStringSlice_Call

SetStringSlice is a helper method to define mock.On call

  • s string
  • strings []string

func (*MockConfig_Expecter) SetTimeZone added in v0.53.0

func (_e *MockConfig_Expecter) SetTimeZone(location interface{}) *MockConfig_SetTimeZone_Call

SetTimeZone is a helper method to define mock.On call

  • location *time.Location

func (*MockConfig_Expecter) TimeZone added in v0.53.0

TimeZone is a helper method to define mock.On call

type MockConfig_GetBool_Call added in v0.42.0

type MockConfig_GetBool_Call struct {
	*mock.Call
}

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 (*MockConfig_GetBool_Call) Run added in v0.42.0

func (*MockConfig_GetBool_Call) RunAndReturn added in v0.47.0

func (_c *MockConfig_GetBool_Call) RunAndReturn(run func(s string) bool) *MockConfig_GetBool_Call

type MockConfig_GetInt_Call added in v0.42.0

type MockConfig_GetInt_Call struct {
	*mock.Call
}

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 (*MockConfig_GetInt_Call) Run added in v0.42.0

func (*MockConfig_GetInt_Call) RunAndReturn added in v0.47.0

func (_c *MockConfig_GetInt_Call) RunAndReturn(run func(s string) int) *MockConfig_GetInt_Call

type MockConfig_GetStringSlice_Call added in v0.42.0

type MockConfig_GetStringSlice_Call struct {
	*mock.Call
}

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 (*MockConfig_GetStringSlice_Call) Run added in v0.42.0

func (*MockConfig_GetStringSlice_Call) RunAndReturn added in v0.47.0

type MockConfig_GetString_Call added in v0.42.0

type MockConfig_GetString_Call struct {
	*mock.Call
}

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 (*MockConfig_GetString_Call) Run added in v0.42.0

func (*MockConfig_GetString_Call) RunAndReturn added in v0.47.0

func (_c *MockConfig_GetString_Call) RunAndReturn(run func(s string) string) *MockConfig_GetString_Call

type MockConfig_GetWorkWeekdays_Call added in v0.42.0

type MockConfig_GetWorkWeekdays_Call struct {
	*mock.Call
}

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 (*MockConfig_GetWorkWeekdays_Call) Run added in v0.42.0

func (*MockConfig_GetWorkWeekdays_Call) RunAndReturn added in v0.47.0

type MockConfig_Get_Call added in v0.42.0

type MockConfig_Get_Call struct {
	*mock.Call
}

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(ifaceVal interface{}) *MockConfig_Get_Call

func (*MockConfig_Get_Call) Run added in v0.42.0

func (_c *MockConfig_Get_Call) Run(run func(s string)) *MockConfig_Get_Call

func (*MockConfig_Get_Call) RunAndReturn added in v0.47.0

func (_c *MockConfig_Get_Call) RunAndReturn(run func(s string) interface{}) *MockConfig_Get_Call

type MockConfig_InteractivePageSize_Call added in v0.44.0

type MockConfig_InteractivePageSize_Call struct {
	*mock.Call
}

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 (*MockConfig_InteractivePageSize_Call) Run added in v0.44.0

func (*MockConfig_InteractivePageSize_Call) RunAndReturn added in v0.47.0

type MockConfig_IsAllowNameForID_Call added in v0.42.0

type MockConfig_IsAllowNameForID_Call struct {
	*mock.Call
}

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 (*MockConfig_IsAllowNameForID_Call) Run added in v0.42.0

func (*MockConfig_IsAllowNameForID_Call) RunAndReturn added in v0.47.0

type MockConfig_IsDebuging_Call added in v0.42.0

type MockConfig_IsDebuging_Call struct {
	*mock.Call
}

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 (*MockConfig_IsDebuging_Call) Run added in v0.42.0

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

type MockConfig_IsInteractive_Call struct {
	*mock.Call
}

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 (*MockConfig_IsInteractive_Call) Run added in v0.42.0

func (*MockConfig_IsInteractive_Call) RunAndReturn added in v0.47.0

type MockConfig_IsSearchProjectWithClientsName_Call added in v0.48.0

type MockConfig_IsSearchProjectWithClientsName_Call struct {
	*mock.Call
}

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 (*MockConfig_IsSearchProjectWithClientsName_Call) Run added in v0.48.0

func (*MockConfig_IsSearchProjectWithClientsName_Call) RunAndReturn added in v0.48.0

type MockConfig_Language_Call added in v0.53.0

type MockConfig_Language_Call struct {
	*mock.Call
}

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 (*MockConfig_Language_Call) Run added in v0.53.0

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

type MockConfig_LogLevel_Call struct {
	*mock.Call
}

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 (*MockConfig_LogLevel_Call) Run added in v0.42.0

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

type MockConfig_Save_Call struct {
	*mock.Call
}

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 (*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

type MockConfig_SetBool_Call struct {
	*mock.Call
}

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 (*MockConfig_SetBool_Call) Run added in v0.42.0

func (*MockConfig_SetBool_Call) RunAndReturn added in v0.47.0

func (_c *MockConfig_SetBool_Call) RunAndReturn(run func(s string, b bool)) *MockConfig_SetBool_Call

type MockConfig_SetInt_Call added in v0.42.0

type MockConfig_SetInt_Call struct {
	*mock.Call
}

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 (*MockConfig_SetInt_Call) Run added in v0.42.0

func (_c *MockConfig_SetInt_Call) Run(run func(s string, n int)) *MockConfig_SetInt_Call

func (*MockConfig_SetInt_Call) RunAndReturn added in v0.47.0

func (_c *MockConfig_SetInt_Call) RunAndReturn(run func(s string, n int)) *MockConfig_SetInt_Call

type MockConfig_SetLanguage_Call added in v0.53.0

type MockConfig_SetLanguage_Call struct {
	*mock.Call
}

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 (*MockConfig_SetLanguage_Call) Run added in v0.53.0

func (*MockConfig_SetLanguage_Call) RunAndReturn added in v0.53.0

func (_c *MockConfig_SetLanguage_Call) RunAndReturn(run func(tag language.Tag)) *MockConfig_SetLanguage_Call

type MockConfig_SetStringSlice_Call added in v0.42.0

type MockConfig_SetStringSlice_Call struct {
	*mock.Call
}

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 (*MockConfig_SetStringSlice_Call) Run added in v0.42.0

func (*MockConfig_SetStringSlice_Call) RunAndReturn added in v0.47.0

func (_c *MockConfig_SetStringSlice_Call) RunAndReturn(run func(s string, strings []string)) *MockConfig_SetStringSlice_Call

type MockConfig_SetString_Call added in v0.42.0

type MockConfig_SetString_Call struct {
	*mock.Call
}

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 (*MockConfig_SetString_Call) Run added in v0.42.0

func (*MockConfig_SetString_Call) RunAndReturn added in v0.47.0

func (_c *MockConfig_SetString_Call) RunAndReturn(run func(s string, s1 string)) *MockConfig_SetString_Call

type MockConfig_SetTimeZone_Call added in v0.53.0

type MockConfig_SetTimeZone_Call struct {
	*mock.Call
}

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 (*MockConfig_SetTimeZone_Call) Run added in v0.53.0

func (*MockConfig_SetTimeZone_Call) RunAndReturn added in v0.53.0

func (_c *MockConfig_SetTimeZone_Call) RunAndReturn(run func(location *time.Location)) *MockConfig_SetTimeZone_Call

type MockConfig_TimeZone_Call added in v0.53.0

type MockConfig_TimeZone_Call struct {
	*mock.Call
}

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 (*MockConfig_TimeZone_Call) Run added in v0.53.0

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

type MockFactory struct {
	mock.Mock
}

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 (_mock *MockFactory) Client() (api.Client, error)

Client provides a mock function for the type MockFactory

func (*MockFactory) Config

func (_mock *MockFactory) Config() cmdutil.Config

Config provides a mock function for the type MockFactory

func (*MockFactory) EXPECT added in v0.42.0

func (_m *MockFactory) EXPECT() *MockFactory_Expecter

func (*MockFactory) GetUserID

func (_mock *MockFactory) GetUserID() (string, error)

GetUserID provides a mock function for the type MockFactory

func (*MockFactory) GetWorkspace

func (_mock *MockFactory) GetWorkspace() (dto.Workspace, error)

GetWorkspace provides a mock function for the type MockFactory

func (*MockFactory) GetWorkspaceID

func (_mock *MockFactory) GetWorkspaceID() (string, error)

GetWorkspaceID provides a mock function for the type MockFactory

func (*MockFactory) UI added in v0.44.0

func (_mock *MockFactory) UI() ui.UI

UI provides a mock function for the type MockFactory

func (*MockFactory) Version

func (_mock *MockFactory) Version() cmdutil.Version

Version provides a mock function for the type MockFactory

type MockFactory_Client_Call added in v0.42.0

type MockFactory_Client_Call struct {
	*mock.Call
}

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 (*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

type MockFactory_Config_Call struct {
	*mock.Call
}

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 (*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

Client is a helper method to define mock.On call

func (*MockFactory_Expecter) Config added in v0.42.0

Config is a helper method to define mock.On call

func (*MockFactory_Expecter) GetUserID added in v0.42.0

GetUserID is a helper method to define mock.On call

func (*MockFactory_Expecter) GetWorkspace added in v0.42.0

GetWorkspace is a helper method to define mock.On call

func (*MockFactory_Expecter) GetWorkspaceID added in v0.42.0

GetWorkspaceID is a helper method to define mock.On call

func (*MockFactory_Expecter) UI added in v0.44.0

UI is a helper method to define mock.On call

func (*MockFactory_Expecter) Version added in v0.42.0

Version is a helper method to define mock.On call

type MockFactory_GetUserID_Call added in v0.42.0

type MockFactory_GetUserID_Call struct {
	*mock.Call
}

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 (*MockFactory_GetUserID_Call) Run added in v0.42.0

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

type MockFactory_GetWorkspaceID_Call struct {
	*mock.Call
}

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 (*MockFactory_GetWorkspaceID_Call) Run added in v0.42.0

func (*MockFactory_GetWorkspaceID_Call) RunAndReturn added in v0.47.0

type MockFactory_GetWorkspace_Call added in v0.42.0

type MockFactory_GetWorkspace_Call struct {
	*mock.Call
}

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 (*MockFactory_GetWorkspace_Call) Run added in v0.42.0

func (*MockFactory_GetWorkspace_Call) RunAndReturn added in v0.47.0

type MockFactory_UI_Call added in v0.44.0

type MockFactory_UI_Call struct {
	*mock.Call
}

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(uI 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

type MockFactory_Version_Call struct {
	*mock.Call
}

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 (*MockFactory_Version_Call) Run added in v0.42.0

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

Jump to

Keyboard shortcuts

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