types: Introduce new field 'Checksum' for Backing Image related structs
Longhorn
@@ -512,6 +512,7 @@ const (
type BackingImageSpec struct {
Disks map[string]struct{} `json:"disks"`
+ Checksum string `json:"checksum"`
// Deprecated: This kind of info will be included in the related BackingImageDataSource.
ImageURL string `json:"imageURL"`
@@ -521,6 +522,7 @@ type BackingImageStatus struct {
OwnerID string `json:"ownerID"`
UUID string `json:"uuid"`
Size int64 `json:"size"`
+ Checksum string `json:"checksum"`
DiskFileStatusMap map[string]*BackingImageDiskFileStatus `json:"diskFileStatusMap"`
DiskLastRefAtMap map[string]string `json:"diskLastRefAtMap"`
@@ -568,6 +570,7 @@ type BackingImageFileInfo struct {
UUID string `json:"uuid"`
Size int64 `json:"size"`
State BackingImageState `json:"state"`
+ CurrentChecksum string `json:"currentChecksum"`
Message string `json:"message"`
SendingReference int `json:"sendingReference"`
SenderManagerAddress string `json:"senderManagerAddress"`
