fabric: github.com/hyperledger/fabric/common/tools/configtxgen/encoder/mock Index | Files

package mock

import "github.com/hyperledger/fabric/common/tools/configtxgen/encoder/mock"

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

local_signer.go

type LocalSigner Uses

type LocalSigner struct {
    NewSignatureHeaderStub func() (*cb.SignatureHeader, error)

    SignStub func(message []byte) ([]byte, error)
    // contains filtered or unexported fields
}

func (*LocalSigner) Invocations Uses

func (fake *LocalSigner) Invocations() map[string][][]interface{}

func (*LocalSigner) NewSignatureHeader Uses

func (fake *LocalSigner) NewSignatureHeader() (*cb.SignatureHeader, error)

func (*LocalSigner) NewSignatureHeaderCallCount Uses

func (fake *LocalSigner) NewSignatureHeaderCallCount() int

func (*LocalSigner) NewSignatureHeaderReturns Uses

func (fake *LocalSigner) NewSignatureHeaderReturns(result1 *cb.SignatureHeader, result2 error)

func (*LocalSigner) NewSignatureHeaderReturnsOnCall Uses

func (fake *LocalSigner) NewSignatureHeaderReturnsOnCall(i int, result1 *cb.SignatureHeader, result2 error)

func (*LocalSigner) Sign Uses

func (fake *LocalSigner) Sign(message []byte) ([]byte, error)

func (*LocalSigner) SignArgsForCall Uses

func (fake *LocalSigner) SignArgsForCall(i int) []byte

func (*LocalSigner) SignCallCount Uses

func (fake *LocalSigner) SignCallCount() int

func (*LocalSigner) SignReturns Uses

func (fake *LocalSigner) SignReturns(result1 []byte, result2 error)

func (*LocalSigner) SignReturnsOnCall Uses

func (fake *LocalSigner) SignReturnsOnCall(i int, result1 []byte, result2 error)

Package mock imports 2 packages (graph). Updated 2019-03-05. Refresh now. Tools for package owners.