mock

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

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 interface{}) *gomock.Call

CheckBucketLocationConstraint indicates an expected call of CheckBucketLocationConstraint.

func (*MockSyncClientMockRecorder) CopyObjectToBucket

func (mr *MockSyncClientMockRecorder) CopyObjectToBucket(srcBucketName, destBucketName, objectName interface{}) *gomock.Call

CopyObjectToBucket indicates an expected call of CopyObjectToBucket.

func (*MockSyncClientMockRecorder) SelectObjects

func (mr *MockSyncClientMockRecorder) SelectObjects(bucketName, regex interface{}) *gomock.Call

SelectObjects indicates an expected call of SelectObjects.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL