httpfakes

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 3 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 FakeAgentImplementation

type FakeAgentImplementation struct {
	SendGetRequestStub func(*httpa.Client, string) (*httpa.Response, error)

	SendPostRequestStub func(*httpa.Client, string, []byte, string) (*httpa.Response, error)
	// contains filtered or unexported fields
}

func (*FakeAgentImplementation) Invocations

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

func (*FakeAgentImplementation) SendGetRequest

func (fake *FakeAgentImplementation) SendGetRequest(arg1 *httpa.Client, arg2 string) (*httpa.Response, error)

func (*FakeAgentImplementation) SendGetRequestArgsForCall

func (fake *FakeAgentImplementation) SendGetRequestArgsForCall(i int) (*httpa.Client, string)

func (*FakeAgentImplementation) SendGetRequestCallCount

func (fake *FakeAgentImplementation) SendGetRequestCallCount() int

func (*FakeAgentImplementation) SendGetRequestCalls

func (fake *FakeAgentImplementation) SendGetRequestCalls(stub func(*httpa.Client, string) (*httpa.Response, error))

func (*FakeAgentImplementation) SendGetRequestReturns

func (fake *FakeAgentImplementation) SendGetRequestReturns(result1 *httpa.Response, result2 error)

func (*FakeAgentImplementation) SendGetRequestReturnsOnCall

func (fake *FakeAgentImplementation) SendGetRequestReturnsOnCall(i int, result1 *httpa.Response, result2 error)

func (*FakeAgentImplementation) SendPostRequest

func (fake *FakeAgentImplementation) SendPostRequest(arg1 *httpa.Client, arg2 string, arg3 []byte, arg4 string) (*httpa.Response, error)

func (*FakeAgentImplementation) SendPostRequestArgsForCall

func (fake *FakeAgentImplementation) SendPostRequestArgsForCall(i int) (*httpa.Client, string, []byte, string)

func (*FakeAgentImplementation) SendPostRequestCallCount

func (fake *FakeAgentImplementation) SendPostRequestCallCount() int

func (*FakeAgentImplementation) SendPostRequestCalls

func (fake *FakeAgentImplementation) SendPostRequestCalls(stub func(*httpa.Client, string, []byte, string) (*httpa.Response, error))

func (*FakeAgentImplementation) SendPostRequestReturns

func (fake *FakeAgentImplementation) SendPostRequestReturns(result1 *httpa.Response, result2 error)

func (*FakeAgentImplementation) SendPostRequestReturnsOnCall

func (fake *FakeAgentImplementation) SendPostRequestReturnsOnCall(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