Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockRekognitionClient
- func (m *MockRekognitionClient) DetectFaces(ctx context.Context, params *rekognition.DetectFacesInput, ...) (*rekognition.DetectFacesOutput, error)
- func (m *MockRekognitionClient) DetectLabels(ctx context.Context, params *rekognition.DetectLabelsInput, ...) (*rekognition.DetectLabelsOutput, error)
- func (m *MockRekognitionClient) EXPECT() *MockRekognitionClientMockRecorder
- type MockRekognitionClientMockRecorder
- type MockS3Uploader
- type MockS3UploaderMockRecorder
- type MockUniqueIdGenerator
- type MockUniqueIdGeneratorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRekognitionClient ¶
type MockRekognitionClient struct {
// contains filtered or unexported fields
}
MockRekognitionClient is a mock of RekognitionClient interface.
func NewMockRekognitionClient ¶
func NewMockRekognitionClient(ctrl *gomock.Controller) *MockRekognitionClient
NewMockRekognitionClient creates a new mock instance.
func (*MockRekognitionClient) DetectFaces ¶
func (m *MockRekognitionClient) DetectFaces(ctx context.Context, params *rekognition.DetectFacesInput, optFns ...func(*rekognition.Options)) (*rekognition.DetectFacesOutput, error)
DetectFaces mocks base method.
func (*MockRekognitionClient) DetectLabels ¶
func (m *MockRekognitionClient) DetectLabels(ctx context.Context, params *rekognition.DetectLabelsInput, optFns ...func(*rekognition.Options)) (*rekognition.DetectLabelsOutput, error)
DetectLabels mocks base method.
func (*MockRekognitionClient) EXPECT ¶
func (m *MockRekognitionClient) EXPECT() *MockRekognitionClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRekognitionClientMockRecorder ¶
type MockRekognitionClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRekognitionClientMockRecorder is the mock recorder for MockRekognitionClient.
func (*MockRekognitionClientMockRecorder) DetectFaces ¶
func (mr *MockRekognitionClientMockRecorder) DetectFaces(ctx, params interface{}, optFns ...interface{}) *gomock.Call
DetectFaces indicates an expected call of DetectFaces.
func (*MockRekognitionClientMockRecorder) DetectLabels ¶
func (mr *MockRekognitionClientMockRecorder) DetectLabels(ctx, params interface{}, optFns ...interface{}) *gomock.Call
DetectLabels indicates an expected call of DetectLabels.
type MockS3Uploader ¶
type MockS3Uploader struct {
// contains filtered or unexported fields
}
MockS3Uploader is a mock of S3Uploader interface.
func NewMockS3Uploader ¶
func NewMockS3Uploader(ctrl *gomock.Controller) *MockS3Uploader
NewMockS3Uploader creates a new mock instance.
func (*MockS3Uploader) EXPECT ¶
func (m *MockS3Uploader) EXPECT() *MockS3UploaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockS3Uploader) Upload ¶
func (m *MockS3Uploader) Upload(ctx context.Context, input *s3.PutObjectInput, opts ...func(*manager.Uploader)) (*manager.UploadOutput, error)
Upload mocks base method.
type MockS3UploaderMockRecorder ¶
type MockS3UploaderMockRecorder struct {
// contains filtered or unexported fields
}
MockS3UploaderMockRecorder is the mock recorder for MockS3Uploader.
func (*MockS3UploaderMockRecorder) Upload ¶
func (mr *MockS3UploaderMockRecorder) Upload(ctx, input interface{}, opts ...interface{}) *gomock.Call
Upload indicates an expected call of Upload.
type MockUniqueIdGenerator ¶
type MockUniqueIdGenerator struct {
// contains filtered or unexported fields
}
MockUniqueIdGenerator is a mock of UniqueIdGenerator interface.
func NewMockUniqueIdGenerator ¶
func NewMockUniqueIdGenerator(ctrl *gomock.Controller) *MockUniqueIdGenerator
NewMockUniqueIdGenerator creates a new mock instance.
func (*MockUniqueIdGenerator) EXPECT ¶
func (m *MockUniqueIdGenerator) EXPECT() *MockUniqueIdGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUniqueIdGenerator) Generate ¶
func (m *MockUniqueIdGenerator) Generate() (string, error)
Generate mocks base method.
type MockUniqueIdGeneratorMockRecorder ¶
type MockUniqueIdGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockUniqueIdGeneratorMockRecorder is the mock recorder for MockUniqueIdGenerator.
func (*MockUniqueIdGeneratorMockRecorder) Generate ¶
func (mr *MockUniqueIdGeneratorMockRecorder) Generate() *gomock.Call
Generate indicates an expected call of Generate.