httpclientfakes

package
v1.0.26 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 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 FakeAuthenticatedClient

type FakeAuthenticatedClient struct {
	DoAuthenticatedDeleteStub func(string, string) (int, error)

	DoAuthenticatedGetStub func(string, string) (io.ReadCloser, int, error)

	DoAuthenticatedPostStub func(string, string, string, string) (io.ReadCloser, int, error)

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

func (*FakeAuthenticatedClient) DoAuthenticatedDelete

func (fake *FakeAuthenticatedClient) DoAuthenticatedDelete(arg1 string, arg2 string) (int, error)

func (*FakeAuthenticatedClient) DoAuthenticatedDeleteArgsForCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedDeleteArgsForCall(i int) (string, string)

func (*FakeAuthenticatedClient) DoAuthenticatedDeleteCallCount

func (fake *FakeAuthenticatedClient) DoAuthenticatedDeleteCallCount() int

func (*FakeAuthenticatedClient) DoAuthenticatedDeleteCalls added in v1.0.13

func (fake *FakeAuthenticatedClient) DoAuthenticatedDeleteCalls(stub func(string, string) (int, error))

func (*FakeAuthenticatedClient) DoAuthenticatedDeleteReturns

func (fake *FakeAuthenticatedClient) DoAuthenticatedDeleteReturns(result1 int, result2 error)

func (*FakeAuthenticatedClient) DoAuthenticatedDeleteReturnsOnCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedDeleteReturnsOnCall(i int, result1 int, result2 error)

func (*FakeAuthenticatedClient) DoAuthenticatedGet

func (fake *FakeAuthenticatedClient) DoAuthenticatedGet(arg1 string, arg2 string) (io.ReadCloser, int, error)

func (*FakeAuthenticatedClient) DoAuthenticatedGetArgsForCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedGetArgsForCall(i int) (string, string)

func (*FakeAuthenticatedClient) DoAuthenticatedGetCallCount

func (fake *FakeAuthenticatedClient) DoAuthenticatedGetCallCount() int

func (*FakeAuthenticatedClient) DoAuthenticatedGetCalls added in v1.0.13

func (fake *FakeAuthenticatedClient) DoAuthenticatedGetCalls(stub func(string, string) (io.ReadCloser, int, error))

func (*FakeAuthenticatedClient) DoAuthenticatedGetReturns

func (fake *FakeAuthenticatedClient) DoAuthenticatedGetReturns(result1 io.ReadCloser, result2 int, result3 error)

func (*FakeAuthenticatedClient) DoAuthenticatedGetReturnsOnCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedGetReturnsOnCall(i int, result1 io.ReadCloser, result2 int, result3 error)

func (*FakeAuthenticatedClient) DoAuthenticatedPost

func (fake *FakeAuthenticatedClient) DoAuthenticatedPost(arg1 string, arg2 string, arg3 string, arg4 string) (io.ReadCloser, int, error)

func (*FakeAuthenticatedClient) DoAuthenticatedPostArgsForCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedPostArgsForCall(i int) (string, string, string, string)

func (*FakeAuthenticatedClient) DoAuthenticatedPostCallCount

func (fake *FakeAuthenticatedClient) DoAuthenticatedPostCallCount() int

func (*FakeAuthenticatedClient) DoAuthenticatedPostCalls added in v1.0.13

func (fake *FakeAuthenticatedClient) DoAuthenticatedPostCalls(stub func(string, string, string, string) (io.ReadCloser, int, error))

func (*FakeAuthenticatedClient) DoAuthenticatedPostReturns

func (fake *FakeAuthenticatedClient) DoAuthenticatedPostReturns(result1 io.ReadCloser, result2 int, result3 error)

func (*FakeAuthenticatedClient) DoAuthenticatedPostReturnsOnCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedPostReturnsOnCall(i int, result1 io.ReadCloser, result2 int, result3 error)

func (*FakeAuthenticatedClient) DoAuthenticatedPut

func (fake *FakeAuthenticatedClient) DoAuthenticatedPut(arg1 string, arg2 string, arg3 string, arg4 string) (int, error)

func (*FakeAuthenticatedClient) DoAuthenticatedPutArgsForCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedPutArgsForCall(i int) (string, string, string, string)

func (*FakeAuthenticatedClient) DoAuthenticatedPutCallCount

func (fake *FakeAuthenticatedClient) DoAuthenticatedPutCallCount() int

func (*FakeAuthenticatedClient) DoAuthenticatedPutCalls added in v1.0.13

func (fake *FakeAuthenticatedClient) DoAuthenticatedPutCalls(stub func(string, string, string, string) (int, error))

func (*FakeAuthenticatedClient) DoAuthenticatedPutReturns

func (fake *FakeAuthenticatedClient) DoAuthenticatedPutReturns(result1 int, result2 error)

func (*FakeAuthenticatedClient) DoAuthenticatedPutReturnsOnCall

func (fake *FakeAuthenticatedClient) DoAuthenticatedPutReturnsOnCall(i int, result1 int, result2 error)

func (*FakeAuthenticatedClient) Invocations

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

type FakeClient

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

func (*FakeClient) Do

func (fake *FakeClient) Do(arg1 *http.Request) (*http.Response, error)

func (*FakeClient) DoArgsForCall

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

func (*FakeClient) DoCallCount

func (fake *FakeClient) DoCallCount() int

func (*FakeClient) DoCalls added in v1.0.13

func (fake *FakeClient) DoCalls(stub func(*http.Request) (*http.Response, error))

func (*FakeClient) DoReturns

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

func (*FakeClient) DoReturnsOnCall

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

func (*FakeClient) Invocations

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

Jump to

Keyboard shortcuts

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