Documentation ¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockAPI
- func (m *MockAPI) CreateProject(workspaceID string, project model.Project) (*client.CreateProjectResponse, error)
- func (m *MockAPI) CreateStudy(arg0 model.CreateStudy) (*model.Study, error)
- func (m *MockAPI) CreateWorkspace(workspace model.Workspace) (*client.CreateWorkspacesResponse, error)
- func (m *MockAPI) DuplicateStudy(ID string) (*model.Study, error)
- func (m *MockAPI) EXPECT() *MockAPIMockRecorder
- func (m *MockAPI) GetEligibilityRequirements() (*client.ListRequirementsResponse, error)
- func (m *MockAPI) GetEvents(subscriptionID string) (*client.ListHookEventsResponse, error)
- func (m *MockAPI) GetHookEventTypes() (*client.ListHookEventTypesResponse, error)
- func (m *MockAPI) GetHookSecrets(workspaceID string) (*client.ListSecretsResponse, error)
- func (m *MockAPI) GetHooks(enabled bool) (*client.ListHooksResponse, error)
- func (m *MockAPI) GetMe() (*client.MeResponse, error)
- func (m *MockAPI) GetParticipantGroup(groupID string) (*client.ViewParticipantGroupResponse, error)
- func (m *MockAPI) GetParticipantGroups(projectID string) (*client.ListParticipantGroupsResponse, error)
- func (m *MockAPI) GetProjects(workspaceID string) (*client.ListProjectsResponse, error)
- func (m *MockAPI) GetStudies(status, projectID string) (*client.ListStudiesResponse, error)
- func (m *MockAPI) GetStudy(ID string) (*model.Study, error)
- func (m *MockAPI) GetSubmissions(ID string) (*client.ListSubmissionsResponse, error)
- func (m *MockAPI) GetWorkspaces() (*client.ListWorkspacesResponse, error)
- func (m *MockAPI) TransitionStudy(ID, action string) (*client.TransitionStudyResponse, error)
- type MockAPIMockRecorder
- func (mr *MockAPIMockRecorder) CreateProject(workspaceID, project interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) CreateStudy(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) CreateWorkspace(workspace interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DuplicateStudy(ID interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetEligibilityRequirements() *gomock.Call
- func (mr *MockAPIMockRecorder) GetEvents(subscriptionID interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetHookEventTypes() *gomock.Call
- func (mr *MockAPIMockRecorder) GetHookSecrets(workspaceID interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetHooks(enabled interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetMe() *gomock.Call
- func (mr *MockAPIMockRecorder) GetParticipantGroup(groupID interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetParticipantGroups(projectID interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetProjects(workspaceID interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetStudies(status, projectID interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetStudy(ID interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetSubmissions(ID interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetWorkspaces() *gomock.Call
- func (mr *MockAPIMockRecorder) TransitionStudy(ID, action interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a mock of API interface.
func NewMockAPI ¶
func NewMockAPI(ctrl *gomock.Controller) *MockAPI
NewMockAPI creates a new mock instance.
func (*MockAPI) CreateProject ¶ added in v0.0.13
func (m *MockAPI) CreateProject(workspaceID string, project model.Project) (*client.CreateProjectResponse, error)
CreateProject mocks base method.
func (*MockAPI) CreateStudy ¶ added in v0.0.2
CreateStudy mocks base method.
func (*MockAPI) CreateWorkspace ¶ added in v0.0.13
func (m *MockAPI) CreateWorkspace(workspace model.Workspace) (*client.CreateWorkspacesResponse, error)
CreateWorkspace mocks base method.
func (*MockAPI) DuplicateStudy ¶ added in v0.0.15
DuplicateStudy mocks base method.
func (*MockAPI) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPI) GetEligibilityRequirements ¶ added in v0.0.2
func (m *MockAPI) GetEligibilityRequirements() (*client.ListRequirementsResponse, error)
GetEligibilityRequirements mocks base method.
func (*MockAPI) GetEvents ¶ added in v0.0.17
func (m *MockAPI) GetEvents(subscriptionID string) (*client.ListHookEventsResponse, error)
GetEvents mocks base method.
func (*MockAPI) GetHookEventTypes ¶ added in v0.0.11
func (m *MockAPI) GetHookEventTypes() (*client.ListHookEventTypesResponse, error)
GetHookEventTypes mocks base method.
func (*MockAPI) GetHookSecrets ¶ added in v0.0.13
func (m *MockAPI) GetHookSecrets(workspaceID string) (*client.ListSecretsResponse, error)
GetHookSecrets mocks base method.
func (*MockAPI) GetHooks ¶ added in v0.0.10
func (m *MockAPI) GetHooks(enabled bool) (*client.ListHooksResponse, error)
GetHooks mocks base method.
func (*MockAPI) GetMe ¶
func (m *MockAPI) GetMe() (*client.MeResponse, error)
GetMe mocks base method.
func (*MockAPI) GetParticipantGroup ¶ added in v0.0.18
func (m *MockAPI) GetParticipantGroup(groupID string) (*client.ViewParticipantGroupResponse, error)
GetParticipantGroup mocks base method.
func (*MockAPI) GetParticipantGroups ¶ added in v0.0.18
func (m *MockAPI) GetParticipantGroups(projectID string) (*client.ListParticipantGroupsResponse, error)
GetParticipantGroups mocks base method.
func (*MockAPI) GetProjects ¶ added in v0.0.12
func (m *MockAPI) GetProjects(workspaceID string) (*client.ListProjectsResponse, error)
GetProjects mocks base method.
func (*MockAPI) GetStudies ¶
func (m *MockAPI) GetStudies(status, projectID string) (*client.ListStudiesResponse, error)
GetStudies mocks base method.
func (*MockAPI) GetSubmissions ¶
func (m *MockAPI) GetSubmissions(ID string) (*client.ListSubmissionsResponse, error)
GetSubmissions mocks base method.
func (*MockAPI) GetWorkspaces ¶ added in v0.0.12
func (m *MockAPI) GetWorkspaces() (*client.ListWorkspacesResponse, error)
GetWorkspaces mocks base method.
func (*MockAPI) TransitionStudy ¶ added in v0.0.3
func (m *MockAPI) TransitionStudy(ID, action string) (*client.TransitionStudyResponse, error)
TransitionStudy mocks base method.
type MockAPIMockRecorder ¶
type MockAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIMockRecorder is the mock recorder for MockAPI.
func (*MockAPIMockRecorder) CreateProject ¶ added in v0.0.13
func (mr *MockAPIMockRecorder) CreateProject(workspaceID, project interface{}) *gomock.Call
CreateProject indicates an expected call of CreateProject.
func (*MockAPIMockRecorder) CreateStudy ¶ added in v0.0.2
func (mr *MockAPIMockRecorder) CreateStudy(arg0 interface{}) *gomock.Call
CreateStudy indicates an expected call of CreateStudy.
func (*MockAPIMockRecorder) CreateWorkspace ¶ added in v0.0.13
func (mr *MockAPIMockRecorder) CreateWorkspace(workspace interface{}) *gomock.Call
CreateWorkspace indicates an expected call of CreateWorkspace.
func (*MockAPIMockRecorder) DuplicateStudy ¶ added in v0.0.15
func (mr *MockAPIMockRecorder) DuplicateStudy(ID interface{}) *gomock.Call
DuplicateStudy indicates an expected call of DuplicateStudy.
func (*MockAPIMockRecorder) GetEligibilityRequirements ¶ added in v0.0.2
func (mr *MockAPIMockRecorder) GetEligibilityRequirements() *gomock.Call
GetEligibilityRequirements indicates an expected call of GetEligibilityRequirements.
func (*MockAPIMockRecorder) GetEvents ¶ added in v0.0.17
func (mr *MockAPIMockRecorder) GetEvents(subscriptionID interface{}) *gomock.Call
GetEvents indicates an expected call of GetEvents.
func (*MockAPIMockRecorder) GetHookEventTypes ¶ added in v0.0.11
func (mr *MockAPIMockRecorder) GetHookEventTypes() *gomock.Call
GetHookEventTypes indicates an expected call of GetHookEventTypes.
func (*MockAPIMockRecorder) GetHookSecrets ¶ added in v0.0.13
func (mr *MockAPIMockRecorder) GetHookSecrets(workspaceID interface{}) *gomock.Call
GetHookSecrets indicates an expected call of GetHookSecrets.
func (*MockAPIMockRecorder) GetHooks ¶ added in v0.0.10
func (mr *MockAPIMockRecorder) GetHooks(enabled interface{}) *gomock.Call
GetHooks indicates an expected call of GetHooks.
func (*MockAPIMockRecorder) GetMe ¶
func (mr *MockAPIMockRecorder) GetMe() *gomock.Call
GetMe indicates an expected call of GetMe.
func (*MockAPIMockRecorder) GetParticipantGroup ¶ added in v0.0.18
func (mr *MockAPIMockRecorder) GetParticipantGroup(groupID interface{}) *gomock.Call
GetParticipantGroup indicates an expected call of GetParticipantGroup.
func (*MockAPIMockRecorder) GetParticipantGroups ¶ added in v0.0.18
func (mr *MockAPIMockRecorder) GetParticipantGroups(projectID interface{}) *gomock.Call
GetParticipantGroups indicates an expected call of GetParticipantGroups.
func (*MockAPIMockRecorder) GetProjects ¶ added in v0.0.12
func (mr *MockAPIMockRecorder) GetProjects(workspaceID interface{}) *gomock.Call
GetProjects indicates an expected call of GetProjects.
func (*MockAPIMockRecorder) GetStudies ¶
func (mr *MockAPIMockRecorder) GetStudies(status, projectID interface{}) *gomock.Call
GetStudies indicates an expected call of GetStudies.
func (*MockAPIMockRecorder) GetStudy ¶
func (mr *MockAPIMockRecorder) GetStudy(ID interface{}) *gomock.Call
GetStudy indicates an expected call of GetStudy.
func (*MockAPIMockRecorder) GetSubmissions ¶
func (mr *MockAPIMockRecorder) GetSubmissions(ID interface{}) *gomock.Call
GetSubmissions indicates an expected call of GetSubmissions.
func (*MockAPIMockRecorder) GetWorkspaces ¶ added in v0.0.12
func (mr *MockAPIMockRecorder) GetWorkspaces() *gomock.Call
GetWorkspaces indicates an expected call of GetWorkspaces.
func (*MockAPIMockRecorder) TransitionStudy ¶ added in v0.0.3
func (mr *MockAPIMockRecorder) TransitionStudy(ID, action interface{}) *gomock.Call
TransitionStudy indicates an expected call of TransitionStudy.