endpoint_mock

package
v0.9.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package endpoint_mock is a generated GoMock package.

Package endpoint_mock is a generated GoMock package.

Index

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

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

func (m *MockHost) ConfiguredGroups() []endpoint.GroupInfo

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

func (m *MockHost) ServeGroup(ctx context.Context, groupName string) error

ServeGroup mocks base method.

func (*MockHost) ServeGroups

func (m *MockHost) ServeGroups(ctx context.Context) error

ServeGroups mocks base method.

func (*MockHost) Shutdown

func (m *MockHost) Shutdown(ctx context.Context) error

Shutdown mocks base method.

func (*MockHost) ShutdownGroup

func (m *MockHost) ShutdownGroup(ctx context.Context, groupName string) error

ShutdownGroup 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

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

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

Start mocks base method.

type MockMultiplexHandlerMockRecorder

type MockMultiplexHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockMultiplexHandlerMockRecorder is the mock recorder for MockMultiplexHandler.

func (*MockMultiplexHandlerMockRecorder) Matchers

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProtocolHandler) Start

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStoppableHandler) Start

Start mocks base method.

func (*MockStoppableHandler) Stop

Stop 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL