Documentation ¶
Overview ¶
Package config defines the constants that are used by multiple other packages within FSM.
Index ¶
Constants ¶
View Source
const ( // CNISock defines the sock file CNISock = "/var/run/fsm-cni.sock" // CNICreatePodURL is the route for cni plugin for creating pod CNICreatePodURL = "/v1/cni/create-pod" // CNIDeletePodURL is the route for cni plugin for deleting pod CNIDeletePodURL = "/v1/cni/delete-pod" // FsmPodFibEbpfMap is the mount point of fsm_pod_fib map FsmPodFibEbpfMap = "/sys/fs/bpf/fsm_pod_fib" // FsmNatFibEbpfMap is the mount point of fsm_nat_fib map FsmNatFibEbpfMap = "/sys/fs/bpf/fsm_nat_fib" )
Variables ¶
View Source
var ( // KernelTracing indicates debug feature of/off KernelTracing = false // EnableCNI indicates CNI feature enable/disable EnableCNI = false // IsKind indicates Kubernetes running in Docker IsKind = false // HostProc defines HostProc volume HostProc string // CNIBinDir defines CNIBIN volume CNIBinDir string // CNIConfigDir defines CNIConfig volume CNIConfigDir string // HostVarRun defines HostVar volume HostVarRun string )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.