mock_client

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_client is a generated GoMock package.

Index

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) CreateAITaskBuilderBatch added in v0.0.57

func (m *MockAPI) CreateAITaskBuilderBatch(params client.CreateBatchParams) (*client.CreateAITaskBuilderBatchResponse, error)

CreateAITaskBuilderBatch mocks base method.

func (*MockAPI) CreateAITaskBuilderDataset added in v0.0.57

func (m *MockAPI) CreateAITaskBuilderDataset(workspaceID string, payload client.CreateAITaskBuilderDatasetPayload) (*client.CreateAITaskBuilderDatasetResponse, error)

CreateAITaskBuilderDataset mocks base method.

func (*MockAPI) CreateAITaskBuilderInstructions added in v0.0.57

func (m *MockAPI) CreateAITaskBuilderInstructions(batchID string, instructions client.CreateAITaskBuilderInstructionsPayload) (*client.CreateAITaskBuilderInstructionsResponse, error)

CreateAITaskBuilderInstructions mocks base method.

func (*MockAPI) CreateCredentialPool added in v0.0.57

func (m *MockAPI) CreateCredentialPool(credentials, workspaceID string) (*client.CredentialPoolResponse, error)

CreateCredentialPool mocks base method.

func (*MockAPI) CreateProject

func (m *MockAPI) CreateProject(workspaceID string, project model.Project) (*client.CreateProjectResponse, error)

CreateProject mocks base method.

func (*MockAPI) CreateStudy

func (m *MockAPI) CreateStudy(arg0 model.CreateStudy) (*model.Study, error)

CreateStudy mocks base method.

func (*MockAPI) CreateWorkspace

func (m *MockAPI) CreateWorkspace(workspace model.Workspace) (*client.CreateWorkspacesResponse, error)

CreateWorkspace mocks base method.

func (*MockAPI) DuplicateStudy

func (m *MockAPI) DuplicateStudy(ID string) (*model.Study, error)

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) GetAITaskBuilderBatch

func (m *MockAPI) GetAITaskBuilderBatch(batchID string) (*client.GetAITaskBuilderBatchResponse, error)

GetAITaskBuilderBatch mocks base method.

func (*MockAPI) GetAITaskBuilderBatchStatus

func (m *MockAPI) GetAITaskBuilderBatchStatus(batchID string) (*client.GetAITaskBuilderBatchStatusResponse, error)

GetAITaskBuilderBatchStatus mocks base method.

func (*MockAPI) GetAITaskBuilderBatches

func (m *MockAPI) GetAITaskBuilderBatches(workspaceID string) (*client.GetAITaskBuilderBatchesResponse, error)

GetAITaskBuilderBatches mocks base method.

func (*MockAPI) GetAITaskBuilderDatasetStatus

func (m *MockAPI) GetAITaskBuilderDatasetStatus(datasetID string) (*client.GetAITaskBuilderDatasetStatusResponse, error)

GetAITaskBuilderDatasetStatus mocks base method.

func (*MockAPI) GetAITaskBuilderDatasetUploadURL added in v0.0.57

func (m *MockAPI) GetAITaskBuilderDatasetUploadURL(datasetID, fileName string) (*client.GetAITaskBuilderDatasetUploadURLResponse, error)

GetAITaskBuilderDatasetUploadURL mocks base method.

func (*MockAPI) GetAITaskBuilderResponses

func (m *MockAPI) GetAITaskBuilderResponses(batchID string) (*client.GetAITaskBuilderResponsesResponse, error)

GetAITaskBuilderResponses mocks base method.

func (*MockAPI) GetAITaskBuilderTasks added in v0.0.57

func (m *MockAPI) GetAITaskBuilderTasks(batchID string) (*client.GetAITaskBuilderTasksResponse, error)

GetAITaskBuilderTasks mocks base method.

func (*MockAPI) GetCampaigns

func (m *MockAPI) GetCampaigns(workspaceID string, limit, offset int) (*client.ListCampaignsResponse, error)

GetCampaigns mocks base method.

func (*MockAPI) GetEligibilityRequirements

func (m *MockAPI) GetEligibilityRequirements() (*client.ListRequirementsResponse, error)

GetEligibilityRequirements mocks base method.

func (*MockAPI) GetEvents

func (m *MockAPI) GetEvents(subscriptionID string, limit, offset int) (*client.ListHookEventsResponse, error)

GetEvents mocks base method.

func (*MockAPI) GetFilterSet

func (m *MockAPI) GetFilterSet(ID string) (*model.FilterSet, error)

GetFilterSet mocks base method.

func (*MockAPI) GetFilterSets

func (m *MockAPI) GetFilterSets(workspaceID string, limit, offset int) (*client.ListFilterSetsResponse, error)

