mockstablestore

package
v0.0.0-...-0d89867 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mockstablestore is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInmemStore

func NewInmemStore() stablestore.StableStore

NewInmemStore returns in-memory stable store

Types

type MockStableStore

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

MockStableStore is a mock of StableStore interface

func NewMockStableStore

func NewMockStableStore(ctrl *gomock.Controller) *MockStableStore

NewMockStableStore creates a new mock instance

func (*MockStableStore) EXPECT

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

func (*MockStableStore) Get

func (m *MockStableStore) Get(key []byte) ([]byte, error)

Get mocks base method

func (*MockStableStore) GetUint64

func (m *MockStableStore) GetUint64(key []byte) (uint64, error)

GetUint64 mocks base method

func (*MockStableStore) Set

func (m *MockStableStore) Set(key, val []byte) error

Set mocks base method

func (*MockStableStore) SetUint64

func (m *MockStableStore) SetUint64(key []byte, val uint64) error

SetUint64 mocks base method

type MockStableStoreMockRecorder

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

MockStableStoreMockRecorder is the mock recorder for MockStableStore

func (*MockStableStoreMockRecorder) Get

func (mr *MockStableStoreMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockStableStoreMockRecorder) GetUint64

func (mr *MockStableStoreMockRecorder) GetUint64(key interface{}) *gomock.Call

GetUint64 indicates an expected call of GetUint64

func (*MockStableStoreMockRecorder) Set

func (mr *MockStableStoreMockRecorder) Set(key, val interface{}) *gomock.Call

Set indicates an expected call of Set

func (*MockStableStoreMockRecorder) SetUint64

func (mr *MockStableStoreMockRecorder) SetUint64(key, val interface{}) *gomock.Call

SetUint64 indicates an expected call of SetUint64

Jump to

Keyboard shortcuts

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