mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 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.

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 added in v1.0.0

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

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

func (*AnchorIndexStatusStore) AddStatus added in v1.0.0

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

func (*AnchorIndexStatusStore) AddStatusArgsForCall added in v1.0.0

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

func (*AnchorIndexStatusStore) AddStatusCallCount added in v1.0.0

func (fake *AnchorIndexStatusStore) AddStatusCallCount() int

func (*AnchorIndexStatusStore) AddStatusCalls added in v1.0.0

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

func (*AnchorIndexStatusStore) AddStatusReturns added in v1.0.0

func (fake *AnchorIndexStatusStore) AddStatusReturns(result1 error)

func (*AnchorIndexStatusStore) AddStatusReturnsOnCall added in v1.0.0

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

func (*AnchorIndexStatusStore) GetStatus added in v1.0.0

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

func (*AnchorIndexStatusStore) GetStatusArgsForCall added in v1.0.0

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

func (*AnchorIndexStatusStore) GetStatusCallCount added in v1.0.0

func (fake *AnchorIndexStatusStore) GetStatusCallCount() int

func (*AnchorIndexStatusStore) GetStatusCalls added in v1.0.0

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

func (*AnchorIndexStatusStore) GetStatusReturns added in v1.0.0

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

func (*AnchorIndexStatusStore) GetStatusReturnsOnCall added in v1.0.0

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

func (*AnchorIndexStatusStore) Invocations added in v1.0.0

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

type AnchorLinkStore added in v1.0.0

type AnchorLinkStore struct {
	DeletePendingLinksStub func([]*url.URL) error

	GetProcessedAndPendingLinksStub func(string) ([]*url.URL, error)

	PutPendingLinksStub func([]*url.URL) error
	// contains filtered or unexported fields
}
func (fake *AnchorLinkStore) DeletePendingLinks(arg1 []*url.URL) error

func (*AnchorLinkStore) DeletePendingLinksArgsForCall added in v1.0.0

func (fake *AnchorLinkStore) DeletePendingLinksArgsForCall(i int) []*url.URL

func (*AnchorLinkStore) DeletePendingLinksCallCount added in v1.0.0

func (fake *AnchorLinkStore) DeletePendingLinksCallCount() int

func (*AnchorLinkStore) DeletePendingLinksCalls added in v1.0.0

func (fake *AnchorLinkStore) DeletePendingLinksCalls(stub func([]*url.URL) error)

func (*AnchorLinkStore) DeletePendingLinksReturns added in v1.0.0

func (fake *AnchorLinkStore) DeletePendingLinksReturns(result1 error)

func (*AnchorLinkStore) DeletePendingLinksReturnsOnCall added in v1.0.0

func (fake *AnchorLinkStore) DeletePendingLinksReturnsOnCall(i int, result1 error)
func (fake *AnchorLinkStore) GetProcessedAndPendingLinks(arg1 string) ([]*url.URL, error)

func (*AnchorLinkStore) GetProcessedAndPendingLinksArgsForCall added in v1.0.0

func (fake *AnchorLinkStore) GetProcessedAndPendingLinksArgsForCall(i int) string

func (*AnchorLinkStore) GetProcessedAndPendingLinksCallCount added in v1.0.0

func (fake *AnchorLinkStore) GetProcessedAndPendingLinksCallCount() int

func (*AnchorLinkStore) GetProcessedAndPendingLinksCalls added in v1.0.0

func (fake *AnchorLinkStore) GetProcessedAndPendingLinksCalls(stub func(string) ([]*url.URL, error))

func (*AnchorLinkStore) GetProcessedAndPendingLinksReturns added in v1.0.0

func (fake *AnchorLinkStore) GetProcessedAndPendingLinksReturns(result1 []*url.URL, result2 error)

func (*AnchorLinkStore) GetProcessedAndPendingLinksReturnsOnCall added in v1.0.0

func (fake *AnchorLinkStore) GetProcessedAndPendingLinksReturnsOnCall(i int, result1 []*url.URL, result2 error)

func (*AnchorLinkStore) Invocations added in v1.0.0

func (fake *AnchorLinkStore) Invocations() map[string][][]interface{}
func (fake *AnchorLinkStore) PutPendingLinks(arg1 []*url.URL) error

func (*AnchorLinkStore) PutPendingLinksArgsForCall added in v1.0.0

func (fake *AnchorLinkStore) PutPendingLinksArgsForCall(i int) []*url.URL

func (*AnchorLinkStore) PutPendingLinksCallCount added in v1.0.0

func (fake *AnchorLinkStore) PutPendingLinksCallCount() int

func (*AnchorLinkStore) PutPendingLinksCalls added in v1.0.0

func (fake *AnchorLinkStore) PutPendingLinksCalls(stub func([]*url.URL) error)

func (*AnchorLinkStore) PutPendingLinksReturns added in v1.0.0

func (fake *AnchorLinkStore) PutPendingLinksReturns(result1 error)

func (*AnchorLinkStore) PutPendingLinksReturnsOnCall added in v1.0.0

func (fake *AnchorLinkStore) PutPendingLinksReturnsOnCall(i int, result1 error)

type WitnessStore added in v1.0.0

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

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

func (*WitnessStore) AddProof added in v1.0.0

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

func (*WitnessStore) AddProofArgsForCall added in v1.0.0

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

func (*WitnessStore) AddProofCallCount added in v1.0.0

func (fake *WitnessStore) AddProofCallCount() int

func (*WitnessStore) AddProofCalls added in v1.0.0

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

func (*WitnessStore) AddProofReturns added in v1.0.0

func (fake *WitnessStore) AddProofReturns(result1 error)

func (*WitnessStore) AddProofReturnsOnCall added in v1.0.0

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

func (*WitnessStore) Get added in v1.0.0

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

func (*WitnessStore) GetArgsForCall added in v1.0.0

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

func (*WitnessStore) GetCallCount added in v1.0.0

func (fake *WitnessStore) GetCallCount() int

func (*WitnessStore) GetCalls added in v1.0.0

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

func (*WitnessStore) GetReturns added in v1.0.0

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

func (*WitnessStore) GetReturnsOnCall added in v1.0.0

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

func (*WitnessStore) Invocations added in v1.0.0

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