mock

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mutator

type Mutator struct {
	mock.Mock
}

Mutator is an autogenerated mock type for the Mutator type

func (*Mutator) Bootstrap

func (_m *Mutator) Bootstrap(genesis *cluster.Block) error

Bootstrap provides a mock function with given fields: genesis

func (*Mutator) Extend

func (_m *Mutator) Extend(block *cluster.Block) error

Extend provides a mock function with given fields: block

type Snapshot

type Snapshot struct {
	mock.Mock
}

Snapshot is an autogenerated mock type for the Snapshot type

func (*Snapshot) Collection

func (_m *Snapshot) Collection() (*flow.Collection, error)

Collection provides a mock function with given fields:

func (*Snapshot) Head

func (_m *Snapshot) Head() (*flow.Header, error)

Head provides a mock function with given fields:

func (*Snapshot) Pending

func (_m *Snapshot) Pending() ([]flow.Identifier, error)

Pending provides a mock function with given fields:

type State

type State struct {
	mock.Mock
}

State is an autogenerated mock type for the State type

func (*State) AtBlockID

func (_m *State) AtBlockID(blockID flow.Identifier) cluster.Snapshot

AtBlockID provides a mock function with given fields: blockID

func (*State) Final

func (_m *State) Final() cluster.Snapshot

Final provides a mock function with given fields:

func (*State) Mutate

func (_m *State) Mutate() cluster.Mutator

Mutate provides a mock function with given fields:

Jump to

Keyboard shortcuts

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