mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPSignatureVerifier added in v0.1.1

type HTTPSignatureVerifier struct {
	VerifyStub func(r *http.Request) error
	// contains filtered or unexported fields
}

func (*HTTPSignatureVerifier) Invocations added in v0.1.1

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

func (*HTTPSignatureVerifier) Verify added in v0.1.1

func (fake *HTTPSignatureVerifier) Verify(r *http.Request) error

func (*HTTPSignatureVerifier) VerifyArgsForCall added in v0.1.1

func (fake *HTTPSignatureVerifier) VerifyArgsForCall(i int) *http.Request

func (*HTTPSignatureVerifier) VerifyCallCount added in v0.1.1

func (fake *HTTPSignatureVerifier) VerifyCallCount() int

func (*HTTPSignatureVerifier) VerifyReturns added in v0.1.1

func (fake *HTTPSignatureVerifier) VerifyReturns(result1 error)

func (*HTTPSignatureVerifier) VerifyReturnsOnCall added in v0.1.1

func (fake *HTTPSignatureVerifier) VerifyReturnsOnCall(i int, result1 error)

type HTTPTransport

type HTTPTransport struct {
	GetStub func(ctx context.Context, req *transport.Request) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*HTTPTransport) Get

func (fake *HTTPTransport) Get(ctx context.Context, req *transport.Request) (*http.Response, error)

func (*HTTPTransport) GetArgsForCall

func (fake *HTTPTransport) GetArgsForCall(i int) (context.Context, *transport.Request)

func (*HTTPTransport) GetCallCount

func (fake *HTTPTransport) GetCallCount() int

func (*HTTPTransport) GetReturns

func (fake *HTTPTransport) GetReturns(result1 *http.Response, result2 error)

func (*HTTPTransport) GetReturnsOnCall

func (fake *HTTPTransport) GetReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*HTTPTransport) Invocations

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

type KeyResolver added in v0.1.1

type KeyResolver struct {
	ResolveStub func(keyID string) (*ariesverifier.PublicKey, error)
	// contains filtered or unexported fields
}

func (*KeyResolver) Invocations added in v0.1.1

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

func (*KeyResolver) Resolve added in v0.1.1

func (fake *KeyResolver) Resolve(keyID string) (*ariesverifier.PublicKey, error)

func (*KeyResolver) ResolveArgsForCall added in v0.1.1

func (fake *KeyResolver) ResolveArgsForCall(i int) string

func (*KeyResolver) ResolveCallCount added in v0.1.1

func (fake *KeyResolver) ResolveCallCount() int

func (*KeyResolver) ResolveReturns added in v0.1.1

func (fake *KeyResolver) ResolveReturns(result1 *ariesverifier.PublicKey, result2 error)

func (*KeyResolver) ResolveReturnsOnCall added in v0.1.1

func (fake *KeyResolver) ResolveReturnsOnCall(i int, result1 *ariesverifier.PublicKey, result2 error)

Jump to

Keyboard shortcuts

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