common/

directory
v1.7.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0

Directories

Path Synopsis
Package authorize provides authz checks for incoming or returning connections.
Package authorize provides authz checks for incoming or returning connections.
Code generated by "-output client_map.gen.go -type clientMap<string,*eventFactoryClient> -output client_map.gen.go -type clientMap<string,*eventFactoryClient>"; DO NOT EDIT.
Code generated by "-output client_map.gen.go -type clientMap<string,*eventFactoryClient> -output client_map.gen.go -type clientMap<string,*eventFactoryClient>"; DO NOT EDIT.
Package cleanup provides networkservice.NetworkService chain elements to clean up resources before termination
Package cleanup provides networkservice.NetworkService chain elements to clean up resources before termination
Package clientconn - chain element for injecting a grpc.ClientConnInterface into the client chain
Package clientconn - chain element for injecting a grpc.ClientConnInterface into the client chain
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
Package clienturl provides server chain element that sets client URL in context
Package clienturl provides server chain element that sets client URL in context
Package clusterinfo provides a chain element that appends clusterinfo labels into the request.
Package clusterinfo provides a chain element that appends clusterinfo labels into the request.
Package connect provides chain elements to 'connect' clients
Package connect provides chain elements to 'connect' clients
Package dial will dial up a grpc.ClientConnInterface if a client *url.URL is provided in the ctx, retrievable by clienturlctx.ClientURL(ctx) and put the resulting grpc.ClientConnInterface into the ctx using clientconn.Store(..) where it can be retrieved by other chain elements using clientconn.Load(...)
Package dial will dial up a grpc.ClientConnInterface if a client *url.URL is provided in the ctx, retrievable by clienturlctx.ClientURL(ctx) and put the resulting grpc.ClientConnInterface into the ctx using clientconn.Store(..) where it can be retrieved by other chain elements using clientconn.Load(...)
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)
Package discoverforwarder discovers forwarder from the registry.
Package discoverforwarder discovers forwarder from the registry.
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.
Package externalips provides to the context on Request or Close possible to resolve external IP to internal or vise versa
Package externalips provides to the context on Request or Close possible to resolve external IP to internal or vise versa
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.
Package heal provides a client chain element that can be used to enable fast heal of Connections if something goes wrong with the current Connection (as detected by monitor).
Package heal provides a client chain element that can be used to enable fast heal of Connections if something goes wrong with the current Connection (as detected by monitor).
Package interdomainbypass injects into incoming context the URL to remote side only if requesting endpoint has been resolved.
Package interdomainbypass injects into incoming context the URL to remote side only if requesting endpoint has been resolved.
Package journal emits IP and PATH related event messages to NATS.
Package journal emits IP and PATH related event messages to NATS.
Package mechanismpriority prioritize mechanisms according to the list
Package mechanismpriority prioritize mechanisms according to the list
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.
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.
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.
kernel/vlan
Package vlan provides server chain element setting vlan id on the kernel mechanism
Package vlan provides server chain element setting vlan id on the kernel mechanism
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.
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.
vxlan/vni
Package vni provides networkservice.NetworkService{Client,Server} chain elements for setting SrcIP/DstIP/VNI for the vxlan mechanism
Package vni provides networkservice.NetworkService{Client,Server} chain elements for setting SrcIP/DstIP/VNI for the vxlan mechanism
Package mechanismtranslation provides client chain element to perform serverRequest -> clientRequest and clientConn -> serverConn mechanism translations
Package mechanismtranslation provides client chain element to perform serverRequest -> clientRequest and clientConn -> serverConn mechanism translations
Package metrics provides a chain element that sends metrics to collector
Package metrics provides a chain element that sends metrics to collector
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
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.
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
Package passthrough combines chain elements used in passthrough cases
Package passthrough combines chain elements used in passthrough cases
replacelabels
Package replacelabels sets connection labels
Package replacelabels sets connection labels
replacensename
Package replacensename replaces NetworkServiceEndpointName if it was discovered before
Package replacensename replaces NetworkServiceEndpointName if it was discovered before
Package policyroute provides chain elements for adding routing policies to connection context
Package policyroute provides chain elements for adding routing policies to connection context
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.
Package retry provides a networkservice.NetworksrviceClient wrapper that allows to retries requests and closes.
Package retry provides a networkservice.NetworksrviceClient wrapper that allows to retries requests and closes.
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
Package setextracontext define a chain element to set some extra context values
Package setextracontext define a chain element to set some extra context values
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.
Package switchcase provides chain elements acting like a switch-case statement, selecting a chain element with first succeed condition
Package switchcase provides chain elements acting like a switch-case statement, selecting a chain element with first succeed condition
Package timeout provides a NetworkServiceServer chain element that times out expired connection
Package timeout provides a NetworkServiceServer chain element that times out expired connection
Package trimpath provides a simple pair of chain elements, one for the server side, one for the client side.
Package trimpath provides a simple pair of chain elements, one for the server side, one for the client side.
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
Package updatetoken provides chain elements to update Connection.Path
Package updatetoken provides chain elements to update Connection.Path
Package upstreamrefresh provides a client chain element that receives monitor connectionEvents and processes those that have refresh_requested state
Package upstreamrefresh provides a client chain element that receives monitor connectionEvents and processes those that have refresh_requested state

Jump to

Keyboard shortcuts

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