monitfakes

package
v2.39.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: Apache-2.0 Imports: 3 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 FakeHTTPClient

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

func (*FakeHTTPClient) Do

func (fake *FakeHTTPClient) Do(request *http.Request) (*http.Response, error)

func (*FakeHTTPClient) DoArgsForCall

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

func (*FakeHTTPClient) DoCallCount

func (fake *FakeHTTPClient) DoCallCount() int

func (*FakeHTTPClient) DoReturns

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

func (*FakeHTTPClient) DoReturnsOnCall

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

func (*FakeHTTPClient) Invocations

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

type FakeRequestRetryable

type FakeRequestRetryable struct {
	AttemptStub func() (bool, error)

	ResponseStub func() *http.Response
	// contains filtered or unexported fields
}

func (*FakeRequestRetryable) Attempt

func (fake *FakeRequestRetryable) Attempt() (bool, error)

func (*FakeRequestRetryable) AttemptCallCount

func (fake *FakeRequestRetryable) AttemptCallCount() int

func (*FakeRequestRetryable) AttemptReturns

func (fake *FakeRequestRetryable) AttemptReturns(result1 bool, result2 error)

func (*FakeRequestRetryable) AttemptReturnsOnCall

func (fake *FakeRequestRetryable) AttemptReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeRequestRetryable) Invocations

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

func (*FakeRequestRetryable) Response

func (fake *FakeRequestRetryable) Response() *http.Response

func (*FakeRequestRetryable) ResponseCallCount

func (fake *FakeRequestRetryable) ResponseCallCount() int

func (*FakeRequestRetryable) ResponseReturns

func (fake *FakeRequestRetryable) ResponseReturns(result1 *http.Response)

func (*FakeRequestRetryable) ResponseReturnsOnCall

func (fake *FakeRequestRetryable) ResponseReturnsOnCall(i int, result1 *http.Response)

Jump to

Keyboard shortcuts

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