fabric: github.com/hyperledger/fabric/common/ledger/blockledger/mocks Index | Files

package mocks

import "github.com/hyperledger/fabric/common/ledger/blockledger/mocks"

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Package Files

read_writer.go

type ReadWriter Uses

type ReadWriter struct {
    mock.Mock
}

ReadWriter is an autogenerated mock type for the ReadWriter type

func (*ReadWriter) Append Uses

func (_m *ReadWriter) Append(block *common.Block) error

Append provides a mock function with given fields: block

func (*ReadWriter) Height Uses

func (_m *ReadWriter) Height() uint64

Height provides a mock function with given fields:

func (*ReadWriter) Iterator Uses

func (_m *ReadWriter) Iterator(startType *orderer.SeekPosition) (blockledger.Iterator, uint64)

Iterator provides a mock function with given fields: startType

Package mocks imports 4 packages (graph). Updated 2018-12-12. Refresh now. Tools for package owners.