local

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

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

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.

Jump to

Keyboard shortcuts

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