mocks

package
v2.0.8-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: Apache-2.0 Imports: 4 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 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) Clear

func (m *MockStorage) Clear() error

Clear mocks base method.

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.

Jump to

Keyboard shortcuts

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