Documentation ¶
Overview ¶
+groupName=maps
Index ¶
Constants ¶
View Source
const ( MapName = "cilium_node_map" MaxEntries = 16384 )
Variables ¶
This section is empty.
Functions ¶
func SetNodeMap ¶ added in v1.11.15
func SetNodeMap(m *Map)
SetNodeMap sets the node map. Only used for testing.
Types ¶
type Map ¶
func NewNodeMap ¶ added in v1.11.15
func (Map) IterateWithCallback ¶
func (m Map) IterateWithCallback(cb NodeIterateCallback) error
IterateWithCallback iterates through all the keys/values of a node map, passing each key/value pair to the cb callback.
type NodeIterateCallback ¶
NodeIterateCallback represents the signature of the callback function expected by the IterateWithCallback method, which in turn is used to iterate all the keys/values of a node map.
Click to show internal directories.
Click to hide internal directories.