Documentation ¶
Overview ¶
Package mocks3backend is a generated GoMock package.
Index ¶
- type MockS3
- func (m *MockS3) Download(arg0 io.WriterAt, arg1 *s3.GetObjectInput, arg2 ...func(*s3manager.Downloader)) (int64, error)
- func (m *MockS3) EXPECT() *MockS3MockRecorder
- func (m *MockS3) HeadObject(arg0 *s3.HeadObjectInput) (*s3.HeadObjectOutput, error)
- func (m *MockS3) ListObjectsV2Pages(arg0 *s3.ListObjectsV2Input, arg1 func(*s3.ListObjectsV2Output, bool) bool) error
- func (m *MockS3) Upload(arg0 *s3manager.UploadInput, arg1 ...func(*s3manager.Uploader)) (*s3manager.UploadOutput, error)
- type MockS3MockRecorder
- func (mr *MockS3MockRecorder) Download(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockS3MockRecorder) HeadObject(arg0 interface{}) *gomock.Call
- func (mr *MockS3MockRecorder) ListObjectsV2Pages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockS3MockRecorder) Upload(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockS3 ¶
type MockS3 struct {
// contains filtered or unexported fields
}
MockS3 is a mock of S3 interface
func NewMockS3 ¶
func NewMockS3(ctrl *gomock.Controller) *MockS3
NewMockS3 creates a new mock instance
func (*MockS3) Download ¶
func (m *MockS3) Download(arg0 io.WriterAt, arg1 *s3.GetObjectInput, arg2 ...func(*s3manager.Downloader)) (int64, error)
Download mocks base method
func (*MockS3) EXPECT ¶
func (m *MockS3) EXPECT() *MockS3MockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockS3) HeadObject ¶
func (m *MockS3) HeadObject(arg0 *s3.HeadObjectInput) (*s3.HeadObjectOutput, error)
HeadObject mocks base method
func (*MockS3) ListObjectsV2Pages ¶ added in v0.1.3
func (m *MockS3) ListObjectsV2Pages(arg0 *s3.ListObjectsV2Input, arg1 func(*s3.ListObjectsV2Output, bool) bool) error
ListObjectsV2Pages mocks base method
func (*MockS3) Upload ¶
func (m *MockS3) Upload(arg0 *s3manager.UploadInput, arg1 ...func(*s3manager.Uploader)) (*s3manager.UploadOutput, error)
Upload mocks base method
type MockS3MockRecorder ¶
type MockS3MockRecorder struct {
// contains filtered or unexported fields
}
MockS3MockRecorder is the mock recorder for MockS3
func (*MockS3MockRecorder) Download ¶
func (mr *MockS3MockRecorder) Download(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Download indicates an expected call of Download
func (*MockS3MockRecorder) HeadObject ¶
func (mr *MockS3MockRecorder) HeadObject(arg0 interface{}) *gomock.Call
HeadObject indicates an expected call of HeadObject
func (*MockS3MockRecorder) ListObjectsV2Pages ¶ added in v0.1.3
func (mr *MockS3MockRecorder) ListObjectsV2Pages(arg0, arg1 interface{}) *gomock.Call
ListObjectsV2Pages indicates an expected call of ListObjectsV2Pages
func (*MockS3MockRecorder) Upload ¶
func (mr *MockS3MockRecorder) Upload(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Upload indicates an expected call of Upload
Click to show internal directories.
Click to hide internal directories.