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

func (_m *IClient) AssociateFaces(ctx context.Context, params *rekognition.AssociateFacesInput, optFns ...func(*rekognition.Options)) (*rekognition.AssociateFacesOutput, error)

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

func (*IClient) CompareFaces

func (_m *IClient) CompareFaces(ctx context.Context, params *rekognition.CompareFacesInput, optFns ...func(*rekognition.Options)) (*rekognition.CompareFacesOutput, error)

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

func (*IClient) CopyProjectVersion

func (_m *IClient) CopyProjectVersion(ctx context.Context, params *rekognition.CopyProjectVersionInput, optFns ...func(*rekognition.Options)) (*rekognition.CopyProjectVersionOutput, error)

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

func (*IClient) CreateCollection

func (_m *IClient) CreateCollection(ctx context.Context, params *rekognition.CreateCollectionInput, optFns ...func(*rekognition.Options)) (*rekognition.CreateCollectionOutput, error)

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

func (*IClient) CreateDataset

func (_m *IClient) CreateDataset(ctx context.Context, params *rekognition.CreateDatasetInput, optFns ...func(*rekognition.Options)) (*rekognition.CreateDatasetOutput, error)

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

func (*IClient) CreateFaceLivenessSession

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

func (*IClient) CreateProject

func (_m *IClient) CreateProject(ctx context.Context, params *rekognition.CreateProjectInput, optFns ...func(*rekognition.Options)) (*rekognition.CreateProjectOutput, error)

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

func (*IClient) CreateProjectVersion

func (_m *IClient) CreateProjectVersion(ctx context.Context, params *rekognition.CreateProjectVersionInput, optFns ...func(*rekognition.Options)) (*rekognition.CreateProjectVersionOutput, error)

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

func (*IClient) CreateStreamProcessor

func (_m *IClient) CreateStreamProcessor(ctx context.Context, params *rekognition.CreateStreamProcessorInput, optFns ...func(*rekognition.Options)) (*rekognition.CreateStreamProcessorOutput, error)

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

func (*IClient) CreateUser

func (_m *IClient) CreateUser(ctx context.Context, params *rekognition.CreateUserInput, optFns ...func(*rekognition.Options)) (*rekognition.CreateUserOutput, error)

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

func (*IClient) DeleteCollection

func (_m *IClient) DeleteCollection(ctx context.Context, params *rekognition.DeleteCollectionInput, optFns ...func(*rekognition.Options)) (*rekognition.DeleteCollectionOutput, error)

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

func (*IClient) DeleteDataset

func (_m *IClient) DeleteDataset(ctx context.Context, params *rekognition.DeleteDatasetInput, optFns ...func(*rekognition.Options)) (*rekognition.DeleteDatasetOutput, error)

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

func (*IClient) DeleteFaces

func (_m *IClient) DeleteFaces(ctx context.Context, params *rekognition.DeleteFacesInput, optFns ...func(*rekognition.Options)) (*rekognition.DeleteFacesOutput, error)

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

func (*IClient) DeleteProject

func (_m *IClient) DeleteProject(ctx context.Context, params *rekognition.DeleteProjectInput, optFns ...func(*rekognition.Options)) (*rekognition.DeleteProjectOutput, error)

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

func (*IClient) DeleteProjectPolicy

func (_m *IClient) DeleteProjectPolicy(ctx context.Context, params *rekognition.DeleteProjectPolicyInput, optFns ...func(*rekognition.Options)) (*rekognition.DeleteProjectPolicyOutput, error)

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

func (*IClient) DeleteProjectVersion

func (_m *IClient) DeleteProjectVersion(ctx context.Context, params *rekognition.DeleteProjectVersionInput, optFns ...func(*rekognition.Options)) (*rekognition.DeleteProjectVersionOutput, error)

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

func (*IClient) DeleteStreamProcessor

func (_m *IClient) DeleteStreamProcessor(ctx context.Context, params *rekognition.DeleteStreamProcessorInput, optFns ...func(*rekognition.Options)) (*rekognition.DeleteStreamProcessorOutput, error)

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

func (*IClient) DeleteUser

func (_m *IClient) DeleteUser(ctx context.Context, params *rekognition.DeleteUserInput, optFns ...func(*rekognition.Options)) (*rekognition.DeleteUserOutput, error)

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

func (*IClient) DescribeCollection

func (_m *IClient) DescribeCollection(ctx context.Context, params *rekognition.DescribeCollectionInput, optFns ...func(*rekognition.Options)) (*rekognition.DescribeCollectionOutput, error)

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

