feat: Updates-Tab, Aufgaben-Tab ProxmoxPanel, security_only Tasks, 3x Netzwerk-Charts, Updates-Spalte Übersicht, dist-upgrade, DeleteAgent cascades metrics
This commit is contained in:
@@ -157,16 +157,27 @@ type PluginInfo struct {
|
||||
}
|
||||
|
||||
type UpdateInfo struct {
|
||||
UpdateAvailable bool `json:"update_available"`
|
||||
PendingCount int `json:"pending_count"`
|
||||
UpdateAvailable bool `json:"update_available"`
|
||||
PendingCount int `json:"pending_count"`
|
||||
SecurityCount int `json:"security_count,omitempty"`
|
||||
Updates []PendingUpdateInfo `json:"updates"`
|
||||
OPNsenseUpdate string `json:"opnsense_update,omitempty"`
|
||||
OPNsenseUpdate string `json:"opnsense_update,omitempty"`
|
||||
}
|
||||
|
||||
type PendingUpdateInfo struct {
|
||||
Package string `json:"package"`
|
||||
Arch string `json:"arch,omitempty"`
|
||||
CurrentVer string `json:"current_version"`
|
||||
NewVer string `json:"new_version"`
|
||||
Repository string `json:"repository,omitempty"`
|
||||
Security bool `json:"security,omitempty"`
|
||||
}
|
||||
|
||||
type UpdateInfoFull struct {
|
||||
UpdateAvailable bool `json:"update_available"`
|
||||
PendingCount int `json:"pending_count"`
|
||||
SecurityCount int `json:"security_count,omitempty"`
|
||||
Updates []PendingUpdateInfo `json:"updates"`
|
||||
}
|
||||
|
||||
type CronJob struct {
|
||||
|
||||
@@ -20,6 +20,7 @@ type Task struct {
|
||||
Reboot bool `json:"reboot"`
|
||||
HealthCheck bool `json:"health_check"`
|
||||
HealthCheckTimeout int `json:"health_check_timeout"`
|
||||
SecurityOnly bool `json:"security_only,omitempty"`
|
||||
WebhookURL string `json:"webhook_url,omitempty"`
|
||||
WebhookSent bool `json:"webhook_sent"`
|
||||
WebhookResponse string `json:"webhook_response,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user