GetFilterSets mocks base method.

func (*MockAPI) GetFilters

func (m *MockAPI) GetFilters() (*client.ListFiltersResponse, error)

GetFilters mocks base method.

func (*MockAPI) GetHookEventTypes

func (m *MockAPI) GetHookEventTypes() (*client.ListHookEventTypesResponse, error)

GetHookEventTypes mocks base method.

func (*MockAPI) GetHookSecrets

func (m *MockAPI) GetHookSecrets(workspaceID string) (*client.ListSecretsResponse, error)

GetHookSecrets mocks base method.

func (*MockAPI) GetHooks

func (m *MockAPI) GetHooks(workspaceID string, enabled bool, limit, offset int) (*client.ListHooksResponse, error)

GetHooks mocks base method.

func (*MockAPI) GetMe

func (m *MockAPI) GetMe() (*client.MeResponse, error)

GetMe mocks base method.

func (*MockAPI) GetMessages

func (m *MockAPI) GetMessages(userID, createdAfter *string) (*client.ListMessagesResponse, error)

GetMessages mocks base method.

func (*MockAPI) GetParticipantGroup

func (m *MockAPI) GetParticipantGroup(groupID string) (*client.ViewParticipantGroupResponse, error)

GetParticipantGroup mocks base method.

func (*MockAPI) GetParticipantGroups

func (m *MockAPI) GetParticipantGroups(projectID string, limit, offset int) (*client.ListParticipantGroupsResponse, error)

GetParticipantGroups mocks base method.

func (*MockAPI) GetProject

func (m *MockAPI) GetProject(ID string) (*model.Project, error)

GetProject mocks base method.

func (*MockAPI) GetProjects

func (m *MockAPI) GetProjects(workspaceID string, limit, offset int) (*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) GetStudy

func (m *MockAPI) GetStudy(ID string) (*model.Study, error)

GetStudy mocks base method.

func (*MockAPI) GetStudyCredentialsUsageReportCSV added in v0.0.57

func (m *MockAPI) GetStudyCredentialsUsageReportCSV(ID string) (string, error)

GetStudyCredentialsUsageReportCSV mocks base method.

func (*MockAPI) GetSubmissions

func (m *MockAPI) GetSubmissions(ID string, limit, offset int) (*client.ListSubmissionsResponse, error)

GetSubmissions mocks base method.

func (*MockAPI) GetUnreadMessages

func (m *MockAPI) GetUnreadMessages() (*client.ListUnreadMessagesResponse, error)

GetUnreadMessages mocks base method.

func (*MockAPI) GetWorkspaces

func (m *MockAPI) GetWorkspaces(limit, offset int) (*client.ListWorkspacesResponse, error)

GetWorkspaces mocks base method.

func (*MockAPI) ListCredentialPools added in v0.0.57

func (m *MockAPI) ListCredentialPools(workspaceID string) (*client.ListCredentialPoolsResponse, error)

ListCredentialPools mocks base method.

func (*MockAPI) SendMessage

func (m *MockAPI) SendMessage(body, recipientID, studyID string) error

SendMessage mocks base method.

func (*MockAPI) SetupAITaskBuilderBatch added in v0.0.57

func (m *MockAPI) SetupAITaskBuilderBatch(batchID, datasetID string, tasksPerGroup int) (*client.SetupAITaskBuilderBatchResponse, error)

SetupAITaskBuilderBatch mocks base method.

func (*MockAPI) TransitionStudy

func (m *MockAPI) TransitionStudy(ID, action string) (*client.TransitionStudyResponse, error)

TransitionStudy mocks base method.

func (*MockAPI) UpdateCredentialPool added in v0.0.57

func (m *MockAPI) UpdateCredentialPool(credentialPoolID, credentials, workspaceID string) (*client.CredentialPoolResponse, error)

UpdateCredentialPool mocks base method.

func (*MockAPI) UpdateStudy

func (m *MockAPI) UpdateStudy(ID string, study model.UpdateStudy) (*model.Study, error)

UpdateStudy mocks base method.

type MockAPIMockRecorder

type MockAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockAPIMockRecorder is the mock recorder for MockAPI.

func (*MockAPIMockRecorder) CreateAITaskBuilderBatch added in v0.0.57

func (mr *MockAPIMockRecorder) CreateAITaskBuilderBatch(params interface{}) *gomock.Call

CreateAITaskBuilderBatch indicates an expected call of CreateAITaskBuilderBatch.

func (*MockAPIMockRecorder) CreateAITaskBuilderDataset added in v0.0.57

func (mr *MockAPIMockRecorder) CreateAITaskBuilderDataset(workspaceID, payload interface{}) *gomock.Call

