mocks

package
v2.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 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) 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) 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) 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) 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