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 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) Count ¶ added in v2.0.6
func (m *MockStorage) Count() int64
Count mocks base method.
func (*MockStorage) Create ¶
func (m *MockStorage) Create(arg0 storage.Record) error
Create mocks base method.
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorage) List ¶
func (m *MockStorage) List() ([]storage.Record, error)
List mocks base method.
func (*MockStorage) Open ¶ added in v2.0.6
func (m *MockStorage) Open() (io.ReadCloser, error)
Open mocks base method.
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage.
func (*MockStorageMockRecorder) Clear ¶
func (mr *MockStorageMockRecorder) Clear() *gomock.Call
Clear indicates an expected call of Clear.
func (*MockStorageMockRecorder) Count ¶ added in v2.0.6
func (mr *MockStorageMockRecorder) Count() *gomock.Call
Count indicates an expected call of Count.
func (*MockStorageMockRecorder) Create ¶
func (mr *MockStorageMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockStorageMockRecorder) List ¶
func (mr *MockStorageMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockStorageMockRecorder) Open ¶ added in v2.0.6
func (mr *MockStorageMockRecorder) Open() *gomock.Call
Open indicates an expected call of Open.
Click to show internal directories.
Click to hide internal directories.