Skip to content

Commit

Permalink
sync with upstream sync-status
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-cotton committed Oct 25, 2023
1 parent 42064c0 commit 7260daf
Show file tree
Hide file tree
Showing 3 changed files with 198 additions and 81 deletions.
28 changes: 18 additions & 10 deletions generate/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,21 @@
},
"type": "object"
},
"clusters.LastSync": {
"properties": {
"routegroups": {
"$ref": "#/definitions/clusters.SyncCollectionStatus"
},
"sandboxes": {
"$ref": "#/definitions/clusters.SyncCollectionStatus"
},
"time": {
"description": "The time at which the last sync occured.",
"type": "string"
}
},
"type": "object"
},
"clusters.ReadinessStats": {
"properties": {
"count": {
Expand Down Expand Up @@ -240,18 +255,11 @@
"type": "string"
},
"lastErrorTime": {
"description": "The time of the last global error of a sync",
"description": "The time of the last global error of a sync.",
"type": "string"
},
"lastSyncTime": {
"description": "The time of the last successful sync.",
"type": "string"
},
"routegroups": {
"$ref": "#/definitions/clusters.SyncCollectionStatus"
},
"sandboxes": {
"$ref": "#/definitions/clusters.SyncCollectionStatus"
"lastSync": {
"$ref": "#/definitions/clusters.LastSync"
}
},
"type": "object"
Expand Down
163 changes: 163 additions & 0 deletions models/clusters_last_sync.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

88 changes: 17 additions & 71 deletions models/clusters_sync_status.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7260daf

Please sign in to comment.