xminiomock

package
v0.0.0-...-a912f81 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package xminiomock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockObject

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

MockObject is a mock of Object interface.

func NewMockObject

func NewMockObject(ctrl *gomock.Controller) *MockObject

NewMockObject creates a new mock instance.

func (*MockObject) Close

func (m *MockObject) Close() error

Close mocks base method.

func (*MockObject) EXPECT

func (m *MockObject) EXPECT() *MockObjectMockRecorder

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

func (*MockObject) Read

func (m *MockObject) Read(arg0 []byte) (int, error)

Read mocks base method.

func (*MockObject) ReadAt

func (m *MockObject) ReadAt(arg0 []byte, arg1 int64) (int, error)

ReadAt mocks base method.

func (*MockObject) Seek

func (m *MockObject) Seek(arg0 int64, arg1 int) (int64, error)

Seek mocks base method.

func (*MockObject) Stat

func (m *MockObject) Stat() (minio.ObjectInfo, error)

Stat mocks base method.

type MockObjectMockRecorder

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

MockObjectMockRecorder is the mock recorder for MockObject.

func (*MockObjectMockRecorder) Close

func (mr *MockObjectMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockObjectMockRecorder) Read

func (mr *MockObjectMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockObjectMockRecorder) ReadAt

func (mr *MockObjectMockRecorder) ReadAt(arg0, arg1 interface{}) *gomock.Call

ReadAt indicates an expected call of ReadAt.

func (*MockObjectMockRecorder) Seek

func (mr *MockObjectMockRecorder) Seek(arg0, arg1 interface{}) *gomock.Call

Seek indicates an expected call of Seek.

func (*MockObjectMockRecorder) Stat

func (mr *MockObjectMockRecorder) Stat() *gomock.Call

Stat indicates an expected call of Stat.

type MockObjectPutterGetter

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

MockObjectPutterGetter is a mock of ObjectPutterGetter interface.

func NewMockObjectPutterGetter

func NewMockObjectPutterGetter(ctrl *gomock.Controller) *MockObjectPutterGetter

NewMockObjectPutterGetter creates a new mock instance.

func (*MockObjectPutterGetter) EXPECT

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

func (*MockObjectPutterGetter) GetObject

func (m *MockObjectPutterGetter) GetObject(arg0 context.Context, arg1, arg2 string, arg3 minio.GetObjectOptions) (xminio.Object, error)

GetObject mocks base method.

func (*MockObjectPutterGetter) PutObject

func (m *MockObjectPutterGetter) PutObject(arg0 context.Context, arg1, arg2 string, arg3 io.Reader, arg4 int64, arg5 minio.PutObjectOptions) (minio.UploadInfo, error)

PutObject mocks base method.

type MockObjectPutterGetterMockRecorder

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

MockObjectPutterGetterMockRecorder is the mock recorder for MockObjectPutterGetter.

func (*MockObjectPutterGetterMockRecorder) GetObject

func (mr *MockObjectPutterGetterMockRecorder) GetObject(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetObject indicates an expected call of GetObject.

func (*MockObjectPutterGetterMockRecorder) PutObject

func (mr *MockObjectPutterGetterMockRecorder) PutObject(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

PutObject indicates an expected call of PutObject.

Jump to

Keyboard shortcuts

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