mocks

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: BSD-2-Clause Imports: 5 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.

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 HttpJsonHandler

type HttpJsonHandler struct {
	ServeHTTPStub func(context.Context, *httpa.Request) (interface{}, error)
	// contains filtered or unexported fields
}

func (*HttpJsonHandler) Invocations

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

func (*HttpJsonHandler) ServeHTTP

func (fake *HttpJsonHandler) ServeHTTP(arg1 context.Context, arg2 *httpa.Request) (interface{}, error)

func (*HttpJsonHandler) ServeHTTPArgsForCall

func (fake *HttpJsonHandler) ServeHTTPArgsForCall(i int) (context.Context, *httpa.Request)

func (*HttpJsonHandler) ServeHTTPCallCount

func (fake *HttpJsonHandler) ServeHTTPCallCount() int

func (*HttpJsonHandler) ServeHTTPCalls

func (fake *HttpJsonHandler) ServeHTTPCalls(stub func(context.Context, *httpa.Request) (interface{}, error))

func (*HttpJsonHandler) ServeHTTPReturns

func (fake *HttpJsonHandler) ServeHTTPReturns(result1 interface{}, result2 error)

func (*HttpJsonHandler) ServeHTTPReturnsOnCall

func (fake *HttpJsonHandler) ServeHTTPReturnsOnCall(i int, result1 interface{}, result2 error)

type HttpJsonHandlerTx added in v1.8.0

type HttpJsonHandlerTx struct {
	ServeHTTPStub func(context.Context, kv.Tx, *httpa.Request) (interface{}, error)
	// contains filtered or unexported fields
}

func (*HttpJsonHandlerTx) Invocations added in v1.8.0

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

func (*HttpJsonHandlerTx) ServeHTTP added in v1.8.0

func (fake *HttpJsonHandlerTx) ServeHTTP(arg1 context.Context, arg2 kv.Tx, arg3 *httpa.Request) (interface{}, error)

func (*HttpJsonHandlerTx) ServeHTTPArgsForCall added in v1.8.0

func (fake *HttpJsonHandlerTx) ServeHTTPArgsForCall(i int) (context.Context, kv.Tx, *httpa.Request)

func (*HttpJsonHandlerTx) ServeHTTPCallCount added in v1.8.0

func (fake *HttpJsonHandlerTx) ServeHTTPCallCount() int

func (*HttpJsonHandlerTx) ServeHTTPCalls added in v1.8.0

func (fake *HttpJsonHandlerTx) ServeHTTPCalls(stub func(context.Context, kv.Tx, *httpa.Request) (interface{}, error))

func (*HttpJsonHandlerTx) ServeHTTPReturns added in v1.8.0

func (fake *HttpJsonHandlerTx) ServeHTTPReturns(result1 interface{}, result2 error)

func (*HttpJsonHandlerTx) ServeHTTPReturnsOnCall added in v1.8.0

func (fake *HttpJsonHandlerTx) ServeHTTPReturnsOnCall(i int, result1 interface{}, result2 error)

type HttpProxyErrorHandler

type HttpProxyErrorHandler struct {
	HandleErrorStub func(httpa.ResponseWriter, *httpa.Request, error)
	// contains filtered or unexported fields
}

func (*HttpProxyErrorHandler) HandleError

func (fake *HttpProxyErrorHandler) HandleError(arg1 httpa.ResponseWriter, arg2 *httpa.Request, arg3 error)

func (*HttpProxyErrorHandler) HandleErrorArgsForCall

func (fake *HttpProxyErrorHandler) HandleErrorArgsForCall(i int) (httpa.ResponseWriter, *httpa.Request, error)

func (*HttpProxyErrorHandler) HandleErrorCallCount

func (fake *HttpProxyErrorHandler) HandleErrorCallCount() int

func (*HttpProxyErrorHandler) HandleErrorCalls

func (fake *HttpProxyErrorHandler) HandleErrorCalls(stub func(httpa.ResponseWriter, *httpa.Request, error))

func (*HttpProxyErrorHandler) Invocations

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

type HttpRoundTripper

type HttpRoundTripper struct {
	RoundTripStub func(*httpa.Request) (*httpa.Response, error)
	// contains filtered or unexported fields
}

func (*HttpRoundTripper) Invocations

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

func (*HttpRoundTripper) RoundTrip

func (fake *HttpRoundTripper) RoundTrip(arg1 *httpa.Request) (*httpa.Response, error)

func (*HttpRoundTripper) RoundTripArgsForCall

func (fake *HttpRoundTripper) RoundTripArgsForCall(i int) *httpa.Request

func (*HttpRoundTripper) RoundTripCallCount

func (fake *HttpRoundTripper) RoundTripCallCount() int

func (*HttpRoundTripper) RoundTripCalls

func (fake *HttpRoundTripper) RoundTripCalls(stub func(*httpa.Request) (*httpa.Response, error))

func (*HttpRoundTripper) RoundTripReturns

func (fake *HttpRoundTripper) RoundTripReturns(result1 *httpa.Response, result2 error)

func (*HttpRoundTripper) RoundTripReturnsOnCall

func (fake *HttpRoundTripper) RoundTripReturnsOnCall(i int, result1 *httpa.Response, result2 error)

type HttpWithError

type HttpWithError struct {
	ServeHTTPStub func(context.Context, httpa.ResponseWriter, *httpa.Request) error
	// contains filtered or unexported fields
}

func (*HttpWithError) Invocations

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

func (*HttpWithError) ServeHTTP

func (fake *HttpWithError) ServeHTTP(arg1 context.Context, arg2 httpa.ResponseWriter, arg3 *httpa.Request) error

func (*HttpWithError) ServeHTTPArgsForCall

func (fake *HttpWithError) ServeHTTPArgsForCall(i int) (context.Context, httpa.ResponseWriter, *httpa.Request)

func (*HttpWithError) ServeHTTPCallCount

func (fake *HttpWithError) ServeHTTPCallCount() int

func (*HttpWithError) ServeHTTPCalls

func (fake *HttpWithError) ServeHTTPCalls(stub func(context.Context, httpa.ResponseWriter, *httpa.Request) error)

func (*HttpWithError) ServeHTTPReturns

func (fake *HttpWithError) ServeHTTPReturns(result1 error)

func (*HttpWithError) ServeHTTPReturnsOnCall

func (fake *HttpWithError) ServeHTTPReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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