mocks

package
v2.0.3-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 3 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) 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.

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) 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.

Jump to

Keyboard shortcuts

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