mocks

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 AnchorIndexStatusStore

type AnchorIndexStatusStore struct {
	AddStatusStub func(string, proofa.AnchorIndexStatus) error

	GetStatusStub func(string) (proofa.AnchorIndexStatus, error)
	// contains filtered or unexported fields
}

func (*AnchorIndexStatusStore) AddStatus

func (fake *AnchorIndexStatusStore) AddStatus(arg1 string, arg2 proofa.AnchorIndexStatus) error

func (*AnchorIndexStatusStore) AddStatusArgsForCall

func (fake *AnchorIndexStatusStore) AddStatusArgsForCall(i int) (string, proofa.AnchorIndexStatus)

func (*AnchorIndexStatusStore) AddStatusCallCount

func (fake *AnchorIndexStatusStore) AddStatusCallCount() int

func (*AnchorIndexStatusStore) AddStatusCalls

func (fake *AnchorIndexStatusStore) AddStatusCalls(stub func(string, proofa.AnchorIndexStatus) error)

func (*AnchorIndexStatusStore) AddStatusReturns

func (fake *AnchorIndexStatusStore) AddStatusReturns(result1 error)

func (*AnchorIndexStatusStore) AddStatusReturnsOnCall

func (fake *AnchorIndexStatusStore) AddStatusReturnsOnCall(i int, result1 error)

func (*AnchorIndexStatusStore) GetStatus

func (fake *AnchorIndexStatusStore) GetStatus(arg1 string) (proofa.AnchorIndexStatus, error)

func (*AnchorIndexStatusStore) GetStatusArgsForCall

func (fake *AnchorIndexStatusStore) GetStatusArgsForCall(i int) string

func (*AnchorIndexStatusStore) GetStatusCallCount

func (fake *AnchorIndexStatusStore) GetStatusCallCount() int

func (*AnchorIndexStatusStore) GetStatusCalls

func (fake *AnchorIndexStatusStore) GetStatusCalls(stub func(string) (proofa.AnchorIndexStatus, error))

func (*AnchorIndexStatusStore) GetStatusReturns

func (fake *AnchorIndexStatusStore) GetStatusReturns(result1 proofa.AnchorIndexStatus, result2 error)

func (*AnchorIndexStatusStore) GetStatusReturnsOnCall

func (fake *AnchorIndexStatusStore) GetStatusReturnsOnCall(i int, result1 proofa.AnchorIndexStatus, result2 error)

func (*AnchorIndexStatusStore) Invocations

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

type WitnessStore

type WitnessStore struct {
	AddProofStub func(string, *url.URL, []byte) error

	GetStub func(string) ([]*proofa.WitnessProof, error)
	// contains filtered or unexported fields
}

func (*WitnessStore) AddProof

func (fake *WitnessStore) AddProof(arg1 string, arg2 *url.URL, arg3 []byte) error

func (*WitnessStore) AddProofArgsForCall

func (fake *WitnessStore) AddProofArgsForCall(i int) (string, *url.URL, []byte)

func (*WitnessStore) AddProofCallCount

func (fake *WitnessStore) AddProofCallCount() int

func (*WitnessStore) AddProofCalls

func (fake *WitnessStore) AddProofCalls(stub func(string, *url.URL, []byte) error)

func (*WitnessStore) AddProofReturns

func (fake *WitnessStore) AddProofReturns(result1 error)

func (*WitnessStore) AddProofReturnsOnCall

func (fake *WitnessStore) AddProofReturnsOnCall(i int, result1 error)

func (*WitnessStore) Get

func (fake *WitnessStore) Get(arg1 string) ([]*proofa.WitnessProof, error)

func (*WitnessStore) GetArgsForCall

func (fake *WitnessStore) GetArgsForCall(i int) string

func (*WitnessStore) GetCallCount

func (fake *WitnessStore) GetCallCount() int

func (*WitnessStore) GetCalls

func (fake *WitnessStore) GetCalls(stub func(string) ([]*proofa.WitnessProof, error))

func (*WitnessStore) GetReturns

func (fake *WitnessStore) GetReturns(result1 []*proofa.WitnessProof, result2 error)

func (*WitnessStore) GetReturnsOnCall

func (fake *WitnessStore) GetReturnsOnCall(i int, result1 []*proofa.WitnessProof, result2 error)

func (*WitnessStore) Invocations

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

Jump to

Keyboard shortcuts

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