Documentation ¶
Overview ¶
Handler for CRI-O containers.
Index ¶
Constants ¶
View Source
const CrioNamespace = "crio"
The namespace under which crio aliases are unique.
View Source
const (
CrioSocket = "/var/run/crio.sock"
)
Variables ¶
This section is empty.
Functions ¶
func ContainerNameToCrioId ¶
Returns the CRIO ID from the full container name.
Types ¶
type ContainerInfo ¶
type ContainerInfo struct { Name string `json:"name"` Pid int `json:"pid"` Image string `json:"image"` CreatedTime int64 `json:"created_time"` Labels map[string]string `json:"labels"` Annotations map[string]string `json:"annotations"` LogPath string `json:"log_path"` Root string `json:"root"` IP string `json:"ip_address"` }
ContainerInfo represents a given container information
Click to show internal directories.
Click to hide internal directories.