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: 5 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.

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 Discovery

type Discovery struct {
	RequestDiscoveryStub func(context.Context, string) error
	// contains filtered or unexported fields
}

func (*Discovery) Invocations

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

func (*Discovery) RequestDiscovery

func (fake *Discovery) RequestDiscovery(arg1 context.Context, arg2 string) error

func (*Discovery) RequestDiscoveryArgsForCall

func (fake *Discovery) RequestDiscoveryArgsForCall(i int) (context.Context, string)

func (*Discovery) RequestDiscoveryCallCount

func (fake *Discovery) RequestDiscoveryCallCount() int

func (*Discovery) RequestDiscoveryCalls

func (fake *Discovery) RequestDiscoveryCalls(stub func(context.Context, string) error)

func (*Discovery) RequestDiscoveryReturns

func (fake *Discovery) RequestDiscoveryReturns(result1 error)

func (*Discovery) RequestDiscoveryReturnsOnCall

func (fake *Discovery) RequestDiscoveryReturnsOnCall(i int, result1 error)

type EndpointClient

type EndpointClient struct {
	GetDomainFromIPNSStub func(string) (string, error)

	GetEndpointStub func(string) (*models.Endpoint, error)

	ResolveDomainForDIDStub func(string) (string, error)
	// contains filtered or unexported fields
}

func (*EndpointClient) GetDomainFromIPNS

func (fake *EndpointClient) GetDomainFromIPNS(arg1 string) (string, error)

func (*EndpointClient) GetDomainFromIPNSArgsForCall

func (fake *EndpointClient) GetDomainFromIPNSArgsForCall(i int) string

func (*EndpointClient) GetDomainFromIPNSCallCount

func (fake *EndpointClient) GetDomainFromIPNSCallCount() int

func (*EndpointClient) GetDomainFromIPNSCalls

func (fake *EndpointClient) GetDomainFromIPNSCalls(stub func(string) (string, error))

func (*EndpointClient) GetDomainFromIPNSReturns

func (fake *EndpointClient) GetDomainFromIPNSReturns(result1 string, result2 error)

func (*EndpointClient) GetDomainFromIPNSReturnsOnCall

func (fake *EndpointClient) GetDomainFromIPNSReturnsOnCall(i int, result1 string, result2 error)

func (*EndpointClient) GetEndpoint

func (fake *EndpointClient) GetEndpoint(arg1 string) (*models.Endpoint, error)

func (*EndpointClient) GetEndpointArgsForCall

func (fake *EndpointClient) GetEndpointArgsForCall(i int) string

func (*EndpointClient) GetEndpointCallCount

func (fake *EndpointClient) GetEndpointCallCount() int

func (*EndpointClient) GetEndpointCalls

func (fake *EndpointClient) GetEndpointCalls(stub func(string) (*models.Endpoint, error))

func (*EndpointClient) GetEndpointReturns

func (fake *EndpointClient) GetEndpointReturns(result1 *models.Endpoint, result2 error)

func (*EndpointClient) GetEndpointReturnsOnCall

func (fake *EndpointClient) GetEndpointReturnsOnCall(i int, result1 *models.Endpoint, result2 error)

func (*EndpointClient) Invocations

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

func (*EndpointClient) ResolveDomainForDID

func (fake *EndpointClient) ResolveDomainForDID(arg1 string) (string, error)

func (*EndpointClient) ResolveDomainForDIDArgsForCall

func (fake *EndpointClient) ResolveDomainForDIDArgsForCall(i int) string

func (*EndpointClient) ResolveDomainForDIDCallCount

func (fake *EndpointClient) ResolveDomainForDIDCallCount() int

func (*EndpointClient) ResolveDomainForDIDCalls

func (fake *EndpointClient) ResolveDomainForDIDCalls(stub func(string) (string, error))

func (*EndpointClient) ResolveDomainForDIDReturns

func (fake *EndpointClient) ResolveDomainForDIDReturns(result1 string, result2 error)

func (*EndpointClient) ResolveDomainForDIDReturnsOnCall

