Documentation ¶
Overview ¶
Package mock_stream is a generated GoMock package.
Index ¶
- type MockStreamAPIExtension
- type MockStreamAPIExtensionMockRecorder
- type MockStreamAPIExtensionWithHandlers
- type MockStreamAPIExtensionWithHandlersMockRecorder
- type MockStreamClientHandler
- type MockStreamClientHandlerMockRecorder
- type MockstreamExtPlugin
- func (m *MockstreamExtPlugin) Connect(arg0 v1.Stream_ConnectServer) error
- func (m *MockstreamExtPlugin) ConnectInternal(arg0 apiextensions.StreamAPIExtension_ConnectInternalServer) error
- func (m *MockstreamExtPlugin) EXPECT() *MockstreamExtPluginMockRecorder
- func (m *MockstreamExtPlugin) Notify(arg0 context.Context, arg1 *v1.StreamEvent) (*emptypb.Empty, error)
- type MockstreamExtPluginMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStreamAPIExtension ¶
type MockStreamAPIExtension struct {
// contains filtered or unexported fields
}
MockStreamAPIExtension is a mock of StreamAPIExtension interface.
func NewMockStreamAPIExtension ¶
func NewMockStreamAPIExtension(ctrl *gomock.Controller) *MockStreamAPIExtension
NewMockStreamAPIExtension creates a new mock instance.
func (*MockStreamAPIExtension) EXPECT ¶
func (m *MockStreamAPIExtension) EXPECT() *MockStreamAPIExtensionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStreamAPIExtension) StreamServers ¶
func (m *MockStreamAPIExtension) StreamServers() []stream.Server
StreamServers mocks base method.
type MockStreamAPIExtensionMockRecorder ¶
type MockStreamAPIExtensionMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamAPIExtensionMockRecorder is the mock recorder for MockStreamAPIExtension.
func (*MockStreamAPIExtensionMockRecorder) StreamServers ¶
func (mr *MockStreamAPIExtensionMockRecorder) StreamServers() *gomock.Call
StreamServers indicates an expected call of StreamServers.
type MockStreamAPIExtensionWithHandlers ¶
type MockStreamAPIExtensionWithHandlers struct {
// contains filtered or unexported fields
}
MockStreamAPIExtensionWithHandlers is a mock of StreamAPIExtensionWithHandlers interface.
func NewMockStreamAPIExtensionWithHandlers ¶
func NewMockStreamAPIExtensionWithHandlers(ctrl *gomock.Controller) *MockStreamAPIExtensionWithHandlers
NewMockStreamAPIExtensionWithHandlers creates a new mock instance.
func (*MockStreamAPIExtensionWithHandlers) EXPECT ¶
func (m *MockStreamAPIExtensionWithHandlers) EXPECT() *MockStreamAPIExtensionWithHandlersMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStreamAPIExtensionWithHandlers) StreamServers ¶
func (m *MockStreamAPIExtensionWithHandlers) StreamServers() []stream.Server
StreamServers mocks base method.
func (*MockStreamAPIExtensionWithHandlers) UseStreamClient ¶
func (m *MockStreamAPIExtensionWithHandlers) UseStreamClient(client grpc.ClientConnInterface)
UseStreamClient mocks base method.
type MockStreamAPIExtensionWithHandlersMockRecorder ¶
type MockStreamAPIExtensionWithHandlersMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamAPIExtensionWithHandlersMockRecorder is the mock recorder for MockStreamAPIExtensionWithHandlers.
func (*MockStreamAPIExtensionWithHandlersMockRecorder) StreamServers ¶
func (mr *MockStreamAPIExtensionWithHandlersMockRecorder) StreamServers() *gomock.Call
StreamServers indicates an expected call of StreamServers.
func (*MockStreamAPIExtensionWithHandlersMockRecorder) UseStreamClient ¶
func (mr *MockStreamAPIExtensionWithHandlersMockRecorder) UseStreamClient(client interface{}) *gomock.Call
UseStreamClient indicates an expected call of UseStreamClient.
type MockStreamClientHandler ¶
type MockStreamClientHandler struct {
// contains filtered or unexported fields
}
MockStreamClientHandler is a mock of StreamClientHandler interface.
func NewMockStreamClientHandler ¶
func NewMockStreamClientHandler(ctrl *gomock.Controller) *MockStreamClientHandler
NewMockStreamClientHandler creates a new mock instance.
func (*MockStreamClientHandler) EXPECT ¶
func (m *MockStreamClientHandler) EXPECT() *MockStreamClientHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStreamClientHandler) UseStreamClient ¶
func (m *MockStreamClientHandler) UseStreamClient(client grpc.ClientConnInterface)
UseStreamClient mocks base method.
type MockStreamClientHandlerMockRecorder ¶
type MockStreamClientHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamClientHandlerMockRecorder is the mock recorder for MockStreamClientHandler.
func (*MockStreamClientHandlerMockRecorder) UseStreamClient ¶
func (mr *MockStreamClientHandlerMockRecorder) UseStreamClient(client interface{}) *gomock.Call
UseStreamClient indicates an expected call of UseStreamClient.
type MockstreamExtPlugin ¶
type MockstreamExtPlugin struct {
// contains filtered or unexported fields
}
MockstreamExtPlugin is a mock of streamExtPlugin interface.
func NewMockstreamExtPlugin ¶
func NewMockstreamExtPlugin(ctrl *gomock.Controller) *MockstreamExtPlugin
NewMockstreamExtPlugin creates a new mock instance.
func (*MockstreamExtPlugin) Connect ¶
func (m *MockstreamExtPlugin) Connect(arg0 v1.Stream_ConnectServer) error
Connect mocks base method.
func (*MockstreamExtPlugin) ConnectInternal ¶
func (m *MockstreamExtPlugin) ConnectInternal(arg0 apiextensions.StreamAPIExtension_ConnectInternalServer) error
ConnectInternal mocks base method.
func (*MockstreamExtPlugin) EXPECT ¶
func (m *MockstreamExtPlugin) EXPECT() *MockstreamExtPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockstreamExtPlugin) Notify ¶
func (m *MockstreamExtPlugin) Notify(arg0 context.Context, arg1 *v1.StreamEvent) (*emptypb.Empty, error)
Notify mocks base method.
type MockstreamExtPluginMockRecorder ¶
type MockstreamExtPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockstreamExtPluginMockRecorder is the mock recorder for MockstreamExtPlugin.
func (*MockstreamExtPluginMockRecorder) Connect ¶
func (mr *MockstreamExtPluginMockRecorder) Connect(arg0 interface{}) *gomock.Call
Connect indicates an expected call of Connect.
func (*MockstreamExtPluginMockRecorder) ConnectInternal ¶
func (mr *MockstreamExtPluginMockRecorder) ConnectInternal(arg0 interface{}) *gomock.Call
ConnectInternal indicates an expected call of ConnectInternal.
func (*MockstreamExtPluginMockRecorder) Notify ¶
func (mr *MockstreamExtPluginMockRecorder) Notify(arg0, arg1 interface{}) *gomock.Call
Notify indicates an expected call of Notify.