func (*IClient) DescribeDataset

func (_m *IClient) DescribeDataset(ctx context.Context, params *rekognition.DescribeDatasetInput, optFns ...func(*rekognition.Options)) (*rekognition.DescribeDatasetOutput, error)

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

func (*IClient) DescribeProjectVersions

func (_m *IClient) DescribeProjectVersions(ctx context.Context, params *rekognition.DescribeProjectVersionsInput, optFns ...func(*rekognition.Options)) (*rekognition.DescribeProjectVersionsOutput, error)

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

func (*IClient) DescribeProjects

func (_m *IClient) DescribeProjects(ctx context.Context, params *rekognition.DescribeProjectsInput, optFns ...func(*rekognition.Options)) (*rekognition.DescribeProjectsOutput, error)

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

func (*IClient) DescribeStreamProcessor

func (_m *IClient) DescribeStreamProcessor(ctx context.Context, params *rekognition.DescribeStreamProcessorInput, optFns ...func(*rekognition.Options)) (*rekognition.DescribeStreamProcessorOutput, error)

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

func (*IClient) DetectCustomLabels

func (_m *IClient) DetectCustomLabels(ctx context.Context, params *rekognition.DetectCustomLabelsInput, optFns ...func(*rekognition.Options)) (*rekognition.DetectCustomLabelsOutput, error)

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

func (*IClient) DetectFaces

func (_m *IClient) DetectFaces(ctx context.Context, params *rekognition.DetectFacesInput, optFns ...func(*rekognition.Options)) (*rekognition.DetectFacesOutput, error)

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

func (*IClient) DetectLabels

func (_m *IClient) DetectLabels(ctx context.Context, params *rekognition.DetectLabelsInput, optFns ...func(*rekognition.Options)) (*rekognition.DetectLabelsOutput, error)

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

func (*IClient) DetectModerationLabels

func (_m *IClient) DetectModerationLabels(ctx context.Context, params *rekognition.DetectModerationLabelsInput, optFns ...func(*rekognition.Options)) (*rekognition.DetectModerationLabelsOutput, error)

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

func (*IClient) DetectProtectiveEquipment

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

func (*IClient) DetectText

func (_m *IClient) DetectText(ctx context.Context, params *rekognition.DetectTextInput, optFns ...func(*rekognition.Options)) (*rekognition.DetectTextOutput, error)

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

func (*IClient) DisassociateFaces

func (_m *IClient) DisassociateFaces(ctx context.Context, params *rekognition.DisassociateFacesInput, optFns ...func(*rekognition.Options)) (*rekognition.DisassociateFacesOutput, error)

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

func (*IClient) DistributeDatasetEntries

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

func (*IClient) GetCelebrityInfo

func (_m *IClient) GetCelebrityInfo(ctx context.Context, params *rekognition.GetCelebrityInfoInput, optFns ...func(*rekognition.Options)) (*rekognition.GetCelebrityInfoOutput, error)

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

func (*IClient) GetCelebrityRecognition

func (_m *IClient) GetCelebrityRecognition(ctx context.Context, params *rekognition.GetCelebrityRecognitionInput, optFns ...func(*rekognition.Options)) (*rekognition.GetCelebrityRecognitionOutput, error)

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

func (*IClient) GetContentModeration

func (_m *IClient) GetContentModeration(ctx context.Context, params *rekognition.GetContentModerationInput, optFns ...func(*rekognition.Options)) (*rekognition.GetContentModerationOutput, error)

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

func (*IClient) GetFaceDetection

func (_m *IClient) GetFaceDetection(ctx context.Context, params *rekognition.GetFaceDetectionInput, optFns ...func(*rekognition.Options)) (*rekognition.GetFaceDetectionOutput, error)

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

func (*IClient) GetFaceLivenessSessionResults

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

func (*IClient) GetFaceSearch

func (_m *IClient) GetFaceSearch(ctx context.Context, params *rekognition.GetFaceSearchInput, optFns ...func(*rekognition.Options)) (*rekognition.GetFaceSearchOutput, error)

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

func (*IClient) GetLabelDetection

func (_m *IClient) GetLabelDetection(ctx context.Context, params *rekognition.GetLabelDetectionInput, optFns ...func(*rekognition.Options)) (*rekognition.GetLabelDetectionOutput, error)

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

func (*IClient) GetMediaAnalysisJob

