config

package
v1.4.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL