mocks

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 4 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(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 string) error

func (*Discovery) RequestDiscoveryArgsForCall

func (fake *Discovery) RequestDiscoveryArgsForCall(i int) string

func (*Discovery) RequestDiscoveryCallCount

func (fake *Discovery) RequestDiscoveryCallCount() int

func (*Discovery) RequestDiscoveryCalls

func (fake *Discovery) RequestDiscoveryCalls(stub func(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 {
	GetEndpointStub func(string) (*models.Endpoint, error)
	// contains filtered or unexported fields
}

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{}

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(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 string, arg2 []string) (*document.ResolutionResult, error)

func (*RemoteResolver) ResolveDocumentFromResolutionEndpointsArgsForCall

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

func (*RemoteResolver) ResolveDocumentFromResolutionEndpointsCallCount

func (fake *RemoteResolver) ResolveDocumentFromResolutionEndpointsCallCount() int

func (*RemoteResolver) ResolveDocumentFromResolutionEndpointsCalls

func (fake *RemoteResolver) ResolveDocumentFromResolutionEndpointsCalls(stub func(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