cluster history api endpoint

This commit is contained in:
Murat Kabilov
2017-09-26 14:30:45 +02:00
parent 19de2a24b7
commit 9a66e09b88
7 changed files with 79 additions and 31 deletions
+7
View File
@@ -101,6 +101,13 @@ type ClusterStatus struct {
Error error
}
// Diff describes diff
type Diff struct {
EventTime time.Time
ProcessTime time.Time
Diff []string
}
// ControllerStatus describes status of the controller
type ControllerStatus struct {
LastSyncTime int64