mocks

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) AcceptQualificationRequest

func (_m *IClient) AcceptQualificationRequest(ctx context.Context, params *mturk.AcceptQualificationRequestInput, optFns ...func(*mturk.Options)) (*mturk.AcceptQualificationRequestOutput, error)

AcceptQualificationRequest provides a mock function with given fields: ctx, params, optFns

func (*IClient) ApproveAssignment

func (_m *IClient) ApproveAssignment(ctx context.Context, params *mturk.ApproveAssignmentInput, optFns ...func(*mturk.Options)) (*mturk.ApproveAssignmentOutput, error)

ApproveAssignment provides a mock function with given fields: ctx, params, optFns

func (*IClient) AssociateQualificationWithWorker

func (_m *IClient) AssociateQualificationWithWorker(ctx context.Context, params *mturk.AssociateQualificationWithWorkerInput, optFns ...func(*mturk.Options)) (*mturk.AssociateQualificationWithWorkerOutput, error)

AssociateQualificationWithWorker provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateAdditionalAssignmentsForHIT

func (_m *IClient) CreateAdditionalAssignmentsForHIT(ctx context.Context, params *mturk.CreateAdditionalAssignmentsForHITInput, optFns ...func(*mturk.Options)) (*mturk.CreateAdditionalAssignmentsForHITOutput, error)

CreateAdditionalAssignmentsForHIT provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateHIT

func (_m *IClient) CreateHIT(ctx context.Context, params *mturk.CreateHITInput, optFns ...func(*mturk.Options)) (*mturk.CreateHITOutput, error)

CreateHIT provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateHITType

func (_m *IClient) CreateHITType(ctx context.Context, params *mturk.CreateHITTypeInput, optFns ...func(*mturk.Options)) (*mturk.CreateHITTypeOutput, error)

CreateHITType provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateHITWithHITType

func (_m *IClient) CreateHITWithHITType(ctx context.Context, params *mturk.CreateHITWithHITTypeInput, optFns ...func(*mturk.Options)) (*mturk.CreateHITWithHITTypeOutput, error)

CreateHITWithHITType provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateQualificationType

func (_m *IClient) CreateQualificationType(ctx context.Context, params *mturk.CreateQualificationTypeInput, optFns ...func(*mturk.Options)) (*mturk.CreateQualificationTypeOutput, error)

CreateQualificationType provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateWorkerBlock

func (_m *IClient) CreateWorkerBlock(ctx context.Context, params *mturk.CreateWorkerBlockInput, optFns ...func(*mturk.Options)) (*mturk.CreateWorkerBlockOutput, error)

CreateWorkerBlock provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteHIT

func (_m *IClient) DeleteHIT(ctx context.Context, params *mturk.DeleteHITInput, optFns ...func(*mturk.Options)) (*mturk.DeleteHITOutput, error)

DeleteHIT provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteQualificationType

func (_m *IClient) DeleteQualificationType(ctx context.Context, params *mturk.DeleteQualificationTypeInput, optFns ...func(*mturk.Options)) (*mturk.DeleteQualificationTypeOutput, error)

DeleteQualificationType provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteWorkerBlock

func (_m *IClient) DeleteWorkerBlock(ctx context.Context, params *mturk.DeleteWorkerBlockInput, optFns ...func(*mturk.Options)) (*mturk.DeleteWorkerBlockOutput, error)

DeleteWorkerBlock provides a mock function with given fields: ctx, params, optFns

func (*IClient) DisassociateQualificationFromWorker

func (_m *IClient) DisassociateQualificationFromWorker(ctx context.Context, params *mturk.DisassociateQualificationFromWorkerInput, optFns ...func(*mturk.Options)) (*mturk.DisassociateQualificationFromWorkerOutput, error)

DisassociateQualificationFromWorker provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetAccountBalance

func (_m *IClient) GetAccountBalance(ctx context.Context, params *mturk.GetAccountBalanceInput, optFns ...func(*mturk.Options)) (*mturk.GetAccountBalanceOutput, error)

GetAccountBalance provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetAssignment

func (_m *IClient) GetAssignment(ctx context.Context, params *mturk.GetAssignmentInput, optFns ...func(*mturk.Options)) (*mturk.GetAssignmentOutput, error)

GetAssignment provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetFileUploadURL

func (_m *IClient) GetFileUploadURL(ctx context.Context, params *mturk.GetFileUploadURLInput, optFns ...func(*mturk.Options)) (*mturk.GetFileUploadURLOutput, error)

GetFileUploadURL provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetHIT

func (_m *IClient) GetHIT(ctx context.Context, params *mturk.GetHITInput, optFns ...func(*mturk.Options)) (*mturk.GetHITOutput, error)

GetHIT provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetQualificationScore

func (_m *IClient) GetQualificationScore(ctx context.Context, params *mturk.GetQualificationScoreInput, optFns ...func(*mturk.Options)) (*mturk.GetQualificationScoreOutput, error)

GetQualificationScore provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetQualificationType

func (_m *IClient) GetQualificationType(ctx context.Context, params *mturk.GetQualificationTypeInput, optFns ...func(*mturk.Options)) (*mturk.GetQualificationTypeOutput, error)

GetQualificationType provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAssignmentsForHIT

func (_m *IClient) ListAssignmentsForHIT(ctx context.Context, params *mturk.ListAssignmentsForHITInput, optFns ...func(*mturk.Options)) (*mturk.ListAssignmentsForHITOutput, error)

ListAssignmentsForHIT provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListBonusPayments

