feat(remote): 显示控制中心和实例版本
This commit is contained in:
@@ -112,10 +112,12 @@ type ServerEvent struct {
|
||||
|
||||
// DashboardState is the polling payload consumed by the remote web console.
|
||||
type DashboardState struct {
|
||||
ServerTime time.Time `json:"serverTime"`
|
||||
Instances []InstanceState `json:"instances"`
|
||||
Runs []RunRecord `json:"runs"`
|
||||
Commands []CommandAudit `json:"commands"`
|
||||
ServerTime time.Time `json:"serverTime"`
|
||||
ControlVersion string `json:"controlVersion,omitempty"`
|
||||
ControlBuildTime string `json:"controlBuildTime,omitempty"`
|
||||
Instances []InstanceState `json:"instances"`
|
||||
Runs []RunRecord `json:"runs"`
|
||||
Commands []CommandAudit `json:"commands"`
|
||||
}
|
||||
|
||||
// CommandAudit records one command and its delivery/execution state.
|
||||
|
||||
Reference in New Issue
Block a user