fabric: github.com/hyperledger/fabric/core/ledger/kvledger/tests/fakes Index | Files

package fakes

import "github.com/hyperledger/fabric/core/ledger/kvledger/tests/fakes"

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

signer.go

type Signer Uses

type Signer struct {
    SerializeStub func() ([]byte, error)

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

func (*Signer) Invocations Uses

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

func (*Signer) Serialize Uses

func (fake *Signer) Serialize() ([]byte, error)

func (*Signer) SerializeCallCount Uses

func (fake *Signer) SerializeCallCount() int

func (*Signer) SerializeCalls Uses

func (fake *Signer) SerializeCalls(stub func() ([]byte, error))

func (*Signer) SerializeReturns Uses

func (fake *Signer) SerializeReturns(result1 []byte, result2 error)

func (*Signer) SerializeReturnsOnCall Uses

func (fake *Signer) SerializeReturnsOnCall(i int, result1 []byte, result2 error)

func (*Signer) Sign Uses

func (fake *Signer) Sign(arg1 []byte) ([]byte, error)

func (*Signer) SignArgsForCall Uses

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

func (*Signer) SignCallCount Uses

func (fake *Signer) SignCallCount() int

func (*Signer) SignCalls Uses

func (fake *Signer) SignCalls(stub func([]byte) ([]byte, error))

func (*Signer) SignReturns Uses

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

func (*Signer) SignReturnsOnCall Uses

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

Package fakes imports 1 packages (graph) and is imported by 1 packages. Updated 2019-11-19. Refresh now. Tools for package owners.