Documentation ¶
Index ¶
- type Health_WatchServer
- func (_m *Health_WatchServer) Context() context.Context
- func (_m *Health_WatchServer) EXPECT() *Health_WatchServer_Expecter
- func (_m *Health_WatchServer) RecvMsg(m interface{}) error
- func (_m *Health_WatchServer) Send(_a0 *healthv1.HealthCheckResponse) error
- func (_m *Health_WatchServer) SendHeader(_a0 metadata.MD) error
- func (_m *Health_WatchServer) SendMsg(m interface{}) error
- func (_m *Health_WatchServer) SetHeader(_a0 metadata.MD) error
- func (_m *Health_WatchServer) SetTrailer(_a0 metadata.MD)
- type Health_WatchServer_Context_Call
- func (_c *Health_WatchServer_Context_Call) Return(_a0 context.Context) *Health_WatchServer_Context_Call
- func (_c *Health_WatchServer_Context_Call) Run(run func()) *Health_WatchServer_Context_Call
- func (_c *Health_WatchServer_Context_Call) RunAndReturn(run func() context.Context) *Health_WatchServer_Context_Call
- type Health_WatchServer_Expecter
- func (_e *Health_WatchServer_Expecter) Context() *Health_WatchServer_Context_Call
- func (_e *Health_WatchServer_Expecter) RecvMsg(m interface{}) *Health_WatchServer_RecvMsg_Call
- func (_e *Health_WatchServer_Expecter) Send(_a0 interface{}) *Health_WatchServer_Send_Call
- func (_e *Health_WatchServer_Expecter) SendHeader(_a0 interface{}) *Health_WatchServer_SendHeader_Call
- func (_e *Health_WatchServer_Expecter) SendMsg(m interface{}) *Health_WatchServer_SendMsg_Call
- func (_e *Health_WatchServer_Expecter) SetHeader(_a0 interface{}) *Health_WatchServer_SetHeader_Call
- func (_e *Health_WatchServer_Expecter) SetTrailer(_a0 interface{}) *Health_WatchServer_SetTrailer_Call
- type Health_WatchServer_RecvMsg_Call
- func (_c *Health_WatchServer_RecvMsg_Call) Return(_a0 error) *Health_WatchServer_RecvMsg_Call
- func (_c *Health_WatchServer_RecvMsg_Call) Run(run func(m interface{})) *Health_WatchServer_RecvMsg_Call
- func (_c *Health_WatchServer_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *Health_WatchServer_RecvMsg_Call
- type Health_WatchServer_SendHeader_Call
- func (_c *Health_WatchServer_SendHeader_Call) Return(_a0 error) *Health_WatchServer_SendHeader_Call
- func (_c *Health_WatchServer_SendHeader_Call) Run(run func(_a0 metadata.MD)) *Health_WatchServer_SendHeader_Call
- func (_c *Health_WatchServer_SendHeader_Call) RunAndReturn(run func(metadata.MD) error) *Health_WatchServer_SendHeader_Call
- type Health_WatchServer_SendMsg_Call
- func (_c *Health_WatchServer_SendMsg_Call) Return(_a0 error) *Health_WatchServer_SendMsg_Call
- func (_c *Health_WatchServer_SendMsg_Call) Run(run func(m interface{})) *Health_WatchServer_SendMsg_Call
- func (_c *Health_WatchServer_SendMsg_Call) RunAndReturn(run func(interface{}) error) *Health_WatchServer_SendMsg_Call
- type Health_WatchServer_Send_Call
- func (_c *Health_WatchServer_Send_Call) Return(_a0 error) *Health_WatchServer_Send_Call
- func (_c *Health_WatchServer_Send_Call) Run(run func(_a0 *healthv1.HealthCheckResponse)) *Health_WatchServer_Send_Call
- func (_c *Health_WatchServer_Send_Call) RunAndReturn(run func(*healthv1.HealthCheckResponse) error) *Health_WatchServer_Send_Call
- type Health_WatchServer_SetHeader_Call
- func (_c *Health_WatchServer_SetHeader_Call) Return(_a0 error) *Health_WatchServer_SetHeader_Call
- func (_c *Health_WatchServer_SetHeader_Call) Run(run func(_a0 metadata.MD)) *Health_WatchServer_SetHeader_Call
- func (_c *Health_WatchServer_SetHeader_Call) RunAndReturn(run func(metadata.MD) error) *Health_WatchServer_SetHeader_Call
- type Health_WatchServer_SetTrailer_Call
- func (_c *Health_WatchServer_SetTrailer_Call) Return() *Health_WatchServer_SetTrailer_Call
- func (_c *Health_WatchServer_SetTrailer_Call) Run(run func(_a0 metadata.MD)) *Health_WatchServer_SetTrailer_Call
- func (_c *Health_WatchServer_SetTrailer_Call) RunAndReturn(run func(metadata.MD)) *Health_WatchServer_SetTrailer_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Health_WatchServer ¶
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 (_m *Health_WatchServer) EXPECT() *Health_WatchServer_Expecter
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 ¶
func (_m *Health_WatchServer) Send(_a0 *healthv1.HealthCheckResponse) error
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 ¶
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 (_c *Health_WatchServer_Context_Call) Return(_a0 context.Context) *Health_WatchServer_Context_Call
func (*Health_WatchServer_Context_Call) Run ¶
func (_c *Health_WatchServer_Context_Call) Run(run func()) *Health_WatchServer_Context_Call
func (*Health_WatchServer_Context_Call) RunAndReturn ¶
func (_c *Health_WatchServer_Context_Call) RunAndReturn(run func() context.Context) *Health_WatchServer_Context_Call
type Health_WatchServer_Expecter ¶
type Health_WatchServer_Expecter struct {
// contains filtered or unexported fields
}
func (*Health_WatchServer_Expecter) Context ¶
func (_e *Health_WatchServer_Expecter) Context() *Health_WatchServer_Context_Call
Context is a helper method to define mock.On call
func (*Health_WatchServer_Expecter) RecvMsg ¶
func (_e *Health_WatchServer_Expecter) RecvMsg(m interface{}) *Health_WatchServer_RecvMsg_Call
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 ¶
func (_e *Health_WatchServer_Expecter) SendMsg(m interface{}) *Health_WatchServer_SendMsg_Call
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 ¶
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 (_c *Health_WatchServer_RecvMsg_Call) Return(_a0 error) *Health_WatchServer_RecvMsg_Call
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 ¶
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 (_c *Health_WatchServer_SendHeader_Call) Return(_a0 error) *Health_WatchServer_SendHeader_Call
func (*Health_WatchServer_SendHeader_Call) Run ¶
func (_c *Health_WatchServer_SendHeader_Call) Run(run func(_a0 metadata.MD)) *Health_WatchServer_SendHeader_Call
func (*Health_WatchServer_SendHeader_Call) RunAndReturn ¶
func (_c *Health_WatchServer_SendHeader_Call) RunAndReturn(run func(metadata.MD) error) *Health_WatchServer_SendHeader_Call
type Health_WatchServer_SendMsg_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 (_c *Health_WatchServer_SendMsg_Call) Return(_a0 error) *Health_WatchServer_SendMsg_Call
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 ¶
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 (_c *Health_WatchServer_Send_Call) Return(_a0 error) *Health_WatchServer_Send_Call
func (*Health_WatchServer_Send_Call) Run ¶
func (_c *Health_WatchServer_Send_Call) Run(run func(_a0 *healthv1.HealthCheckResponse)) *Health_WatchServer_Send_Call
func (*Health_WatchServer_Send_Call) RunAndReturn ¶
func (_c *Health_WatchServer_Send_Call) RunAndReturn(run func(*healthv1.HealthCheckResponse) error) *Health_WatchServer_Send_Call
type Health_WatchServer_SetHeader_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 (_c *Health_WatchServer_SetHeader_Call) Return(_a0 error) *Health_WatchServer_SetHeader_Call
func (*Health_WatchServer_SetHeader_Call) Run ¶
func (_c *Health_WatchServer_SetHeader_Call) Run(run func(_a0 metadata.MD)) *Health_WatchServer_SetHeader_Call
func (*Health_WatchServer_SetHeader_Call) RunAndReturn ¶
func (_c *Health_WatchServer_SetHeader_Call) RunAndReturn(run func(metadata.MD) error) *Health_WatchServer_SetHeader_Call
type Health_WatchServer_SetTrailer_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 (_c *Health_WatchServer_SetTrailer_Call) Return() *Health_WatchServer_SetTrailer_Call
func (*Health_WatchServer_SetTrailer_Call) Run ¶
func (_c *Health_WatchServer_SetTrailer_Call) Run(run func(_a0 metadata.MD)) *Health_WatchServer_SetTrailer_Call
func (*Health_WatchServer_SetTrailer_Call) RunAndReturn ¶
func (_c *Health_WatchServer_SetTrailer_Call) RunAndReturn(run func(metadata.MD)) *Health_WatchServer_SetTrailer_Call