mock_liststorage

package
v0.4.25 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_liststorage is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockListStorage

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

MockListStorage is a mock of ListStorage interface.

func NewMockListStorage

func NewMockListStorage(ctrl *gomock.Controller) *MockListStorage

NewMockListStorage creates a new mock instance.

func (*MockListStorage) AddRawRecord

func (m *MockListStorage) AddRawRecord(arg0 context.Context, arg1 *consensusproto.RawRecordWithId) error

AddRawRecord mocks base method.

func (*MockListStorage) EXPECT

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

func (*MockListStorage) GetRawRecord

func (m *MockListStorage) GetRawRecord(arg0 context.Context, arg1 string) (*consensusproto.RawRecordWithId, error)

GetRawRecord mocks base method.

func (*MockListStorage) Head

func (m *MockListStorage) Head() (string, error)

Head mocks base method.

func (*MockListStorage) Id

func (m *MockListStorage) Id() string

Id mocks base method.

func (*MockListStorage) Root

Root mocks base method.

func (*MockListStorage) SetHead

func (m *MockListStorage) SetHead(arg0 string) error

SetHead mocks base method.

type MockListStorageMockRecorder

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

MockListStorageMockRecorder is the mock recorder for MockListStorage.

func (*MockListStorageMockRecorder) AddRawRecord

func (mr *MockListStorageMockRecorder) AddRawRecord(arg0, arg1 any) *gomock.Call

AddRawRecord indicates an expected call of AddRawRecord.

func (*MockListStorageMockRecorder) GetRawRecord

func (mr *MockListStorageMockRecorder) GetRawRecord(arg0, arg1 any) *gomock.Call

GetRawRecord indicates an expected call of GetRawRecord.

func (*MockListStorageMockRecorder) Head

Head indicates an expected call of Head.

func (*MockListStorageMockRecorder) Id

Id indicates an expected call of Id.

func (*MockListStorageMockRecorder) Root

Root indicates an expected call of Root.

func (*MockListStorageMockRecorder) SetHead

func (mr *MockListStorageMockRecorder) SetHead(arg0 any) *gomock.Call

SetHead indicates an expected call of SetHead.

Jump to

Keyboard shortcuts

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