Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: ./sync_client.go
Generated by this command:
mockgen -source=./sync_client.go -destination=./mock/sync_client_generated.go -package=mock -copyright_file=../../../hack/copyright_file
Package mock is a generated GoMock package.
Index ¶
- type MockSyncClient
- func (m *MockSyncClient) CheckBucketLocationConstraint(bucketName, bucketLocationConstraint string) (bool, error)
- func (m *MockSyncClient) CopyObjectToBucket(srcBucketName, destBucketName, objectName string) error
- func (m *MockSyncClient) EXPECT() *MockSyncClientMockRecorder
- func (m *MockSyncClient) SelectObjects(bucketName, regex string) ([]string, error)
- type MockSyncClientMockRecorder
- func (mr *MockSyncClientMockRecorder) CheckBucketLocationConstraint(bucketName, bucketLocationConstraint any) *gomock.Call
- func (mr *MockSyncClientMockRecorder) CopyObjectToBucket(srcBucketName, destBucketName, objectName any) *gomock.Call
- func (mr *MockSyncClientMockRecorder) SelectObjects(bucketName, regex any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSyncClient ¶
type MockSyncClient struct {
// contains filtered or unexported fields
}
MockSyncClient is a mock of SyncClient interface.
func NewMockSyncClient ¶
func NewMockSyncClient(ctrl *gomock.Controller) *MockSyncClient
NewMockSyncClient creates a new mock instance.
func (*MockSyncClient) CheckBucketLocationConstraint ¶
func (m *MockSyncClient) CheckBucketLocationConstraint(bucketName, bucketLocationConstraint string) (bool, error)
CheckBucketLocationConstraint mocks base method.
func (*MockSyncClient) CopyObjectToBucket ¶
func (m *MockSyncClient) CopyObjectToBucket(srcBucketName, destBucketName, objectName string) error
CopyObjectToBucket mocks base method.
func (*MockSyncClient) EXPECT ¶
func (m *MockSyncClient) EXPECT() *MockSyncClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSyncClient) SelectObjects ¶
func (m *MockSyncClient) SelectObjects(bucketName, regex string) ([]string, error)
SelectObjects mocks base method.
type MockSyncClientMockRecorder ¶
type MockSyncClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSyncClientMockRecorder is the mock recorder for MockSyncClient.
func (*MockSyncClientMockRecorder) CheckBucketLocationConstraint ¶
func (mr *MockSyncClientMockRecorder) CheckBucketLocationConstraint(bucketName, bucketLocationConstraint any) *gomock.Call
CheckBucketLocationConstraint indicates an expected call of CheckBucketLocationConstraint.
func (*MockSyncClientMockRecorder) CopyObjectToBucket ¶
func (mr *MockSyncClientMockRecorder) CopyObjectToBucket(srcBucketName, destBucketName, objectName any) *gomock.Call
CopyObjectToBucket indicates an expected call of CopyObjectToBucket.
func (*MockSyncClientMockRecorder) SelectObjects ¶
func (mr *MockSyncClientMockRecorder) SelectObjects(bucketName, regex any) *gomock.Call
SelectObjects indicates an expected call of SelectObjects.