...

Package httpfakes

import "sigs.k8s.io/release-utils/http/httpfakes"
Overview
Index

Overview ▾

Code generated by counterfeiter. DO NOT EDIT.

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)