mock_liststorage

package
v0.5.20 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 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

AddRawRecord mocks base method.

func (*MockListStorage) EXPECT

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

func (*MockListStorage) GetRawRecord

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(headId 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(ctx, rec any) *gomock.Call

AddRawRecord indicates an expected call of AddRawRecord.

func (*MockListStorageMockRecorder) GetRawRecord

func (mr *MockListStorageMockRecorder) GetRawRecord(ctx, id 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(headId 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