Documentation ¶
Index ¶
- type IAPI
- func (_m *IAPI) CompleteTask(ctx context.Context, c echo.Context, accessToken string, id string) (*models.Task, error)
- func (_m *IAPI) CreateTask(ctx context.Context, c echo.Context, accessToken string, ...) (*models.Task, error)
- func (_m *IAPI) EXPECT() *IAPI_Expecter
- func (_m *IAPI) GetCurrentUser(ctx context.Context, c echo.Context, accessToken string) (*models.User, error)
- func (_m *IAPI) GetTask(ctx context.Context, c echo.Context, accessToken string, id string) (*models.Task, error)
- func (_m *IAPI) GetUser(ctx context.Context, c echo.Context, username string) (*models.User, error)
- func (_m *IAPI) ListTasks(ctx context.Context, c echo.Context, accessToken string, ...) (*api.TasksListResponse, error)
- func (_m *IAPI) Login(ctx context.Context, req api.AuthLoginRequest) (*api.AuthLoginResponse, error)
- func (_m *IAPI) Refresh(ctx context.Context, c echo.Context) (*api.AuthRefreshResponse, error)
- func (_m *IAPI) ReopenTask(ctx context.Context, c echo.Context, accessToken string, id string) (*models.Task, error)
- func (_m *IAPI) Signup(ctx context.Context, req api.AuthSignupRequest) (*models.User, error)
- func (_m *IAPI) Token(ctx context.Context, c echo.Context, accessToken string) (*api.Token, error)
- func (_m *IAPI) TransitionTask(ctx context.Context, c echo.Context, accessToken string, id string, ...) (*models.Task, error)
- func (_m *IAPI) UpdateCurrentUser(ctx context.Context, c echo.Context, accessToken string, ...) (*models.User, error)
- func (_m *IAPI) UpdateTask(ctx context.Context, c echo.Context, accessToken string, id string, ...) (*models.Task, error)
- type IAPI_CompleteTask_Call
- func (_c *IAPI_CompleteTask_Call) Return(_a0 *models.Task, _a1 error) *IAPI_CompleteTask_Call
- func (_c *IAPI_CompleteTask_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string, id string)) *IAPI_CompleteTask_Call
- func (_c *IAPI_CompleteTask_Call) RunAndReturn(run func(context.Context, echo.Context, string, string) (*models.Task, error)) *IAPI_CompleteTask_Call
- type IAPI_CreateTask_Call
- type IAPI_Expecter
- func (_e *IAPI_Expecter) CompleteTask(ctx interface{}, c interface{}, accessToken interface{}, id interface{}) *IAPI_CompleteTask_Call
- func (_e *IAPI_Expecter) CreateTask(ctx interface{}, c interface{}, accessToken interface{}, task interface{}) *IAPI_CreateTask_Call
- func (_e *IAPI_Expecter) GetCurrentUser(ctx interface{}, c interface{}, accessToken interface{}) *IAPI_GetCurrentUser_Call
- func (_e *IAPI_Expecter) GetTask(ctx interface{}, c interface{}, accessToken interface{}, id interface{}) *IAPI_GetTask_Call
- func (_e *IAPI_Expecter) GetUser(ctx interface{}, c interface{}, username interface{}) *IAPI_GetUser_Call
- func (_e *IAPI_Expecter) ListTasks(ctx interface{}, c interface{}, accessToken interface{}, params interface{}) *IAPI_ListTasks_Call
- func (_e *IAPI_Expecter) Login(ctx interface{}, req interface{}) *IAPI_Login_Call
- func (_e *IAPI_Expecter) Refresh(ctx interface{}, c interface{}) *IAPI_Refresh_Call
- func (_e *IAPI_Expecter) ReopenTask(ctx interface{}, c interface{}, accessToken interface{}, id interface{}) *IAPI_ReopenTask_Call
- func (_e *IAPI_Expecter) Signup(ctx interface{}, req interface{}) *IAPI_Signup_Call
- func (_e *IAPI_Expecter) Token(ctx interface{}, c interface{}, accessToken interface{}) *IAPI_Token_Call
- func (_e *IAPI_Expecter) TransitionTask(ctx interface{}, c interface{}, accessToken interface{}, id interface{}, ...) *IAPI_TransitionTask_Call
- func (_e *IAPI_Expecter) UpdateCurrentUser(ctx interface{}, c interface{}, accessToken interface{}, user interface{}) *IAPI_UpdateCurrentUser_Call
- func (_e *IAPI_Expecter) UpdateTask(ctx interface{}, c interface{}, accessToken interface{}, id interface{}, ...) *IAPI_UpdateTask_Call
- type IAPI_GetCurrentUser_Call
- func (_c *IAPI_GetCurrentUser_Call) Return(_a0 *models.User, _a1 error) *IAPI_GetCurrentUser_Call
- func (_c *IAPI_GetCurrentUser_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string)) *IAPI_GetCurrentUser_Call
- func (_c *IAPI_GetCurrentUser_Call) RunAndReturn(run func(context.Context, echo.Context, string) (*models.User, error)) *IAPI_GetCurrentUser_Call
- type IAPI_GetTask_Call
- func (_c *IAPI_GetTask_Call) Return(_a0 *models.Task, _a1 error) *IAPI_GetTask_Call
- func (_c *IAPI_GetTask_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string, id string)) *IAPI_GetTask_Call
- func (_c *IAPI_GetTask_Call) RunAndReturn(run func(context.Context, echo.Context, string, string) (*models.Task, error)) *IAPI_GetTask_Call
- type IAPI_GetUser_Call
- func (_c *IAPI_GetUser_Call) Return(_a0 *models.User, _a1 error) *IAPI_GetUser_Call
- func (_c *IAPI_GetUser_Call) Run(run func(ctx context.Context, c echo.Context, username string)) *IAPI_GetUser_Call
- func (_c *IAPI_GetUser_Call) RunAndReturn(run func(context.Context, echo.Context, string) (*models.User, error)) *IAPI_GetUser_Call
- type IAPI_ListTasks_Call
- type IAPI_Login_Call
- type IAPI_Refresh_Call
- func (_c *IAPI_Refresh_Call) Return(_a0 *api.AuthRefreshResponse, _a1 error) *IAPI_Refresh_Call
- func (_c *IAPI_Refresh_Call) Run(run func(ctx context.Context, c echo.Context)) *IAPI_Refresh_Call
- func (_c *IAPI_Refresh_Call) RunAndReturn(run func(context.Context, echo.Context) (*api.AuthRefreshResponse, error)) *IAPI_Refresh_Call
- type IAPI_ReopenTask_Call
- func (_c *IAPI_ReopenTask_Call) Return(_a0 *models.Task, _a1 error) *IAPI_ReopenTask_Call
- func (_c *IAPI_ReopenTask_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string, id string)) *IAPI_ReopenTask_Call
- func (_c *IAPI_ReopenTask_Call) RunAndReturn(run func(context.Context, echo.Context, string, string) (*models.Task, error)) *IAPI_ReopenTask_Call
- type IAPI_Signup_Call
- func (_c *IAPI_Signup_Call) Return(_a0 *models.User, _a1 error) *IAPI_Signup_Call
- func (_c *IAPI_Signup_Call) Run(run func(ctx context.Context, req api.AuthSignupRequest)) *IAPI_Signup_Call
- func (_c *IAPI_Signup_Call) RunAndReturn(run func(context.Context, api.AuthSignupRequest) (*models.User, error)) *IAPI_Signup_Call
- type IAPI_Token_Call
- func (_c *IAPI_Token_Call) Return(_a0 *api.Token, _a1 error) *IAPI_Token_Call
- func (_c *IAPI_Token_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string)) *IAPI_Token_Call
- func (_c *IAPI_Token_Call) RunAndReturn(run func(context.Context, echo.Context, string) (*api.Token, error)) *IAPI_Token_Call
- type IAPI_TransitionTask_Call
- type IAPI_UpdateCurrentUser_Call
- func (_c *IAPI_UpdateCurrentUser_Call) Return(_a0 *models.User, _a1 error) *IAPI_UpdateCurrentUser_Call
- func (_c *IAPI_UpdateCurrentUser_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string, ...)) *IAPI_UpdateCurrentUser_Call
- func (_c *IAPI_UpdateCurrentUser_Call) RunAndReturn(...) *IAPI_UpdateCurrentUser_Call
- type IAPI_UpdateTask_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAPI ¶
IAPI is an autogenerated mock type for the IAPI type
func NewIAPI ¶
NewIAPI creates a new instance of IAPI. 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 (*IAPI) CompleteTask ¶
func (_m *IAPI) CompleteTask(ctx context.Context, c echo.Context, accessToken string, id string) (*models.Task, error)
CompleteTask provides a mock function with given fields: ctx, c, accessToken, id
func (*IAPI) CreateTask ¶
func (_m *IAPI) CreateTask(ctx context.Context, c echo.Context, accessToken string, task *api.TaskCreateRequest) (*models.Task, error)
CreateTask provides a mock function with given fields: ctx, c, accessToken, task
func (*IAPI) EXPECT ¶
func (_m *IAPI) EXPECT() *IAPI_Expecter
func (*IAPI) GetCurrentUser ¶
func (_m *IAPI) GetCurrentUser(ctx context.Context, c echo.Context, accessToken string) (*models.User, error)
GetCurrentUser provides a mock function with given fields: ctx, c, accessToken
func (*IAPI) GetTask ¶
func (_m *IAPI) GetTask(ctx context.Context, c echo.Context, accessToken string, id string) (*models.Task, error)
GetTask provides a mock function with given fields: ctx, c, accessToken, id
func (*IAPI) ListTasks ¶
func (_m *IAPI) ListTasks(ctx context.Context, c echo.Context, accessToken string, params *api.TasksListParams) (*api.TasksListResponse, error)
ListTasks provides a mock function with given fields: ctx, c, accessToken, params
func (*IAPI) Login ¶
func (_m *IAPI) Login(ctx context.Context, req api.AuthLoginRequest) (*api.AuthLoginResponse, error)
Login provides a mock function with given fields: ctx, req
func (*IAPI) ReopenTask ¶
func (_m *IAPI) ReopenTask(ctx context.Context, c echo.Context, accessToken string, id string) (*models.Task, error)
ReopenTask provides a mock function with given fields: ctx, c, accessToken, id
func (*IAPI) TransitionTask ¶
func (_m *IAPI) TransitionTask(ctx context.Context, c echo.Context, accessToken string, id string, task *api.TransitionTask) (*models.Task, error)
TransitionTask provides a mock function with given fields: ctx, c, accessToken, id, task
type IAPI_CompleteTask_Call ¶
IAPI_CompleteTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CompleteTask'
func (*IAPI_CompleteTask_Call) Return ¶
func (_c *IAPI_CompleteTask_Call) Return(_a0 *models.Task, _a1 error) *IAPI_CompleteTask_Call
func (*IAPI_CompleteTask_Call) Run ¶
func (_c *IAPI_CompleteTask_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string, id string)) *IAPI_CompleteTask_Call
func (*IAPI_CompleteTask_Call) RunAndReturn ¶
type IAPI_CreateTask_Call ¶
IAPI_CreateTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTask'
func (*IAPI_CreateTask_Call) Return ¶
func (_c *IAPI_CreateTask_Call) Return(_a0 *models.Task, _a1 error) *IAPI_CreateTask_Call
func (*IAPI_CreateTask_Call) Run ¶
func (_c *IAPI_CreateTask_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string, task *api.TaskCreateRequest)) *IAPI_CreateTask_Call
func (*IAPI_CreateTask_Call) RunAndReturn ¶
func (_c *IAPI_CreateTask_Call) RunAndReturn(run func(context.Context, echo.Context, string, *api.TaskCreateRequest) (*models.Task, error)) *IAPI_CreateTask_Call
type IAPI_Expecter ¶
type IAPI_Expecter struct {
// contains filtered or unexported fields
}
func (*IAPI_Expecter) CompleteTask ¶
func (_e *IAPI_Expecter) CompleteTask(ctx interface{}, c interface{}, accessToken interface{}, id interface{}) *IAPI_CompleteTask_Call
CompleteTask is a helper method to define mock.On call
- ctx context.Context
- c echo.Context
- accessToken string
- id string
func (*IAPI_Expecter) CreateTask ¶
func (_e *IAPI_Expecter) CreateTask(ctx interface{}, c interface{}, accessToken interface{}, task interface{}) *IAPI_CreateTask_Call
CreateTask is a helper method to define mock.On call
- ctx context.Context
- c echo.Context
- accessToken string
- task *api.TaskCreateRequest
func (*IAPI_Expecter) GetCurrentUser ¶
func (_e *IAPI_Expecter) GetCurrentUser(ctx interface{}, c interface{}, accessToken interface{}) *IAPI_GetCurrentUser_Call
GetCurrentUser is a helper method to define mock.On call
- ctx context.Context
- c echo.Context
- accessToken string
func (*IAPI_Expecter) GetTask ¶
func (_e *IAPI_Expecter) GetTask(ctx interface{}, c interface{}, accessToken interface{}, id interface{}) *IAPI_GetTask_Call
GetTask is a helper method to define mock.On call
- ctx context.Context
- c echo.Context
- accessToken string
- id string
func (*IAPI_Expecter) GetUser ¶
func (_e *IAPI_Expecter) GetUser(ctx interface{}, c interface{}, username interface{}) *IAPI_GetUser_Call
GetUser is a helper method to define mock.On call
- ctx context.Context
- c echo.Context
- username string
func (*IAPI_Expecter) ListTasks ¶
func (_e *IAPI_Expecter) ListTasks(ctx interface{}, c interface{}, accessToken interface{}, params interface{}) *IAPI_ListTasks_Call
ListTasks is a helper method to define mock.On call
- ctx context.Context
- c echo.Context
- accessToken string
- params *api.TasksListParams
func (*IAPI_Expecter) Login ¶
func (_e *IAPI_Expecter) Login(ctx interface{}, req interface{}) *IAPI_Login_Call
Login is a helper method to define mock.On call
- ctx context.Context
- req api.AuthLoginRequest
func (*IAPI_Expecter) Refresh ¶
func (_e *IAPI_Expecter) Refresh(ctx interface{}, c interface{}) *IAPI_Refresh_Call
Refresh is a helper method to define mock.On call
- ctx context.Context
- c echo.Context
func (*IAPI_Expecter) ReopenTask ¶
func (_e *IAPI_Expecter) ReopenTask(ctx interface{}, c interface{}, accessToken interface{}, id interface{}) *IAPI_ReopenTask_Call
ReopenTask is a helper method to define mock.On call
- ctx context.Context
- c echo.Context
- accessToken string
- id string
func (*IAPI_Expecter) Signup ¶
func (_e *IAPI_Expecter) Signup(ctx interface{}, req interface{}) *IAPI_Signup_Call
Signup is a helper method to define mock.On call
- ctx context.Context
- req api.AuthSignupRequest
func (*IAPI_Expecter) Token ¶
func (_e *IAPI_Expecter) Token(ctx interface{}, c interface{}, accessToken interface{}) *IAPI_Token_Call
Token is a helper method to define mock.On call
- ctx context.Context
- c echo.Context
- accessToken string
func (*IAPI_Expecter) TransitionTask ¶
func (_e *IAPI_Expecter) TransitionTask(ctx interface{}, c interface{}, accessToken interface{}, id interface{}, task interface{}) *IAPI_TransitionTask_Call
TransitionTask is a helper method to define mock.On call
- ctx context.Context
- c echo.Context
- accessToken string
- id string
- task *api.TransitionTask
func (*IAPI_Expecter) UpdateCurrentUser ¶
func (_e *IAPI_Expecter) UpdateCurrentUser(ctx interface{}, c interface{}, accessToken interface{}, user interface{}) *IAPI_UpdateCurrentUser_Call
UpdateCurrentUser is a helper method to define mock.On call
- ctx context.Context
- c echo.Context
- accessToken string
- user *api.CurrentUserUpdateRequest
func (*IAPI_Expecter) UpdateTask ¶
func (_e *IAPI_Expecter) UpdateTask(ctx interface{}, c interface{}, accessToken interface{}, id interface{}, task interface{}) *IAPI_UpdateTask_Call
UpdateTask is a helper method to define mock.On call
- ctx context.Context
- c echo.Context
- accessToken string
- id string
- task *api.TaskUpdateRequest
type IAPI_GetCurrentUser_Call ¶
IAPI_GetCurrentUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCurrentUser'
func (*IAPI_GetCurrentUser_Call) Return ¶
func (_c *IAPI_GetCurrentUser_Call) Return(_a0 *models.User, _a1 error) *IAPI_GetCurrentUser_Call
func (*IAPI_GetCurrentUser_Call) Run ¶
func (_c *IAPI_GetCurrentUser_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string)) *IAPI_GetCurrentUser_Call
func (*IAPI_GetCurrentUser_Call) RunAndReturn ¶
func (_c *IAPI_GetCurrentUser_Call) RunAndReturn(run func(context.Context, echo.Context, string) (*models.User, error)) *IAPI_GetCurrentUser_Call
type IAPI_GetTask_Call ¶
IAPI_GetTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTask'
func (*IAPI_GetTask_Call) Return ¶
func (_c *IAPI_GetTask_Call) Return(_a0 *models.Task, _a1 error) *IAPI_GetTask_Call
func (*IAPI_GetTask_Call) Run ¶
func (_c *IAPI_GetTask_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string, id string)) *IAPI_GetTask_Call
func (*IAPI_GetTask_Call) RunAndReturn ¶
type IAPI_GetUser_Call ¶
IAPI_GetUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUser'
func (*IAPI_GetUser_Call) Return ¶
func (_c *IAPI_GetUser_Call) Return(_a0 *models.User, _a1 error) *IAPI_GetUser_Call
func (*IAPI_GetUser_Call) Run ¶
func (_c *IAPI_GetUser_Call) Run(run func(ctx context.Context, c echo.Context, username string)) *IAPI_GetUser_Call
func (*IAPI_GetUser_Call) RunAndReturn ¶
func (_c *IAPI_GetUser_Call) RunAndReturn(run func(context.Context, echo.Context, string) (*models.User, error)) *IAPI_GetUser_Call
type IAPI_ListTasks_Call ¶
IAPI_ListTasks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTasks'
func (*IAPI_ListTasks_Call) Return ¶
func (_c *IAPI_ListTasks_Call) Return(_a0 *api.TasksListResponse, _a1 error) *IAPI_ListTasks_Call
func (*IAPI_ListTasks_Call) Run ¶
func (_c *IAPI_ListTasks_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string, params *api.TasksListParams)) *IAPI_ListTasks_Call
func (*IAPI_ListTasks_Call) RunAndReturn ¶
func (_c *IAPI_ListTasks_Call) RunAndReturn(run func(context.Context, echo.Context, string, *api.TasksListParams) (*api.TasksListResponse, error)) *IAPI_ListTasks_Call
type IAPI_Login_Call ¶
IAPI_Login_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Login'
func (*IAPI_Login_Call) Return ¶
func (_c *IAPI_Login_Call) Return(_a0 *api.AuthLoginResponse, _a1 error) *IAPI_Login_Call
func (*IAPI_Login_Call) Run ¶
func (_c *IAPI_Login_Call) Run(run func(ctx context.Context, req api.AuthLoginRequest)) *IAPI_Login_Call
func (*IAPI_Login_Call) RunAndReturn ¶
func (_c *IAPI_Login_Call) RunAndReturn(run func(context.Context, api.AuthLoginRequest) (*api.AuthLoginResponse, error)) *IAPI_Login_Call
type IAPI_Refresh_Call ¶
IAPI_Refresh_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Refresh'
func (*IAPI_Refresh_Call) Return ¶
func (_c *IAPI_Refresh_Call) Return(_a0 *api.AuthRefreshResponse, _a1 error) *IAPI_Refresh_Call
func (*IAPI_Refresh_Call) Run ¶
func (_c *IAPI_Refresh_Call) Run(run func(ctx context.Context, c echo.Context)) *IAPI_Refresh_Call
func (*IAPI_Refresh_Call) RunAndReturn ¶
func (_c *IAPI_Refresh_Call) RunAndReturn(run func(context.Context, echo.Context) (*api.AuthRefreshResponse, error)) *IAPI_Refresh_Call
type IAPI_ReopenTask_Call ¶
IAPI_ReopenTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReopenTask'
func (*IAPI_ReopenTask_Call) Return ¶
func (_c *IAPI_ReopenTask_Call) Return(_a0 *models.Task, _a1 error) *IAPI_ReopenTask_Call
func (*IAPI_ReopenTask_Call) Run ¶
func (_c *IAPI_ReopenTask_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string, id string)) *IAPI_ReopenTask_Call
func (*IAPI_ReopenTask_Call) RunAndReturn ¶
type IAPI_Signup_Call ¶
IAPI_Signup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Signup'
func (*IAPI_Signup_Call) Return ¶
func (_c *IAPI_Signup_Call) Return(_a0 *models.User, _a1 error) *IAPI_Signup_Call
func (*IAPI_Signup_Call) Run ¶
func (_c *IAPI_Signup_Call) Run(run func(ctx context.Context, req api.AuthSignupRequest)) *IAPI_Signup_Call
func (*IAPI_Signup_Call) RunAndReturn ¶
func (_c *IAPI_Signup_Call) RunAndReturn(run func(context.Context, api.AuthSignupRequest) (*models.User, error)) *IAPI_Signup_Call
type IAPI_Token_Call ¶
IAPI_Token_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Token'
func (*IAPI_Token_Call) Return ¶
func (_c *IAPI_Token_Call) Return(_a0 *api.Token, _a1 error) *IAPI_Token_Call
func (*IAPI_Token_Call) Run ¶
func (_c *IAPI_Token_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string)) *IAPI_Token_Call
func (*IAPI_Token_Call) RunAndReturn ¶
func (_c *IAPI_Token_Call) RunAndReturn(run func(context.Context, echo.Context, string) (*api.Token, error)) *IAPI_Token_Call
type IAPI_TransitionTask_Call ¶
IAPI_TransitionTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransitionTask'
func (*IAPI_TransitionTask_Call) Return ¶
func (_c *IAPI_TransitionTask_Call) Return(_a0 *models.Task, _a1 error) *IAPI_TransitionTask_Call
func (*IAPI_TransitionTask_Call) Run ¶
func (_c *IAPI_TransitionTask_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string, id string, task *api.TransitionTask)) *IAPI_TransitionTask_Call
func (*IAPI_TransitionTask_Call) RunAndReturn ¶
func (_c *IAPI_TransitionTask_Call) RunAndReturn(run func(context.Context, echo.Context, string, string, *api.TransitionTask) (*models.Task, error)) *IAPI_TransitionTask_Call
type IAPI_UpdateCurrentUser_Call ¶
IAPI_UpdateCurrentUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCurrentUser'
func (*IAPI_UpdateCurrentUser_Call) Return ¶
func (_c *IAPI_UpdateCurrentUser_Call) Return(_a0 *models.User, _a1 error) *IAPI_UpdateCurrentUser_Call
func (*IAPI_UpdateCurrentUser_Call) Run ¶
func (_c *IAPI_UpdateCurrentUser_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string, user *api.CurrentUserUpdateRequest)) *IAPI_UpdateCurrentUser_Call
func (*IAPI_UpdateCurrentUser_Call) RunAndReturn ¶
func (_c *IAPI_UpdateCurrentUser_Call) RunAndReturn(run func(context.Context, echo.Context, string, *api.CurrentUserUpdateRequest) (*models.User, error)) *IAPI_UpdateCurrentUser_Call
type IAPI_UpdateTask_Call ¶
IAPI_UpdateTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTask'
func (*IAPI_UpdateTask_Call) Return ¶
func (_c *IAPI_UpdateTask_Call) Return(_a0 *models.Task, _a1 error) *IAPI_UpdateTask_Call
func (*IAPI_UpdateTask_Call) Run ¶
func (_c *IAPI_UpdateTask_Call) Run(run func(ctx context.Context, c echo.Context, accessToken string, id string, task *api.TaskUpdateRequest)) *IAPI_UpdateTask_Call
func (*IAPI_UpdateTask_Call) RunAndReturn ¶
func (_c *IAPI_UpdateTask_Call) RunAndReturn(run func(context.Context, echo.Context, string, string, *api.TaskUpdateRequest) (*models.Task, error)) *IAPI_UpdateTask_Call