Documentation ¶
Index ¶
- type DocumentService_GeneratePreviewServer
- func (_m *DocumentService_GeneratePreviewServer) Context() context.Context
- func (_m *DocumentService_GeneratePreviewServer) EXPECT() *DocumentService_GeneratePreviewServer_Expecter
- func (_m *DocumentService_GeneratePreviewServer) RecvMsg(m interface{}) error
- func (_m *DocumentService_GeneratePreviewServer) Send(_a0 *v1.GeneratePreviewResponse) error
- func (_m *DocumentService_GeneratePreviewServer) SendHeader(_a0 metadata.MD) error
- func (_m *DocumentService_GeneratePreviewServer) SendMsg(m interface{}) error
- func (_m *DocumentService_GeneratePreviewServer) SetHeader(_a0 metadata.MD) error
- func (_m *DocumentService_GeneratePreviewServer) SetTrailer(_a0 metadata.MD)
- type DocumentService_GeneratePreviewServer_Context_Call
- func (_c *DocumentService_GeneratePreviewServer_Context_Call) Return(_a0 context.Context) *DocumentService_GeneratePreviewServer_Context_Call
- func (_c *DocumentService_GeneratePreviewServer_Context_Call) Run(run func()) *DocumentService_GeneratePreviewServer_Context_Call
- func (_c *DocumentService_GeneratePreviewServer_Context_Call) RunAndReturn(run func() context.Context) *DocumentService_GeneratePreviewServer_Context_Call
- type DocumentService_GeneratePreviewServer_Expecter
- func (_e *DocumentService_GeneratePreviewServer_Expecter) Context() *DocumentService_GeneratePreviewServer_Context_Call
- func (_e *DocumentService_GeneratePreviewServer_Expecter) RecvMsg(m interface{}) *DocumentService_GeneratePreviewServer_RecvMsg_Call
- func (_e *DocumentService_GeneratePreviewServer_Expecter) Send(_a0 interface{}) *DocumentService_GeneratePreviewServer_Send_Call
- func (_e *DocumentService_GeneratePreviewServer_Expecter) SendHeader(_a0 interface{}) *DocumentService_GeneratePreviewServer_SendHeader_Call
- func (_e *DocumentService_GeneratePreviewServer_Expecter) SendMsg(m interface{}) *DocumentService_GeneratePreviewServer_SendMsg_Call
- func (_e *DocumentService_GeneratePreviewServer_Expecter) SetHeader(_a0 interface{}) *DocumentService_GeneratePreviewServer_SetHeader_Call
- func (_e *DocumentService_GeneratePreviewServer_Expecter) SetTrailer(_a0 interface{}) *DocumentService_GeneratePreviewServer_SetTrailer_Call
- type DocumentService_GeneratePreviewServer_RecvMsg_Call
- func (_c *DocumentService_GeneratePreviewServer_RecvMsg_Call) Return(_a0 error) *DocumentService_GeneratePreviewServer_RecvMsg_Call
- func (_c *DocumentService_GeneratePreviewServer_RecvMsg_Call) Run(run func(m interface{})) *DocumentService_GeneratePreviewServer_RecvMsg_Call
- func (_c *DocumentService_GeneratePreviewServer_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *DocumentService_GeneratePreviewServer_RecvMsg_Call
- type DocumentService_GeneratePreviewServer_SendHeader_Call
- func (_c *DocumentService_GeneratePreviewServer_SendHeader_Call) Return(_a0 error) *DocumentService_GeneratePreviewServer_SendHeader_Call
- func (_c *DocumentService_GeneratePreviewServer_SendHeader_Call) Run(run func(_a0 metadata.MD)) *DocumentService_GeneratePreviewServer_SendHeader_Call
- func (_c *DocumentService_GeneratePreviewServer_SendHeader_Call) RunAndReturn(run func(metadata.MD) error) *DocumentService_GeneratePreviewServer_SendHeader_Call
- type DocumentService_GeneratePreviewServer_SendMsg_Call
- func (_c *DocumentService_GeneratePreviewServer_SendMsg_Call) Return(_a0 error) *DocumentService_GeneratePreviewServer_SendMsg_Call
- func (_c *DocumentService_GeneratePreviewServer_SendMsg_Call) Run(run func(m interface{})) *DocumentService_GeneratePreviewServer_SendMsg_Call
- func (_c *DocumentService_GeneratePreviewServer_SendMsg_Call) RunAndReturn(run func(interface{}) error) *DocumentService_GeneratePreviewServer_SendMsg_Call
- type DocumentService_GeneratePreviewServer_Send_Call
- func (_c *DocumentService_GeneratePreviewServer_Send_Call) Return(_a0 error) *DocumentService_GeneratePreviewServer_Send_Call
- func (_c *DocumentService_GeneratePreviewServer_Send_Call) Run(run func(_a0 *v1.GeneratePreviewResponse)) *DocumentService_GeneratePreviewServer_Send_Call
- func (_c *DocumentService_GeneratePreviewServer_Send_Call) RunAndReturn(run func(*v1.GeneratePreviewResponse) error) *DocumentService_GeneratePreviewServer_Send_Call
- type DocumentService_GeneratePreviewServer_SetHeader_Call
- func (_c *DocumentService_GeneratePreviewServer_SetHeader_Call) Return(_a0 error) *DocumentService_GeneratePreviewServer_SetHeader_Call
- func (_c *DocumentService_GeneratePreviewServer_SetHeader_Call) Run(run func(_a0 metadata.MD)) *DocumentService_GeneratePreviewServer_SetHeader_Call
- func (_c *DocumentService_GeneratePreviewServer_SetHeader_Call) RunAndReturn(run func(metadata.MD) error) *DocumentService_GeneratePreviewServer_SetHeader_Call
- type DocumentService_GeneratePreviewServer_SetTrailer_Call
- func (_c *DocumentService_GeneratePreviewServer_SetTrailer_Call) Return() *DocumentService_GeneratePreviewServer_SetTrailer_Call
- func (_c *DocumentService_GeneratePreviewServer_SetTrailer_Call) Run(run func(_a0 metadata.MD)) *DocumentService_GeneratePreviewServer_SetTrailer_Call
- func (_c *DocumentService_GeneratePreviewServer_SetTrailer_Call) RunAndReturn(run func(metadata.MD)) *DocumentService_GeneratePreviewServer_SetTrailer_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocumentService_GeneratePreviewServer ¶
DocumentService_GeneratePreviewServer is an autogenerated mock type for the DocumentService_GeneratePreviewServer type
func NewDocumentService_GeneratePreviewServer ¶
func NewDocumentService_GeneratePreviewServer(t interface { mock.TestingT Cleanup(func()) }) *DocumentService_GeneratePreviewServer
NewDocumentService_GeneratePreviewServer creates a new instance of DocumentService_GeneratePreviewServer. 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 (*DocumentService_GeneratePreviewServer) Context ¶
func (_m *DocumentService_GeneratePreviewServer) Context() context.Context
Context provides a mock function with given fields:
func (*DocumentService_GeneratePreviewServer) EXPECT ¶
func (_m *DocumentService_GeneratePreviewServer) EXPECT() *DocumentService_GeneratePreviewServer_Expecter
func (*DocumentService_GeneratePreviewServer) RecvMsg ¶
func (_m *DocumentService_GeneratePreviewServer) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*DocumentService_GeneratePreviewServer) Send ¶
func (_m *DocumentService_GeneratePreviewServer) Send(_a0 *v1.GeneratePreviewResponse) error
Send provides a mock function with given fields: _a0
func (*DocumentService_GeneratePreviewServer) SendHeader ¶
func (_m *DocumentService_GeneratePreviewServer) SendHeader(_a0 metadata.MD) error
SendHeader provides a mock function with given fields: _a0
func (*DocumentService_GeneratePreviewServer) SendMsg ¶
func (_m *DocumentService_GeneratePreviewServer) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*DocumentService_GeneratePreviewServer) SetHeader ¶
func (_m *DocumentService_GeneratePreviewServer) SetHeader(_a0 metadata.MD) error
SetHeader provides a mock function with given fields: _a0
func (*DocumentService_GeneratePreviewServer) SetTrailer ¶
func (_m *DocumentService_GeneratePreviewServer) SetTrailer(_a0 metadata.MD)
SetTrailer provides a mock function with given fields: _a0
type DocumentService_GeneratePreviewServer_Context_Call ¶
DocumentService_GeneratePreviewServer_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*DocumentService_GeneratePreviewServer_Context_Call) Run ¶
func (_c *DocumentService_GeneratePreviewServer_Context_Call) Run(run func()) *DocumentService_GeneratePreviewServer_Context_Call
func (*DocumentService_GeneratePreviewServer_Context_Call) RunAndReturn ¶
func (_c *DocumentService_GeneratePreviewServer_Context_Call) RunAndReturn(run func() context.Context) *DocumentService_GeneratePreviewServer_Context_Call
type DocumentService_GeneratePreviewServer_Expecter ¶
type DocumentService_GeneratePreviewServer_Expecter struct {
// contains filtered or unexported fields
}
func (*DocumentService_GeneratePreviewServer_Expecter) Context ¶
func (_e *DocumentService_GeneratePreviewServer_Expecter) Context() *DocumentService_GeneratePreviewServer_Context_Call
Context is a helper method to define mock.On call
func (*DocumentService_GeneratePreviewServer_Expecter) RecvMsg ¶
func (_e *DocumentService_GeneratePreviewServer_Expecter) RecvMsg(m interface{}) *DocumentService_GeneratePreviewServer_RecvMsg_Call
RecvMsg is a helper method to define mock.On call
- m interface{}
func (*DocumentService_GeneratePreviewServer_Expecter) Send ¶
func (_e *DocumentService_GeneratePreviewServer_Expecter) Send(_a0 interface{}) *DocumentService_GeneratePreviewServer_Send_Call
Send is a helper method to define mock.On call
- _a0 *v1.GeneratePreviewResponse
func (*DocumentService_GeneratePreviewServer_Expecter) SendHeader ¶
func (_e *DocumentService_GeneratePreviewServer_Expecter) SendHeader(_a0 interface{}) *DocumentService_GeneratePreviewServer_SendHeader_Call
SendHeader is a helper method to define mock.On call
- _a0 metadata.MD
func (*DocumentService_GeneratePreviewServer_Expecter) SendMsg ¶
func (_e *DocumentService_GeneratePreviewServer_Expecter) SendMsg(m interface{}) *DocumentService_GeneratePreviewServer_SendMsg_Call
SendMsg is a helper method to define mock.On call
- m interface{}
func (*DocumentService_GeneratePreviewServer_Expecter) SetHeader ¶
func (_e *DocumentService_GeneratePreviewServer_Expecter) SetHeader(_a0 interface{}) *DocumentService_GeneratePreviewServer_SetHeader_Call
SetHeader is a helper method to define mock.On call
- _a0 metadata.MD
func (*DocumentService_GeneratePreviewServer_Expecter) SetTrailer ¶
func (_e *DocumentService_GeneratePreviewServer_Expecter) SetTrailer(_a0 interface{}) *DocumentService_GeneratePreviewServer_SetTrailer_Call
SetTrailer is a helper method to define mock.On call
- _a0 metadata.MD
type DocumentService_GeneratePreviewServer_RecvMsg_Call ¶
DocumentService_GeneratePreviewServer_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'
func (*DocumentService_GeneratePreviewServer_RecvMsg_Call) Run ¶
func (_c *DocumentService_GeneratePreviewServer_RecvMsg_Call) Run(run func(m interface{})) *DocumentService_GeneratePreviewServer_RecvMsg_Call
func (*DocumentService_GeneratePreviewServer_RecvMsg_Call) RunAndReturn ¶
func (_c *DocumentService_GeneratePreviewServer_RecvMsg_Call) RunAndReturn(run func(interface{}) error) *DocumentService_GeneratePreviewServer_RecvMsg_Call
type DocumentService_GeneratePreviewServer_SendHeader_Call ¶
DocumentService_GeneratePreviewServer_SendHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendHeader'
func (*DocumentService_GeneratePreviewServer_SendHeader_Call) Run ¶
func (_c *DocumentService_GeneratePreviewServer_SendHeader_Call) Run(run func(_a0 metadata.MD)) *DocumentService_GeneratePreviewServer_SendHeader_Call
func (*DocumentService_GeneratePreviewServer_SendHeader_Call) RunAndReturn ¶
func (_c *DocumentService_GeneratePreviewServer_SendHeader_Call) RunAndReturn(run func(metadata.MD) error) *DocumentService_GeneratePreviewServer_SendHeader_Call
type DocumentService_GeneratePreviewServer_SendMsg_Call ¶
DocumentService_GeneratePreviewServer_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'
func (*DocumentService_GeneratePreviewServer_SendMsg_Call) Run ¶
func (_c *DocumentService_GeneratePreviewServer_SendMsg_Call) Run(run func(m interface{})) *DocumentService_GeneratePreviewServer_SendMsg_Call
func (*DocumentService_GeneratePreviewServer_SendMsg_Call) RunAndReturn ¶
func (_c *DocumentService_GeneratePreviewServer_SendMsg_Call) RunAndReturn(run func(interface{}) error) *DocumentService_GeneratePreviewServer_SendMsg_Call
type DocumentService_GeneratePreviewServer_Send_Call ¶
DocumentService_GeneratePreviewServer_Send_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Send'
func (*DocumentService_GeneratePreviewServer_Send_Call) Return ¶
func (_c *DocumentService_GeneratePreviewServer_Send_Call) Return(_a0 error) *DocumentService_GeneratePreviewServer_Send_Call
func (*DocumentService_GeneratePreviewServer_Send_Call) Run ¶
func (_c *DocumentService_GeneratePreviewServer_Send_Call) Run(run func(_a0 *v1.GeneratePreviewResponse)) *DocumentService_GeneratePreviewServer_Send_Call
func (*DocumentService_GeneratePreviewServer_Send_Call) RunAndReturn ¶
func (_c *DocumentService_GeneratePreviewServer_Send_Call) RunAndReturn(run func(*v1.GeneratePreviewResponse) error) *DocumentService_GeneratePreviewServer_Send_Call
type DocumentService_GeneratePreviewServer_SetHeader_Call ¶
DocumentService_GeneratePreviewServer_SetHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHeader'
func (*DocumentService_GeneratePreviewServer_SetHeader_Call) Run ¶
func (_c *DocumentService_GeneratePreviewServer_SetHeader_Call) Run(run func(_a0 metadata.MD)) *DocumentService_GeneratePreviewServer_SetHeader_Call
func (*DocumentService_GeneratePreviewServer_SetHeader_Call) RunAndReturn ¶
func (_c *DocumentService_GeneratePreviewServer_SetHeader_Call) RunAndReturn(run func(metadata.MD) error) *DocumentService_GeneratePreviewServer_SetHeader_Call
type DocumentService_GeneratePreviewServer_SetTrailer_Call ¶
DocumentService_GeneratePreviewServer_SetTrailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTrailer'
func (*DocumentService_GeneratePreviewServer_SetTrailer_Call) Run ¶
func (_c *DocumentService_GeneratePreviewServer_SetTrailer_Call) Run(run func(_a0 metadata.MD)) *DocumentService_GeneratePreviewServer_SetTrailer_Call
func (*DocumentService_GeneratePreviewServer_SetTrailer_Call) RunAndReturn ¶
func (_c *DocumentService_GeneratePreviewServer_SetTrailer_Call) RunAndReturn(run func(metadata.MD)) *DocumentService_GeneratePreviewServer_SetTrailer_Call