Documentation ¶
Index ¶
- type Ledger
- func (_m *Ledger) Done() <-chan struct{}
- func (_m *Ledger) Get(query *ledger.Query) ([]ledger.Value, error)
- func (_m *Ledger) GetSingleValue(query *ledger.QuerySingleValue) (ledger.Value, error)
- func (_m *Ledger) HasState(state ledger.State) bool
- func (_m *Ledger) InitialState() ledger.State
- func (_m *Ledger) Prove(query *ledger.Query) (ledger.Proof, error)
- func (_m *Ledger) Ready() <-chan struct{}
- func (_m *Ledger) Set(update *ledger.Update) (ledger.State, *ledger.TrieUpdate, error)
- type Migration
- type Reporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ledger ¶
Ledger is an autogenerated mock type for the Ledger type
func NewLedger ¶ added in v0.26.1
func NewLedger(t mockConstructorTestingTNewLedger) *Ledger
NewLedger creates a new instance of Ledger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Ledger) Done ¶
func (_m *Ledger) Done() <-chan struct{}
Done provides a mock function with given fields:
func (*Ledger) GetSingleValue ¶ added in v0.26.2
GetSingleValue provides a mock function with given fields: query
func (*Ledger) HasState ¶ added in v0.26.16
HasState provides a mock function with given fields: state
func (*Ledger) InitialState ¶
InitialState provides a mock function with given fields:
type Migration ¶ added in v0.26.1
Migration is an autogenerated mock type for the Migration type
func NewMigration ¶ added in v0.26.1
func NewMigration(t mockConstructorTestingTNewMigration) *Migration
NewMigration creates a new instance of Migration. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Reporter ¶
Reporter is an autogenerated mock type for the Reporter type
func NewReporter ¶ added in v0.26.1
func NewReporter(t mockConstructorTestingTNewReporter) *Reporter
NewReporter creates a new instance of Reporter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.