mocks

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 8 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.

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

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

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

func (*AcceptListMgr) GetAll

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

func (*AcceptListMgr) GetAllCallCount

func (fake *AcceptListMgr) GetAllCallCount() int

func (*AcceptListMgr) GetAllReturns

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

func (*AcceptListMgr) GetAllReturnsOnCall

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

func (*AcceptListMgr) GetArgsForCall

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

func (*AcceptListMgr) GetCallCount

func (fake *AcceptListMgr) GetCallCount() int

func (*AcceptListMgr) GetReturns

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

func (*AcceptListMgr) GetReturnsOnCall

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

func (*AcceptListMgr) Invocations

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

func (*AcceptListMgr) Update

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

func (*AcceptListMgr) UpdateArgsForCall

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

func (*AcceptListMgr) UpdateCallCount

func (fake *AcceptListMgr) UpdateCallCount() int

func (*AcceptListMgr) UpdateReturns

func (fake *AcceptListMgr) UpdateReturns(result1 error)

func (*AcceptListMgr) UpdateReturnsOnCall

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

type ActivityIterator

type ActivityIterator struct {
	CloseStub func() error

	NextStub func() (*vocab.ActivityType, error)

	TotalItemsStub func() (int, error)
	// contains filtered or unexported fields
}

func (*ActivityIterator) Close

func (fake *ActivityIterator) Close() error

func (*ActivityIterator) CloseCallCount

func (fake *ActivityIterator) CloseCallCount() int

func (*ActivityIterator) CloseCalls

func (fake *ActivityIterator) CloseCalls(stub func() error)

func (*ActivityIterator) CloseReturns

func (fake *ActivityIterator) CloseReturns(result1 error)

func (*ActivityIterator) CloseReturnsOnCall

func (fake *ActivityIterator) CloseReturnsOnCall(i int, result1 error)

func (*ActivityIterator) Invocations

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

func (*ActivityIterator) Next

func (fake *ActivityIterator) Next() (*vocab.ActivityType, error)

func (*ActivityIterator) NextCallCount

func (fake *ActivityIterator) NextCallCount() int

func (*ActivityIterator) NextCalls

func (fake *ActivityIterator) NextCalls(stub func() (*vocab.ActivityType, error))

func (*ActivityIterator) NextReturns

func (fake *ActivityIterator) NextReturns(result1 *vocab.ActivityType, result2 error)

func (*ActivityIterator) NextReturnsOnCall

func (fake *ActivityIterator) NextReturnsOnCall(i int, result1 *vocab.ActivityType, result2 error)

func (*ActivityIterator) TotalItems

func (fake *ActivityIterator) TotalItems() (int, error)

func (*ActivityIterator) TotalItemsCallCount

func (fake *ActivityIterator) TotalItemsCallCount() int

func (*ActivityIterator) TotalItemsCalls

func (fake *ActivityIterator) TotalItemsCalls(stub func() (int, error))

func (*ActivityIterator) TotalItemsReturns

func (fake *ActivityIterator) TotalItemsReturns(result1 int, result2 error)

func (*ActivityIterator) TotalItemsReturnsOnCall

func (fake *ActivityIterator) TotalItemsReturnsOnCall(i int, result1 int, result2 error)

type AuthTokenMgr

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

func (*AuthTokenMgr) Invocations

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

func (*AuthTokenMgr) RequiredAuthTokens

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

func (*AuthTokenMgr) RequiredAuthTokensArgsForCall

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

func (*AuthTokenMgr) RequiredAuthTokensCallCount

func (fake *AuthTokenMgr) RequiredAuthTokensCallCount() int

func (*AuthTokenMgr) RequiredAuthTokensReturns

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

func (*AuthTokenMgr) RequiredAuthTokensReturnsOnCall

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

type HTTPSignatureVerifier

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

func (*HTTPSignatureVerifier) Invocations

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

func (*HTTPSignatureVerifier) Verify

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

func (*HTTPSignatureVerifier) VerifyArgsForCall

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

func (*HTTPSignatureVerifier) VerifyCallCount

func (fake *HTTPSignatureVerifier) VerifyCallCount() int

func (*HTTPSignatureVerifier) VerifyReturns

func (fake *HTTPSignatureVerifier) VerifyReturns(result1 error)

func (*HTTPSignatureVerifier) VerifyReturnsOnCall

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

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

func (*KeyResolver) Invocations

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

func (*KeyResolver) Resolve

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

func (*KeyResolver) ResolveArgsForCall

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

func (*KeyResolver) ResolveCallCount

func (fake *KeyResolver) ResolveCallCount() int

func (*KeyResolver) ResolveReturns

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

func (*KeyResolver) ResolveReturnsOnCall

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