mocks

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDfstore

type MockDfstore struct {
	// contains filtered or unexported fields
}

MockDfstore is a mock of Dfstore interface.

func NewMockDfstore

func NewMockDfstore(ctrl *gomock.Controller) *MockDfstore

NewMockDfstore creates a new mock instance.

func (*MockDfstore) CopyObjectRequestWithContext

func (m *MockDfstore) CopyObjectRequestWithContext(ctx context.Context, input *dfstore.CopyObjectInput) (*http.Request, error)

CopyObjectRequestWithContext mocks base method.

func (*MockDfstore) CopyObjectWithContext

func (m *MockDfstore) CopyObjectWithContext(ctx context.Context, input *dfstore.CopyObjectInput) error

CopyObjectWithContext mocks base method.

func (*MockDfstore) CreateBucketRequestWithContext

func (m *MockDfstore) CreateBucketRequestWithContext(ctx context.Context, input *dfstore.CreateBucketInput) (*http.Request, error)

CreateBucketRequestWithContext mocks base method.

func (*MockDfstore) CreateBucketWithContext

func (m *MockDfstore) CreateBucketWithContext(ctx context.Context, input *dfstore.CreateBucketInput) error

CreateBucketWithContext mocks base method.

func (*MockDfstore) DeleteObjectRequestWithContext

func (m *MockDfstore) DeleteObjectRequestWithContext(ctx context.Context, input *dfstore.DeleteObjectInput) (*http.Request, error)

DeleteObjectRequestWithContext mocks base method.

func (*MockDfstore) DeleteObjectWithContext

func (m *MockDfstore) DeleteObjectWithContext(ctx context.Context, input *dfstore.DeleteObjectInput) error

DeleteObjectWithContext mocks base method.

func (*MockDfstore) EXPECT

func (m *MockDfstore) EXPECT() *MockDfstoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDfstore) GetObjectMetadataRequestWithContext

func (m *MockDfstore) GetObjectMetadataRequestWithContext(ctx context.Context, input *dfstore.GetObjectMetadataInput) (*http.Request, error)

GetObjectMetadataRequestWithContext mocks base method.

func (*MockDfstore) GetObjectMetadataWithContext

func (m *MockDfstore) GetObjectMetadataWithContext(ctx context.Context, input *dfstore.GetObjectMetadataInput) (*objectstorage.ObjectMetadata, error)

GetObjectMetadataWithContext mocks base method.

func (*MockDfstore) GetObjectMetadatasRequestWithContext

func (m *MockDfstore) GetObjectMetadatasRequestWithContext(ctx context.Context, input *dfstore.GetObjectMetadatasInput) (*http.Request, error)

GetObjectMetadatasRequestWithContext mocks base method.

func (*MockDfstore) GetObjectMetadatasWithContext

func (m *MockDfstore) GetObjectMetadatasWithContext(ctx context.Context, input *dfstore.GetObjectMetadatasInput) ([]*objectstorage.ObjectMetadata, error)

GetObjectMetadatasWithContext mocks base method.

func (*MockDfstore) GetObjectRequestWithContext

func (m *MockDfstore) GetObjectRequestWithContext(ctx context.Context, input *dfstore.GetObjectInput) (*http.Request, error)

GetObjectRequestWithContext mocks base method.

func (*MockDfstore) GetObjectWithContext

func (m *MockDfstore) GetObjectWithContext(ctx context.Context, input *dfstore.GetObjectInput) (io.ReadCloser, error)

GetObjectWithContext mocks base method.

func (*MockDfstore) IsObjectExistRequestWithContext

func (m *MockDfstore) IsObjectExistRequestWithContext(ctx context.Context, input *dfstore.IsObjectExistInput) (*http.Request, error)

IsObjectExistRequestWithContext mocks base method.

func (*MockDfstore) IsObjectExistWithContext

func (m *MockDfstore) IsObjectExistWithContext(ctx context.Context, input *dfstore.IsObjectExistInput) (bool, error)

IsObjectExistWithContext mocks base method.

func (*MockDfstore) PutObjectRequestWithContext

func (m *MockDfstore) PutObjectRequestWithContext(ctx context.Context, input *dfstore.PutObjectInput) (*http.Request, error)

PutObjectRequestWithContext mocks base method.

func (*MockDfstore) PutObjectWithContext

func (m *MockDfstore) PutObjectWithContext(ctx context.Context, input *dfstore.PutObjectInput) error

PutObjectWithContext mocks base method.

type MockDfstoreMockRecorder

type MockDfstoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockDfstoreMockRecorder is the mock recorder for MockDfstore.

func (*MockDfstoreMockRecorder) CopyObjectRequestWithContext