func (_m *IClient) ListBonusPayments(ctx context.Context, params *mturk.ListBonusPaymentsInput, optFns ...func(*mturk.Options)) (*mturk.ListBonusPaymentsOutput, error)

ListBonusPayments provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListHITs

func (_m *IClient) ListHITs(ctx context.Context, params *mturk.ListHITsInput, optFns ...func(*mturk.Options)) (*mturk.ListHITsOutput, error)

ListHITs provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListHITsForQualificationType

func (_m *IClient) ListHITsForQualificationType(ctx context.Context, params *mturk.ListHITsForQualificationTypeInput, optFns ...func(*mturk.Options)) (*mturk.ListHITsForQualificationTypeOutput, error)

ListHITsForQualificationType provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListQualificationRequests

func (_m *IClient) ListQualificationRequests(ctx context.Context, params *mturk.ListQualificationRequestsInput, optFns ...func(*mturk.Options)) (*mturk.ListQualificationRequestsOutput, error)

ListQualificationRequests provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListQualificationTypes

func (_m *IClient) ListQualificationTypes(ctx context.Context, params *mturk.ListQualificationTypesInput, optFns ...func(*mturk.Options)) (*mturk.ListQualificationTypesOutput, error)

ListQualificationTypes provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListReviewPolicyResultsForHIT

func (_m *IClient) ListReviewPolicyResultsForHIT(ctx context.Context, params *mturk.ListReviewPolicyResultsForHITInput, optFns ...func(*mturk.Options)) (*mturk.ListReviewPolicyResultsForHITOutput, error)

ListReviewPolicyResultsForHIT provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListReviewableHITs

func (_m *IClient) ListReviewableHITs(ctx context.Context, params *mturk.ListReviewableHITsInput, optFns ...func(*mturk.Options)) (*mturk.ListReviewableHITsOutput, error)

ListReviewableHITs provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListWorkerBlocks

func (_m *IClient) ListWorkerBlocks(ctx context.Context, params *mturk.ListWorkerBlocksInput, optFns ...func(*mturk.Options)) (*mturk.ListWorkerBlocksOutput, error)

ListWorkerBlocks provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListWorkersWithQualificationType

func (_m *IClient) ListWorkersWithQualificationType(ctx context.Context, params *mturk.ListWorkersWithQualificationTypeInput, optFns ...func(*mturk.Options)) (*mturk.ListWorkersWithQualificationTypeOutput, error)

ListWorkersWithQualificationType provides a mock function with given fields: ctx, params, optFns

func (*IClient) NotifyWorkers

func (_m *IClient) NotifyWorkers(ctx context.Context, params *mturk.NotifyWorkersInput, optFns ...func(*mturk.Options)) (*mturk.NotifyWorkersOutput, error)

NotifyWorkers provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() mturk.Options

Options provides a mock function with given fields:

func (*IClient) RejectAssignment

func (_m *IClient) RejectAssignment(ctx context.Context, params *mturk.RejectAssignmentInput, optFns ...func(*mturk.Options)) (*mturk.RejectAssignmentOutput, error)

RejectAssignment provides a mock function with given fields: ctx, params, optFns

func (*IClient) RejectQualificationRequest

func (_m *IClient) RejectQualificationRequest(ctx context.Context, params *mturk.RejectQualificationRequestInput, optFns ...func(*mturk.Options)) (*mturk.RejectQualificationRequestOutput, error)

RejectQualificationRequest provides a mock function with given fields: ctx, params, optFns

func (*IClient) SendBonus

func (_m *IClient) SendBonus(ctx context.Context, params *mturk.SendBonusInput, optFns ...func(*mturk.Options)) (*mturk.SendBonusOutput, error)

SendBonus provides a mock function with given fields: ctx, params, optFns

func (*IClient) SendTestEventNotification

func (_m *IClient) SendTestEventNotification(ctx context.Context, params *mturk.SendTestEventNotificationInput, optFns ...func(*mturk.Options)) (*mturk.SendTestEventNotificationOutput, error)

SendTestEventNotification provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateExpirationForHIT

func (_m *IClient) UpdateExpirationForHIT(ctx context.Context, params *mturk.UpdateExpirationForHITInput, optFns ...func(*mturk.Options)) (*mturk.UpdateExpirationForHITOutput, error)

UpdateExpirationForHIT provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateHITReviewStatus

func (_m *IClient) UpdateHITReviewStatus(ctx context.Context, params *mturk.UpdateHITReviewStatusInput, optFns ...func(*mturk.Options)) (*mturk.UpdateHITReviewStatusOutput, error)

UpdateHITReviewStatus provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateHITTypeOfHIT

func (_m *IClient) UpdateHITTypeOfHIT(ctx context.Context, params *mturk.UpdateHITTypeOfHITInput, optFns ...func(*mturk.Options)) (*mturk.UpdateHITTypeOfHITOutput, error)

UpdateHITTypeOfHIT provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateNotificationSettings

func (_m *IClient) UpdateNotificationSettings(ctx context.Context, params *mturk.UpdateNotificationSettingsInput, optFns ...func(*mturk.Options)) (*mturk.UpdateNotificationSettingsOutput, error)

UpdateNotificationSettings provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateQualificationType

func (_m *IClient) UpdateQualificationType(ctx context.Context, params *mturk.UpdateQualificationTypeInput, optFns ...func(*mturk.Options)) (*mturk.UpdateQualificationTypeOutput, error)

UpdateQualificationType provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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