mocks

package
v2.2.1-dev.19 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TriggerRequestReader

type TriggerRequestReader struct {
	mock.Mock
}

TriggerRequestReader is an autogenerated mock type for the TriggerRequestReader type

func (*TriggerRequestReader) Read

func (_m *TriggerRequestReader) Read(p []byte) (int, error)

Read provides a mock function with given fields: p

type TriggerResponseWriter

type TriggerResponseWriter struct {
	mock.Mock
}

TriggerResponseWriter is an autogenerated mock type for the TriggerResponseWriter type

func (*TriggerResponseWriter) Header

func (_m *TriggerResponseWriter) Header() http.Header

Header provides a mock function with given fields:

func (*TriggerResponseWriter) Write

func (_m *TriggerResponseWriter) Write(_a0 []byte) (int, error)

Write provides a mock function with given fields: _a0

func (*TriggerResponseWriter) WriteHeader

func (_m *TriggerResponseWriter) WriteHeader(statusCode int)

WriteHeader provides a mock function with given fields: statusCode

type TriggerRouteManager

type TriggerRouteManager struct {
	mock.Mock
}

TriggerRouteManager is an autogenerated mock type for the TriggerRouteManager type

func (*TriggerRouteManager) SetupTriggerRoute

func (_m *TriggerRouteManager) SetupTriggerRoute(path string, handlerForTrigger func(http.ResponseWriter, *http.Request))

SetupTriggerRoute provides a mock function with given fields: path, handlerForTrigger

Jump to

Keyboard shortcuts

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