Documentation ¶
Overview ¶
Package endpoint_mock is a generated GoMock package.
Package endpoint_mock is a generated GoMock package.
Index ¶
- type MockHandlerRegistry
- func (m *MockHandlerRegistry) AvailableHandlers() []endpoint.HandlerReference
- func (m *MockHandlerRegistry) EXPECT() *MockHandlerRegistryMockRecorder
- func (m *MockHandlerRegistry) HandlerForName(handlerRef endpoint.HandlerReference) (endpoint.ProtocolHandler, bool)
- func (m *MockHandlerRegistry) RegisterHandler(handlerRef endpoint.HandlerReference, handlerProvider endpoint.HandlerProvider)
- type MockHandlerRegistryMockRecorder
- type MockHost
- func (m *MockHost) ConfiguredGroups() []endpoint.GroupInfo
- func (m *MockHost) EXPECT() *MockHostMockRecorder
- func (m *MockHost) ServeGroup(ctx context.Context, groupName string) error
- func (m *MockHost) ServeGroups(ctx context.Context) error
- func (m *MockHost) Shutdown(ctx context.Context) error
- func (m *MockHost) ShutdownGroup(ctx context.Context, groupName string) error
- type MockHostBuilder
- type MockHostBuilderMockRecorder
- type MockHostMockRecorder
- func (mr *MockHostMockRecorder) ConfiguredGroups() *gomock.Call
- func (mr *MockHostMockRecorder) ServeGroup(ctx, groupName interface{}) *gomock.Call
- func (mr *MockHostMockRecorder) ServeGroups(ctx interface{}) *gomock.Call
- func (mr *MockHostMockRecorder) Shutdown(ctx interface{}) *gomock.Call
- func (mr *MockHostMockRecorder) ShutdownGroup(ctx, groupName interface{}) *gomock.Call
- type MockMultiplexHandler
- type MockMultiplexHandlerMockRecorder
- type MockProtocolHandler
- type MockProtocolHandlerMockRecorder
- type MockStoppableHandler
- type MockStoppableHandlerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHandlerRegistry ¶
type MockHandlerRegistry struct {
// contains filtered or unexported fields
}
MockHandlerRegistry is a mock of HandlerRegistry interface.
func NewMockHandlerRegistry ¶
func NewMockHandlerRegistry(ctrl *gomock.Controller) *MockHandlerRegistry
NewMockHandlerRegistry creates a new mock instance.
func (*MockHandlerRegistry) AvailableHandlers ¶
func (m *MockHandlerRegistry) AvailableHandlers() []endpoint.HandlerReference
AvailableHandlers mocks base method.
func (*MockHandlerRegistry) EXPECT ¶
func (m *MockHandlerRegistry) EXPECT() *MockHandlerRegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHandlerRegistry) HandlerForName ¶
func (m *MockHandlerRegistry) HandlerForName(handlerRef endpoint.HandlerReference) (endpoint.ProtocolHandler, bool)
HandlerForName mocks base method.
func (*MockHandlerRegistry) RegisterHandler ¶
func (m *MockHandlerRegistry) RegisterHandler(handlerRef endpoint.HandlerReference, handlerProvider endpoint.HandlerProvider)
RegisterHandler mocks base method.
type MockHandlerRegistryMockRecorder ¶
type MockHandlerRegistryMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerRegistryMockRecorder is the mock recorder for MockHandlerRegistry.
func (*MockHandlerRegistryMockRecorder) AvailableHandlers ¶
func (mr *MockHandlerRegistryMockRecorder) AvailableHandlers() *gomock.Call
AvailableHandlers indicates an expected call of AvailableHandlers.
func (*MockHandlerRegistryMockRecorder) HandlerForName ¶
func (mr *MockHandlerRegistryMockRecorder) HandlerForName(handlerRef interface{}) *gomock.Call
HandlerForName indicates an expected call of HandlerForName.
func (*MockHandlerRegistryMockRecorder) RegisterHandler ¶
func (mr *MockHandlerRegistryMockRecorder) RegisterHandler(handlerRef, handlerProvider interface{}) *gomock.Call
RegisterHandler indicates an expected call of RegisterHandler.
type MockHost ¶
type MockHost struct {
// contains filtered or unexported fields
}
MockHost is a mock of Host interface.
func NewMockHost ¶
func NewMockHost(ctrl *gomock.Controller) *MockHost
NewMockHost creates a new mock instance.
func (*MockHost) ConfiguredGroups ¶
ConfiguredGroups mocks base method.
func (*MockHost) EXPECT ¶
func (m *MockHost) EXPECT() *MockHostMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHost) ServeGroup ¶
ServeGroup mocks base method.
func (*MockHost) ServeGroups ¶
ServeGroups mocks base method.
type MockHostBuilder ¶
type MockHostBuilder struct {
// contains filtered or unexported fields
}
MockHostBuilder is a mock of HostBuilder interface.
func NewMockHostBuilder ¶
func NewMockHostBuilder(ctrl *gomock.Controller) *MockHostBuilder
NewMockHostBuilder creates a new mock instance.
func (*MockHostBuilder) ConfigureGroup ¶
func (m *MockHostBuilder) ConfigureGroup(spec endpoint.ListenerSpec) error
ConfigureGroup mocks base method.
func (*MockHostBuilder) ConfiguredGroups ¶
func (m *MockHostBuilder) ConfiguredGroups() []endpoint.GroupInfo
ConfiguredGroups mocks base method.
func (*MockHostBuilder) EXPECT ¶
func (m *MockHostBuilder) EXPECT() *MockHostBuilderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHostBuilderMockRecorder ¶
type MockHostBuilderMockRecorder struct {
// contains filtered or unexported fields
}
MockHostBuilderMockRecorder is the mock recorder for MockHostBuilder.
func (*MockHostBuilderMockRecorder) ConfigureGroup ¶
func (mr *MockHostBuilderMockRecorder) ConfigureGroup(spec interface{}) *gomock.Call
ConfigureGroup indicates an expected call of ConfigureGroup.
func (*MockHostBuilderMockRecorder) ConfiguredGroups ¶
func (mr *MockHostBuilderMockRecorder) ConfiguredGroups() *gomock.Call
ConfiguredGroups indicates an expected call of ConfiguredGroups.
type MockHostMockRecorder ¶
type MockHostMockRecorder struct {
// contains filtered or unexported fields
}
MockHostMockRecorder is the mock recorder for MockHost.
func (*MockHostMockRecorder) ConfiguredGroups ¶
func (mr *MockHostMockRecorder) ConfiguredGroups() *gomock.Call
ConfiguredGroups indicates an expected call of ConfiguredGroups.
func (*MockHostMockRecorder) ServeGroup ¶
func (mr *MockHostMockRecorder) ServeGroup(ctx, groupName interface{}) *gomock.Call
ServeGroup indicates an expected call of ServeGroup.
func (*MockHostMockRecorder) ServeGroups ¶
func (mr *MockHostMockRecorder) ServeGroups(ctx interface{}) *gomock.Call
ServeGroups indicates an expected call of ServeGroups.
func (*MockHostMockRecorder) Shutdown ¶
func (mr *MockHostMockRecorder) Shutdown(ctx interface{}) *gomock.Call
Shutdown indicates an expected call of Shutdown.
func (*MockHostMockRecorder) ShutdownGroup ¶
func (mr *MockHostMockRecorder) ShutdownGroup(ctx, groupName interface{}) *gomock.Call
ShutdownGroup indicates an expected call of ShutdownGroup.
type MockMultiplexHandler ¶
type MockMultiplexHandler struct {
// contains filtered or unexported fields
}
MockMultiplexHandler is a mock of MultiplexHandler interface.
func NewMockMultiplexHandler ¶
func NewMockMultiplexHandler(ctrl *gomock.Controller) *MockMultiplexHandler
NewMockMultiplexHandler creates a new mock instance.
func (*MockMultiplexHandler) EXPECT ¶
func (m *MockMultiplexHandler) EXPECT() *MockMultiplexHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMultiplexHandler) Matchers ¶
func (m *MockMultiplexHandler) Matchers() []cmux.Matcher
Matchers mocks base method.
func (*MockMultiplexHandler) Start ¶
func (m *MockMultiplexHandler) Start(ctx context.Context, ss *endpoint.StartupSpec) error
Start mocks base method.
type MockMultiplexHandlerMockRecorder ¶
type MockMultiplexHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockMultiplexHandlerMockRecorder is the mock recorder for MockMultiplexHandler.
func (*MockMultiplexHandlerMockRecorder) Matchers ¶
func (mr *MockMultiplexHandlerMockRecorder) Matchers() *gomock.Call
Matchers indicates an expected call of Matchers.
func (*MockMultiplexHandlerMockRecorder) Start ¶
func (mr *MockMultiplexHandlerMockRecorder) Start(ctx, ss interface{}) *gomock.Call
Start indicates an expected call of Start.
type MockProtocolHandler ¶
type MockProtocolHandler struct {
// contains filtered or unexported fields
}
MockProtocolHandler is a mock of ProtocolHandler interface.
func NewMockProtocolHandler ¶
func NewMockProtocolHandler(ctrl *gomock.Controller) *MockProtocolHandler
NewMockProtocolHandler creates a new mock instance.
func (*MockProtocolHandler) EXPECT ¶
func (m *MockProtocolHandler) EXPECT() *MockProtocolHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProtocolHandler) Start ¶
func (m *MockProtocolHandler) Start(ctx context.Context, ss *endpoint.StartupSpec) error
Start mocks base method.
type MockProtocolHandlerMockRecorder ¶
type MockProtocolHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockProtocolHandlerMockRecorder is the mock recorder for MockProtocolHandler.
func (*MockProtocolHandlerMockRecorder) Start ¶
func (mr *MockProtocolHandlerMockRecorder) Start(ctx, ss interface{}) *gomock.Call
Start indicates an expected call of Start.
type MockStoppableHandler ¶
type MockStoppableHandler struct {
// contains filtered or unexported fields
}
MockStoppableHandler is a mock of StoppableHandler interface.
func NewMockStoppableHandler ¶
func NewMockStoppableHandler(ctrl *gomock.Controller) *MockStoppableHandler
NewMockStoppableHandler creates a new mock instance.
func (*MockStoppableHandler) EXPECT ¶
func (m *MockStoppableHandler) EXPECT() *MockStoppableHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStoppableHandler) Start ¶
func (m *MockStoppableHandler) Start(ctx context.Context, ss *endpoint.StartupSpec) error
Start mocks base method.
type MockStoppableHandlerMockRecorder ¶
type MockStoppableHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockStoppableHandlerMockRecorder is the mock recorder for MockStoppableHandler.
func (*MockStoppableHandlerMockRecorder) Start ¶
func (mr *MockStoppableHandlerMockRecorder) Start(ctx, ss interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockStoppableHandlerMockRecorder) Stop ¶
func (mr *MockStoppableHandlerMockRecorder) Stop(ctx interface{}) *gomock.Call
Stop indicates an expected call of Stop.