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 ¶
Click to show internal directories.
Click to hide internal directories.