reqfakes

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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 FakeRouteHandler

type FakeRouteHandler struct {
	ExecuteStub func(req.Request) error

	RouteStub func() string

	VerifyAuthorizationStub func(*http.Request, *auth.Token) error
	// contains filtered or unexported fields
}

func (*FakeRouteHandler) Execute

func (fake *FakeRouteHandler) Execute(arg1 req.Request) error

func (*FakeRouteHandler) ExecuteArgsForCall

func (fake *FakeRouteHandler) ExecuteArgsForCall(i int) req.Request

func (*FakeRouteHandler) ExecuteCallCount

func (fake *FakeRouteHandler) ExecuteCallCount() int

func (*FakeRouteHandler) ExecuteCalls added in v0.19.0

func (fake *FakeRouteHandler) ExecuteCalls(stub func(req.Request) error)

func (*FakeRouteHandler) ExecuteReturns

func (fake *FakeRouteHandler) ExecuteReturns(result1 error)

func (*FakeRouteHandler) ExecuteReturnsOnCall added in v0.12.0

func (fake *FakeRouteHandler) ExecuteReturnsOnCall(i int, result1 error)

func (*FakeRouteHandler) Invocations

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

func (*FakeRouteHandler) Route

func (fake *FakeRouteHandler) Route() string

func (*FakeRouteHandler) RouteCallCount

func (fake *FakeRouteHandler) RouteCallCount() int

func (*FakeRouteHandler) RouteCalls added in v0.19.0

func (fake *FakeRouteHandler) RouteCalls(stub func() string)

func (*FakeRouteHandler) RouteReturns

func (fake *FakeRouteHandler) RouteReturns(result1 string)

func (*FakeRouteHandler) RouteReturnsOnCall added in v0.12.0

func (fake *FakeRouteHandler) RouteReturnsOnCall(i int, result1 string)

func (*FakeRouteHandler) VerifyAuthorization added in v0.7.0

func (fake *FakeRouteHandler) VerifyAuthorization(arg1 *http.Request, arg2 *auth.Token) error

func (*FakeRouteHandler) VerifyAuthorizationArgsForCall added in v0.7.0

func (fake *FakeRouteHandler) VerifyAuthorizationArgsForCall(i int) (*http.Request, *auth.Token)

func (*FakeRouteHandler) VerifyAuthorizationCallCount added in v0.7.0

func (fake *FakeRouteHandler) VerifyAuthorizationCallCount() int

func (*FakeRouteHandler) VerifyAuthorizationCalls added in v0.19.0

func (fake *FakeRouteHandler) VerifyAuthorizationCalls(stub func(*http.Request, *auth.Token) error)

func (*FakeRouteHandler) VerifyAuthorizationReturns added in v0.7.0

func (fake *FakeRouteHandler) VerifyAuthorizationReturns(result1 error)

func (*FakeRouteHandler) VerifyAuthorizationReturnsOnCall added in v0.12.0

func (fake *FakeRouteHandler) VerifyAuthorizationReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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