Documentation ¶
Index ¶
- type LoggerAPI_WriteClient
- func (_m *LoggerAPI_WriteClient) CloseAndRecv() (*loggerv1alpha1.WriteResponse, error)
- func (_m *LoggerAPI_WriteClient) CloseSend() error
- func (_m *LoggerAPI_WriteClient) Context() context.Context
- func (_m *LoggerAPI_WriteClient) EXPECT() *LoggerAPI_WriteClient_Expecter
- func (_m *LoggerAPI_WriteClient) Header() (metadata.MD, error)
- func (_m *LoggerAPI_WriteClient) RecvMsg(m interface{}) error
- func (_m *LoggerAPI_WriteClient) Send(_a0 *loggerv1alpha1.WriteRequest) error
- func (_m *LoggerAPI_WriteClient) SendMsg(m interface{}) error
- func (_m *LoggerAPI_WriteClient) Trailer() metadata.MD
- type LoggerAPI_WriteClient_CloseAndRecv_Call
- func (_c *LoggerAPI_WriteClient_CloseAndRecv_Call) Return(_a0 *loggerv1alpha1.WriteResponse, _a1 error) *LoggerAPI_WriteClient_CloseAndRecv_Call
- func (_c *LoggerAPI_WriteClient_CloseAndRecv_Call) Run(run func()) *LoggerAPI_WriteClient_CloseAndRecv_Call
- func (_c *LoggerAPI_WriteClient_CloseAndRecv_Call) RunAndReturn(run func() (*loggerv1alpha1.WriteResponse, error)) *LoggerAPI_WriteClient_CloseAndRecv_Call
- type LoggerAPI_WriteClient_CloseSend_Call
- func (_c *LoggerAPI_WriteClient_CloseSend_Call) Return(_a0 error) *LoggerAPI_WriteClient_CloseSend_Call
- func (_c *LoggerAPI_WriteClient_CloseSend_Call) Run(run func()) *LoggerAPI_WriteClient_CloseSend_Call
- func (_c *LoggerAPI_WriteClient_CloseSend_Call) RunAndReturn(run func() error) *LoggerAPI_WriteClient_CloseSend_Call
- type LoggerAPI_WriteClient_Context_Call
- func (_c *LoggerAPI_WriteClient_Context_Call) Return(_a0 context.Context) *LoggerAPI_WriteClient_Context_Call
- func (_c *LoggerAPI_WriteClient_Context_Call) Run(run func()) *LoggerAPI_WriteClient_Context_Call
- func (_c *LoggerAPI_WriteClient_Context_Call) RunAndReturn(run func() context.Context) *LoggerAPI_WriteClient_Context_Call
- type LoggerAPI_WriteClient_Expecter
- func (_e *LoggerAPI_WriteClient_Expecter) CloseAndRecv() *LoggerAPI_WriteClient_CloseAndRecv_Call
- func (_e *LoggerAPI_WriteClient_Expecter) CloseSend() *LoggerAPI_WriteClient_CloseSend_Call
- func (_e *LoggerAPI_WriteClient_Expecter) Context() *LoggerAPI_WriteClient_Context_Call
- func (_e *LoggerAPI_WriteClient_Expecter) Header() *LoggerAPI_WriteClient_Header_Call
- func (_e *LoggerAPI_WriteClient_Expecter) RecvMsg(m interface{}) *LoggerAPI_WriteClient_RecvMsg_Call
- func (_e *LoggerAPI_WriteClient_Expecter) Send(_a0 interface{}) *LoggerAPI_WriteClient_Send_Call
- func (_e *LoggerAPI_WriteClient_Expecter) SendMsg(m interface{}) *LoggerAPI_WriteClient_SendMsg_Call
- func (_e *LoggerAPI_WriteClient_Expecter) Trailer() *LoggerAPI_WriteClient_Trailer_Call
- type LoggerAPI_WriteClient_Header_Call
- func (_c *LoggerAPI_WriteClient_Header_Call) Return(_a0 metadata.MD, _a1 error) *LoggerAPI_WriteClient_Header_Call
- func (_c *LoggerAPI_WriteClient_Header_Call) Run(run func()) *LoggerAPI_WriteClient_Header_Call
- func (_c *LoggerAPI_WriteClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *LoggerAPI_WriteClient_Header_Call
- type LoggerAPI_WriteClient_RecvMsg_Call
- func (_c *LoggerAPI_WriteClient_RecvMsg_Call) Return(_a0 error) *LoggerAPI_WriteClient_RecvMsg_Call
- func (_c *LoggerAPI_WriteClient_RecvMsg_Call) Run(run func(m interface{})) *LoggerAPI_WriteClient_RecvMsg_Call
- func (_c *LoggerAPI_WriteClient_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *LoggerAPI_WriteClient_RecvMsg_Call
- type LoggerAPI_WriteClient_SendMsg_Call
- func (_c *LoggerAPI_WriteClient_SendMsg_Call) Return(_a0 error) *LoggerAPI_WriteClient_SendMsg_Call
- func (_c *LoggerAPI_WriteClient_SendMsg_Call) Run(run func(m interface{})) *LoggerAPI_WriteClient_SendMsg_Call
- func (_c *LoggerAPI_WriteClient_SendMsg_Call) RunAndReturn(run func(interface{}) error) *LoggerAPI_WriteClient_SendMsg_Call
- type LoggerAPI_WriteClient_Send_Call
- func (_c *LoggerAPI_WriteClient_Send_Call) Return(_a0 error) *LoggerAPI_WriteClient_Send_Call
- func (_c *LoggerAPI_WriteClient_Send_Call) Run(run func(_a0 *loggerv1alpha1.WriteRequest)) *LoggerAPI_WriteClient_Send_Call
- func (_c *LoggerAPI_WriteClient_Send_Call) RunAndReturn(run func(*loggerv1alpha1.WriteRequest) error) *LoggerAPI_WriteClient_Send_Call
- type LoggerAPI_WriteClient_Trailer_Call
- func (_c *LoggerAPI_WriteClient_Trailer_Call) Return(_a0 metadata.MD) *LoggerAPI_WriteClient_Trailer_Call
- func (_c *LoggerAPI_WriteClient_Trailer_Call) Run(run func()) *LoggerAPI_WriteClient_Trailer_Call
- func (_c *LoggerAPI_WriteClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *LoggerAPI_WriteClient_Trailer_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerAPI_WriteClient ¶
LoggerAPI_WriteClient is an autogenerated mock type for the LoggerAPI_WriteClient type
func NewLoggerAPI_WriteClient ¶
func NewLoggerAPI_WriteClient(t interface { mock.TestingT Cleanup(func()) }) *LoggerAPI_WriteClient
NewLoggerAPI_WriteClient creates a new instance of LoggerAPI_WriteClient. 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 (*LoggerAPI_WriteClient) CloseAndRecv ¶
func (_m *LoggerAPI_WriteClient) CloseAndRecv() (*loggerv1alpha1.WriteResponse, error)
CloseAndRecv provides a mock function with given fields:
func (*LoggerAPI_WriteClient) CloseSend ¶
func (_m *LoggerAPI_WriteClient) CloseSend() error
CloseSend provides a mock function with given fields:
func (*LoggerAPI_WriteClient) Context ¶
func (_m *LoggerAPI_WriteClient) Context() context.Context
Context provides a mock function with given fields:
func (*LoggerAPI_WriteClient) EXPECT ¶
func (_m *LoggerAPI_WriteClient) EXPECT() *LoggerAPI_WriteClient_Expecter
func (*LoggerAPI_WriteClient) Header ¶
func (_m *LoggerAPI_WriteClient) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*LoggerAPI_WriteClient) RecvMsg ¶
func (_m *LoggerAPI_WriteClient) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*LoggerAPI_WriteClient) Send ¶
func (_m *LoggerAPI_WriteClient) Send(_a0 *loggerv1alpha1.WriteRequest) error
Send provides a mock function with given fields: _a0
func (*LoggerAPI_WriteClient) SendMsg ¶
func (_m *LoggerAPI_WriteClient) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*LoggerAPI_WriteClient) Trailer ¶
func (_m *LoggerAPI_WriteClient) Trailer() metadata.MD
Trailer provides a mock function with given fields:
type LoggerAPI_WriteClient_CloseAndRecv_Call ¶
LoggerAPI_WriteClient_CloseAndRecv_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseAndRecv'
func (*LoggerAPI_WriteClient_CloseAndRecv_Call) Return ¶
func (_c *LoggerAPI_WriteClient_CloseAndRecv_Call) Return(_a0 *loggerv1alpha1.WriteResponse, _a1 error) *LoggerAPI_WriteClient_CloseAndRecv_Call
func (*LoggerAPI_WriteClient_CloseAndRecv_Call) Run ¶
func (_c *LoggerAPI_WriteClient_CloseAndRecv_Call) Run(run func()) *LoggerAPI_WriteClient_CloseAndRecv_Call
func (*LoggerAPI_WriteClient_CloseAndRecv_Call) RunAndReturn ¶
func (_c *LoggerAPI_WriteClient_CloseAndRecv_Call) RunAndReturn(run func() (*loggerv1alpha1.WriteResponse, error)) *LoggerAPI_WriteClient_CloseAndRecv_Call
type LoggerAPI_WriteClient_CloseSend_Call ¶
LoggerAPI_WriteClient_CloseSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseSend'
func (*LoggerAPI_WriteClient_CloseSend_Call) Return ¶
func (_c *LoggerAPI_WriteClient_CloseSend_Call) Return(_a0 error) *LoggerAPI_WriteClient_CloseSend_Call
func (*LoggerAPI_WriteClient_CloseSend_Call) Run ¶
func (_c *LoggerAPI_WriteClient_CloseSend_Call) Run(run func()) *LoggerAPI_WriteClient_CloseSend_Call
func (*LoggerAPI_WriteClient_CloseSend_Call) RunAndReturn ¶
func (_c *LoggerAPI_WriteClient_CloseSend_Call) RunAndReturn(run func() error) *LoggerAPI_WriteClient_CloseSend_Call
type LoggerAPI_WriteClient_Context_Call ¶
LoggerAPI_WriteClient_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*LoggerAPI_WriteClient_Context_Call) Return ¶
func (_c *LoggerAPI_WriteClient_Context_Call) Return(_a0 context.Context) *LoggerAPI_WriteClient_Context_Call
func (*LoggerAPI_WriteClient_Context_Call) Run ¶
func (_c *LoggerAPI_WriteClient_Context_Call) Run(run func()) *LoggerAPI_WriteClient_Context_Call
func (*LoggerAPI_WriteClient_Context_Call) RunAndReturn ¶
func (_c *LoggerAPI_WriteClient_Context_Call) RunAndReturn(run func() context.Context) *LoggerAPI_WriteClient_Context_Call
type LoggerAPI_WriteClient_Expecter ¶
type LoggerAPI_WriteClient_Expecter struct {
// contains filtered or unexported fields
}
func (*LoggerAPI_WriteClient_Expecter) CloseAndRecv ¶
func (_e *LoggerAPI_WriteClient_Expecter) CloseAndRecv() *LoggerAPI_WriteClient_CloseAndRecv_Call
CloseAndRecv is a helper method to define mock.On call
func (*LoggerAPI_WriteClient_Expecter) CloseSend ¶
func (_e *LoggerAPI_WriteClient_Expecter) CloseSend() *LoggerAPI_WriteClient_CloseSend_Call
CloseSend is a helper method to define mock.On call
func (*LoggerAPI_WriteClient_Expecter) Context ¶
func (_e *LoggerAPI_WriteClient_Expecter) Context() *LoggerAPI_WriteClient_Context_Call
Context is a helper method to define mock.On call
func (*LoggerAPI_WriteClient_Expecter) Header ¶
func (_e *LoggerAPI_WriteClient_Expecter) Header() *LoggerAPI_WriteClient_Header_Call
Header is a helper method to define mock.On call
func (*LoggerAPI_WriteClient_Expecter) RecvMsg ¶
func (_e *LoggerAPI_WriteClient_Expecter) RecvMsg(m interface{}) *LoggerAPI_WriteClient_RecvMsg_Call
RecvMsg is a helper method to define mock.On call
- m interface{}
func (*LoggerAPI_WriteClient_Expecter) Send ¶
func (_e *LoggerAPI_WriteClient_Expecter) Send(_a0 interface{}) *LoggerAPI_WriteClient_Send_Call
Send is a helper method to define mock.On call
- _a0 *loggerv1alpha1.WriteRequest
func (*LoggerAPI_WriteClient_Expecter) SendMsg ¶
func (_e *LoggerAPI_WriteClient_Expecter) SendMsg(m interface{}) *LoggerAPI_WriteClient_SendMsg_Call
SendMsg is a helper method to define mock.On call
- m interface{}
func (*LoggerAPI_WriteClient_Expecter) Trailer ¶
func (_e *LoggerAPI_WriteClient_Expecter) Trailer() *LoggerAPI_WriteClient_Trailer_Call
Trailer is a helper method to define mock.On call
type LoggerAPI_WriteClient_Header_Call ¶
LoggerAPI_WriteClient_Header_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Header'
func (*LoggerAPI_WriteClient_Header_Call) Return ¶
func (_c *LoggerAPI_WriteClient_Header_Call) Return(_a0 metadata.MD, _a1 error) *LoggerAPI_WriteClient_Header_Call
func (*LoggerAPI_WriteClient_Header_Call) Run ¶
func (_c *LoggerAPI_WriteClient_Header_Call) Run(run func()) *LoggerAPI_WriteClient_Header_Call
func (*LoggerAPI_WriteClient_Header_Call) RunAndReturn ¶
func (_c *LoggerAPI_WriteClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *LoggerAPI_WriteClient_Header_Call
type LoggerAPI_WriteClient_RecvMsg_Call ¶
LoggerAPI_WriteClient_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'
func (*LoggerAPI_WriteClient_RecvMsg_Call) Return ¶
func (_c *LoggerAPI_WriteClient_RecvMsg_Call) Return(_a0 error) *LoggerAPI_WriteClient_RecvMsg_Call
func (*LoggerAPI_WriteClient_RecvMsg_Call) Run ¶
func (_c *LoggerAPI_WriteClient_RecvMsg_Call) Run(run func(m interface{})) *LoggerAPI_WriteClient_RecvMsg_Call
func (*LoggerAPI_WriteClient_RecvMsg_Call) RunAndReturn ¶
func (_c *LoggerAPI_WriteClient_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *LoggerAPI_WriteClient_RecvMsg_Call
type LoggerAPI_WriteClient_SendMsg_Call ¶
LoggerAPI_WriteClient_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'
func (*LoggerAPI_WriteClient_SendMsg_Call) Return ¶
func (_c *LoggerAPI_WriteClient_SendMsg_Call) Return(_a0 error) *LoggerAPI_WriteClient_SendMsg_Call
func (*LoggerAPI_WriteClient_SendMsg_Call) Run ¶
func (_c *LoggerAPI_WriteClient_SendMsg_Call) Run(run func(m interface{})) *LoggerAPI_WriteClient_SendMsg_Call
func (*LoggerAPI_WriteClient_SendMsg_Call) RunAndReturn ¶
func (_c *LoggerAPI_WriteClient_SendMsg_Call) RunAndReturn(run func(interface{}) error) *LoggerAPI_WriteClient_SendMsg_Call
type LoggerAPI_WriteClient_Send_Call ¶
LoggerAPI_WriteClient_Send_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Send'
func (*LoggerAPI_WriteClient_Send_Call) Return ¶
func (_c *LoggerAPI_WriteClient_Send_Call) Return(_a0 error) *LoggerAPI_WriteClient_Send_Call
func (*LoggerAPI_WriteClient_Send_Call) Run ¶
func (_c *LoggerAPI_WriteClient_Send_Call) Run(run func(_a0 *loggerv1alpha1.WriteRequest)) *LoggerAPI_WriteClient_Send_Call
func (*LoggerAPI_WriteClient_Send_Call) RunAndReturn ¶
func (_c *LoggerAPI_WriteClient_Send_Call) RunAndReturn(run func(*loggerv1alpha1.WriteRequest) error) *LoggerAPI_WriteClient_Send_Call
type LoggerAPI_WriteClient_Trailer_Call ¶
LoggerAPI_WriteClient_Trailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Trailer'
func (*LoggerAPI_WriteClient_Trailer_Call) Return ¶
func (_c *LoggerAPI_WriteClient_Trailer_Call) Return(_a0 metadata.MD) *LoggerAPI_WriteClient_Trailer_Call
func (*LoggerAPI_WriteClient_Trailer_Call) Run ¶
func (_c *LoggerAPI_WriteClient_Trailer_Call) Run(run func()) *LoggerAPI_WriteClient_Trailer_Call
func (*LoggerAPI_WriteClient_Trailer_Call) RunAndReturn ¶
func (_c *LoggerAPI_WriteClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *LoggerAPI_WriteClient_Trailer_Call