Documentation ¶
Index ¶
- type Client
- type Session
- func (_m *Session) CreateWorkspace(creationRequest http.Workspace) (common.ID, error)
- func (_m *Session) DeleteWorkspace(workspaceID common.ID) (common.ID, error)
- func (_m *Session) GetWorkspace(workspaceID common.ID) (http.Workspace, error)
- func (_m *Session) ListWorkspaces() ([]http.Workspace, error)
- func (_m *Session) UpdateWorkspace(workspaceID common.ID, updateRequest http.Workspace) (common.ID, error)
- func (_m *Session) UpdateWorkspaceFields(workspaceID common.ID, updateRequest http.Workspace, updateFields []string) (common.ID, error)
- func (_m *Session) ValidateWorkspaceCreationRequest(creationRequest http.Workspace) error
- func (_m *Session) ValidateWorkspaceDeletionRequest(workspaceID common.ID) error
- func (_m *Session) ValidateWorkspaceUpdateFieldsRequest(workspaceID common.ID, updateRequest http.Workspace, updateFields []string) error
- func (_m *Session) ValidateWorkspaceUpdateRequest(workspaceID common.ID, updateRequest http.Workspace) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
Session is an autogenerated mock type for the Session type
func (*Session) CreateWorkspace ¶
CreateWorkspace provides a mock function with given fields: creationRequest
func (*Session) DeleteWorkspace ¶
DeleteWorkspace provides a mock function with given fields: workspaceID
func (*Session) GetWorkspace ¶
GetWorkspace provides a mock function with given fields: workspaceID
func (*Session) ListWorkspaces ¶
ListWorkspaces provides a mock function with given fields:
func (*Session) UpdateWorkspace ¶
func (_m *Session) UpdateWorkspace(workspaceID common.ID, updateRequest http.Workspace) (common.ID, error)
UpdateWorkspace provides a mock function with given fields: workspaceID, updateRequest
func (*Session) UpdateWorkspaceFields ¶
func (_m *Session) UpdateWorkspaceFields(workspaceID common.ID, updateRequest http.Workspace, updateFields []string) (common.ID, error)
UpdateWorkspaceFields provides a mock function with given fields: workspaceID, updateRequest, updateFields
func (*Session) ValidateWorkspaceCreationRequest ¶
ValidateWorkspaceCreationRequest provides a mock function with given fields: creationRequest
func (*Session) ValidateWorkspaceDeletionRequest ¶
ValidateWorkspaceDeletionRequest provides a mock function with given fields: workspaceID
func (*Session) ValidateWorkspaceUpdateFieldsRequest ¶
func (_m *Session) ValidateWorkspaceUpdateFieldsRequest(workspaceID common.ID, updateRequest http.Workspace, updateFields []string) error
ValidateWorkspaceUpdateFieldsRequest provides a mock function with given fields: workspaceID, updateRequest, updateFields