mocks

package
v0.0.0-...-e28bd7b Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: BSD-3-Clause Imports: 4 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 struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Session

func (_m *Client) Session(actor string, emulator string, isAdmin bool) (workspaces.Session, error)

Session provides a mock function with given fields: actor, emulator, isAdmin

type Session

type Session struct {
	mock.Mock
}

Session is an autogenerated mock type for the Session type

func (*Session) CreateWorkspace

func (_m *Session) CreateWorkspace(creationRequest http.Workspace) (common.ID, error)

CreateWorkspace provides a mock function with given fields: creationRequest

func (*Session) DeleteWorkspace

func (_m *Session) DeleteWorkspace(workspaceID common.ID) (common.ID, error)

DeleteWorkspace provides a mock function with given fields: workspaceID

func (*Session) GetWorkspace

func (_m *Session) GetWorkspace(workspaceID common.ID) (http.Workspace, error)

GetWorkspace provides a mock function with given fields: workspaceID

func (*Session) ListWorkspaces

func (_m *Session) ListWorkspaces() ([]http.Workspace, error)

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

func (_m *Session) ValidateWorkspaceCreationRequest(creationRequest http.Workspace) error

ValidateWorkspaceCreationRequest provides a mock function with given fields: creationRequest

func (*Session) ValidateWorkspaceDeletionRequest

func (_m *Session) ValidateWorkspaceDeletionRequest(workspaceID common.ID) error

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

func (*Session) ValidateWorkspaceUpdateRequest

func (_m *Session) ValidateWorkspaceUpdateRequest(workspaceID common.ID, updateRequest http.Workspace) error

ValidateWorkspaceUpdateRequest provides a mock function with given fields: workspaceID, updateRequest

Jump to

Keyboard shortcuts

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