webfakes

package
v0.22.3 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: Apache-2.0, BSD-3-Clause, MIT Imports: 2 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 FakeFilter

type FakeFilter struct {
	FilterMatchersStub func() []web.FilterMatcher

	NameStub func() string

	RunStub func(*web.Request, web.Handler) (*web.Response, error)
	// contains filtered or unexported fields
}

func (*FakeFilter) FilterMatchers

func (fake *FakeFilter) FilterMatchers() []web.FilterMatcher

func (*FakeFilter) FilterMatchersCallCount

func (fake *FakeFilter) FilterMatchersCallCount() int

func (*FakeFilter) FilterMatchersCalls added in v0.1.2

func (fake *FakeFilter) FilterMatchersCalls(stub func() []web.FilterMatcher)

func (*FakeFilter) FilterMatchersReturns

func (fake *FakeFilter) FilterMatchersReturns(result1 []web.FilterMatcher)

func (*FakeFilter) FilterMatchersReturnsOnCall

func (fake *FakeFilter) FilterMatchersReturnsOnCall(i int, result1 []web.FilterMatcher)

func (*FakeFilter) Invocations

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

func (*FakeFilter) Name

func (fake *FakeFilter) Name() string

func (*FakeFilter) NameCallCount

func (fake *FakeFilter) NameCallCount() int

func (*FakeFilter) NameCalls added in v0.1.2

func (fake *FakeFilter) NameCalls(stub func() string)

func (*FakeFilter) NameReturns

func (fake *FakeFilter) NameReturns(result1 string)

func (*FakeFilter) NameReturnsOnCall

func (fake *FakeFilter) NameReturnsOnCall(i int, result1 string)

func (*FakeFilter) Run

func (fake *FakeFilter) Run(arg1 *web.Request, arg2 web.Handler) (*web.Response, error)

func (*FakeFilter) RunArgsForCall

func (fake *FakeFilter) RunArgsForCall(i int) (*web.Request, web.Handler)

func (*FakeFilter) RunCallCount

func (fake *FakeFilter) RunCallCount() int

func (*FakeFilter) RunCalls added in v0.1.2

func (fake *FakeFilter) RunCalls(stub func(*web.Request, web.Handler) (*web.Response, error))

func (*FakeFilter) RunReturns

func (fake *FakeFilter) RunReturns(result1 *web.Response, result2 error)

func (*FakeFilter) RunReturnsOnCall

func (fake *FakeFilter) RunReturnsOnCall(i int, result1 *web.Response, result2 error)

type FakeHandler

type FakeHandler struct {
	HandleStub func(*web.Request) (*web.Response, error)
	// contains filtered or unexported fields
}

func (*FakeHandler) Handle

func (fake *FakeHandler) Handle(arg1 *web.Request) (*web.Response, error)

func (*FakeHandler) HandleArgsForCall

func (fake *FakeHandler) HandleArgsForCall(i int) *web.Request

func (*FakeHandler) HandleCallCount

func (fake *FakeHandler) HandleCallCount() int

func (*FakeHandler) HandleCalls added in v0.1.2

func (fake *FakeHandler) HandleCalls(stub func(*web.Request) (*web.Response, error))

func (*FakeHandler) HandleReturns

func (fake *FakeHandler) HandleReturns(result1 *web.Response, result2 error)

func (*FakeHandler) HandleReturnsOnCall

func (fake *FakeHandler) HandleReturnsOnCall(i int, result1 *web.Response, result2 error)

func (*FakeHandler) Invocations

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

Jump to

Keyboard shortcuts

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