utils

package
v7.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const MinCriuVersionPodman = 31100

MinCriuVersion for Podman at least CRIU 3.11 is required

View Source
const PodCriuVersion = 31600

PodCriuVersion is the version of CRIU needed for checkpointing and restoring containers out of and into Pods.

Variables

This section is empty.

Functions

func CheckForCriu

func CheckForCriu(version int) error

CheckForCRIU checks if CRIU is available and if it is as least the version as specified in the "version" parameter.

func GetCriuVersion

func GetCriuVersion() (int, error)

func IsMemTrack

func IsMemTrack() bool

Convenience function to easily check if memory tracking is supported.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL