Documentation
¶
Index ¶
- Constants
- func NewConnectionService(model model.Model) networkservice.NetworkServiceServer
- func NewEndpointSelectorService(nseManager nsm.NetworkServiceEndpointManager, model model.Model) networkservice.NetworkServiceServer
- func NewEndpointService(nseManager nsm.NetworkServiceEndpointManager, ...) networkservice.NetworkServiceServer
- func NewForwarderService(model model.Model, serviceRegistry serviceregistry.ServiceRegistry) networkservice.NetworkServiceServer
- func NewRemoteNetworkServiceServer(manager nsm.NetworkServiceManager, ...) 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 // PreferredRemoteMechanism - mechanism name will be chosen by default if supported PreferredRemoteMechanism = utils.EnvVar("PREFERRED_REMOTE_MECHANISM") )
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, model model.Model) networkservice.NetworkServiceServer
NewEndpointSelectorService - creates a service to select endpoint.
func NewEndpointService ¶
func NewEndpointService(nseManager nsm.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 NewRemoteNetworkServiceServer ¶
func NewRemoteNetworkServiceServer(manager nsm.NetworkServiceManager, connectionMonitor connectionmonitor.MonitorServer) networkservice.NetworkServiceServer
NewRemoteNetworkServiceServer - creates a new remote.NetworkServiceServer
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.