mock_statestorage

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_statestorage is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStateStorage

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

MockStateStorage is a mock of StateStorage interface.

func NewMockStateStorage

func NewMockStateStorage(ctrl *gomock.Controller) *MockStateStorage

NewMockStateStorage creates a new mock instance.

func (*MockStateStorage) EXPECT

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

func (*MockStateStorage) GetState

func (m *MockStateStorage) GetState(arg0 context.Context) (statestorage.State, error)

GetState mocks base method.

func (*MockStateStorage) SetHash

func (m *MockStateStorage) SetHash(arg0 context.Context, arg1 string) error

SetHash mocks base method.

func (*MockStateStorage) SetObserver

func (m *MockStateStorage) SetObserver(arg0 statestorage.Observer)

SetObserver mocks base method.

func (*MockStateStorage) SettingsId

func (m *MockStateStorage) SettingsId() string

SettingsId mocks base method.

type MockStateStorageMockRecorder

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

MockStateStorageMockRecorder is the mock recorder for MockStateStorage.

func (*MockStateStorageMockRecorder) GetState

func (mr *MockStateStorageMockRecorder) GetState(arg0 any) *gomock.Call

GetState indicates an expected call of GetState.

func (*MockStateStorageMockRecorder) SetHash

func (mr *MockStateStorageMockRecorder) SetHash(arg0, arg1 any) *gomock.Call

SetHash indicates an expected call of SetHash.

func (*MockStateStorageMockRecorder) SetObserver

func (mr *MockStateStorageMockRecorder) SetObserver(arg0 any) *gomock.Call

SetObserver indicates an expected call of SetObserver.

func (*MockStateStorageMockRecorder) SettingsId

func (mr *MockStateStorageMockRecorder) SettingsId() *gomock.Call

SettingsId indicates an expected call of SettingsId.

Jump to

Keyboard shortcuts

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