|
@@ -33,3 +33,31 @@ type FileStatus struct {
|
|
|
Errors []string `json:"errors,omitempty"`
|
|
Errors []string `json:"errors,omitempty"`
|
|
|
Warnings []string `json:"warnings,omitempty"`
|
|
Warnings []string `json:"warnings,omitempty"`
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+// CloudStatus describes CloudStore metadata
|
|
|
|
|
+type CloudStatus struct {
|
|
|
|
|
+ CloudAssets *CloudAssetStatus `json:"cloudAssets,omitempty`
|
|
|
|
|
+ Reconciliation *ReconciliationStatus `json:"reconciliation,omitempty"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// CloudAssetStatus describes CloudAsset metadata of a CloudStore
|
|
|
|
|
+type CloudAssetStatus struct {
|
|
|
|
|
+ Coverage Window `json:"coverage"`
|
|
|
|
|
+ LastRun time.Time `json:"lastRun"`
|
|
|
|
|
+ NextRun time.Time `json:"NextRun"`
|
|
|
|
|
+ Progress float64 `json:"progress"`
|
|
|
|
|
+ RefreshRate string `json:"refreshRate"`
|
|
|
|
|
+ Resolution string `json:"resolution"`
|
|
|
|
|
+ StartTime time.Time `json:"startTime"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// ReconciliationStatus describes Reconcilation metadata of a CloudStore
|
|
|
|
|
+type ReconciliationStatus struct {
|
|
|
|
|
+ Coverage Window `json:"coverage"`
|
|
|
|
|
+ LastRun time.Time `json:"lastRun"`
|
|
|
|
|
+ NextRun time.Time `json:"NextRun"`
|
|
|
|
|
+ Progress float64 `json:"progress"`
|
|
|
|
|
+ RefreshRate string `json:"refreshRate"`
|
|
|
|
|
+ Resolution string `json:"resolution"`
|
|
|
|
|
+ StartTime time.Time `json:"startTime"`
|
|
|
|
|
+}
|