httpclientfakes

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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 FakeClient

type FakeClient struct {
	APIGetStub func(string, interface{}) error

	APIPostStub func(string, interface{}, interface{}) error

	GetStub func(string) (*http.Response, error)

	PostStub func(string, string, io.Reader) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*FakeClient) APIGet

func (fake *FakeClient) APIGet(arg1 string, arg2 interface{}) error

func (*FakeClient) APIGetArgsForCall

func (fake *FakeClient) APIGetArgsForCall(i int) (string, interface{})

func (*FakeClient) APIGetCallCount

func (fake *FakeClient) APIGetCallCount() int

func (*FakeClient) APIGetCalls added in v0.19.0

func (fake *FakeClient) APIGetCalls(stub func(string, interface{}) error)

func (*FakeClient) APIGetReturns

func (fake *FakeClient) APIGetReturns(result1 error)

func (*FakeClient) APIGetReturnsOnCall added in v0.12.0

func (fake *FakeClient) APIGetReturnsOnCall(i int, result1 error)

func (*FakeClient) APIPost

func (fake *FakeClient) APIPost(arg1 string, arg2 interface{}, arg3 interface{}) error

func (*FakeClient) APIPostArgsForCall

func (fake *FakeClient) APIPostArgsForCall(i int) (string, interface{}, interface{})

func (*FakeClient) APIPostCallCount

func (fake *FakeClient) APIPostCallCount() int

func (*FakeClient) APIPostCalls added in v0.19.0

func (fake *FakeClient) APIPostCalls(stub func(string, interface{}, interface{}) error)

func (*FakeClient) APIPostReturns

func (fake *FakeClient) APIPostReturns(result1 error)

func (*FakeClient) APIPostReturnsOnCall added in v0.12.0

func (fake *FakeClient) APIPostReturnsOnCall(i int, result1 error)

func (*FakeClient) Get

func (fake *FakeClient) Get(arg1 string) (*http.Response, error)

func (*FakeClient) GetArgsForCall

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

func (*FakeClient) GetCallCount

func (fake *FakeClient) GetCallCount() int

func (*FakeClient) GetCalls added in v0.19.0

func (fake *FakeClient) GetCalls(stub func(string) (*http.Response, error))

func (*FakeClient) GetReturns

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

func (*FakeClient) GetReturnsOnCall added in v0.12.0

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

func (*FakeClient) Invocations

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

func (*FakeClient) Post

func (fake *FakeClient) Post(arg1 string, arg2 string, arg3 io.Reader) (*http.Response, error)

func (*FakeClient) PostArgsForCall

func (fake *FakeClient) PostArgsForCall(i int) (string, string, io.Reader)

func (*FakeClient) PostCallCount

func (fake *FakeClient) PostCallCount() int

func (*FakeClient) PostCalls added in v0.19.0

func (fake *FakeClient) PostCalls(stub func(string, string, io.Reader) (*http.Response, error))

func (*FakeClient) PostReturns

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

func (*FakeClient) PostReturnsOnCall added in v0.12.0

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

Jump to

Keyboard shortcuts

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