Documentation
¶
Index ¶
Constants ¶
View Source
const ( Configure = "Configure" Synchronize = "Synchronize" RunPodSandbox = "RunPodSandbox" StopPodSandbox = "StopPodSandbox" RemovePodSandbox = "RemovePodSandbox" CreateContainer = "CreateContainer" StartContainer = "StartContainer" UpdateContainer = "UpdateContainer" StopContainer = "StopContainer" RemoveContainer = "RemoveContainer" UpdateContainers = "UpdateContainers" )
View Source
const ( SpanTagRuntimeName = "runtime.name" SpanTagRuntimeVersion = "runtime.version" SpanTagNamespace = "pod.namespace" SpanTagPodID = "pod.id" SpanTagPodUID = "pod.uid" SpanTagPodName = "pod.name" SpanTagCtrID = "container.id" SpanTagCtrName = "container.name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.3.0
type Config = cfgapi.CommonConfig
type ResourceManager ¶
type ResourceManager interface {
// Start starts the resource manager.
Start() error
// Stop stops the resource manager.
Stop()
// SendEvent sends an event to be processed by the resource manager.
SendEvent(event interface{}) error
}
ResourceManager is the interface we expose for controlling the CRI resource manager.
func NewResourceManager ¶
NewResourceManager creates a new ResourceManager instance.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cpuclass is the resource-manager-wide CPU class handler.
|
Package cpuclass is the resource-manager-wide CPU class handler. |
|
internal/cpufreq
Package cpufreq owns the cpufreq-side CPU-class lifecycle: resolution of symbolic frequencies (min/base/turbo), turbo-priority winner selection per turbo domain, and the per-CPU sysfs writes that follow.
|
Package cpufreq owns the cpufreq-side CPU-class lifecycle: resolution of symbolic frequencies (min/base/turbo), turbo-priority winner selection per turbo domain, and the per-CPU sysfs writes that follow. |
|
internal/cpuidle
Package cpuidle is the C-state writer used by the cpuclass handler.
|
Package cpuidle is the C-state writer used by the cpuclass handler. |
|
internal/types
Package types defines the internal class-definition struct used by the cpuclass writers (cpufreq, cpuidle, uncorefreq).
|
Package types defines the internal class-definition struct used by the cpuclass writers (cpufreq, cpuidle, uncorefreq). |
|
internal/uncorefreq
Package uncorefreq is the per-die uncore frequency writer used by the cpuclass handler.
|
Package uncorefreq is the per-die uncore frequency writer used by the cpuclass handler. |
|
lib
|
|
|
memory
Package libmem implements a simple memory accounting and allocation scheme for resource management policy plugins.
|
Package libmem implements a simple memory accounting and allocation scheme for resource management policy plugins. |
Click to show internal directories.
Click to hide internal directories.