Documentation ¶
Index ¶
- Constants
- func NewConnectionService(model model.Model) networkservice.NetworkServiceServer
- func NewEndpointSelectorService(nseManager nsm.NetworkServiceEndpointManager) networkservice.NetworkServiceServer
- func NewEndpointService(nseManager unifiednsm.NetworkServiceEndpointManager, ...) networkservice.NetworkServiceServer
- func NewForwarderService(model model.Model, serviceRegistry serviceregistry.ServiceRegistry) networkservice.NetworkServiceServer
- func NewWorkspaceService(name string) networkservice.NetworkServiceServer
Constants ¶
View Source
const ( // ForwarderRetryCount - A number of times to call Forwarder Request, TODO: Remove after DP will be stable. ForwarderRetryCount = 10 // ForwarderRetryDelay - a delay between operations. ForwarderRetryDelay = 500 * time.Millisecond // ForwarderTimeout - A forwarder timeout ForwarderTimeout = 15 * time.Second // ErrorCloseTimeout - timeout to close all stuff in case of error ErrorCloseTimeout = 15 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func NewConnectionService ¶
func NewConnectionService(model model.Model) networkservice.NetworkServiceServer
NewConnectionService - creates a service to create and update model connection.
func NewEndpointSelectorService ¶
func NewEndpointSelectorService(nseManager nsm.NetworkServiceEndpointManager) networkservice.NetworkServiceServer
NewEndpointSelectorService - creates a service to select endpoint
func NewEndpointService ¶
func NewEndpointService(nseManager unifiednsm.NetworkServiceEndpointManager, properties *properties.Properties, mdl model.Model) networkservice.NetworkServiceServer
NewEndpointService - creates a service to connect to endpoint
func NewForwarderService ¶
func NewForwarderService(model model.Model, serviceRegistry serviceregistry.ServiceRegistry) networkservice.NetworkServiceServer
NewForwarderService - creates a service to program forwarder.
func NewWorkspaceService ¶
func NewWorkspaceService(name string) networkservice.NetworkServiceServer
NewWorkspaceService - creates a service to update workspace information for request
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.