pkg/

directory
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: Apache-2.0

Directories

Path Synopsis
ipam
strictvl3ipam
Package strictvl3ipam provides a networkservice.NetworkService Server chain element that resets IP context configuration out of the settings scope
Package strictvl3ipam provides a networkservice.NetworkService Server chain element that resets IP context configuration out of the settings scope
vl3ipam
Package vl3ipam provides implementation of api/pkg/api/ipam.IPAMServer for vL3 scenario.
Package vl3ipam provides implementation of api/pkg/api/ipam.IPAMServer for vL3 scenario.
networkservice
chains/client
Package client provides a simple wrapper for building a NetworkServiceMeshClient
Package client provides a simple wrapper for building a NetworkServiceMeshClient
chains/endpoint
Package endpoint provides a simple wrapper for building a NetworkServiceServer
Package endpoint provides a simple wrapper for building a NetworkServiceServer
chains/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
chains/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.
common/begin
Package begin provides a chain element that can be put at the beginning of the chain, after Connection.Id has been set but before any chain elements that would mutate the Connection on the return path.
Package begin provides a chain element that can be put at the beginning of the chain, after Connection.Id has been set but before any chain elements that would mutate the Connection on the return path.
common/cleanup
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
common/clientconn
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
common/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
common/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
common/clusterinfo
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.
common/connect
Package connect provides chain elements to 'connect' clients
Package connect provides chain elements to 'connect' clients
common/dial
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(...)
common/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)
common/discoverforwarder
Package discoverforwarder discovers forwarder from the registry.
Package discoverforwarder discovers forwarder from the registry.
common/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.
common/externalips
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
common/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.
common/heal
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).
common/interdomainbypass
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.
common/journal
Package journal emits IP and PATH related event messages to NATS.
Package journal emits IP and PATH related event messages to NATS.
common/mechanismpriority
Package mechanismpriority prioritize mechanisms according to the list
Package mechanismpriority prioritize mechanisms according to the list
common/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.
common/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.
common/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.
common/mechanisms/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
common/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.
common/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.
common/mechanisms/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
common/mechanismtranslation
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
common/metrics
Package metrics provides a chain element that sends metrics to collector
Package metrics provides a chain element that sends metrics to collector
common/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
common/netsvcmonitor
Package netsvcmonitor provides a NetworkServiceServer chain element to provide a possible change nse for the connection immediately if network service was updated.
Package netsvcmonitor provides a NetworkServiceServer chain element to provide a possible change nse for the connection immediately if network service was updated.
common/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.
common/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
common/passthrough
Package passthrough combines chain elements used in passthrough cases
Package passthrough combines chain elements used in passthrough cases
common/passthrough/replacelabels
Package replacelabels sets connection labels
Package replacelabels sets connection labels
common/passthrough/replacensename
Package replacensename replaces NetworkServiceEndpointName if it was discovered before
Package replacensename replaces NetworkServiceEndpointName if it was discovered before
common/policyroute
Package policyroute provides chain elements for adding routing policies to connection context
Package policyroute provides chain elements for adding routing policies to connection context
common/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.
common/retry
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.
common/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
common/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
common/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.
common/switchcase
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
common/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
common/trimpath
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.
common/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
common/updatetoken
Package updatetoken provides chain elements to update Connection.Path
Package updatetoken provides chain elements to update Connection.Path
common/upstreamrefresh
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
connectioncontext/dnscontext
Package dnscontext provides a dns context specific chain element.
Package dnscontext provides a dns context specific chain element.
connectioncontext/dnscontext/vl3dns
Package vl3dns provides a possible for vl3 networkservice endpoint to use distributed dns
Package vl3dns provides a possible for vl3 networkservice endpoint to use distributed dns
connectioncontext/ipcontext/vl3
Package vl3 provides chain elements that manage ipcontext of request for vL3 networks.
Package vl3 provides chain elements that manage ipcontext of request for vL3 networks.
connectioncontext/mtu/vl3mtu
Package vl3mtu provides networkservice.NetworkService chain elements to store minimum value of vl3 MTU.
Package vl3mtu provides networkservice.NetworkService chain elements to store minimum value of vl3 MTU.
core/adapters
Package adapters provides adapters to translate between networkservice.NetworkService{Server,Client}
Package adapters provides adapters to translate between networkservice.NetworkService{Server,Client}
core/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
core/eventchannel
Package eventchannel provides implementations based on event channels of:
Package eventchannel provides implementations based on event channels of:
core/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.
core/next/tests
Package tests contains tests for package 'next'
Package tests contains tests for package 'next'
core/trace
Package trace provides wrappers for tracing around a networkservice.NetworkServiceClient
Package trace provides wrappers for tracing around a networkservice.NetworkServiceClient
core/trace/testutil
Package testutil has few util functions for testing
Package testutil has few util functions for testing
core/trace/traceconcise
Package traceconcise provides a wrapper for logging around a networkservice.NetworkServiceClient
Package traceconcise provides a wrapper for logging around a networkservice.NetworkServiceClient
core/trace/traceverbose
Package traceverbose provides a wrapper for tracing around a networkservice.NetworkServiceClient
Package traceverbose provides a wrapper for tracing around a networkservice.NetworkServiceClient
ipam/groupipam
Package groupipam provides a networkservice.NetworkServiceServer chain element to handle a group of []*net.IPNet.
Package groupipam provides a networkservice.NetworkServiceServer chain element to handle a group of []*net.IPNet.
ipam/point2pointipam
Package point2pointipam provides a p2p IPAM server chain element.
Package point2pointipam provides a p2p IPAM server chain element.
ipam/singlepointipam
Package singlepointipam defines a chain element that implements IPAM service
Package singlepointipam defines a chain element that implements IPAM service
ipam/strictipam
Package strictipam provides a networkservice.NetworkService Server chain element for building an IPAM server that filters some invalid addresses and routes in IP context
Package strictipam provides a networkservice.NetworkService Server chain element for building an IPAM server that filters some invalid addresses and routes in IP context
utils/checks/checkclose
Package checkclose - provides networkservice chain elements to check the Close received from the previous element in the chain
Package checkclose - provides networkservice chain elements to check the Close received from the previous element in the chain
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
utils/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
utils/checks/checkcontextonreturn
Package checkcontextonreturn - provides a NetworkServiceClient chain element for checking the state of the context.Context
Package checkcontextonreturn - provides a NetworkServiceClient chain element for checking the state of the context.Context
utils/checks/checkerror
Package checkerror provides chain elements to check for errors during testing
Package checkerror provides chain elements to check for errors during testing
utils/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
utils/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
utils/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
utils/count
Package count provides test chain elements for counting Requests/Closes
Package count provides test chain elements for counting Requests/Closes
utils/inject/injectclock
Package injectclock can be used in testing to inject a mockClock into the context of the chain
Package injectclock can be used in testing to inject a mockClock into the context of the chain
utils/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
utils/inject/injectexcludedprefixes
Package injectexcludedprefixes provides a chain element injecting specified excluded prefixes on Request into IP context
Package injectexcludedprefixes provides a chain element injecting specified excluded prefixes on Request into IP context
utils/inject/injectipcontext
Package injectipcontext provides a chain element injecting specified IPContext on Request
Package injectipcontext provides a chain element injecting specified IPContext on Request
utils/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...
utils/metadata
Package metadata provides per Connection.Id metadata
Package metadata provides per Connection.Id metadata
Package registry provides a simple wrapper for building a Registry
Package registry provides a simple wrapper for building a Registry
chains/client
Package client provides common functions for building NS, NSE registry clients
Package client provides common functions for building NS, NSE registry clients
chains/memory
Package memory provides registry chain based on memory chain elements
Package memory provides registry chain based on memory chain elements
chains/proxydns
Package proxydns provides default chain for stateless proxy registries based on DNS
Package proxydns provides default chain for stateless proxy registries based on DNS
common/authorize
Package authorize provides authz checks for incoming or returning connections.
Package authorize provides authz checks for incoming or returning connections.
common/begin
Package begin provides a chain element that can be put at the beginning of the chain, after Connection.Id has been set but before any chain elements that would mutate the Connection on the return path.
Package begin provides a chain element that can be put at the beginning of the chain, after Connection.Id has been set but before any chain elements that would mutate the Connection on the return path.
common/clientconn
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
common/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
common/clienturl
Package clienturl provides NS, NSE registry server chain elements that set client URL in context
Package clienturl provides NS, NSE registry server chain elements that set client URL in context
common/clusterinfo
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.
common/connect
Package connect provides chain elements to 'connect' clients
Package connect provides chain elements to 'connect' clients
common/dial
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(...)
common/dnsresolve
Package dnsresolve provides registry chain elements that can resolve passed Domain to URL
Package dnsresolve provides registry chain elements that can resolve passed Domain to URL
common/endpointurls
Package endpointurls provides registry.NetworkServiceEndpointRegistryServer that can be injected in the chain of registry.NetworkServiceEndpointRegistryServer to get an actual nses of registry.NetworkServiceEndpoint URLs.
Package endpointurls provides registry.NetworkServiceEndpointRegistryServer that can be injected in the chain of registry.NetworkServiceEndpointRegistryServer to get an actual nses of registry.NetworkServiceEndpoint URLs.
common/expire
Package expire provides registry server chain elements for unregistering expired endpoints, services
Package expire provides registry server chain elements for unregistering expired endpoints, services
common/grpcmetadata
Package grpcmetadata provides chain elements that transfer grpc metadata between server and client.
Package grpcmetadata provides chain elements that transfer grpc metadata between server and client.
common/heal
Package heal provides NS, NSE registry client chain elements for healing failed remote side
Package heal provides NS, NSE registry client chain elements for healing failed remote side
common/interdomainbypass
Package interdomainbypass provides registry chain element that sets to outgoing NSE the public nsmgr-proxy and stores into the shared map the public nsmgr URL from the incoming endpoint.
Package interdomainbypass provides registry chain element that sets to outgoing NSE the public nsmgr-proxy and stores into the shared map the public nsmgr URL from the incoming endpoint.
common/localbypass
Package localbypass implements a chain element to set NSMgr URL to endpoints on registration and set back endpoints URLs on find
Package localbypass implements a chain element to set NSMgr URL to endpoints on registration and set back endpoints URLs on find
common/memory
Package memory provides NSM registry chain elements to building memory-based registries
Package memory provides NSM registry chain elements to building memory-based registries
common/null
Package null provides simple registry chain elements that do nothing by call next and returns what comes back.
Package null provides simple registry chain elements that do nothing by call next and returns what comes back.
common/querycache
Package querycache adds possible to cache Find queries
Package querycache adds possible to cache Find queries
common/recvfd
Package recvfd provides an NSE registry server chain element that:
Package recvfd provides an NSE registry server chain element that:
common/refresh
Package refresh provides registry elements for refreshing resources
Package refresh provides registry elements for refreshing resources
common/retry
Package retry provides a chain element allowing to retry registration/search/de-registration
Package retry provides a chain element allowing to retry registration/search/de-registration
common/sendfd
Package sendfd provides a registry.NetworkServiceEndpointRegistryClient chain element to convert any unix file socket endpoint.URLs into 'inode://${dev}/${ino}' urls and send the fd over the unix file socket.
Package sendfd provides a registry.NetworkServiceEndpointRegistryClient chain element to convert any unix file socket endpoint.URLs into 'inode://${dev}/${ino}' urls and send the fd over the unix file socket.
common/setpayload
Package setpayload provides registry elements for setting ns.payload default
Package setpayload provides registry elements for setting ns.payload default
common/setregistrationtime
Package setregistrationtime provides registry server chain elements for initial registration time setting
Package setregistrationtime provides registry server chain elements for initial registration time setting
common/swapip
Package swapip allows to replace internal NSE address to external for register/unregister/find queries.
Package swapip allows to replace internal NSE address to external for register/unregister/find queries.
common/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
core/adapters
Package adapters provide API to converting client to server and vise versa
Package adapters provide API to converting client to server and vise versa
core/chain
Package chain provides API to make chains of registry elements
Package chain provides API to make chains of registry elements
core/next
Package next provides a mechanism for chained registry.{Registry,Discovery}{Server,Client}s to call the next element in the chain.
Package next provides a mechanism for chained registry.{Registry,Discovery}{Server,Client}s to call the next element in the chain.
core/streamchannel
Package streamchannel provides find client/servers based on channels
Package streamchannel provides find client/servers based on channels
core/streamcontext
Package streamcontext provides API to extend context for find client/server
Package streamcontext provides API to extend context for find client/server
core/trace
Package trace provides wrappers for tracing around a registry.{Registry,Discovery}{Server,Client}
Package trace provides wrappers for tracing around a registry.{Registry,Discovery}{Server,Client}
core/trace/testutil
Package testutil has few util functions for testing
Package testutil has few util functions for testing
core/trace/traceconcise
Package traceconcise provides a wrapper for concise tracing around a registry.{Registry,Discovery}{Server,Client}
Package traceconcise provides a wrapper for concise tracing around a registry.{Registry,Discovery}{Server,Client}
core/trace/traceverbose
Package traceverbose provides a wrapper for tracing around a registry.{Registry,Discovery}{Server,Client}
Package traceverbose provides a wrapper for tracing around a registry.{Registry,Discovery}{Server,Client}
switchcase
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
utils/checks/checkcontext
Package checkcontext - provides registry chain elements for checking the context.Context passed on by the previous chain element
Package checkcontext - provides registry chain elements for checking the context.Context passed on by the previous chain element
utils/checks/checknse
Package checknse - provides registry chain elements for checking the *registry.NetworkServiceEndpoint passed on by the previous chain element
Package checknse - provides registry chain elements for checking the *registry.NetworkServiceEndpoint passed on by the previous chain element
utils/count
Package count provides test registry chain elements for counting Register/Unregister/Find
Package count provides test registry chain elements for counting Register/Unregister/Find
utils/inject/injecterror
Package injecterror provides chain elements returning given error on Register, Unregister on given times
Package injecterror provides chain elements returning given error on Register, Unregister on given times
utils/inject/injectpeertoken
Package injectpeertoken provides chain elements that put peer token to gRPC metadata on Register and Unregister
Package injectpeertoken provides chain elements that put peer token to gRPC metadata on Register and Unregister
utils/metadata
Package metadata provides per nsName/nseName metadata
Package metadata provides per nsName/nseName metadata
tools
addressof
Package addressof provides convenient functions for converting implementations of an interface to pointers to implementations of the interface.
Package addressof provides convenient functions for converting implementations of an interface to pointers to implementations of the interface.
awarenessgroups
Package awarenessgroups provides awareness groups specific tools
Package awarenessgroups provides awareness groups specific tools
cancelctx
Package cancelctx provides methods for creating context with injected cancel func for it
Package cancelctx provides methods for creating context with injected cancel func for it
cidr
Package cidr provides common functions useful when working with Classless Inter-Domain Routing (CIDR)
Package cidr provides common functions useful when working with Classless Inter-Domain Routing (CIDR)
clientinfo
Package clientinfo provides a set of utilities for adding client info to labels map
Package clientinfo provides a set of utilities for adding client info to labels map
clienturlctx
Package clienturlctx allows the setting of a client url in the context of the request
Package clienturlctx allows the setting of a client url in the context of the request
clock
Package clock provides tools for accessing time functions
Package clock provides tools for accessing time functions
clockmock
Package clockmock provides tools for mocking time functions
Package clockmock provides tools for mocking time functions
debug
Package debug provides a very simple function that, if executed will replace the executable with dlv running the executable and listening on the port specified by an environment variable.
Package debug provides a very simple function that, if executed will replace the executable with dlv running the executable and listening on the port specified by an environment variable.
dnsconfig
Package dnsconfig provides tools for handeling DNS configs
Package dnsconfig provides tools for handeling DNS configs
dnsutils
Package dnsutils provides dns specific utils functions and packages
Package dnsutils provides dns specific utils functions and packages
dnsutils/adapt
Package adapt provides possible to adapt dns.Handler to dnsutils.Handler
Package adapt provides possible to adapt dns.Handler to dnsutils.Handler
dnsutils/cache
Package cache stores successful requests to DNS server
Package cache stores successful requests to DNS server
dnsutils/chain
Package chain provides a simple file for creating a dnsutils.Handler from a 'chain' of dnsutils.Handler
Package chain provides a simple file for creating a dnsutils.Handler from a 'chain' of dnsutils.Handler
dnsutils/checkmsg
Package checkmsg checks if dns message is correct
Package checkmsg checks if dns message is correct
dnsutils/connect
Package connect simply connects to the concrete endpoint
Package connect simply connects to the concrete endpoint
dnsutils/dnsconfigs
Package dnsconfigs stores DNS configs
Package dnsconfigs stores DNS configs
dnsutils/fanout
Package fanout sends incoming queries in parallel to few endpoints
Package fanout sends incoming queries in parallel to few endpoints
dnsutils/memory
Package memory provides a/aaaa memory storage
Package memory provides a/aaaa memory storage
dnsutils/next
Package next allows to dns handlers be joined into chain
Package next allows to dns handlers be joined into chain
dnsutils/noloop
Package noloop prevents loops
Package noloop prevents loops
dnsutils/norecursion
Package norecursion disables recursion for the incomming query.
Package norecursion disables recursion for the incomming query.
dnsutils/searches
Package searches makes requests to all subdomains received from DNS configs
Package searches makes requests to all subdomains received from DNS configs
dnsutils/trace
Package trace provides a wrapper for tracing around a dnsutils.Handler
Package trace provides a wrapper for tracing around a dnsutils.Handler
dualstack
Package dualstack provides tools for managing both ipv4 and ipv6 addresses
Package dualstack provides tools for managing both ipv4 and ipv6 addresses
extend
Package extend allows you to extend a context with values from another context
Package extend allows you to extend a context with values from another context
fs
Package fs provides common filesystem functions and utilities
Package fs provides common filesystem functions and utilities
grpcfdutils
Package grpcfdutils provides utilities for grpcfd library
Package grpcfdutils provides utilities for grpcfd library
grpcutils
Package grpcutils - provides a simple ListenAndServe for grpc
Package grpcutils - provides a simple ListenAndServe for grpc
interdomain
Package interdomain provides tools to work with interdomain cases
Package interdomain provides tools to work with interdomain cases
ippool
Package ippool provides service for managing ip addresses
Package ippool provides service for managing ip addresses
listenonurl
Package listenonurl providesfunctions to set public url to register NSM
Package listenonurl providesfunctions to set public url to register NSM
log
Package log provides an unified interface Logger for logging
Package log provides an unified interface Logger for logging
log/logruslogger
Package logruslogger provides wrapper for logrus logger which is consistent with Logger interface
Package logruslogger provides wrapper for logrus logger which is consistent with Logger interface
log/spanlogger
Package spanlogger provides a set of utilities to assist in working with spans
Package spanlogger provides a set of utilities to assist in working with spans
matchutils
Package matchutils provides utils to match network services and network service endpoints
Package matchutils provides utils to match network services and network service endpoints
monitorconnection/authorize
Package authorize provides authz checks for incoming or returning connections.
Package authorize provides authz checks for incoming or returning connections.
monitorconnection/next
Package next provides a mechanism for chained networkservice.MonitorConnection{Server,Client}s to call the next element in the chain.
Package next provides a mechanism for chained networkservice.MonitorConnection{Server,Client}s to call the next element in the chain.
monitorconnection/streamcontext
Package streamcontext provides API to extend context for authorize monitor connection server
Package streamcontext provides API to extend context for authorize monitor connection server
nanoid
Package nanoid is a tiny, unique string ID generator
Package nanoid is a tiny, unique string ID generator
nsurl
Package nsurl provides a wrapper for a url.URL that is being used to represent a Network Service being requested by a workload.
Package nsurl provides a wrapper for a url.URL that is being used to represent a Network Service being requested by a workload.
opa
Package opa provides of utilities for using OPA
Package opa provides of utilities for using OPA
opentelemetry
Package opentelemetry provides a set of utilities for assisting with telemetry data
Package opentelemetry provides a set of utilities for assisting with telemetry data
postpone
Package postpone is used to create a context with postponed deadline for some cleanup operations.
Package postpone is used to create a context with postponed deadline for some cleanup operations.
pprofutils
Package pprofutils provides ability to enable pprof if required
Package pprofutils provides ability to enable pprof if required
prefixpool
Package prefixpool provides service for prefix managing
Package prefixpool provides service for prefix managing
prometheus
Package prometheus provides a set of utilities for assisting with Prometheus data
Package prometheus provides a set of utilities for assisting with Prometheus data
sandbox
Package sandbox provides API for testing NSM chains such as Forwarder, NSC, NSMgrs, Registries, NSE.
Package sandbox provides API for testing NSM chains such as Forwarder, NSC, NSMgrs, Registries, NSE.
spiffejwt
Package spiffejwt provides a token.GeneratorFunc for spiffe jwt tokens signed by x509vids
Package spiffejwt provides a token.GeneratorFunc for spiffe jwt tokens signed by x509vids
spire
Package spire provides two simple functions:
Package spire provides two simple functions:
token
Package token provides a simple type for functions that generate tokens
Package token provides a simple type for functions that generate tokens
tracing
Package tracing provides a set of utilities to assist in working with opentelemetry
Package tracing provides a set of utilities to assist in working with opentelemetry
typeutils
Package typeutils provides as simpler helper for getting a type Name from an interface{}
Package typeutils provides as simpler helper for getting a type Name from an interface{}
zipkin
Package zipkin provides a set of utilities for assisting with using zipkin
Package zipkin provides a set of utilities for assisting with using zipkin

Jump to

Keyboard shortcuts

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