func (fake *EndpointClient) ResolveDomainForDIDReturnsOnCall(i int, result1 string, result2 error)

type OperationProcessor

type OperationProcessor struct {
	ResolveStub func(string, ...document.ResolutionOption) (*protocol.ResolutionModel, error)
	// contains filtered or unexported fields
}

func (*OperationProcessor) Invocations

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

func (*OperationProcessor) Resolve

func (*OperationProcessor) ResolveArgsForCall

func (fake *OperationProcessor) ResolveArgsForCall(i int) (string, []document.ResolutionOption)

func (*OperationProcessor) ResolveCallCount

func (fake *OperationProcessor) ResolveCallCount() int

func (*OperationProcessor) ResolveCalls

func (fake *OperationProcessor) ResolveCalls(stub func(string, ...document.ResolutionOption) (*protocol.ResolutionModel, error))

func (*OperationProcessor) ResolveReturns

func (fake *OperationProcessor) ResolveReturns(result1 *protocol.ResolutionModel, result2 error)

func (*OperationProcessor) ResolveReturnsOnCall

func (fake *OperationProcessor) ResolveReturnsOnCall(i int, result1 *protocol.ResolutionModel, result2 error)

type RemoteResolver

type RemoteResolver struct {
	ResolveDocumentFromResolutionEndpointsStub func(context.Context, string, []string) (*document.ResolutionResult, error)
	// contains filtered or unexported fields
}

func (*RemoteResolver) Invocations

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

func (*RemoteResolver) ResolveDocumentFromResolutionEndpoints

func (fake *RemoteResolver) ResolveDocumentFromResolutionEndpoints(arg1 context.Context, arg2 string, arg3 []string) (*document.ResolutionResult, error)

func (*RemoteResolver) ResolveDocumentFromResolutionEndpointsArgsForCall

func (fake *RemoteResolver) ResolveDocumentFromResolutionEndpointsArgsForCall(i int) (context.Context, string, []string)

func (*RemoteResolver) ResolveDocumentFromResolutionEndpointsCallCount

func (fake *RemoteResolver) ResolveDocumentFromResolutionEndpointsCallCount() int

func (*RemoteResolver) ResolveDocumentFromResolutionEndpointsCalls

func (fake *RemoteResolver) ResolveDocumentFromResolutionEndpointsCalls(stub func(context.Context, string, []string) (*document.ResolutionResult, error))

func (*RemoteResolver) ResolveDocumentFromResolutionEndpointsReturns

func (fake *RemoteResolver) ResolveDocumentFromResolutionEndpointsReturns(result1 *document.ResolutionResult, result2 error)

func (*RemoteResolver) ResolveDocumentFromResolutionEndpointsReturnsOnCall

func (fake *RemoteResolver) ResolveDocumentFromResolutionEndpointsReturnsOnCall(i int, result1 *document.ResolutionResult, result2 error)

type Resolver

type Resolver struct {
	ResolveDocumentStub func(string, ...document.ResolutionOption) (*document.ResolutionResult, error)
	// contains filtered or unexported fields
}

func (*Resolver) Invocations

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

func (*Resolver) ResolveDocument

func (fake *Resolver) ResolveDocument(arg1 string, arg2 ...document.ResolutionOption) (*document.ResolutionResult, error)

func (*Resolver) ResolveDocumentArgsForCall

func (fake *Resolver) ResolveDocumentArgsForCall(i int) (string, []document.ResolutionOption)

func (*Resolver) ResolveDocumentCallCount

func (fake *Resolver) ResolveDocumentCallCount() int

func (*Resolver) ResolveDocumentCalls

func (fake *Resolver) ResolveDocumentCalls(stub func(string, ...document.ResolutionOption) (*document.ResolutionResult, error))

func (*Resolver) ResolveDocumentReturns

func (fake *Resolver) ResolveDocumentReturns(result1 *document.ResolutionResult, result2 error)

func (*Resolver) ResolveDocumentReturnsOnCall

func (fake *Resolver) ResolveDocumentReturnsOnCall(i int, result1 *document.ResolutionResult, result2 error)

Jump to

Keyboard shortcuts

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