mocks

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 5 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 (_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) GetUser

func (_m *MockClient) GetUser(_a0 api.GetUser) (dto.User, error)

GetUser 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) Log

func (_m *MockClient) Log(_a0 api.LogParam) ([]dto.TimeEntry, error)

Log 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (*MockClient_LogRange_Call) RunAndReturn added in v0.47.0

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

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

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

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

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

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 (_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) 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) 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

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

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

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) 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(_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) 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

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

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

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

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

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

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

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(string, string)) *MockConfig_SetString_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 (_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

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

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
}

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) 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) SetString added in v0.42.0

func (*SimpleConfig) SetString(_, _ string)

func (*SimpleConfig) SetStringSlice added in v0.42.0

func (*SimpleConfig) SetStringSlice(_ string, _ []string)

Jump to

Keyboard shortcuts

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