mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-05 15:34:21 +01:00
We need to do proper sandbox sizing when we're doing cold-plug introduce CDI, the de-facto standard for enabling devices in containers. containerd will pass-through annotations for accumulated CPU,Memory and now CDI devices. With that information sandbox sizing can be derived correctly. Fixes: #7331 Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
19 lines
537 B
Go
19 lines
537 B
Go
package specs
|
|
|
|
import "fmt"
|
|
|
|
const (
|
|
// VersionMajor is for an API incompatible changes
|
|
VersionMajor = 1
|
|
// VersionMinor is for functionality in a backwards-compatible manner
|
|
VersionMinor = 1
|
|
// VersionPatch is for backwards-compatible bug fixes
|
|
VersionPatch = 0
|
|
|
|
// VersionDev indicates development branch. Releases will be empty string.
|
|
VersionDev = "-rc.1"
|
|
)
|
|
|
|
// Version is the specification version that the package types support.
|
|
var Version = fmt.Sprintf("%d.%d.%d%s", VersionMajor, VersionMinor, VersionPatch, VersionDev)
|