Documentation ¶
Overview ¶
Package mock_oss is a generated GoMock package.
Index ¶
- type MockOss
- func (m *MockOss) AbortMultipartUpload(arg0 context.Context, arg1 *oss.AbortMultipartUploadInput) (*oss.AbortMultipartUploadOutput, error)
- func (m *MockOss) AppendObject(arg0 context.Context, arg1 *oss.AppendObjectInput) (*oss.AppendObjectOutput, error)
- func (m *MockOss) CompleteMultipartUpload(arg0 context.Context, arg1 *oss.CompleteMultipartUploadInput) (*oss.CompleteMultipartUploadOutput, error)
- func (m *MockOss) CopyObject(arg0 context.Context, arg1 *oss.CopyObjectInput) (*oss.CopyObjectOutput, error)
- func (m *MockOss) CreateMultipartUpload(arg0 context.Context, arg1 *oss.CreateMultipartUploadInput) (*oss.CreateMultipartUploadOutput, error)
- func (m *MockOss) DeleteObject(arg0 context.Context, arg1 *oss.DeleteObjectInput) (*oss.DeleteObjectOutput, error)
- func (m *MockOss) DeleteObjectTagging(arg0 context.Context, arg1 *oss.DeleteObjectTaggingInput) (*oss.DeleteObjectTaggingOutput, error)
- func (m *MockOss) DeleteObjects(arg0 context.Context, arg1 *oss.DeleteObjectsInput) (*oss.DeleteObjectsOutput, error)
- func (m *MockOss) EXPECT() *MockOssMockRecorder
- func (m *MockOss) GetObject(arg0 context.Context, arg1 *oss.GetObjectInput) (*oss.GetObjectOutput, error)
- func (m *MockOss) GetObjectCannedAcl(arg0 context.Context, arg1 *oss.GetObjectCannedAclInput) (*oss.GetObjectCannedAclOutput, error)
- func (m *MockOss) GetObjectTagging(arg0 context.Context, arg1 *oss.GetObjectTaggingInput) (*oss.GetObjectTaggingOutput, error)
- func (m *MockOss) HeadObject(arg0 context.Context, arg1 *oss.HeadObjectInput) (*oss.HeadObjectOutput, error)
- func (m *MockOss) Init(arg0 context.Context, arg1 *oss.Config) error
- func (m *MockOss) IsObjectExist(arg0 context.Context, arg1 *oss.IsObjectExistInput) (*oss.IsObjectExistOutput, error)
- func (m *MockOss) ListMultipartUploads(arg0 context.Context, arg1 *oss.ListMultipartUploadsInput) (*oss.ListMultipartUploadsOutput, error)
- func (m *MockOss) ListObjectVersions(arg0 context.Context, arg1 *oss.ListObjectVersionsInput) (*oss.ListObjectVersionsOutput, error)
- func (m *MockOss) ListObjects(arg0 context.Context, arg1 *oss.ListObjectsInput) (*oss.ListObjectsOutput, error)
- func (m *MockOss) ListParts(arg0 context.Context, arg1 *oss.ListPartsInput) (*oss.ListPartsOutput, error)
- func (m *MockOss) PutObject(arg0 context.Context, arg1 *oss.PutObjectInput) (*oss.PutObjectOutput, error)
- func (m *MockOss) PutObjectCannedAcl(arg0 context.Context, arg1 *oss.PutObjectCannedAclInput) (*oss.PutObjectCannedAclOutput, error)
- func (m *MockOss) PutObjectTagging(arg0 context.Context, arg1 *oss.PutObjectTaggingInput) (*oss.PutObjectTaggingOutput, error)
- func (m *MockOss) RestoreObject(arg0 context.Context, arg1 *oss.RestoreObjectInput) (*oss.RestoreObjectOutput, error)
- func (m *MockOss) SignURL(arg0 context.Context, arg1 *oss.SignURLInput) (*oss.SignURLOutput, error)
- func (m *MockOss) UpdateDownloadBandwidthRateLimit(arg0 context.Context, arg1 *oss.UpdateBandwidthRateLimitInput) error
- func (m *MockOss) UpdateUploadBandwidthRateLimit(arg0 context.Context, arg1 *oss.UpdateBandwidthRateLimitInput) error
- func (m *MockOss) UploadPart(arg0 context.Context, arg1 *oss.UploadPartInput) (*oss.UploadPartOutput, error)
- func (m *MockOss) UploadPartCopy(arg0 context.Context, arg1 *oss.UploadPartCopyInput) (*oss.UploadPartCopyOutput, error)
- type MockOssMockRecorder
- func (mr *MockOssMockRecorder) AbortMultipartUpload(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) AppendObject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) CompleteMultipartUpload(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) CopyObject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) CreateMultipartUpload(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) DeleteObject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) DeleteObjectTagging(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) DeleteObjects(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) GetObject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) GetObjectCannedAcl(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) GetObjectTagging(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) HeadObject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) Init(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) IsObjectExist(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) ListMultipartUploads(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) ListObjectVersions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) ListObjects(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) ListParts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) PutObject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) PutObjectCannedAcl(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) PutObjectTagging(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) RestoreObject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) SignURL(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) UpdateDownloadBandwidthRateLimit(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) UpdateUploadBandwidthRateLimit(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) UploadPart(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOssMockRecorder) UploadPartCopy(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOss ¶
type MockOss struct {
// contains filtered or unexported fields
}
MockOss is a mock of Oss interface.
func NewMockOss ¶
func NewMockOss(ctrl *gomock.Controller) *MockOss
NewMockOss creates a new mock instance.
func (*MockOss) AbortMultipartUpload ¶
func (m *MockOss) AbortMultipartUpload(arg0 context.Context, arg1 *oss.AbortMultipartUploadInput) (*oss.AbortMultipartUploadOutput, error)
AbortMultipartUpload mocks base method.
func (*MockOss) AppendObject ¶
func (m *MockOss) AppendObject(arg0 context.Context, arg1 *oss.AppendObjectInput) (*oss.AppendObjectOutput, error)
AppendObject mocks base method.
func (*MockOss) CompleteMultipartUpload ¶
func (m *MockOss) CompleteMultipartUpload(arg0 context.Context, arg1 *oss.CompleteMultipartUploadInput) (*oss.CompleteMultipartUploadOutput, error)
CompleteMultipartUpload mocks base method.
func (*MockOss) CopyObject ¶
func (m *MockOss) CopyObject(arg0 context.Context, arg1 *oss.CopyObjectInput) (*oss.CopyObjectOutput, error)
CopyObject mocks base method.
func (*MockOss) CreateMultipartUpload ¶
func (m *MockOss) CreateMultipartUpload(arg0 context.Context, arg1 *oss.CreateMultipartUploadInput) (*oss.CreateMultipartUploadOutput, error)
CreateMultipartUpload mocks base method.
func (*MockOss) DeleteObject ¶
func (m *MockOss) DeleteObject(arg0 context.Context, arg1 *oss.DeleteObjectInput) (*oss.DeleteObjectOutput, error)
DeleteObject mocks base method.
func (*MockOss) DeleteObjectTagging ¶
func (m *MockOss) DeleteObjectTagging(arg0 context.Context, arg1 *oss.DeleteObjectTaggingInput) (*oss.DeleteObjectTaggingOutput, error)
DeleteObjectTagging mocks base method.
func (*MockOss) DeleteObjects ¶
func (m *MockOss) DeleteObjects(arg0 context.Context, arg1 *oss.DeleteObjectsInput) (*oss.DeleteObjectsOutput, error)
DeleteObjects mocks base method.
func (*MockOss) EXPECT ¶
func (m *MockOss) EXPECT() *MockOssMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOss) GetObject ¶
func (m *MockOss) GetObject(arg0 context.Context, arg1 *oss.GetObjectInput) (*oss.GetObjectOutput, error)
GetObject mocks base method.
func (*MockOss) GetObjectCannedAcl ¶
func (m *MockOss) GetObjectCannedAcl(arg0 context.Context, arg1 *oss.GetObjectCannedAclInput) (*oss.GetObjectCannedAclOutput, error)
GetObjectCannedAcl mocks base method.
func (*MockOss) GetObjectTagging ¶
func (m *MockOss) GetObjectTagging(arg0 context.Context, arg1 *oss.GetObjectTaggingInput) (*oss.GetObjectTaggingOutput, error)
GetObjectTagging mocks base method.
func (*MockOss) HeadObject ¶
func (m *MockOss) HeadObject(arg0 context.Context, arg1 *oss.HeadObjectInput) (*oss.HeadObjectOutput, error)
HeadObject mocks base method.
func (*MockOss) IsObjectExist ¶
func (m *MockOss) IsObjectExist(arg0 context.Context, arg1 *oss.IsObjectExistInput) (*oss.IsObjectExistOutput, error)
IsObjectExist mocks base method.
func (*MockOss) ListMultipartUploads ¶
func (m *MockOss) ListMultipartUploads(arg0 context.Context, arg1 *oss.ListMultipartUploadsInput) (*oss.ListMultipartUploadsOutput, error)
ListMultipartUploads mocks base method.
func (*MockOss) ListObjectVersions ¶
func (m *MockOss) ListObjectVersions(arg0 context.Context, arg1 *oss.ListObjectVersionsInput) (*oss.ListObjectVersionsOutput, error)
ListObjectVersions mocks base method.
func (*MockOss) ListObjects ¶
func (m *MockOss) ListObjects(arg0 context.Context, arg1 *oss.ListObjectsInput) (*oss.ListObjectsOutput, error)
ListObjects mocks base method.
func (*MockOss) ListParts ¶
func (m *MockOss) ListParts(arg0 context.Context, arg1 *oss.ListPartsInput) (*oss.ListPartsOutput, error)
ListParts mocks base method.
func (*MockOss) PutObject ¶
func (m *MockOss) PutObject(arg0 context.Context, arg1 *oss.PutObjectInput) (*oss.PutObjectOutput, error)
PutObject mocks base method.
func (*MockOss) PutObjectCannedAcl ¶
func (m *MockOss) PutObjectCannedAcl(arg0 context.Context, arg1 *oss.PutObjectCannedAclInput) (*oss.PutObjectCannedAclOutput, error)
PutObjectCannedAcl mocks base method.
func (*MockOss) PutObjectTagging ¶
func (m *MockOss) PutObjectTagging(arg0 context.Context, arg1 *oss.PutObjectTaggingInput) (*oss.PutObjectTaggingOutput, error)
PutObjectTagging mocks base method.
func (*MockOss) RestoreObject ¶
func (m *MockOss) RestoreObject(arg0 context.Context, arg1 *oss.RestoreObjectInput) (*oss.RestoreObjectOutput, error)
RestoreObject mocks base method.
func (*MockOss) SignURL ¶
func (m *MockOss) SignURL(arg0 context.Context, arg1 *oss.SignURLInput) (*oss.SignURLOutput, error)
SignURL mocks base method.
func (*MockOss) UpdateDownloadBandwidthRateLimit ¶
func (m *MockOss) UpdateDownloadBandwidthRateLimit(arg0 context.Context, arg1 *oss.UpdateBandwidthRateLimitInput) error
UpdateDownloadBandwidthRateLimit mocks base method.
func (*MockOss) UpdateUploadBandwidthRateLimit ¶
func (m *MockOss) UpdateUploadBandwidthRateLimit(arg0 context.Context, arg1 *oss.UpdateBandwidthRateLimitInput) error
UpdateUploadBandwidthRateLimit mocks base method.
func (*MockOss) UploadPart ¶
func (m *MockOss) UploadPart(arg0 context.Context, arg1 *oss.UploadPartInput) (*oss.UploadPartOutput, error)
UploadPart mocks base method.
func (*MockOss) UploadPartCopy ¶
func (m *MockOss) UploadPartCopy(arg0 context.Context, arg1 *oss.UploadPartCopyInput) (*oss.UploadPartCopyOutput, error)
UploadPartCopy mocks base method.
type MockOssMockRecorder ¶
type MockOssMockRecorder struct {
// contains filtered or unexported fields
}
MockOssMockRecorder is the mock recorder for MockOss.
func (*MockOssMockRecorder) AbortMultipartUpload ¶
func (mr *MockOssMockRecorder) AbortMultipartUpload(arg0, arg1 interface{}) *gomock.Call
AbortMultipartUpload indicates an expected call of AbortMultipartUpload.
func (*MockOssMockRecorder) AppendObject ¶
func (mr *MockOssMockRecorder) AppendObject(arg0, arg1 interface{}) *gomock.Call
AppendObject indicates an expected call of AppendObject.
func (*MockOssMockRecorder) CompleteMultipartUpload ¶
func (mr *MockOssMockRecorder) CompleteMultipartUpload(arg0, arg1 interface{}) *gomock.Call
CompleteMultipartUpload indicates an expected call of CompleteMultipartUpload.
func (*MockOssMockRecorder) CopyObject ¶
func (mr *MockOssMockRecorder) CopyObject(arg0, arg1 interface{}) *gomock.Call
CopyObject indicates an expected call of CopyObject.
func (*MockOssMockRecorder) CreateMultipartUpload ¶
func (mr *MockOssMockRecorder) CreateMultipartUpload(arg0, arg1 interface{}) *gomock.Call
CreateMultipartUpload indicates an expected call of CreateMultipartUpload.
func (*MockOssMockRecorder) DeleteObject ¶
func (mr *MockOssMockRecorder) DeleteObject(arg0, arg1 interface{}) *gomock.Call
DeleteObject indicates an expected call of DeleteObject.
func (*MockOssMockRecorder) DeleteObjectTagging ¶
func (mr *MockOssMockRecorder) DeleteObjectTagging(arg0, arg1 interface{}) *gomock.Call
DeleteObjectTagging indicates an expected call of DeleteObjectTagging.
func (*MockOssMockRecorder) DeleteObjects ¶
func (mr *MockOssMockRecorder) DeleteObjects(arg0, arg1 interface{}) *gomock.Call
DeleteObjects indicates an expected call of DeleteObjects.
func (*MockOssMockRecorder) GetObject ¶
func (mr *MockOssMockRecorder) GetObject(arg0, arg1 interface{}) *gomock.Call
GetObject indicates an expected call of GetObject.
func (*MockOssMockRecorder) GetObjectCannedAcl ¶
func (mr *MockOssMockRecorder) GetObjectCannedAcl(arg0, arg1 interface{}) *gomock.Call
GetObjectCannedAcl indicates an expected call of GetObjectCannedAcl.
func (*MockOssMockRecorder) GetObjectTagging ¶
func (mr *MockOssMockRecorder) GetObjectTagging(arg0, arg1 interface{}) *gomock.Call
GetObjectTagging indicates an expected call of GetObjectTagging.
func (*MockOssMockRecorder) HeadObject ¶
func (mr *MockOssMockRecorder) HeadObject(arg0, arg1 interface{}) *gomock.Call
HeadObject indicates an expected call of HeadObject.
func (*MockOssMockRecorder) Init ¶
func (mr *MockOssMockRecorder) Init(arg0, arg1 interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockOssMockRecorder) IsObjectExist ¶
func (mr *MockOssMockRecorder) IsObjectExist(arg0, arg1 interface{}) *gomock.Call
IsObjectExist indicates an expected call of IsObjectExist.
func (*MockOssMockRecorder) ListMultipartUploads ¶
func (mr *MockOssMockRecorder) ListMultipartUploads(arg0, arg1 interface{}) *gomock.Call
ListMultipartUploads indicates an expected call of ListMultipartUploads.
func (*MockOssMockRecorder) ListObjectVersions ¶
func (mr *MockOssMockRecorder) ListObjectVersions(arg0, arg1 interface{}) *gomock.Call
ListObjectVersions indicates an expected call of ListObjectVersions.
func (*MockOssMockRecorder) ListObjects ¶
func (mr *MockOssMockRecorder) ListObjects(arg0, arg1 interface{}) *gomock.Call
ListObjects indicates an expected call of ListObjects.
func (*MockOssMockRecorder) ListParts ¶
func (mr *MockOssMockRecorder) ListParts(arg0, arg1 interface{}) *gomock.Call
ListParts indicates an expected call of ListParts.
func (*MockOssMockRecorder) PutObject ¶
func (mr *MockOssMockRecorder) PutObject(arg0, arg1 interface{}) *gomock.Call
PutObject indicates an expected call of PutObject.
func (*MockOssMockRecorder) PutObjectCannedAcl ¶
func (mr *MockOssMockRecorder) PutObjectCannedAcl(arg0, arg1 interface{}) *gomock.Call
PutObjectCannedAcl indicates an expected call of PutObjectCannedAcl.
func (*MockOssMockRecorder) PutObjectTagging ¶
func (mr *MockOssMockRecorder) PutObjectTagging(arg0, arg1 interface{}) *gomock.Call
PutObjectTagging indicates an expected call of PutObjectTagging.
func (*MockOssMockRecorder) RestoreObject ¶
func (mr *MockOssMockRecorder) RestoreObject(arg0, arg1 interface{}) *gomock.Call
RestoreObject indicates an expected call of RestoreObject.
func (*MockOssMockRecorder) SignURL ¶
func (mr *MockOssMockRecorder) SignURL(arg0, arg1 interface{}) *gomock.Call
SignURL indicates an expected call of SignURL.
func (*MockOssMockRecorder) UpdateDownloadBandwidthRateLimit ¶
func (mr *MockOssMockRecorder) UpdateDownloadBandwidthRateLimit(arg0, arg1 interface{}) *gomock.Call
UpdateDownloadBandwidthRateLimit indicates an expected call of UpdateDownloadBandwidthRateLimit.
func (*MockOssMockRecorder) UpdateUploadBandwidthRateLimit ¶
func (mr *MockOssMockRecorder) UpdateUploadBandwidthRateLimit(arg0, arg1 interface{}) *gomock.Call
UpdateUploadBandwidthRateLimit indicates an expected call of UpdateUploadBandwidthRateLimit.
func (*MockOssMockRecorder) UploadPart ¶
func (mr *MockOssMockRecorder) UploadPart(arg0, arg1 interface{}) *gomock.Call
UploadPart indicates an expected call of UploadPart.
func (*MockOssMockRecorder) UploadPartCopy ¶
func (mr *MockOssMockRecorder) UploadPartCopy(arg0, arg1 interface{}) *gomock.Call
UploadPartCopy indicates an expected call of UploadPartCopy.