CreateAITaskBuilderDataset indicates an expected call of CreateAITaskBuilderDataset.

func (*MockAPIMockRecorder) CreateAITaskBuilderInstructions added in v0.0.57

func (mr *MockAPIMockRecorder) CreateAITaskBuilderInstructions(batchID, instructions interface{}) *gomock.Call

CreateAITaskBuilderInstructions indicates an expected call of CreateAITaskBuilderInstructions.

func (*MockAPIMockRecorder) CreateCredentialPool added in v0.0.57

func (mr *MockAPIMockRecorder) CreateCredentialPool(credentials, workspaceID interface{}) *gomock.Call

CreateCredentialPool indicates an expected call of CreateCredentialPool.

func (*MockAPIMockRecorder) CreateProject

func (mr *MockAPIMockRecorder) CreateProject(workspaceID, project interface{}) *gomock.Call

CreateProject indicates an expected call of CreateProject.

func (*MockAPIMockRecorder) CreateStudy

func (mr *MockAPIMockRecorder) CreateStudy(arg0 interface{}) *gomock.Call

CreateStudy indicates an expected call of CreateStudy.

func (*MockAPIMockRecorder) CreateWorkspace

func (mr *MockAPIMockRecorder) CreateWorkspace(workspace interface{}) *gomock.Call

CreateWorkspace indicates an expected call of CreateWorkspace.

func (*MockAPIMockRecorder) DuplicateStudy

func (mr *MockAPIMockRecorder) DuplicateStudy(ID interface{}) *gomock.Call

DuplicateStudy indicates an expected call of DuplicateStudy.

func (*MockAPIMockRecorder) GetAITaskBuilderBatch

func (mr *MockAPIMockRecorder) GetAITaskBuilderBatch(batchID interface{}) *gomock.Call

GetAITaskBuilderBatch indicates an expected call of GetAITaskBuilderBatch.

func (*MockAPIMockRecorder) GetAITaskBuilderBatchStatus

func (mr *MockAPIMockRecorder) GetAITaskBuilderBatchStatus(batchID interface{}) *gomock.Call

GetAITaskBuilderBatchStatus indicates an expected call of GetAITaskBuilderBatchStatus.

func (*MockAPIMockRecorder) GetAITaskBuilderBatches

func (mr *MockAPIMockRecorder) GetAITaskBuilderBatches(workspaceID interface{}) *gomock.Call

GetAITaskBuilderBatches indicates an expected call of GetAITaskBuilderBatches.

func (*MockAPIMockRecorder) GetAITaskBuilderDatasetStatus

func (mr *MockAPIMockRecorder) GetAITaskBuilderDatasetStatus(datasetID interface{}) *gomock.Call

GetAITaskBuilderDatasetStatus indicates an expected call of GetAITaskBuilderDatasetStatus.

func (*MockAPIMockRecorder) GetAITaskBuilderDatasetUploadURL added in v0.0.57

func (mr *MockAPIMockRecorder) GetAITaskBuilderDatasetUploadURL(datasetID, fileName interface{}) *gomock.Call

GetAITaskBuilderDatasetUploadURL indicates an expected call of GetAITaskBuilderDatasetUploadURL.

func (*MockAPIMockRecorder) GetAITaskBuilderResponses

func (mr *MockAPIMockRecorder) GetAITaskBuilderResponses(batchID interface{}) *gomock.Call

GetAITaskBuilderResponses indicates an expected call of GetAITaskBuilderResponses.

func (*MockAPIMockRecorder) GetAITaskBuilderTasks added in v0.0.57

func (mr *MockAPIMockRecorder) GetAITaskBuilderTasks(batchID interface{}) *gomock.Call

GetAITaskBuilderTasks indicates an expected call of GetAITaskBuilderTasks.

func (*MockAPIMockRecorder) GetCampaigns

func (mr *MockAPIMockRecorder) GetCampaigns(workspaceID, limit, offset interface{}) *gomock.Call

GetCampaigns indicates an expected call of GetCampaigns.

func (*MockAPIMockRecorder) GetEligibilityRequirements

func (mr *MockAPIMockRecorder) GetEligibilityRequirements() *gomock.Call

GetEligibilityRequirements indicates an expected call of GetEligibilityRequirements.

func (*MockAPIMockRecorder) GetEvents

func (mr *MockAPIMockRecorder) GetEvents(subscriptionID, limit, offset interface{}) *gomock.Call

GetEvents indicates an expected call of GetEvents.

func (*MockAPIMockRecorder) GetFilterSet

func (mr *MockAPIMockRecorder) GetFilterSet(ID interface{}) *gomock.Call

GetFilterSet indicates an expected call of GetFilterSet.

