Documentation
¶
Overview ¶
Package cni lists the networks a node's CNI conf dir declares.
Index ¶
Constants ¶
View Source
const ( // ConfDir is where the CNI plugins read their configuration. ConfDir = "/etc/cni/net.d" // ListScript prints every conf under the dir given as $1, in the shape Parse reads. ListScript = `cat "$1"/*.conflist "$1"/*.conf 2>/dev/null || true` )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.