func (mr *MockDfstoreMockRecorder) CopyObjectRequestWithContext(ctx, input interface{}) *gomock.Call

CopyObjectRequestWithContext indicates an expected call of CopyObjectRequestWithContext.

func (*MockDfstoreMockRecorder) CopyObjectWithContext

func (mr *MockDfstoreMockRecorder) CopyObjectWithContext(ctx, input interface{}) *gomock.Call

CopyObjectWithContext indicates an expected call of CopyObjectWithContext.

func (*MockDfstoreMockRecorder) CreateBucketRequestWithContext

func (mr *MockDfstoreMockRecorder) CreateBucketRequestWithContext(ctx, input interface{}) *gomock.Call

CreateBucketRequestWithContext indicates an expected call of CreateBucketRequestWithContext.

func (*MockDfstoreMockRecorder) CreateBucketWithContext

func (mr *MockDfstoreMockRecorder) CreateBucketWithContext(ctx, input interface{}) *gomock.Call

CreateBucketWithContext indicates an expected call of CreateBucketWithContext.

func (*MockDfstoreMockRecorder) DeleteObjectRequestWithContext

func (mr *MockDfstoreMockRecorder) DeleteObjectRequestWithContext(ctx, input interface{}) *gomock.Call

DeleteObjectRequestWithContext indicates an expected call of DeleteObjectRequestWithContext.

func (*MockDfstoreMockRecorder) DeleteObjectWithContext

func (mr *MockDfstoreMockRecorder) DeleteObjectWithContext(ctx, input interface{}) *gomock.Call

DeleteObjectWithContext indicates an expected call of DeleteObjectWithContext.

func (*MockDfstoreMockRecorder) GetObjectMetadataRequestWithContext

func (mr *MockDfstoreMockRecorder) GetObjectMetadataRequestWithContext(ctx, input interface{}) *gomock.Call

GetObjectMetadataRequestWithContext indicates an expected call of GetObjectMetadataRequestWithContext.

func (*MockDfstoreMockRecorder) GetObjectMetadataWithContext

func (mr *MockDfstoreMockRecorder) GetObjectMetadataWithContext(ctx, input interface{}) *gomock.Call

GetObjectMetadataWithContext indicates an expected call of GetObjectMetadataWithContext.

func (*MockDfstoreMockRecorder) GetObjectMetadatasRequestWithContext

func (mr *MockDfstoreMockRecorder) GetObjectMetadatasRequestWithContext(ctx, input interface{}) *gomock.Call

GetObjectMetadatasRequestWithContext indicates an expected call of GetObjectMetadatasRequestWithContext.

func (*MockDfstoreMockRecorder) GetObjectMetadatasWithContext

func (mr *MockDfstoreMockRecorder) GetObjectMetadatasWithContext(ctx, input interface{}) *gomock.Call

GetObjectMetadatasWithContext indicates an expected call of GetObjectMetadatasWithContext.

func (*MockDfstoreMockRecorder) GetObjectRequestWithContext

func (mr *MockDfstoreMockRecorder) GetObjectRequestWithContext(ctx, input interface{}) *gomock.Call

GetObjectRequestWithContext indicates an expected call of GetObjectRequestWithContext.

func (*MockDfstoreMockRecorder) GetObjectWithContext

func (mr *MockDfstoreMockRecorder) GetObjectWithContext(ctx, input interface{}) *gomock.Call

GetObjectWithContext indicates an expected call of GetObjectWithContext.

func (*MockDfstoreMockRecorder) IsObjectExistRequestWithContext

func (mr *MockDfstoreMockRecorder) IsObjectExistRequestWithContext(ctx, input interface{}) *gomock.Call

IsObjectExistRequestWithContext indicates an expected call of IsObjectExistRequestWithContext.

func (*MockDfstoreMockRecorder) IsObjectExistWithContext

func (mr *MockDfstoreMockRecorder) IsObjectExistWithContext(ctx, input interface{}) *gomock.Call

IsObjectExistWithContext indicates an expected call of IsObjectExistWithContext.

func (*MockDfstoreMockRecorder) PutObjectRequestWithContext

func (mr *MockDfstoreMockRecorder) PutObjectRequestWithContext(ctx, input interface{}) *gomock.Call

PutObjectRequestWithContext indicates an expected call of PutObjectRequestWithContext.

func (*MockDfstoreMockRecorder) PutObjectWithContext

func (mr *MockDfstoreMockRecorder) PutObjectWithContext(ctx, input interface{}) *gomock.Call

PutObjectWithContext indicates an expected call of PutObjectWithContext.

Jump to

Keyboard shortcuts

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