func (*MockAPIMockRecorder) GetFilterSets

func (mr *MockAPIMockRecorder) GetFilterSets(workspaceID, limit, offset interface{}) *gomock.Call

GetFilterSets indicates an expected call of GetFilterSets.

func (*MockAPIMockRecorder) GetFilters

func (mr *MockAPIMockRecorder) GetFilters() *gomock.Call

GetFilters indicates an expected call of GetFilters.

func (*MockAPIMockRecorder) GetHookEventTypes

func (mr *MockAPIMockRecorder) GetHookEventTypes() *gomock.Call

GetHookEventTypes indicates an expected call of GetHookEventTypes.

func (*MockAPIMockRecorder) GetHookSecrets

func (mr *MockAPIMockRecorder) GetHookSecrets(workspaceID interface{}) *gomock.Call

GetHookSecrets indicates an expected call of GetHookSecrets.

func (*MockAPIMockRecorder) GetHooks

func (mr *MockAPIMockRecorder) GetHooks(workspaceID, enabled, limit, offset 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) GetMessages

func (mr *MockAPIMockRecorder) GetMessages(userID, createdAfter interface{}) *gomock.Call

GetMessages indicates an expected call of GetMessages.

func (*MockAPIMockRecorder) GetParticipantGroup

func (mr *MockAPIMockRecorder) GetParticipantGroup(groupID interface{}) *gomock.Call

GetParticipantGroup indicates an expected call of GetParticipantGroup.

func (*MockAPIMockRecorder) GetParticipantGroups

func (mr *MockAPIMockRecorder) GetParticipantGroups(projectID, limit, offset interface{}) *gomock.Call

GetParticipantGroups indicates an expected call of GetParticipantGroups.

func (*MockAPIMockRecorder) GetProject

func (mr *MockAPIMockRecorder) GetProject(ID interface{}) *gomock.Call

GetProject indicates an expected call of GetProject.

func (*MockAPIMockRecorder) GetProjects

func (mr *MockAPIMockRecorder) GetProjects(workspaceID, limit, offset 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) GetStudyCredentialsUsageReportCSV added in v0.0.57

func (mr *MockAPIMockRecorder) GetStudyCredentialsUsageReportCSV(ID interface{}) *gomock.Call

GetStudyCredentialsUsageReportCSV indicates an expected call of GetStudyCredentialsUsageReportCSV.

func (*MockAPIMockRecorder) GetSubmissions

func (mr *MockAPIMockRecorder) GetSubmissions(ID, limit, offset interface{}) *gomock.Call

GetSubmissions indicates an expected call of GetSubmissions.

func (*MockAPIMockRecorder) GetUnreadMessages

func (mr *MockAPIMockRecorder) GetUnreadMessages() *gomock.Call

GetUnreadMessages indicates an expected call of GetUnreadMessages.

func (*MockAPIMockRecorder) GetWorkspaces

func (mr *MockAPIMockRecorder) GetWorkspaces(limit, offset interface{}) *gomock.Call

GetWorkspaces indicates an expected call of GetWorkspaces.

func (*MockAPIMockRecorder) ListCredentialPools added in v0.0.57

func (mr *MockAPIMockRecorder) ListCredentialPools(workspaceID interface{}) *gomock.Call

ListCredentialPools indicates an expected call of ListCredentialPools.

func (*MockAPIMockRecorder) SendMessage

func (mr *MockAPIMockRecorder) SendMessage(body, recipientID, studyID interface{}) *gomock.Call

SendMessage indicates an expected call of SendMessage.

func (*MockAPIMockRecorder) SetupAITaskBuilderBatch added in v0.0.57

func (mr *MockAPIMockRecorder) SetupAITaskBuilderBatch(batchID, datasetID, tasksPerGroup interface{}) *gomock.Call

SetupAITaskBuilderBatch indicates an expected call of SetupAITaskBuilderBatch.

func (*MockAPIMockRecorder) TransitionStudy

func (mr *MockAPIMockRecorder) TransitionStudy(ID, action interface{}) *gomock.Call

TransitionStudy indicates an expected call of TransitionStudy.

func (*MockAPIMockRecorder) UpdateCredentialPool added in v0.0.57

func (mr *MockAPIMockRecorder) UpdateCredentialPool(credentialPoolID, credentials, workspaceID interface{}) *gomock.Call

UpdateCredentialPool indicates an expected call of UpdateCredentialPool.

func (*MockAPIMockRecorder) UpdateStudy

func (mr *MockAPIMockRecorder) UpdateStudy(ID, study interface{}) *gomock.Call

UpdateStudy indicates an expected call of UpdateStudy.

Jump to

Keyboard shortcuts

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