Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MutableState ¶ added in v0.14.0
MutableState is an autogenerated mock type for the MutableState type
func NewMutableState ¶ added in v0.26.1
func NewMutableState(t NewMutableStateT) *MutableState
NewMutableState creates a new instance of MutableState. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MutableState) AtBlockID ¶ added in v0.14.0
func (_m *MutableState) AtBlockID(blockID flow.Identifier) cluster.Snapshot
AtBlockID provides a mock function with given fields: blockID
func (*MutableState) Extend ¶ added in v0.14.0
func (_m *MutableState) Extend(candidate *modelcluster.Block) error
Extend provides a mock function with given fields: candidate
func (*MutableState) Final ¶ added in v0.14.0
func (_m *MutableState) Final() cluster.Snapshot
Final provides a mock function with given fields:
func (*MutableState) Params ¶ added in v0.14.0
func (_m *MutableState) Params() cluster.Params
Params provides a mock function with given fields:
type NewMutableStateT ¶ added in v0.27.0
type NewParamsT ¶ added in v0.27.0
type NewSnapshotT ¶ added in v0.27.0
type Params ¶ added in v0.9.6
Params is an autogenerated mock type for the Params type
func NewParams ¶ added in v0.26.1
func NewParams(t NewParamsT) *Params
NewParams creates a new instance of Params. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Snapshot ¶
Snapshot is an autogenerated mock type for the Snapshot type
func NewSnapshot ¶ added in v0.26.1
func NewSnapshot(t NewSnapshotT) *Snapshot
NewSnapshot creates a new instance of Snapshot. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Snapshot) Collection ¶
func (_m *Snapshot) Collection() (*flow.Collection, error)
Collection provides a mock function with given fields:
type State ¶
State is an autogenerated mock type for the State type
func NewState ¶ added in v0.26.1
NewState creates a new instance of State. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*State) AtBlockID ¶
func (_m *State) AtBlockID(blockID flow.Identifier) cluster.Snapshot
AtBlockID provides a mock function with given fields: blockID