networkservice/

directory
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: Apache-2.0

Directories

Path Synopsis
chains
client
Package client provides a simple wrapper for building a NetworkServiceMeshClient
Package client provides a simple wrapper for building a NetworkServiceMeshClient
endpoint
Package endpoint provides a simple wrapper for building a NetworkServiceServer
Package endpoint provides a simple wrapper for building a NetworkServiceServer
nsmgr
Package nsmgr provides a Network Service Manager (nsmgrServer), but interface and implementation
Package nsmgr provides a Network Service Manager (nsmgrServer), but interface and implementation
nsmgr/peertracker
Package peertracker provides a wrapper for a Nsmgr that tracks connections received from local Clients Its designed to be used in a DevicePlugin to allow us to properly Close connections on re-Allocate
Package peertracker provides a wrapper for a Nsmgr that tracks connections received from local Clients Its designed to be used in a DevicePlugin to allow us to properly Close connections on re-Allocate
nsmgrproxy
Package nsmgrproxy provides chain of networkservice.NetworkServiceServer chain elements to creating NSMgrProxy
Package nsmgrproxy provides chain of networkservice.NetworkServiceServer chain elements to creating NSMgrProxy
common
authorize
Package authorize provides authz checks for incoming or returning connections.
Package authorize provides authz checks for incoming or returning connections.
clientinfo
Package clientinfo provides a chain element that adds pod, node and cluster names to request
Package clientinfo provides a chain element that adds pod, node and cluster names to request
clienturl
Package clienturl provides server chain element that sets client URL in context
Package clienturl provides server chain element that sets client URL in context
connect
Code generated by "-output client_info_map.gen.go -type clientInfoMap<string,*clientInfo> -output client_info_map.gen.go -type clientInfoMap<string,*clientInfo>"; DO NOT EDIT.
Code generated by "-output client_info_map.gen.go -type clientInfoMap<string,*clientInfo> -output client_info_map.gen.go -type clientInfoMap<string,*clientInfo>"; DO NOT EDIT.
discover
Package discover provides a NetworkServiceServer chain element that discovers possible NSEs that can provide the requested network service and add them to the context.Context where they can be retrieved by Candidates(ctx)
Package discover provides a NetworkServiceServer chain element that discovers possible NSEs that can provide the requested network service and add them to the context.Context where they can be retrieved by Candidates(ctx)
excludedprefixes
Package excludedprefixes provides a networkservice.NetworkServiceServer chain element that can read excluded prefixes from config map and add them to request to avoid repeated usage.
Package excludedprefixes provides a networkservice.NetworkServiceServer chain element that can read excluded prefixes from config map and add them to request to avoid repeated usage.
externalips
Package externalips provides to the context on Request or Close possible to resolve external IP to internal or vise versa Code generated by "-output string_map.gen.go -type stringMap<string,string> -output string_map.gen.go -type stringMap<string,string>"; DO NOT EDIT.
Package externalips provides to the context on Request or Close possible to resolve external IP to internal or vise versa Code generated by "-output string_map.gen.go -type stringMap<string,string> -output string_map.gen.go -type stringMap<string,string>"; DO NOT EDIT.
filtermechanisms
Package filtermechanisms filters out remote mechanisms if communicating by remote url filters out local mechanisms otherwise.
Package filtermechanisms filters out remote mechanisms if communicating by remote url filters out local mechanisms otherwise.
heal
Package heal provides a chain element that carries out proper nsm healing from client to endpoint Code generated by "-output connection_info_map.gen.go -type connectionInfoMap<string,*connectionInfo> -output connection_info_map.gen.go -type connectionInfoMap<string,*connectionInfo>"; DO NOT EDIT.
Package heal provides a chain element that carries out proper nsm healing from client to endpoint Code generated by "-output connection_info_map.gen.go -type connectionInfoMap<string,*connectionInfo> -output connection_info_map.gen.go -type connectionInfoMap<string,*connectionInfo>"; DO NOT EDIT.
interdomainurl
Package interdomainurl injects into incoming context the URL to remote side only if requesting endpoint has been resolved.
Package interdomainurl injects into incoming context the URL to remote side only if requesting endpoint has been resolved.
interpose
Code generated by "-output connection_info_map.gen.go -type connectionInfoMap<string,connectionInfo> -output connection_info_map.gen.go -type connectionInfoMap<string,connectionInfo>"; DO NOT EDIT.
Code generated by "-output connection_info_map.gen.go -type connectionInfoMap<string,connectionInfo> -output connection_info_map.gen.go -type connectionInfoMap<string,connectionInfo>"; DO NOT EDIT.
journal
Package journal emits IP and PATH related event messages to NATS.
Package journal emits IP and PATH related event messages to NATS.
mechanisms
Package mechanisms provides a simple shim to allow the attempt to select a mechanism based on the MechanismPreference expressed in the Request.
Package mechanisms provides a simple shim to allow the attempt to select a mechanism based on the MechanismPreference expressed in the Request.
mechanisms/checkmechanism
Package checkmechanism provides TestSuites for use with implementations of a mechanism networkservice chain element.
Package checkmechanism provides TestSuites for use with implementations of a mechanism networkservice chain element.
mechanisms/kernel
Package kernel provides the necessary mechanisms to request and inject a kernel interface.
Package kernel provides the necessary mechanisms to request and inject a kernel interface.
mechanisms/recvfd
Package recvfd provides a NetworkService{Client,Server} chain element that looks at Connection.Mechanism.Parameters[common.InodeURL] with scheme 'inode' and receives the fds (if possible) and converts them to scheme file.
Package recvfd provides a NetworkService{Client,Server} chain element that looks at Connection.Mechanism.Parameters[common.InodeURL] with scheme 'inode' and receives the fds (if possible) and converts them to scheme file.
mechanisms/sendfd
Package sendfd provides a NetworkService{Client,Server} chain element that looks at the Connection.Mechanism and Request.MechanismPreferences and if they have the Parameters[common.InodeURL] with scheme 'file' converts them to scheme inode and sends them over the connection as fds if possible.
Package sendfd provides a NetworkService{Client,Server} chain element that looks at the Connection.Mechanism and Request.MechanismPreferences and if they have the Parameters[common.InodeURL] with scheme 'file' converts them to scheme inode and sends them over the connection as fds if possible.
mechanisms/vxlan/vni
Package vni provides networkservice.NetworkService{Client,Server} chain elements for setting SrcIP/DstIP/VNI for the vxlan mechanism Code generated by "-output vni_map.gen.go -type Map<vniKey,*vniKey> -output vni_map.gen.go -type Map<vniKey,*vniKey>"; DO NOT EDIT.
Package vni provides networkservice.NetworkService{Client,Server} chain elements for setting SrcIP/DstIP/VNI for the vxlan mechanism Code generated by "-output vni_map.gen.go -type Map<vniKey,*vniKey> -output vni_map.gen.go -type Map<vniKey,*vniKey>"; DO NOT EDIT.
mechanismtranslation
Package mechanismtranslation provides client chain element to perform serverRequest -> clientRequest and clientConn -> serverConn mechanism translations Code generated by "-output mechanism_map.gen.go -type mechanismMap<string,*github.com/networkservicemesh/api/pkg/api/networkservice.Mechanism> -output mechanism_map.gen.go -type mechanismMap<string,*github.com/networkservicemesh/api/pkg/api/networkservice.Mechanism>"; DO NOT EDIT.
Package mechanismtranslation provides client chain element to perform serverRequest -> clientRequest and clientConn -> serverConn mechanism translations Code generated by "-output mechanism_map.gen.go -type mechanismMap<string,*github.com/networkservicemesh/api/pkg/api/networkservice.Mechanism> -output mechanism_map.gen.go -type mechanismMap<string,*github.com/networkservicemesh/api/pkg/api/networkservice.Mechanism>"; DO NOT EDIT.
monitor
Package monitor provides a NetworkServiceServer chain element to provide a monitor server that reflects the connections actually in the NetworkServiceServer
Package monitor provides a NetworkServiceServer chain element to provide a monitor server that reflects the connections actually in the NetworkServiceServer
null
Package null provides simple networkservice chain elements that do nothing by call next and returns what comes back.
Package null provides simple networkservice chain elements that do nothing by call next and returns what comes back.
onidle
Package onidle provides server chain element that executes a callback when there were no active connections for specified time
Package onidle provides server chain element that executes a callback when there were no active connections for specified time
refresh
Package refresh periodically resends NetworkServiceMesh.Request for an existing connection so that the Endpoint doesn't 'expire' the networkservice.
Package refresh periodically resends NetworkServiceMesh.Request for an existing connection so that the Endpoint doesn't 'expire' the networkservice.
replacelabels
Package replacelabels sets connection labels
Package replacelabels sets connection labels
roundrobin
Package roundrobin provides a networkservice chain element that round robins among the candidates for providing a requested networkservice
Package roundrobin provides a networkservice chain element that round robins among the candidates for providing a requested networkservice
serialize
Package serialize provides chain elements for serial Request, Close event processing
Package serialize provides chain elements for serial Request, Close event processing
setextracontext
Package setextracontext define a chain element to set some extra context values
Package setextracontext define a chain element to set some extra context values
setlogoption
Package setlogoption - allow to overide some of logging capabilities.
Package setlogoption - allow to overide some of logging capabilities.
swapip
Package swapip provides chain element to swapping fields of remote mechanisms such as common.SrcIP and common.DstIP from internal to external and vice versa on response.
Package swapip provides chain element to swapping fields of remote mechanisms such as common.SrcIP and common.DstIP from internal to external and vice versa on response.
timeout
Package timeout provides a NetworkServiceServer chain element that times out expired connection
Package timeout provides a NetworkServiceServer chain element that times out expired connection
updatepath
Package updatepath provides a chain element that sets the id of an incoming or outgoing request
Package updatepath provides a chain element that sets the id of an incoming or outgoing request
updatetoken
Package updatetoken provides chain elements to update Connection.Path
Package updatetoken provides chain elements to update Connection.Path
connectioncontext
dnscontext
Package dnscontext provides a dns context specific chain element.
Package dnscontext provides a dns context specific chain element.
core
adapters
Package adapters provides adapters to translate between networkservice.NetworkService{Server,Client} Package adapters provides adapters to translate between networkservice.NetworkService{Server,Client}
Package adapters provides adapters to translate between networkservice.NetworkService{Server,Client} Package adapters provides adapters to translate between networkservice.NetworkService{Server,Client}
chain
Package chain provides a simple file for creating a networkservice.NetworkService{Server,Client} from a 'chain' of networkservice.NetworkService{Server,Client}s
Package chain provides a simple file for creating a networkservice.NetworkService{Server,Client} from a 'chain' of networkservice.NetworkService{Server,Client}s
eventchannel
Package eventchannel provides implementations based on event channels of: networkservice.MonitorConnectionClient networkservice.MonitorConnectionServer networkservice.MonitorConnection_MonitorConnectionsClient networkservice.MonitorConnection_MonitorConnectionsServer Package eventchannel provides API for creating monitoring components via golang channels
Package eventchannel provides implementations based on event channels of: networkservice.MonitorConnectionClient networkservice.MonitorConnectionServer networkservice.MonitorConnection_MonitorConnectionsClient networkservice.MonitorConnection_MonitorConnectionsServer Package eventchannel provides API for creating monitoring components via golang channels
next
Package next provides a mechanism for chained networkservice.NetworkService{Server,Client}s to call the next element in the chain.
Package next provides a mechanism for chained networkservice.NetworkService{Server,Client}s to call the next element in the chain.
next/tests
Package tests contains tests for package 'next'
Package tests contains tests for package 'next'
trace
Package trace provides a wrapper for tracing around a networkservice.NetworkServiceClient
Package trace provides a wrapper for tracing around a networkservice.NetworkServiceClient
ipam
point2pointipam
Code generated by "-output connectionInfoMap.gen.go -type Map<string,*connectionInfo> -output connectionInfoMap.gen.go -type Map<string,*connectionInfo>"; DO NOT EDIT.
Code generated by "-output connectionInfoMap.gen.go -type Map<string,*connectionInfo> -output connectionInfoMap.gen.go -type Map<string,*connectionInfo>"; DO NOT EDIT.
utils
checks/checkconnection
Package checkconnection provides utilities for checking the returned connection from the next element in a chain
Package checkconnection provides utilities for checking the returned connection from the next element in a chain
checks/checkcontext
Package checkcontext - provides networkservice chain elements for checking the context.Context passed on by the previous chain element
Package checkcontext - provides networkservice chain elements for checking the context.Context passed on by the previous chain element
checks/checkcontextonreturn
Package checkcontextonreturn - provides a NetworkServiceClient chain element for checking the state of the context.Context after the next element in the chain has returned
Package checkcontextonreturn - provides a NetworkServiceClient chain element for checking the state of the context.Context after the next element in the chain has returned
checks/checkerror
Package checkerror provides chain elements to check for errors during testing
Package checkerror provides chain elements to check for errors during testing
checks/checkopts
Package checkopts - provides tools for checking to make sure that grpc.CallOptions are propagated through a client chain elements
Package checkopts - provides tools for checking to make sure that grpc.CallOptions are propagated through a client chain elements
checks/checkrequest
Package checkrequest - provides networkservice chain elements to check the request received from the previous element in the chain
Package checkrequest - provides networkservice chain elements to check the request received from the previous element in the chain
checks/checkresponse
Package checkresponse - provides networkservice chain elements to check the response received from the next element in the chain
Package checkresponse - provides networkservice chain elements to check the response received from the next element in the chain
inject/injecterror
Package injecterror provides chain elements returning given error on Request, Close on given times
Package injecterror provides chain elements returning given error on Request, Close on given times
inject/injectopts
Package injectopts - injects grpc.CallOptions by appending them to the end of the opts...
Package injectopts - injects grpc.CallOptions by appending them to the end of the opts...
metadata
Package metadata provides per Connection.Id metadata Code generated by "-output meta_data_map.gen.go -type metaDataMap<string,*metaData> -output meta_data_map.gen.go -type metaDataMap<string,*metaData>"; DO NOT EDIT.
Package metadata provides per Connection.Id metadata Code generated by "-output meta_data_map.gen.go -type metaDataMap<string,*metaData> -output meta_data_map.gen.go -type metaDataMap<string,*metaData>"; DO NOT EDIT.

Jump to

Keyboard shortcuts

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