mocks

package
v1.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 7 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 AcceptListMgr added in v1.0.0

type AcceptListMgr struct {
	UpdateStub func(acceptType string, additions, removals []*url.URL) error

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

	GetAllStub func() ([]*spi.AcceptList, error)
	// contains filtered or unexported fields
}

func (*AcceptListMgr) Get added in v1.0.0

func (fake *AcceptListMgr) Get(acceptType string) ([]*url.URL, error)

func (*AcceptListMgr) GetAll added in v1.0.0

func (fake *AcceptListMgr) GetAll() ([]*spi.AcceptList, error)

func (*AcceptListMgr) GetAllCallCount added in v1.0.0

func (fake *AcceptListMgr) GetAllCallCount() int

func (*AcceptListMgr) GetAllReturns added in v1.0.0

func (fake *AcceptListMgr) GetAllReturns(result1 []*spi.AcceptList, result2 error)

func (*AcceptListMgr) GetAllReturnsOnCall added in v1.0.0

func (fake *AcceptListMgr) GetAllReturnsOnCall(i int, result1 []*spi.AcceptList, result2 error)

func (*AcceptListMgr) GetArgsForCall added in v1.0.0

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

func (*AcceptListMgr) GetCallCount added in v1.0.0

func (fake *AcceptListMgr) GetCallCount() int

func (*AcceptListMgr) GetReturns added in v1.0.0

func (fake *AcceptListMgr) GetReturns(result1 []*url.URL, result2 error)

func (*AcceptListMgr) GetReturnsOnCall added in v1.0.0

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

func (*AcceptListMgr) Invocations added in v1.0.0

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

func (*AcceptListMgr) Update added in v1.0.0

func (fake *AcceptListMgr) Update(acceptType string, additions []*url.URL, removals []*url.URL) error

func (*AcceptListMgr) UpdateArgsForCall added in v1.0.0

func (fake *AcceptListMgr) UpdateArgsForCall(i int) (string, []*url.URL, []*url.URL)

func (*AcceptListMgr) UpdateCallCount added in v1.0.0

func (fake *AcceptListMgr) UpdateCallCount() int

func (*AcceptListMgr) UpdateReturns added in v1.0.0

func (fake *AcceptListMgr) UpdateReturns(result1 error)

func (*AcceptListMgr) UpdateReturnsOnCall added in v1.0.0

func (fake *AcceptListMgr) UpdateReturnsOnCall(i int, result1 error)

type AuthTokenMgr added in v1.0.0

type AuthTokenMgr struct {
	RequiredAuthTokensStub func(endpoint, method string) ([]string, error)
	// contains filtered or unexported fields
}

func (*AuthTokenMgr) Invocations added in v1.0.0

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

func (*AuthTokenMgr) RequiredAuthTokens added in v1.0.0

func (fake *AuthTokenMgr) RequiredAuthTokens(endpoint string, method string) ([]string, error)

func (*AuthTokenMgr) RequiredAuthTokensArgsForCall added in v1.0.0

func (fake *AuthTokenMgr) RequiredAuthTokensArgsForCall(i int) (string, string)

func (*AuthTokenMgr) RequiredAuthTokensCallCount added in v1.0.0

func (fake *AuthTokenMgr) RequiredAuthTokensCallCount() int

func (*AuthTokenMgr) RequiredAuthTokensReturns added in v1.0.0

func (fake *AuthTokenMgr) RequiredAuthTokensReturns(result1 []string, result2 error)

func (*AuthTokenMgr) RequiredAuthTokensReturnsOnCall added in v1.0.0

func (fake *AuthTokenMgr) RequiredAuthTokensReturnsOnCall(i int, result1 []string, result2 error)

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