Documentation
¶
Overview ¶
Package mock_files is a generated GoMock package.
Package mock_files is a generated GoMock package.
Package mock_files is a generated GoMock package.
Index ¶
- type MockBatchFolderDeleterAPI
- type MockBatchFolderDeleterAPIMockRecorder
- type MockExtractor
- type MockExtractorMockRecorder
- type MockRequestPreSignerAPI
- type MockRequestPreSignerAPIMockRecorder
- type MockS3ClientAPI
- func (m *MockS3ClientAPI) DeleteObject(input *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)
- func (m *MockS3ClientAPI) EXPECT() *MockS3ClientAPIMockRecorder
- func (m *MockS3ClientAPI) GetObject(input *s3.GetObjectInput) (*s3.GetObjectOutput, error)
- func (m *MockS3ClientAPI) GetObjectRequest(input *s3.GetObjectInput) (*request.Request, *s3.GetObjectOutput)
- func (m *MockS3ClientAPI) PutObject(input *s3.PutObjectInput) (*s3.PutObjectOutput, error)
- type MockS3ClientAPIMockRecorder
- func (mr *MockS3ClientAPIMockRecorder) DeleteObject(input interface{}) *gomock.Call
- func (mr *MockS3ClientAPIMockRecorder) GetObject(input interface{}) *gomock.Call
- func (mr *MockS3ClientAPIMockRecorder) GetObjectRequest(input interface{}) *gomock.Call
- func (mr *MockS3ClientAPIMockRecorder) PutObject(input interface{}) *gomock.Call
- type MockS3ClientInterface
- func (m *MockS3ClientInterface) DeleteObject(bucket, key string) (*s3.DeleteObjectOutput, error)
- func (m *MockS3ClientInterface) Download(file io.WriterAt, bucket, key string) (int64, error)
- func (m *MockS3ClientInterface) EXPECT() *MockS3ClientInterfaceMockRecorder
- func (m *MockS3ClientInterface) GetObject(bucket, key string) (*s3.GetObjectOutput, error)
- func (m *MockS3ClientInterface) GetSignedURL(bucket, key string, expire time.Duration) (string, error)
- func (m *MockS3ClientInterface) PutObject(file io.ReadSeeker, bucket, key, acl string) (*s3.PutObjectOutput, error)
- func (m *MockS3ClientInterface) Upload(file io.Reader, bucket, key, acl string) (*s3manager.UploadOutput, error)
- type MockS3ClientInterfaceMockRecorder
- func (mr *MockS3ClientInterfaceMockRecorder) DeleteObject(bucket, key interface{}) *gomock.Call
- func (mr *MockS3ClientInterfaceMockRecorder) Download(file, bucket, key interface{}) *gomock.Call
- func (mr *MockS3ClientInterfaceMockRecorder) GetObject(bucket, key interface{}) *gomock.Call
- func (mr *MockS3ClientInterfaceMockRecorder) GetSignedURL(bucket, key, expire interface{}) *gomock.Call
- func (mr *MockS3ClientInterfaceMockRecorder) PutObject(file, bucket, key, acl interface{}) *gomock.Call
- func (mr *MockS3ClientInterfaceMockRecorder) Upload(file, bucket, key, acl interface{}) *gomock.Call
- type MockS3DownloaderAPI
- type MockS3DownloaderAPIMockRecorder
- type MockS3RequestAPI
- type MockS3RequestAPIMockRecorder
- type MockS3UploaderAPI
- type MockS3UploaderAPIMockRecorder
- type MockUploader
- type MockUploaderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBatchFolderDeleterAPI ¶
type MockBatchFolderDeleterAPI struct {
// contains filtered or unexported fields
}
MockBatchFolderDeleterAPI is a mock of BatchFolderDeleterAPI interface.
func NewMockBatchFolderDeleterAPI ¶
func NewMockBatchFolderDeleterAPI(ctrl *gomock.Controller) *MockBatchFolderDeleterAPI
NewMockBatchFolderDeleterAPI creates a new mock instance.
func (*MockBatchFolderDeleterAPI) Delete ¶
func (m *MockBatchFolderDeleterAPI) Delete(bucket, folderKey string) error
Delete mocks base method.
func (*MockBatchFolderDeleterAPI) EXPECT ¶
func (m *MockBatchFolderDeleterAPI) EXPECT() *MockBatchFolderDeleterAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBatchFolderDeleterAPIMockRecorder ¶
type MockBatchFolderDeleterAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockBatchFolderDeleterAPIMockRecorder is the mock recorder for MockBatchFolderDeleterAPI.
func (*MockBatchFolderDeleterAPIMockRecorder) Delete ¶
func (mr *MockBatchFolderDeleterAPIMockRecorder) Delete(bucket, folderKey interface{}) *gomock.Call
Delete indicates an expected call of Delete.
type MockExtractor ¶
type MockExtractor struct {
// contains filtered or unexported fields
}
MockExtractor is a mock of Extractor interface.
func NewMockExtractor ¶
func NewMockExtractor(ctrl *gomock.Controller) *MockExtractor
NewMockExtractor creates a new mock instance.
func (*MockExtractor) EXPECT ¶
func (m *MockExtractor) EXPECT() *MockExtractorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExtractor) Extract ¶
func (m *MockExtractor) Extract(rc io.ReadCloser, dst string) error
Extract mocks base method.
type MockExtractorMockRecorder ¶
type MockExtractorMockRecorder struct {
// contains filtered or unexported fields
}
MockExtractorMockRecorder is the mock recorder for MockExtractor.
func (*MockExtractorMockRecorder) Extract ¶
func (mr *MockExtractorMockRecorder) Extract(rc, dst interface{}) *gomock.Call
Extract indicates an expected call of Extract.
type MockRequestPreSignerAPI ¶
type MockRequestPreSignerAPI struct {
// contains filtered or unexported fields
}
MockRequestPreSignerAPI is a mock of RequestPreSignerAPI interface.
func NewMockRequestPreSignerAPI ¶
func NewMockRequestPreSignerAPI(ctrl *gomock.Controller) *MockRequestPreSignerAPI
NewMockRequestPreSignerAPI creates a new mock instance.
func (*MockRequestPreSignerAPI) EXPECT ¶
func (m *MockRequestPreSignerAPI) EXPECT() *MockRequestPreSignerAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRequestPreSignerAPI) Presign ¶
func (m *MockRequestPreSignerAPI) Presign(req files.S3RequestAPI, expire time.Duration) (string, error)
Presign mocks base method.
type MockRequestPreSignerAPIMockRecorder ¶
type MockRequestPreSignerAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockRequestPreSignerAPIMockRecorder is the mock recorder for MockRequestPreSignerAPI.
func (*MockRequestPreSignerAPIMockRecorder) Presign ¶
func (mr *MockRequestPreSignerAPIMockRecorder) Presign(req, expire interface{}) *gomock.Call
Presign indicates an expected call of Presign.
type MockS3ClientAPI ¶
type MockS3ClientAPI struct {
// contains filtered or unexported fields
}
MockS3ClientAPI is a mock of S3ClientAPI interface.
func NewMockS3ClientAPI ¶
func NewMockS3ClientAPI(ctrl *gomock.Controller) *MockS3ClientAPI
NewMockS3ClientAPI creates a new mock instance.
func (*MockS3ClientAPI) DeleteObject ¶
func (m *MockS3ClientAPI) DeleteObject(input *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)
DeleteObject mocks base method.
func (*MockS3ClientAPI) EXPECT ¶
func (m *MockS3ClientAPI) EXPECT() *MockS3ClientAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockS3ClientAPI) GetObject ¶
func (m *MockS3ClientAPI) GetObject(input *s3.GetObjectInput) (*s3.GetObjectOutput, error)
GetObject mocks base method.
func (*MockS3ClientAPI) GetObjectRequest ¶
func (m *MockS3ClientAPI) GetObjectRequest(input *s3.GetObjectInput) (*request.Request, *s3.GetObjectOutput)
GetObjectRequest mocks base method.
func (*MockS3ClientAPI) PutObject ¶
func (m *MockS3ClientAPI) PutObject(input *s3.PutObjectInput) (*s3.PutObjectOutput, error)
PutObject mocks base method.
type MockS3ClientAPIMockRecorder ¶
type MockS3ClientAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockS3ClientAPIMockRecorder is the mock recorder for MockS3ClientAPI.
func (*MockS3ClientAPIMockRecorder) DeleteObject ¶
func (mr *MockS3ClientAPIMockRecorder) DeleteObject(input interface{}) *gomock.Call
DeleteObject indicates an expected call of DeleteObject.
func (*MockS3ClientAPIMockRecorder) GetObject ¶
func (mr *MockS3ClientAPIMockRecorder) GetObject(input interface{}) *gomock.Call
GetObject indicates an expected call of GetObject.
func (*MockS3ClientAPIMockRecorder) GetObjectRequest ¶
func (mr *MockS3ClientAPIMockRecorder) GetObjectRequest(input interface{}) *gomock.Call
GetObjectRequest indicates an expected call of GetObjectRequest.
func (*MockS3ClientAPIMockRecorder) PutObject ¶
func (mr *MockS3ClientAPIMockRecorder) PutObject(input interface{}) *gomock.Call
PutObject indicates an expected call of PutObject.
type MockS3ClientInterface ¶
type MockS3ClientInterface struct {
// contains filtered or unexported fields
}
MockS3ClientInterface is a mock of S3ClientInterface interface.
func NewMockS3ClientInterface ¶
func NewMockS3ClientInterface(ctrl *gomock.Controller) *MockS3ClientInterface
NewMockS3ClientInterface creates a new mock instance.
func (*MockS3ClientInterface) DeleteObject ¶
func (m *MockS3ClientInterface) DeleteObject(bucket, key string) (*s3.DeleteObjectOutput, error)
DeleteObject mocks base method.
func (*MockS3ClientInterface) EXPECT ¶
func (m *MockS3ClientInterface) EXPECT() *MockS3ClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockS3ClientInterface) GetObject ¶
func (m *MockS3ClientInterface) GetObject(bucket, key string) (*s3.GetObjectOutput, error)
GetObject mocks base method.
func (*MockS3ClientInterface) GetSignedURL ¶
func (m *MockS3ClientInterface) GetSignedURL(bucket, key string, expire time.Duration) (string, error)
GetSignedURL mocks base method.
func (*MockS3ClientInterface) PutObject ¶
func (m *MockS3ClientInterface) PutObject(file io.ReadSeeker, bucket, key, acl string) (*s3.PutObjectOutput, error)
PutObject mocks base method.
func (*MockS3ClientInterface) Upload ¶
func (m *MockS3ClientInterface) Upload(file io.Reader, bucket, key, acl string) (*s3manager.UploadOutput, error)
Upload mocks base method.
type MockS3ClientInterfaceMockRecorder ¶
type MockS3ClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockS3ClientInterfaceMockRecorder is the mock recorder for MockS3ClientInterface.
func (*MockS3ClientInterfaceMockRecorder) DeleteObject ¶
func (mr *MockS3ClientInterfaceMockRecorder) DeleteObject(bucket, key interface{}) *gomock.Call
DeleteObject indicates an expected call of DeleteObject.
func (*MockS3ClientInterfaceMockRecorder) Download ¶
func (mr *MockS3ClientInterfaceMockRecorder) Download(file, bucket, key interface{}) *gomock.Call
Download indicates an expected call of Download.
func (*MockS3ClientInterfaceMockRecorder) GetObject ¶
func (mr *MockS3ClientInterfaceMockRecorder) GetObject(bucket, key interface{}) *gomock.Call
GetObject indicates an expected call of GetObject.
func (*MockS3ClientInterfaceMockRecorder) GetSignedURL ¶
func (mr *MockS3ClientInterfaceMockRecorder) GetSignedURL(bucket, key, expire interface{}) *gomock.Call
GetSignedURL indicates an expected call of GetSignedURL.
func (*MockS3ClientInterfaceMockRecorder) PutObject ¶
func (mr *MockS3ClientInterfaceMockRecorder) PutObject(file, bucket, key, acl interface{}) *gomock.Call
PutObject indicates an expected call of PutObject.
func (*MockS3ClientInterfaceMockRecorder) Upload ¶
func (mr *MockS3ClientInterfaceMockRecorder) Upload(file, bucket, key, acl interface{}) *gomock.Call
Upload indicates an expected call of Upload.
type MockS3DownloaderAPI ¶
type MockS3DownloaderAPI struct {
// contains filtered or unexported fields
}
MockS3DownloaderAPI is a mock of S3DownloaderAPI interface.
func NewMockS3DownloaderAPI ¶
func NewMockS3DownloaderAPI(ctrl *gomock.Controller) *MockS3DownloaderAPI
NewMockS3DownloaderAPI creates a new mock instance.
func (*MockS3DownloaderAPI) Download ¶
func (m *MockS3DownloaderAPI) Download(w io.WriterAt, input *s3.GetObjectInput, options ...func(*s3manager.Downloader)) (int64, error)
Download mocks base method.
func (*MockS3DownloaderAPI) EXPECT ¶
func (m *MockS3DownloaderAPI) EXPECT() *MockS3DownloaderAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockS3DownloaderAPIMockRecorder ¶
type MockS3DownloaderAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockS3DownloaderAPIMockRecorder is the mock recorder for MockS3DownloaderAPI.
func (*MockS3DownloaderAPIMockRecorder) Download ¶
func (mr *MockS3DownloaderAPIMockRecorder) Download(w, input interface{}, options ...interface{}) *gomock.Call
Download indicates an expected call of Download.
type MockS3RequestAPI ¶
type MockS3RequestAPI struct {
// contains filtered or unexported fields
}
MockS3RequestAPI is a mock of S3RequestAPI interface.
func NewMockS3RequestAPI ¶
func NewMockS3RequestAPI(ctrl *gomock.Controller) *MockS3RequestAPI
NewMockS3RequestAPI creates a new mock instance.
func (*MockS3RequestAPI) EXPECT ¶
func (m *MockS3RequestAPI) EXPECT() *MockS3RequestAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockS3RequestAPIMockRecorder ¶
type MockS3RequestAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockS3RequestAPIMockRecorder is the mock recorder for MockS3RequestAPI.
func (*MockS3RequestAPIMockRecorder) Presign ¶
func (mr *MockS3RequestAPIMockRecorder) Presign(expire interface{}) *gomock.Call
Presign indicates an expected call of Presign.
type MockS3UploaderAPI ¶
type MockS3UploaderAPI struct {
// contains filtered or unexported fields
}
MockS3UploaderAPI is a mock of S3UploaderAPI interface.
func NewMockS3UploaderAPI ¶
func NewMockS3UploaderAPI(ctrl *gomock.Controller) *MockS3UploaderAPI
NewMockS3UploaderAPI creates a new mock instance.
func (*MockS3UploaderAPI) EXPECT ¶
func (m *MockS3UploaderAPI) EXPECT() *MockS3UploaderAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockS3UploaderAPI) Upload ¶
func (m *MockS3UploaderAPI) Upload(input *s3manager.UploadInput, options ...func(*s3manager.Uploader)) (*s3manager.UploadOutput, error)
Upload mocks base method.
type MockS3UploaderAPIMockRecorder ¶
type MockS3UploaderAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockS3UploaderAPIMockRecorder is the mock recorder for MockS3UploaderAPI.
func (*MockS3UploaderAPIMockRecorder) Upload ¶
func (mr *MockS3UploaderAPIMockRecorder) Upload(input interface{}, options ...interface{}) *gomock.Call
Upload indicates an expected call of Upload.
type MockUploader ¶
type MockUploader struct {
// contains filtered or unexported fields
}
MockUploader is a mock of Uploader interface.
func NewMockUploader ¶
func NewMockUploader(ctrl *gomock.Controller) *MockUploader
NewMockUploader creates a new mock instance.
func (*MockUploader) EXPECT ¶
func (m *MockUploader) EXPECT() *MockUploaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUploader) UploadFile ¶
func (m *MockUploader) UploadFile(fname, uploadPath string) (string, error)
UploadFile mocks base method.
func (*MockUploader) UploadRepo ¶
func (m *MockUploader) UploadRepo(src, account, acl string) (string, error)
UploadRepo mocks base method.
type MockUploaderMockRecorder ¶
type MockUploaderMockRecorder struct {
// contains filtered or unexported fields
}
MockUploaderMockRecorder is the mock recorder for MockUploader.
func (*MockUploaderMockRecorder) UploadFile ¶
func (mr *MockUploaderMockRecorder) UploadFile(fname, uploadPath interface{}) *gomock.Call
UploadFile indicates an expected call of UploadFile.
func (*MockUploaderMockRecorder) UploadRepo ¶
func (mr *MockUploaderMockRecorder) UploadRepo(src, account, acl interface{}) *gomock.Call
UploadRepo indicates an expected call of UploadRepo.