mock_storage

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_storage is a generated GoMock package.

Package mock_storage is a generated GoMock package.

Package mock_storage is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStorage

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

MockStorage is a mock of Storage interface.

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance.

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

func (*MockStorage) NewObject

func (m *MockStorage) NewObject(key any) (storage.StorageOBJ, error)

NewObject mocks base method.

type MockStorageMockRecorder

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

MockStorageMockRecorder is the mock recorder for MockStorage.

func (*MockStorageMockRecorder) NewObject

func (mr *MockStorageMockRecorder) NewObject(key interface{}) *gomock.Call

NewObject indicates an expected call of NewObject.

type MockStorageOBJ

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

MockStorageOBJ is a mock of StorageOBJ interface.

func NewMockStorageOBJ

func NewMockStorageOBJ(ctrl *gomock.Controller) *MockStorageOBJ

NewMockStorageOBJ creates a new mock instance.

func (*MockStorageOBJ) EXPECT

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

func (*MockStorageOBJ) IsExists

func (m *MockStorageOBJ) IsExists() (bool, error)

IsExists mocks base method.

func (*MockStorageOBJ) Key

Key mocks base method.

func (*MockStorageOBJ) ModTime

func (m *MockStorageOBJ) ModTime() time.Time

ModTime mocks base method.

func (*MockStorageOBJ) Reader

func (m *MockStorageOBJ) Reader() (io.ReadSeekCloser, error)

Reader mocks base method.

func (*MockStorageOBJ) Writer

func (m *MockStorageOBJ) Writer() (io.WriteCloser, error)

Writer mocks base method.

type MockStorageOBJMockRecorder

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

MockStorageOBJMockRecorder is the mock recorder for MockStorageOBJ.

func (*MockStorageOBJMockRecorder) IsExists

func (mr *MockStorageOBJMockRecorder) IsExists() *gomock.Call

IsExists indicates an expected call of IsExists.

func (*MockStorageOBJMockRecorder) Key

Key indicates an expected call of Key.

func (*MockStorageOBJMockRecorder) ModTime

func (mr *MockStorageOBJMockRecorder) ModTime() *gomock.Call

ModTime indicates an expected call of ModTime.

func (*MockStorageOBJMockRecorder) Reader

func (mr *MockStorageOBJMockRecorder) Reader() *gomock.Call

Reader indicates an expected call of Reader.

func (*MockStorageOBJMockRecorder) Writer

func (mr *MockStorageOBJMockRecorder) Writer() *gomock.Call

Writer indicates an expected call of Writer.

Jump to

Keyboard shortcuts

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