mock

package
v0.0.0-...-6bf75d6 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

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