Documentation ¶
Overview ¶
Package config stores runtime configuration state for the Cilium datapath. +groupName=maps
Index ¶
Constants ¶
View Source
const ( // MapName name of map used to pin map for datapath MapName = "cilium_runtime_config" // MaxEntries represents the maximum number of config entries. // Initially defined as 256, so that downgrade from a future version having more than one // entry works without necessarily resizing the map. Entries not known by the datapath // version are simply ignored. MaxEntries = 256 )
Variables ¶
View Source
var Cell = cell.Module( "config-map", "eBPF map config contains runtime configuration state for the Cilium datapath", cell.Provide(newMap), )
Cell initializes and manages the config map.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index uint32
Index is the index to the runtime config array.
All supported indices in one place. Must be in sync with RUNTIME_CONFIG_ enum in bpf/lib/common.h
Click to show internal directories.
Click to hide internal directories.