mock_treestorage

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_treestorage is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTreeStorage

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

MockTreeStorage is a mock of TreeStorage interface.

func NewMockTreeStorage

func NewMockTreeStorage(ctrl *gomock.Controller) *MockTreeStorage

NewMockTreeStorage creates a new mock instance.

func (*MockTreeStorage) AddRawChange

AddRawChange mocks base method.

func (*MockTreeStorage) AddRawChangesSetHeads

func (m *MockTreeStorage) AddRawChangesSetHeads(arg0 []*treechangeproto.RawTreeChangeWithId, arg1 []string) error

AddRawChangesSetHeads mocks base method.

func (*MockTreeStorage) Delete

func (m *MockTreeStorage) Delete() error

Delete mocks base method.

func (*MockTreeStorage) EXPECT

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

func (*MockTreeStorage) GetRawChange

GetRawChange mocks base method.

func (*MockTreeStorage) HasChange

func (m *MockTreeStorage) HasChange(arg0 context.Context, arg1 string) (bool, error)

HasChange mocks base method.

func (*MockTreeStorage) Heads

func (m *MockTreeStorage) Heads() ([]string, error)

Heads mocks base method.

func (*MockTreeStorage) Id

func (m *MockTreeStorage) Id() string

Id mocks base method.

func (*MockTreeStorage) Root

Root mocks base method.

func (*MockTreeStorage) SetHeads

func (m *MockTreeStorage) SetHeads(arg0 []string) error

SetHeads mocks base method.

type MockTreeStorageMockRecorder

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

MockTreeStorageMockRecorder is the mock recorder for MockTreeStorage.

func (*MockTreeStorageMockRecorder) AddRawChange

func (mr *MockTreeStorageMockRecorder) AddRawChange(arg0 any) *gomock.Call

AddRawChange indicates an expected call of AddRawChange.

func (*MockTreeStorageMockRecorder) AddRawChangesSetHeads

func (mr *MockTreeStorageMockRecorder) AddRawChangesSetHeads(arg0, arg1 any) *gomock.Call

AddRawChangesSetHeads indicates an expected call of AddRawChangesSetHeads.

func (*MockTreeStorageMockRecorder) Delete

func (mr *MockTreeStorageMockRecorder) Delete() *gomock.Call

Delete indicates an expected call of Delete.

func (*MockTreeStorageMockRecorder) GetRawChange

func (mr *MockTreeStorageMockRecorder) GetRawChange(arg0, arg1 any) *gomock.Call

GetRawChange indicates an expected call of GetRawChange.

func (*MockTreeStorageMockRecorder) HasChange

func (mr *MockTreeStorageMockRecorder) HasChange(arg0, arg1 any) *gomock.Call

HasChange indicates an expected call of HasChange.

func (*MockTreeStorageMockRecorder) Heads

Heads indicates an expected call of Heads.

func (*MockTreeStorageMockRecorder) Id

Id indicates an expected call of Id.

func (*MockTreeStorageMockRecorder) Root

Root indicates an expected call of Root.

func (*MockTreeStorageMockRecorder) SetHeads

func (mr *MockTreeStorageMockRecorder) SetHeads(arg0 any) *gomock.Call

SetHeads indicates an expected call of SetHeads.

Jump to

Keyboard shortcuts

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