mocks

package
v2.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 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 added in v2.0.30

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

CopyObjectRequestWithContext mocks base method.

func (*MockDfstore) CopyObjectWithContext added in v2.0.30

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

CopyObjectWithContext mocks base method.

func (*MockDfstore) CreateBucketRequestWithContext added in v2.0.30

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

CreateBucketRequestWithContext mocks base method.

func (*MockDfstore) CreateBucketWithContext added in v2.0.30

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 added in v2.0.5

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 added in v2.0.5

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

GetObjectMetadataRequestWithContext mocks base method.

func (*MockDfstore) GetObjectMetadataWithContext added in v2.0.5

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

GetObjectMetadataWithContext mocks base method.

func (*MockDfstore) GetObjectMetadatasRequestWithContext added in v2.0.30

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

GetObjectMetadatasRequestWithContext mocks base method.

func (*MockDfstore) GetObjectMetadatasWithContext added in v2.0.30

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 added in v2.0.5

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 added in v2.0.5

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 added in v2.0.5

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 added in v2.0.30

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

CopyObjectRequestWithContext indicates an expected call of CopyObjectRequestWithContext.

func (*MockDfstoreMockRecorder) CopyObjectWithContext added in v2.0.30

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

CopyObjectWithContext indicates an expected call of CopyObjectWithContext.

func (*MockDfstoreMockRecorder) CreateBucketRequestWithContext added in v2.0.30

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

CreateBucketRequestWithContext indicates an expected call of CreateBucketRequestWithContext.

func (*MockDfstoreMockRecorder) CreateBucketWithContext added in v2.0.30

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 added in v2.0.5

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

DeleteObjectWithContext indicates an expected call of DeleteObjectWithContext.

func (*MockDfstoreMockRecorder) GetObjectMetadataRequestWithContext added in v2.0.5

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

GetObjectMetadataRequestWithContext indicates an expected call of GetObjectMetadataRequestWithContext.

func (*MockDfstoreMockRecorder) GetObjectMetadataWithContext added in v2.0.5

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

GetObjectMetadataWithContext indicates an expected call of GetObjectMetadataWithContext.

func (*MockDfstoreMockRecorder) GetObjectMetadatasRequestWithContext added in v2.0.30

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

GetObjectMetadatasRequestWithContext indicates an expected call of GetObjectMetadatasRequestWithContext.

func (*MockDfstoreMockRecorder) GetObjectMetadatasWithContext added in v2.0.30

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 added in v2.0.5

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 added in v2.0.5

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 added in v2.0.5

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