func (_m *IClient) GetMediaAnalysisJob(ctx context.Context, params *rekognition.GetMediaAnalysisJobInput, optFns ...func(*rekognition.Options)) (*rekognition.GetMediaAnalysisJobOutput, error)

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

func (*IClient) GetPersonTracking

func (_m *IClient) GetPersonTracking(ctx context.Context, params *rekognition.GetPersonTrackingInput, optFns ...func(*rekognition.Options)) (*rekognition.GetPersonTrackingOutput, error)

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

func (*IClient) GetSegmentDetection

func (_m *IClient) GetSegmentDetection(ctx context.Context, params *rekognition.GetSegmentDetectionInput, optFns ...func(*rekognition.Options)) (*rekognition.GetSegmentDetectionOutput, error)

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

func (*IClient) GetTextDetection

func (_m *IClient) GetTextDetection(ctx context.Context, params *rekognition.GetTextDetectionInput, optFns ...func(*rekognition.Options)) (*rekognition.GetTextDetectionOutput, error)

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

func (*IClient) IndexFaces

func (_m *IClient) IndexFaces(ctx context.Context, params *rekognition.IndexFacesInput, optFns ...func(*rekognition.Options)) (*rekognition.IndexFacesOutput, error)

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

func (*IClient) ListCollections

func (_m *IClient) ListCollections(ctx context.Context, params *rekognition.ListCollectionsInput, optFns ...func(*rekognition.Options)) (*rekognition.ListCollectionsOutput, error)

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

func (*IClient) ListDatasetEntries

func (_m *IClient) ListDatasetEntries(ctx context.Context, params *rekognition.ListDatasetEntriesInput, optFns ...func(*rekognition.Options)) (*rekognition.ListDatasetEntriesOutput, error)

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

func (*IClient) ListDatasetLabels

func (_m *IClient) ListDatasetLabels(ctx context.Context, params *rekognition.ListDatasetLabelsInput, optFns ...func(*rekognition.Options)) (*rekognition.ListDatasetLabelsOutput, error)

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

func (*IClient) ListFaces

func (_m *IClient) ListFaces(ctx context.Context, params *rekognition.ListFacesInput, optFns ...func(*rekognition.Options)) (*rekognition.ListFacesOutput, error)

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

func (*IClient) ListMediaAnalysisJobs

func (_m *IClient) ListMediaAnalysisJobs(ctx context.Context, params *rekognition.ListMediaAnalysisJobsInput, optFns ...func(*rekognition.Options)) (*rekognition.ListMediaAnalysisJobsOutput, error)

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

func (*IClient) ListProjectPolicies

func (_m *IClient) ListProjectPolicies(ctx context.Context, params *rekognition.ListProjectPoliciesInput, optFns ...func(*rekognition.Options)) (*rekognition.ListProjectPoliciesOutput, error)

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

func (*IClient) ListStreamProcessors

func (_m *IClient) ListStreamProcessors(ctx context.Context, params *rekognition.ListStreamProcessorsInput, optFns ...func(*rekognition.Options)) (*rekognition.ListStreamProcessorsOutput, error)

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

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *rekognition.ListTagsForResourceInput, optFns ...func(*rekognition.Options)) (*rekognition.ListTagsForResourceOutput, error)

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

func (*IClient) ListUsers

