httpfakes

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAuthorizationProvider

type FakeAuthorizationProvider struct {
	GetAuthorizationStub func(context.Context) (string, error)

	MatchesStub func(context.Context) bool

	NameStub func() string
	// contains filtered or unexported fields
}

func (*FakeAuthorizationProvider) GetAuthorization

func (fake *FakeAuthorizationProvider) GetAuthorization(arg1 context.Context) (string, error)

func (*FakeAuthorizationProvider) GetAuthorizationArgsForCall

func (fake *FakeAuthorizationProvider) GetAuthorizationArgsForCall(i int) context.Context

func (*FakeAuthorizationProvider) GetAuthorizationCallCount

func (fake *FakeAuthorizationProvider) GetAuthorizationCallCount() int

func (*FakeAuthorizationProvider) GetAuthorizationCalls

func (fake *FakeAuthorizationProvider) GetAuthorizationCalls(stub func(context.Context) (string, error))

func (*FakeAuthorizationProvider) GetAuthorizationReturns

func (fake *FakeAuthorizationProvider) GetAuthorizationReturns(result1 string, result2 error)

func (*FakeAuthorizationProvider) GetAuthorizationReturnsOnCall

func (fake *FakeAuthorizationProvider) GetAuthorizationReturnsOnCall(i int, result1 string, result2 error)

func (*FakeAuthorizationProvider) Invocations

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

func (*FakeAuthorizationProvider) Matches

func (fake *FakeAuthorizationProvider) Matches(arg1 context.Context) bool

func (*FakeAuthorizationProvider) MatchesArgsForCall

func (fake *FakeAuthorizationProvider) MatchesArgsForCall(i int) context.Context

func (*FakeAuthorizationProvider) MatchesCallCount

func (fake *FakeAuthorizationProvider) MatchesCallCount() int

func (*FakeAuthorizationProvider) MatchesCalls

func (fake *FakeAuthorizationProvider) MatchesCalls(stub func(context.Context) bool)

func (*FakeAuthorizationProvider) MatchesReturns

func (fake *FakeAuthorizationProvider) MatchesReturns(result1 bool)

func (*FakeAuthorizationProvider) MatchesReturnsOnCall

func (fake *FakeAuthorizationProvider) MatchesReturnsOnCall(i int, result1 bool)

func (*FakeAuthorizationProvider) Name

func (fake *FakeAuthorizationProvider) Name() string

func (*FakeAuthorizationProvider) NameCallCount

func (fake *FakeAuthorizationProvider) NameCallCount() int

func (*FakeAuthorizationProvider) NameCalls

func (fake *FakeAuthorizationProvider) NameCalls(stub func() string)

func (*FakeAuthorizationProvider) NameReturns

func (fake *FakeAuthorizationProvider) NameReturns(result1 string)

func (*FakeAuthorizationProvider) NameReturnsOnCall

func (fake *FakeAuthorizationProvider) NameReturnsOnCall(i int, result1 string)

type FakeHTTPRoundTripper

type FakeHTTPRoundTripper struct {
	CloneStub func() http.HTTPRoundTripper

	GetTransportStub func() *httpa.Transport

	RoundTripStub func(*httpa.Request) (*httpa.Response, error)
	// contains filtered or unexported fields
}

func (*FakeHTTPRoundTripper) Clone

func (*FakeHTTPRoundTripper) CloneCallCount

func (fake *FakeHTTPRoundTripper) CloneCallCount() int

func (*FakeHTTPRoundTripper) CloneCalls

func (fake *FakeHTTPRoundTripper) CloneCalls(stub func() http.HTTPRoundTripper)

func (*FakeHTTPRoundTripper) CloneReturns

func (fake *FakeHTTPRoundTripper) CloneReturns(result1 http.HTTPRoundTripper)

func (*FakeHTTPRoundTripper) CloneReturnsOnCall

func (fake *FakeHTTPRoundTripper) CloneReturnsOnCall(i int, result1 http.HTTPRoundTripper)

func (*FakeHTTPRoundTripper) GetTransport

func (fake *FakeHTTPRoundTripper) GetTransport() *httpa.Transport

func (*FakeHTTPRoundTripper) GetTransportCallCount

func (fake *FakeHTTPRoundTripper) GetTransportCallCount() int

func (*FakeHTTPRoundTripper) GetTransportCalls

func (fake *FakeHTTPRoundTripper) GetTransportCalls(stub func() *httpa.Transport)

func (*FakeHTTPRoundTripper) GetTransportReturns

func (fake *FakeHTTPRoundTripper) GetTransportReturns(result1 *httpa.Transport)

func (*FakeHTTPRoundTripper) GetTransportReturnsOnCall

func (fake *FakeHTTPRoundTripper) GetTransportReturnsOnCall(i int, result1 *httpa.Transport)

func (*FakeHTTPRoundTripper) Invocations

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

func (*FakeHTTPRoundTripper) RoundTrip

func (fake *FakeHTTPRoundTripper) RoundTrip(arg1 *httpa.Request) (*httpa.Response, error)

func (*FakeHTTPRoundTripper) RoundTripArgsForCall

func (fake *FakeHTTPRoundTripper) RoundTripArgsForCall(i int) *httpa.Request

func (*FakeHTTPRoundTripper) RoundTripCallCount

func (fake *FakeHTTPRoundTripper) RoundTripCallCount() int

func (*FakeHTTPRoundTripper) RoundTripCalls

func (fake *FakeHTTPRoundTripper) RoundTripCalls(stub func(*httpa.Request) (*httpa.Response, error))

func (*FakeHTTPRoundTripper) RoundTripReturns

func (fake *FakeHTTPRoundTripper) RoundTripReturns(result1 *httpa.Response, result2 error)

func (*FakeHTTPRoundTripper) RoundTripReturnsOnCall

func (fake *FakeHTTPRoundTripper) RoundTripReturnsOnCall(i int, result1 *httpa.Response, result2 error)

Jump to

Keyboard shortcuts

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