Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MaxContainerBackOff is the max backoff period, exported for the e2e test MaxContainerBackOff = 300 * time.Second // ImageGCPeriod is the period for performing image garbage collection. ImageGCPeriod = 5 * time.Second // ContainerGCPeriod is the period for performing container garbage collection. ContainerGCPeriod = 60 * time.Second //DefaultRootDir give default directory DefaultRootDir = "/var/lib/edged" //EdgeController gives controller name EdgeController = "controller" )
View Source
const ( DefaultKubeletPluginsDirName = "plugins" DefaultKubeletVolumesDirName = "volumes" DefaultKubeletPodsDirName = "pods" )
constants for Kubelet
Variables ¶
View Source
var GPUInfoQueryTool = "/var/IEF/nvidia/bin/nvidia-smi"
GPUInfoQueryTool sets information monitoring tool location for GPU
Functions ¶
func NewInitializedVolumePluginMgr ¶
func NewInitializedVolumePluginMgr( edge *edged, plugins []volume.VolumePlugin) (*volume.VolumePluginMgr, error)
NewInitializedVolumePluginMgr returns a new instance of volume.VolumePluginMgr
func ProbeVolumePlugins ¶
func ProbeVolumePlugins(pluginDir string) []volume.VolumePlugin
ProbeVolumePlugins collects all volume plugins into an easy to use list. PluginDir specifies the directory to search for additional third party volume plugins.
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.