func (_m *IClient) ListUsers(ctx context.Context, params *rekognition.ListUsersInput, optFns ...func(*rekognition.Options)) (*rekognition.ListUsersOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutProjectPolicy

func (_m *IClient) PutProjectPolicy(ctx context.Context, params *rekognition.PutProjectPolicyInput, optFns ...func(*rekognition.Options)) (*rekognition.PutProjectPolicyOutput, error)

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

func (*IClient) RecognizeCelebrities

func (_m *IClient) RecognizeCelebrities(ctx context.Context, params *rekognition.RecognizeCelebritiesInput, optFns ...func(*rekognition.Options)) (*rekognition.RecognizeCelebritiesOutput, error)

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

func (*IClient) SearchFaces

func (_m *IClient) SearchFaces(ctx context.Context, params *rekognition.SearchFacesInput, optFns ...func(*rekognition.Options)) (*rekognition.SearchFacesOutput, error)

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

func (*IClient) SearchFacesByImage

func (_m *IClient) SearchFacesByImage(ctx context.Context, params *rekognition.SearchFacesByImageInput, optFns ...func(*rekognition.Options)) (*rekognition.SearchFacesByImageOutput, error)

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

func (*IClient) SearchUsers

func (_m *IClient) SearchUsers(ctx context.Context, params *rekognition.SearchUsersInput, optFns ...func(*rekognition.Options)) (*rekognition.SearchUsersOutput, error)

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

func (*IClient) SearchUsersByImage

func (_m *IClient) SearchUsersByImage(ctx context.Context, params *rekognition.SearchUsersByImageInput, optFns ...func(*rekognition.Options)) (*rekognition.SearchUsersByImageOutput, error)

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

func (*IClient) StartCelebrityRecognition

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

func (*IClient) StartContentModeration

func (_m *IClient) StartContentModeration(ctx context.Context, params *rekognition.StartContentModerationInput, optFns ...func(*rekognition.Options)) (*rekognition.StartContentModerationOutput, error)

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

func (*IClient) StartFaceDetection

func (_m *IClient) StartFaceDetection(ctx context.Context, params *rekognition.StartFaceDetectionInput, optFns ...func(*rekognition.Options)) (*rekognition.StartFaceDetectionOutput, error)

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

func (*IClient) StartFaceSearch

func (_m *IClient) StartFaceSearch(ctx context.Context, params *rekognition.StartFaceSearchInput, optFns ...func(*rekognition.Options)) (*rekognition.StartFaceSearchOutput, error)

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

func (*IClient) StartLabelDetection

func (_m *IClient) StartLabelDetection(ctx context.Context, params *rekognition.StartLabelDetectionInput, optFns ...func(*rekognition.Options)) (*rekognition.StartLabelDetectionOutput, error)

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

func (*IClient) StartMediaAnalysisJob

func (_m *IClient) StartMediaAnalysisJob(ctx context.Context, params *rekognition.StartMediaAnalysisJobInput, optFns ...func(*rekognition.Options)) (*rekognition.StartMediaAnalysisJobOutput, error)

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

func (*IClient) StartPersonTracking

func (_m *IClient) StartPersonTracking(ctx context.Context, params *rekognition.StartPersonTrackingInput, optFns ...func(*rekognition.Options)) (*rekognition.StartPersonTrackingOutput, error)

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

func (*IClient) StartProjectVersion

func (_m *IClient) StartProjectVersion(ctx context.Context, params *rekognition.StartProjectVersionInput, optFns ...func(*rekognition.Options)) (*rekognition.StartProjectVersionOutput, error)

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

func (*IClient) StartSegmentDetection

func (_m *IClient) StartSegmentDetection(ctx context.Context, params *rekognition.StartSegmentDetectionInput, optFns ...func(*rekognition.Options)) (*rekognition.StartSegmentDetectionOutput, error)

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

func (*IClient) StartStreamProcessor

func (_m *IClient) StartStreamProcessor(ctx context.Context, params *rekognition.StartStreamProcessorInput, optFns ...func(*rekognition.Options)) (*rekognition.StartStreamProcessorOutput, error)

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

func (*IClient) StartTextDetection

func (_m *IClient) StartTextDetection(ctx context.Context, params *rekognition.StartTextDetectionInput, optFns ...func(*rekognition.Options)) (*rekognition.StartTextDetectionOutput, error)

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

func (*IClient) StopProjectVersion

func (_m *IClient) StopProjectVersion(ctx context.Context, params *rekognition.StopProjectVersionInput, optFns ...func(*rekognition.Options)) (*rekognition.StopProjectVersionOutput, error)

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

func (*IClient) StopStreamProcessor

func (_m *IClient) StopStreamProcessor(ctx context.Context, params *rekognition.StopStreamProcessorInput, optFns ...func(*rekognition.Options)) (*rekognition.StopStreamProcessorOutput, error)

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

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *rekognition.TagResourceInput, optFns ...func(*rekognition.Options)) (*rekognition.TagResourceOutput, error)

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

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *rekognition.UntagResourceInput, optFns ...func(*rekognition.Options)) (*rekognition.UntagResourceOutput, error)

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

func (*IClient) UpdateDatasetEntries

func (_m *IClient) UpdateDatasetEntries(ctx context.Context, params *rekognition.UpdateDatasetEntriesInput, optFns ...func(*rekognition.Options)) (*rekognition.UpdateDatasetEntriesOutput, error)

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

func (*IClient) UpdateStreamProcessor

func (_m *IClient) UpdateStreamProcessor(ctx context.Context, params *rekognition.UpdateStreamProcessorInput, optFns ...func(*rekognition.Options)) (*rekognition.UpdateStreamProcessorOutput, error)

UpdateStreamProcessor 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