Documentation ¶
Index ¶
- type Client
- type Session
- func (_m *Session) CreateUserAction(creationRequest http.UserAction) (common.ID, error)
- func (_m *Session) DeleteUserAction(userActionID common.ID) (common.ID, error)
- func (_m *Session) GetUserAction(userActionID common.ID) (http.UserAction, error)
- func (_m *Session) ListUserActions() ([]http.UserAction, error)
- func (_m *Session) UpdateUserAction(userActionID common.ID, updateRequest http.UserAction) (common.ID, error)
- func (_m *Session) UpdateUserActionFields(userActionID common.ID, updateRequest http.UserAction, updateFields []string) (common.ID, error)
- func (_m *Session) ValidateUserActionCreationRequest(creationRequest http.UserAction) error
- func (_m *Session) ValidateUserActionDeletionRequest(userActionID common.ID) error
- func (_m *Session) ValidateUserActionUpdateFieldsRequest(userActionID common.ID, updateRequest http.UserAction, updateFields []string) error
- func (_m *Session) ValidateUserActionUpdateRequest(userActionID common.ID, updateRequest http.UserAction) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
type Session ¶
Session is an autogenerated mock type for the Session type
func NewSession ¶
func NewSession(t mockConstructorTestingTNewSession) *Session
NewSession creates a new instance of Session. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Session) CreateUserAction ¶
CreateUserAction provides a mock function with given fields: creationRequest
func (*Session) DeleteUserAction ¶
DeleteUserAction provides a mock function with given fields: userActionID
func (*Session) GetUserAction ¶
GetUserAction provides a mock function with given fields: userActionID
func (*Session) ListUserActions ¶
func (_m *Session) ListUserActions() ([]http.UserAction, error)
ListUserActions provides a mock function with given fields:
func (*Session) UpdateUserAction ¶
func (_m *Session) UpdateUserAction(userActionID common.ID, updateRequest http.UserAction) (common.ID, error)
UpdateUserAction provides a mock function with given fields: userActionID, updateRequest
func (*Session) UpdateUserActionFields ¶
func (_m *Session) UpdateUserActionFields(userActionID common.ID, updateRequest http.UserAction, updateFields []string) (common.ID, error)
UpdateUserActionFields provides a mock function with given fields: userActionID, updateRequest, updateFields
func (*Session) ValidateUserActionCreationRequest ¶
func (_m *Session) ValidateUserActionCreationRequest(creationRequest http.UserAction) error
ValidateUserActionCreationRequest provides a mock function with given fields: creationRequest
func (*Session) ValidateUserActionDeletionRequest ¶
ValidateUserActionDeletionRequest provides a mock function with given fields: userActionID
func (*Session) ValidateUserActionUpdateFieldsRequest ¶
func (_m *Session) ValidateUserActionUpdateFieldsRequest(userActionID common.ID, updateRequest http.UserAction, updateFields []string) error
ValidateUserActionUpdateFieldsRequest provides a mock function with given fields: userActionID, updateRequest, updateFields
func (*Session) ValidateUserActionUpdateRequest ¶
func (_m *Session) ValidateUserActionUpdateRequest(userActionID common.ID, updateRequest http.UserAction) error
ValidateUserActionUpdateRequest provides a mock function with given fields: userActionID, updateRequest