Documentation ¶
Index ¶
Constants ¶
View Source
const ( APIV1 = "/v1" HTTPQueryVersionKey = "etcdVersion" HTTPQueryRevisionKey = "etcdRevision" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BackupStatus ¶
type BackupStatus struct { // Creation time of the backup. CreationTime string `json:"creationTime"` // Size is the size of the backup in MB. Size float64 `json:"size"` // Revision is the revision of the backup. Revision int64 `json:"revision"` // Version is the version of the backup cluster. Version string `json:"version"` // TimeTookInSecond is the total time took to create the backup. TimeTookInSecond int `json:"timeTookInSecond"` }
type ServiceStatus ¶
type ServiceStatus struct { // RecentBackup is status of the most recent backup created by // the backup service RecentBackup *BackupStatus `json:"recentBackup,omitempty"` // Backups is the totoal number of existing backups. Backups int `json:"backups"` // BackupSize is the total size of existing backups in MB. BackupSize float64 `json:"backupSize"` }
Click to show internal directories.
Click to hide internal directories.