
The highest tagged major version is
v2.
package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Apr 23, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
-
func HpcrSelectImage(imageJsonData, versionSpec string) (string, string, string, string, error)
-
func IsCandidateImage(img Image) bool
-
func PickLatestImage(hyperProtectImages []ImageVersion, version string) (string, string, string, string, error)
-
type Image
-
type ImageVersion
HpcrSelectImage - function to return the latest HPVS image
IsCandidateImage - function to check if image JSON data belong to Hyper Protect Image
PickLatestImage - function to pick the latest Hyper Protect Image
type Image struct {
Architecture string `json:"architecture"`
ID string `json:"id"`
Name string `json:"name"`
OS string `json:"os"`
Status string `json:"status"`
Visibility string `json:"visibility"`
Checksum string `json:"checksum"`
}
type ImageVersion struct {
ID string
Checksum string
Name string
Version *semver.Version
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.