Documentation ¶
Overview ¶
Package utils container miscellaneous utility function used by the shim.
Index ¶
Constants ¶
View Source
const ( // ContainerTypeAnnotation is they key that defines sandbox or container. ContainerTypeAnnotation = "io.kubernetes.cri.container-type" // ContainerTypeContainer is the value for container. ContainerTypeContainer = "container" )
Annotations from the CRI annotations package.
These are vendor due to import conflicts.
Variables ¶
This section is empty.
Functions ¶
func PanicLogPath ¶
PanicLogPath gets the panic log path from OCI annotation.
func UpdateVolumeAnnotations ¶
UpdateVolumeAnnotations add necessary OCI annotations for gvisor volume optimization. Returns true if the spec was modified.
func UserLogPath ¶
UserLogPath gets user log path from OCI annotation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.