wrappafakes

package
v6.7.3-0...-1f455d7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 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.

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 FakeConcurrentRequestPolicy

type FakeConcurrentRequestPolicy struct {
	HandlerPoolStub func(string) (wrappa.Pool, bool)
	// contains filtered or unexported fields
}

func (*FakeConcurrentRequestPolicy) HandlerPool

func (fake *FakeConcurrentRequestPolicy) HandlerPool(arg1 string) (wrappa.Pool, bool)

func (*FakeConcurrentRequestPolicy) HandlerPoolArgsForCall

func (fake *FakeConcurrentRequestPolicy) HandlerPoolArgsForCall(i int) string

func (*FakeConcurrentRequestPolicy) HandlerPoolCallCount

func (fake *FakeConcurrentRequestPolicy) HandlerPoolCallCount() int

func (*FakeConcurrentRequestPolicy) HandlerPoolCalls

func (fake *FakeConcurrentRequestPolicy) HandlerPoolCalls(stub func(string) (wrappa.Pool, bool))

func (*FakeConcurrentRequestPolicy) HandlerPoolReturns

func (fake *FakeConcurrentRequestPolicy) HandlerPoolReturns(result1 wrappa.Pool, result2 bool)

func (*FakeConcurrentRequestPolicy) HandlerPoolReturnsOnCall

func (fake *FakeConcurrentRequestPolicy) HandlerPoolReturnsOnCall(i int, result1 wrappa.Pool, result2 bool)

func (*FakeConcurrentRequestPolicy) Invocations

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

type FakeHandler

type FakeHandler struct {
	ServeHTTPStub func(http.ResponseWriter, *http.Request)
	// contains filtered or unexported fields
}

func (*FakeHandler) Invocations

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

func (*FakeHandler) ServeHTTP

func (fake *FakeHandler) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)

func (*FakeHandler) ServeHTTPArgsForCall

func (fake *FakeHandler) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)

func (*FakeHandler) ServeHTTPCallCount

func (fake *FakeHandler) ServeHTTPCallCount() int

func (*FakeHandler) ServeHTTPCalls

func (fake *FakeHandler) ServeHTTPCalls(stub func(http.ResponseWriter, *http.Request))

type FakePool

type FakePool struct {
	ReleaseStub func()

	SizeStub func() int

	TryAcquireStub func() bool
	// contains filtered or unexported fields
}

func (*FakePool) Invocations

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

func (*FakePool) Release

func (fake *FakePool) Release()

func (*FakePool) ReleaseCallCount

func (fake *FakePool) ReleaseCallCount() int

func (*FakePool) ReleaseCalls

func (fake *FakePool) ReleaseCalls(stub func())

func (*FakePool) Size

func (fake *FakePool) Size() int

func (*FakePool) SizeCallCount

func (fake *FakePool) SizeCallCount() int

func (*FakePool) SizeCalls

func (fake *FakePool) SizeCalls(stub func() int)

func (*FakePool) SizeReturns

func (fake *FakePool) SizeReturns(result1 int)

func (*FakePool) SizeReturnsOnCall

func (fake *FakePool) SizeReturnsOnCall(i int, result1 int)

func (*FakePool) TryAcquire

func (fake *FakePool) TryAcquire() bool

func (*FakePool) TryAcquireCallCount

func (fake *FakePool) TryAcquireCallCount() int

func (*FakePool) TryAcquireCalls

func (fake *FakePool) TryAcquireCalls(stub func() bool)

func (*FakePool) TryAcquireReturns

func (fake *FakePool) TryAcquireReturns(result1 bool)

func (*FakePool) TryAcquireReturnsOnCall

func (fake *FakePool) TryAcquireReturnsOnCall(i int, result1 bool)

Jump to

Keyboard shortcuts

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