cilium: github.com/cilium/cilium/pkg

Directories

PathSynopsis
aligncheckerPackage alignchecker provides routines to check Go and C struct alignments
allocatorPackage allocator provides a kvstore based ID allocator
annotation
apiPackage api provides the Cilium useful helpers for the external API
aws/ec2
aws/ec2/mock
aws/eniPackage eni implements AWS ENI allocation logic
aws/eni/metrics
aws/eni/metrics/mock
aws/metadata
aws/types
backoff
bpfPackage bpf provides functions that allow golang programs to interact with bpf maps.
bpf/binaryPackage binary is a fork of the upstream golang library.
byteorderPackage byteorder provides functions to convert from and to network byte order.
cgroups
checker
cidr
cleanup
client
clustermesh
color
command
command/execPackage exec provides useful wrappers around the standard "exec" library.
comparator
completionPackage completion implements a variant of sync.WaitGroup that is associated with a context.Context.
components
controllerPackage controller provide a simple pattern for async operations that require retries and/or regular intervals.
counterPackage counter provides generic reference counter objects
crypto/sha1Package sha1 provides resumable sha1 hashes based on the standard go library.
datapathPackage datapath defines the interfaces to abstract all platform specific datapath components.
datapath/aligncheckerPackage alignchecker is a thin wrapper around pkg/alignchecker to validate datapath object alignment.
datapath/fakePackage fake is a fake datapath implementation.
datapath/ipcachePackage ipcache provides a BPF datapath implementation of the IPCache store.
datapath/iptablesPackage iptables manages iptables-related configuration for Cilium.
datapath/linkPackage link provides the Cilium specific abstraction and useful helpers to manage network interfaces
datapath/linuxPackage linux implements the Linux specific datapath implementation
datapath/linux/config
datapath/linux/ipsecPackage ipsec provides the Linux datpaath specific abstraction and useful helpers to manage IPSec via Linux xfrm.
datapath/linux/linux_defaultsPackage linux_defaults provides the Linux datapath defaults
datapath/linux/routePackage route provides the Cilium specific abstraction and useful helpers to manage network routes
datapath/loaderPackage loader provides accessors to compilation and BPF load routines necessary for creating datapath objects and attaching them to links.
datapath/loader/metrics
datapath/mapsPackage maps performs various lifecycle operations related to maps in the datapath.
datapath/prefilterPackage prefilter provides a means of configuring XDP pre-filters for DDoS-mitigation.
debug
defaults
elfPackage elf provides utility functions for manipulating ELF files on the filesystem.
endpoint
endpoint/connectorPackage connector is responsible for the datapath specific plumbing to connect an endpoint to the network
endpoint/id
endpointmanagerPackage endpointmanager manages the list of all local endpoints
endpoint/regeneration
envoy
envoy/xdsPackage xds is an implementation of Envoy's xDS (Discovery Service) protocol.
eventqueuePackage eventqueue implements a queue-based system for event processing in a generic fashion in a first-in, first-out manner.
flowdebug
fqdnPackage fqdn handles DNS based policy enforcment.
fqdn/dnsproxy
fqdn/matchpattern
fqdn/regexpmap
health/client
health/defaults
health/probe
health/probe/responder
health/server
identityPackage identity contains code for managing security identities in Cilium.
identity/cache
identity/identitymanagerPackage identitymanager tracks which global identities are being used by the currently running cilium-agent
idpool
ipPackage ip is a library for performing manipulations on IPv4 and IPv6 addresses and CIDR prefixes.
ipamPackage ipam handles address allocation management
ipcachePackage ipcache provides a local cache of the mapping of IPs of endpoints managed by Cilium to their corresponding security identities.
k8sPackage k8s abstracts all Kubernetes specific behaviour
k8s/apis/cilium.io
k8s/apis/cilium.io/utils
k8s/apis/cilium.io/v2Package v2 is the v2 version of the API.
k8s/client/clientset/versionedThis package has the automatically generated clientset.
k8s/client/clientset/versioned/fakeThis package has the automatically generated fake clientset.
k8s/client/clientset/versioned/schemeThis package contains the scheme of the automatically generated clientset.
k8s/client/clientset/versioned/typed/cilium.io/v2This package has the automatically generated typed clients.
k8s/client/clientset/versioned/typed/cilium.io/v2/fakePackage fake has the automatically generated clients.
k8s/client/informers/externalversions
k8s/client/informers/externalversions/cilium.io
k8s/client/informers/externalversions/cilium.io/v2
k8s/client/informers/externalversions/internalinterfaces
k8s/client/listers/cilium.io/v2
k8s/endpointsynchronizer
k8s/identitybackend
k8s/informer
k8s/metrics
k8s/typesPackage types contains slimmer versions of k8s types.
k8s/utils
k8s/versionPackage version keeps track of the Kubernetes version the client is connected to
kafkaPackage kafka provides a library to parse Kafka requests and responses and apply policy rules
kvstorePackage kvstore abstracts KVstore access and provides a high level API to atomically manage cluster wide resources
kvstore/allocatorPackage allocator provides a kvstore based ID allocator
kvstore/storePackage store implements a shared store backed by a kvstore or similar with the following properties:
labelsPackage api defines the API of the Cilium network policy interface
labels/cidrPackage cidr provides helper methods for generating labels for CIDRs which are partially derived from node state.
labels/model
launcher
loadbalancer
loadinfoPackage loadinfo provides the ability to log system load information either at a particular time or periodically in the background
lock
logging
logging/logfieldsPackage logfields defines common logging fields which are used across packages
mac
maps/cidrmap
maps/configmapPackage configmap represents the endpoint's configuration.
maps/ctmap
maps/ctmap/gc
maps/encryptPackage encrypt represents the nodes current encryption state.
maps/eppolicymapPackage eppolicymap represents the map from an endpoint ID to its policy map.
maps/ipcache
maps/lbmap
maps/lxcmapPackage lxcmap represents the endpoints BPF map in the BPF programs.
maps/metricsmapPackage metricsmap represents the BPF metrics map in the BPF programs.
maps/natPackage nat implements the BPF NAT map interaction code.
maps/policymap
maps/sockmapPackage Sockmap represents the map from 5-tuple to the socket.
maps/tunnel
math
metricsPackage metrics holds prometheus metrics objects and related utility functions.
modulesPackage modules contains a manager of loaded modules which supports search operation.
monitor
monitor/agent
monitor/agent/listener
monitor/api
monitor/formatPackage format provides stdout formatting of monitor messages for reuse by command-line clients of the monitor event channel.
monitor/notifications
monitor/payload
mountinfo
mtuPackage mtu is a library for tracking and configuring MTU for devices and routes.
netnsPackage netns contains various utility functions to work with network namespaces
nodePackage node provides functionality related to the local and remote node addresses
node/addressing
nodediscovery
node/manager
node/store
option
pidfile
policy
policy/apiPackage api defines the API of the Cilium network policy interface +groupName=policy
policy/groups
policy/groups/aws
policy/trace
policy/trafficdirectionpackage trafficdirection specifies the directionality of policy in a numeric representation.
pprofPackage pprof enables use of pprof in Cilium
proxy
proxy/accesslog
proxy/loggerPackage logger provides the accesslog logging logic for all proxies
revert
safetimePackage safetime contains a wrapper function for time.Since to deal with negative durations.
serializer
service
setPackage set contains a function for performing a subset check for slices.
sockops
source
spanstatPackage spanstat provides a mechanism to measure duration of multiple spans and add them up to a total duration
status
sysctlPackage sysctl allows to change kernel parameters at runtime.
testutils
triggerPackage trigger provides a mechanism to trigger actions that require to be serialized while providing a non-blocking notification mechanism
tuplePackage tuple defines keys used for connection tuples in multiple BPF maps.
u8proto
uuid
version
versioncheckPackage versioncheck provides utility wrappers for go-version, allowing the constraints to be used as global variables.
workloads

Updated 2019-09-22. Refresh now. Tools for package owners.