Documentation
¶
Index ¶
- 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 Checksums
- type File
- type Image
- type ImageVersion
- type OperatingSystem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HpcrSelectImage ¶
HpcrSelectImage - function to return the latest HPVS image
func IsCandidateImage ¶
IsCandidateImage - function to check if image JSON data belong to Hyper Protect Image
func PickLatestImage ¶
func PickLatestImage(hyperProtectImages []ImageVersion, version string) (string, string, string, string, error)
PickLatestImage - function to pick the latest Hyper Protect Image
Types ¶
type Image ¶
type Image struct {
ID string `json:"id"`
Name string `json:"name"`
Status string `json:"status"`
Visibility string `json:"visibility"`
Architecture string `json:"architecture"`
Os string `json:"os"`
File *File `json:"file,omitempty"`
Checksum string `json:"checksum"`
OSRaw interface{} `json:"operating_system"`
}
type ImageVersion ¶
type OperatingSystem ¶ added in v1.4.0
Click to show internal directories.
Click to hide internal directories.