mockhealthv1

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Health_WatchServer

type Health_WatchServer struct {
	mock.Mock
}

Health_WatchServer is an autogenerated mock type for the Health_WatchServer type

func NewHealth_WatchServer

func NewHealth_WatchServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Health_WatchServer

NewHealth_WatchServer creates a new instance of Health_WatchServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Health_WatchServer) Context

func (_m *Health_WatchServer) Context() context.Context

Context provides a mock function with given fields:

func (*Health_WatchServer) EXPECT

func (*Health_WatchServer) RecvMsg

func (_m *Health_WatchServer) RecvMsg(m interface{}) error

RecvMsg provides a mock function with given fields: m

func (*Health_WatchServer) Send

Send provides a mock function with given fields: _a0

func (*Health_WatchServer) SendHeader

func (_m *Health_WatchServer) SendHeader(_a0 metadata.MD) error

SendHeader provides a mock function with given fields: _a0

func (*Health_WatchServer) SendMsg

func (_m *Health_WatchServer) SendMsg(m interface{}) error

SendMsg provides a mock function with given fields: m

func (*Health_WatchServer) SetHeader

func (_m *Health_WatchServer) SetHeader(_a0 metadata.MD) error

SetHeader provides a mock function with given fields: _a0

func (*Health_WatchServer) SetTrailer

func (_m *Health_WatchServer) SetTrailer(_a0 metadata.MD)

SetTrailer provides a mock function with given fields: _a0

type Health_WatchServer_Context_Call

type Health_WatchServer_Context_Call struct {
	*mock.Call
}

Health_WatchServer_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'

func (*Health_WatchServer_Context_Call) Return

func (*Health_WatchServer_Context_Call) Run

func (*Health_WatchServer_Context_Call) RunAndReturn

type Health_WatchServer_Expecter

type Health_WatchServer_Expecter struct {
	// contains filtered or unexported fields
}

func (*Health_WatchServer_Expecter) Context

Context is a helper method to define mock.On call

func (*Health_WatchServer_Expecter) RecvMsg

RecvMsg is a helper method to define mock.On call

  • m interface{}

func (*Health_WatchServer_Expecter) Send

func (_e *Health_WatchServer_Expecter) Send(_a0 interface{}) *Health_WatchServer_Send_Call

Send is a helper method to define mock.On call

  • _a0 *healthv1.HealthCheckResponse

func (*Health_WatchServer_Expecter) SendHeader

func (_e *Health_WatchServer_Expecter) SendHeader(_a0 interface{}) *Health_WatchServer_SendHeader_Call

SendHeader is a helper method to define mock.On call

  • _a0 metadata.MD

func (*Health_WatchServer_Expecter) SendMsg

SendMsg is a helper method to define mock.On call

  • m interface{}

func (*Health_WatchServer_Expecter) SetHeader

func (_e *Health_WatchServer_Expecter) SetHeader(_a0 interface{}) *Health_WatchServer_SetHeader_Call

SetHeader is a helper method to define mock.On call

  • _a0 metadata.MD

func (*Health_WatchServer_Expecter) SetTrailer

func (_e *Health_WatchServer_Expecter) SetTrailer(_a0 interface{}) *Health_WatchServer_SetTrailer_Call

SetTrailer is a helper method to define mock.On call

  • _a0 metadata.MD

type Health_WatchServer_RecvMsg_Call

type Health_WatchServer_RecvMsg_Call struct {
	*mock.Call
}

Health_WatchServer_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'

func (*Health_WatchServer_RecvMsg_Call) Return

func (*Health_WatchServer_RecvMsg_Call) Run

func (_c *Health_WatchServer_RecvMsg_Call) Run(run func(m interface{})) *Health_WatchServer_RecvMsg_Call

func (*Health_WatchServer_RecvMsg_Call) RunAndReturn

func (_c *Health_WatchServer_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *Health_WatchServer_RecvMsg_Call

type Health_WatchServer_SendHeader_Call

type Health_WatchServer_SendHeader_Call struct {
	*mock.Call
}

Health_WatchServer_SendHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendHeader'

func (*Health_WatchServer_SendHeader_Call) Return

func (*Health_WatchServer_SendHeader_Call) Run

func (*Health_WatchServer_SendHeader_Call) RunAndReturn

type Health_WatchServer_SendMsg_Call

type Health_WatchServer_SendMsg_Call struct {
	*mock.Call
}

Health_WatchServer_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'

func (*Health_WatchServer_SendMsg_Call) Return

func (*Health_WatchServer_SendMsg_Call) Run

func (_c *Health_WatchServer_SendMsg_Call) Run(run func(m interface{})) *Health_WatchServer_SendMsg_Call

func (*Health_WatchServer_SendMsg_Call) RunAndReturn

func (_c *Health_WatchServer_SendMsg_Call) RunAndReturn(run func(interface{}) error) *Health_WatchServer_SendMsg_Call

type Health_WatchServer_Send_Call

type Health_WatchServer_Send_Call struct {
	*mock.Call
}

Health_WatchServer_Send_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Send'

func (*Health_WatchServer_Send_Call) Return

func (*Health_WatchServer_Send_Call) Run

func (*Health_WatchServer_Send_Call) RunAndReturn

type Health_WatchServer_SetHeader_Call

type Health_WatchServer_SetHeader_Call struct {
	*mock.Call
}

Health_WatchServer_SetHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHeader'

func (*Health_WatchServer_SetHeader_Call) Return

func (*Health_WatchServer_SetHeader_Call) Run

func (*Health_WatchServer_SetHeader_Call) RunAndReturn

type Health_WatchServer_SetTrailer_Call

type Health_WatchServer_SetTrailer_Call struct {
	*mock.Call
}

Health_WatchServer_SetTrailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTrailer'

func (*Health_WatchServer_SetTrailer_Call) Return

func (*Health_WatchServer_SetTrailer_Call) Run

func (*Health_WatchServer_SetTrailer_Call) RunAndReturn

Jump to

Keyboard shortcuts

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