pluginfakes

package
v6.34.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeConnection

type FakeConnection struct {
	MakeStub func(request *http.Request, passedResponse *plugin.Response, proxyReader plugin.ProxyReader) error
	// contains filtered or unexported fields
}

func (*FakeConnection) Invocations

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

func (*FakeConnection) Make

func (fake *FakeConnection) Make(request *http.Request, passedResponse *plugin.Response, proxyReader plugin.ProxyReader) error

func (*FakeConnection) MakeArgsForCall

func (fake *FakeConnection) MakeArgsForCall(i int) (*http.Request, *plugin.Response, plugin.ProxyReader)

func (*FakeConnection) MakeCallCount

func (fake *FakeConnection) MakeCallCount() int

func (*FakeConnection) MakeReturns

func (fake *FakeConnection) MakeReturns(result1 error)

func (*FakeConnection) MakeReturnsOnCall

func (fake *FakeConnection) MakeReturnsOnCall(i int, result1 error)

type FakeConnectionWrapper

type FakeConnectionWrapper struct {
	MakeStub func(request *http.Request, passedResponse *plugin.Response, proxyReader plugin.ProxyReader) error

	WrapStub func(innerconnection plugin.Connection) plugin.Connection
	// contains filtered or unexported fields
}

func (*FakeConnectionWrapper) Invocations

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

func (*FakeConnectionWrapper) Make

func (fake *FakeConnectionWrapper) Make(request *http.Request, passedResponse *plugin.Response, proxyReader plugin.ProxyReader) error

func (*FakeConnectionWrapper) MakeArgsForCall

func (fake *FakeConnectionWrapper) MakeArgsForCall(i int) (*http.Request, *plugin.Response, plugin.ProxyReader)

func (*FakeConnectionWrapper) MakeCallCount

func (fake *FakeConnectionWrapper) MakeCallCount() int

func (*FakeConnectionWrapper) MakeReturns

func (fake *FakeConnectionWrapper) MakeReturns(result1 error)

func (*FakeConnectionWrapper) MakeReturnsOnCall

func (fake *FakeConnectionWrapper) MakeReturnsOnCall(i int, result1 error)

func (*FakeConnectionWrapper) Wrap

func (fake *FakeConnectionWrapper) Wrap(innerconnection plugin.Connection) plugin.Connection

func (*FakeConnectionWrapper) WrapArgsForCall

func (fake *FakeConnectionWrapper) WrapArgsForCall(i int) plugin.Connection

func (*FakeConnectionWrapper) WrapCallCount

func (fake *FakeConnectionWrapper) WrapCallCount() int

func (*FakeConnectionWrapper) WrapReturns

func (fake *FakeConnectionWrapper) WrapReturns(result1 plugin.Connection)

func (*FakeConnectionWrapper) WrapReturnsOnCall

func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 plugin.Connection)

type FakeProxyReader

type FakeProxyReader struct {
	WrapStub func(io.Reader) io.ReadCloser

	StartStub func(int64)

	FinishStub func()
	// contains filtered or unexported fields
}

func (*FakeProxyReader) Finish

func (fake *FakeProxyReader) Finish()

func (*FakeProxyReader) FinishCallCount

func (fake *FakeProxyReader) FinishCallCount() int

func (*FakeProxyReader) Invocations

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

func (*FakeProxyReader) Start

func (fake *FakeProxyReader) Start(arg1 int64)

func (*FakeProxyReader) StartArgsForCall

func (fake *FakeProxyReader) StartArgsForCall(i int) int64

func (*FakeProxyReader) StartCallCount

func (fake *FakeProxyReader) StartCallCount() int

func (*FakeProxyReader) Wrap

func (fake *FakeProxyReader) Wrap(arg1 io.Reader) io.ReadCloser

func (*FakeProxyReader) WrapArgsForCall

func (fake *FakeProxyReader) WrapArgsForCall(i int) io.Reader

func (*FakeProxyReader) WrapCallCount

func (fake *FakeProxyReader) WrapCallCount() int

func (*FakeProxyReader) WrapReturns

func (fake *FakeProxyReader) WrapReturns(result1 io.ReadCloser)

func (*FakeProxyReader) WrapReturnsOnCall

func (fake *FakeProxyReader) WrapReturnsOnCall(i int, result1 io.ReadCloser)

Jump to

Keyboard shortcuts

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