mock

package
v1.4.12 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalSigner

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

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

func (*LocalSigner) Invocations

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

func (*LocalSigner) NewSignatureHeader

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

func (*LocalSigner) NewSignatureHeaderCallCount

func (fake *LocalSigner) NewSignatureHeaderCallCount() int

func (*LocalSigner) NewSignatureHeaderReturns

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

func (*LocalSigner) NewSignatureHeaderReturnsOnCall

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

func (*LocalSigner) Sign

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

func (*LocalSigner) SignArgsForCall

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

func (*LocalSigner) SignCallCount

func (fake *LocalSigner) SignCallCount() int

func (*LocalSigner) SignReturns

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

func (*LocalSigner) SignReturnsOnCall

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

Jump to

Keyboard shortcuts

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