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: 2 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 AuthTokenMgr added in v1.0.0

type AuthTokenMgr struct {
	IsAuthRequiredStub func(endpoint, method string) (bool, error)
	// contains filtered or unexported fields
}

func (*AuthTokenMgr) Invocations added in v1.0.0

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

func (*AuthTokenMgr) IsAuthRequired added in v1.0.0

func (fake *AuthTokenMgr) IsAuthRequired(endpoint string, method string) (bool, error)

func (*AuthTokenMgr) IsAuthRequiredArgsForCall added in v1.0.0

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

func (*AuthTokenMgr) IsAuthRequiredCallCount added in v1.0.0

func (fake *AuthTokenMgr) IsAuthRequiredCallCount() int

func (*AuthTokenMgr) IsAuthRequiredReturns added in v1.0.0

func (fake *AuthTokenMgr) IsAuthRequiredReturns(result1 bool, result2 error)

func (*AuthTokenMgr) IsAuthRequiredReturnsOnCall added in v1.0.0

func (fake *AuthTokenMgr) IsAuthRequiredReturnsOnCall(i int, result1 bool, result2 error)

type HTTPClient

type HTTPClient struct {
	DoStub func(req *http.Request) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*HTTPClient) Do

func (fake *HTTPClient) Do(req *http.Request) (*http.Response, error)

func (*HTTPClient) DoArgsForCall

func (fake *HTTPClient) DoArgsForCall(i int) *http.Request

func (*HTTPClient) DoCallCount

func (fake *HTTPClient) DoCallCount() int

func (*HTTPClient) DoReturns

func (fake *HTTPClient) DoReturns(result1 *http.Response, result2 error)

func (*HTTPClient) DoReturnsOnCall

func (fake *HTTPClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*HTTPClient) Invocations

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

type HTTPSigner

type HTTPSigner struct {
	SignRequestStub func(pubKeyID string, req *http.Request) error
	// contains filtered or unexported fields
}

func (*HTTPSigner) Invocations

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

func (*HTTPSigner) SignRequest

func (fake *HTTPSigner) SignRequest(pubKeyID string, req *http.Request) error

func (*HTTPSigner) SignRequestArgsForCall

func (fake *HTTPSigner) SignRequestArgsForCall(i int) (string, *http.Request)

func (*HTTPSigner) SignRequestCallCount

func (fake *HTTPSigner) SignRequestCallCount() int

func (*HTTPSigner) SignRequestReturns

func (fake *HTTPSigner) SignRequestReturns(result1 error)

func (*HTTPSigner) SignRequestReturnsOnCall

func (fake *HTTPSigner) SignRequestReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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