fakes

package
v0.0.0-...-96ff825 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 1 more 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 RoundTripper

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

func (*RoundTripper) Invocations

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

func (*RoundTripper) RoundTrip

func (fake *RoundTripper) RoundTrip(arg1 *http.Request) (*http.Response, error)

func (*RoundTripper) RoundTripArgsForCall

func (fake *RoundTripper) RoundTripArgsForCall(i int) *http.Request

func (*RoundTripper) RoundTripCallCount

func (fake *RoundTripper) RoundTripCallCount() int

func (*RoundTripper) RoundTripCalls

func (fake *RoundTripper) RoundTripCalls(stub func(*http.Request) (*http.Response, error))

func (*RoundTripper) RoundTripReturns

func (fake *RoundTripper) RoundTripReturns(result1 *http.Response, result2 error)

func (*RoundTripper) RoundTripReturnsOnCall

func (fake *RoundTripper) RoundTripReturnsOnCall(i int, result1 *http.Response, result2 error)

type RouteServicesServer

type RouteServicesServer struct {
	ServeStub func(http.Handler, chan error) error

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

func (*RouteServicesServer) Invocations

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

func (*RouteServicesServer) Serve

func (fake *RouteServicesServer) Serve(arg1 http.Handler, arg2 chan error) error

func (*RouteServicesServer) ServeArgsForCall

func (fake *RouteServicesServer) ServeArgsForCall(i int) (http.Handler, chan error)

func (*RouteServicesServer) ServeCallCount

func (fake *RouteServicesServer) ServeCallCount() int

func (*RouteServicesServer) ServeCalls

func (fake *RouteServicesServer) ServeCalls(stub func(http.Handler, chan error) error)

func (*RouteServicesServer) ServeReturns

func (fake *RouteServicesServer) ServeReturns(result1 error)

func (*RouteServicesServer) ServeReturnsOnCall

func (fake *RouteServicesServer) ServeReturnsOnCall(i int, result1 error)

func (*RouteServicesServer) Stop

func (fake *RouteServicesServer) Stop()

func (*RouteServicesServer) StopCallCount

func (fake *RouteServicesServer) StopCallCount() int

func (*RouteServicesServer) StopCalls

func (fake *RouteServicesServer) StopCalls(stub func())

Jump to

Keyboard shortcuts

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