mock_s3

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package mock_s3 is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockObjectStoreClient

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

MockObjectStoreClient is a mock of ObjectStoreClient interface.

func NewMockObjectStoreClient

func NewMockObjectStoreClient(ctrl *gomock.Controller) *MockObjectStoreClient

NewMockObjectStoreClient creates a new mock instance.

func (*MockObjectStoreClient) BucketExists

func (m *MockObjectStoreClient) BucketExists(bucketName string) (bool, error)

BucketExists mocks base method.

func (*MockObjectStoreClient) EXPECT

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

func (*MockObjectStoreClient) FPutObjectWithContext added in v0.7.3

func (m *MockObjectStoreClient) FPutObjectWithContext(ctx context.Context, bucketName, objectName, filePath string, opts minio.PutObjectOptions) (int64, error)

FPutObjectWithContext mocks base method.

func (*MockObjectStoreClient) MakeBucket

func (m *MockObjectStoreClient) MakeBucket(bucketName, location string) error

MakeBucket mocks base method.

type MockObjectStoreClientMockRecorder

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

MockObjectStoreClientMockRecorder is the mock recorder for MockObjectStoreClient.

func (*MockObjectStoreClientMockRecorder) BucketExists

func (mr *MockObjectStoreClientMockRecorder) BucketExists(bucketName interface{}) *gomock.Call

BucketExists indicates an expected call of BucketExists.

func (*MockObjectStoreClientMockRecorder) FPutObjectWithContext added in v0.7.3

func (mr *MockObjectStoreClientMockRecorder) FPutObjectWithContext(ctx, bucketName, objectName, filePath, opts interface{}) *gomock.Call

FPutObjectWithContext indicates an expected call of FPutObjectWithContext.

func (*MockObjectStoreClientMockRecorder) MakeBucket

func (mr *MockObjectStoreClientMockRecorder) MakeBucket(bucketName, location interface{}) *gomock.Call

MakeBucket indicates an expected call of MakeBucket.

type Mockcompressor

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

Mockcompressor is a mock of compressor interface.

func NewMockcompressor

func NewMockcompressor(ctrl *gomock.Controller) *Mockcompressor

NewMockcompressor creates a new mock instance.

func (*Mockcompressor) EXPECT

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

type MockcompressorMockRecorder

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

MockcompressorMockRecorder is the mock recorder for Mockcompressor.

Jump to

Keyboard shortcuts

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