extensionfakes

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClient

type FakeClient struct {
	MakeRequestStub func(method string, url string, expectedResponseCode int, body io.Reader, data interface{}) (*http.Response, []byte, error)

	CreateRequestStub func(method string, url string, body io.Reader) (*http.Request, error)
	// contains filtered or unexported fields
}

func (*FakeClient) CreateRequest

func (fake *FakeClient) CreateRequest(method string, url string, body io.Reader) (*http.Request, error)

func (*FakeClient) CreateRequestArgsForCall

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

func (*FakeClient) CreateRequestCallCount

func (fake *FakeClient) CreateRequestCallCount() int

func (*FakeClient) CreateRequestReturns

func (fake *FakeClient) CreateRequestReturns(result1 *http.Request, result2 error)

func (*FakeClient) Invocations

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

func (*FakeClient) MakeRequest

func (fake *FakeClient) MakeRequest(method string, url string, expectedResponseCode int, body io.Reader, data interface{}) (*http.Response, []byte, error)

func (*FakeClient) MakeRequestArgsForCall

func (fake *FakeClient) MakeRequestArgsForCall(i int) (string, string, int, io.Reader, interface{})

func (*FakeClient) MakeRequestCallCount

func (fake *FakeClient) MakeRequestCallCount() int

func (*FakeClient) MakeRequestReturns

func (fake *FakeClient) MakeRequestReturns(result1 *http.Response, result2 []byte, result3 error)

Jump to

Keyboard shortcuts

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