Files
techsuppgetinfo/DCIManager6/dci6-support-reader/outputStruct.go
2026-04-04 00:09:02 +08:00

44 lines
2.7 KiB
Go

package main
type outputStruct struct {
BiosInfo biosInfo `json:"bios_info"`
OperatingSystem operatingSystem `json:"operating_system"`
InstalledPackages []installedPackage `json:"installed_packages"`
FsInformations []fsInfo `json:"fs_informations"`
LoadAverage loadAverage `json:"load_average"`
Cpus []cpu `json:"cpu"`
Ram ram `json:"ram"`
Uptime uptime `json:"uptime"`
TimeService timeService `json:"time_service"`
Firewalls firewalls `json:"firewalls"`
NetworkConfig networkConfig `json:"network_config"`
InternetRequired []internetResource `json:"internet_required"`
SecSetALSE secSetALSE `json:"security_settings_alse"`
SecSetUbuntu secSetUbuntu `json:"security_settings_ubuntu"`
SecSetAlma secSetAlma `json:"security_settings_alma"`
DockerPsA []dockerPs `json:"docker_ps_a"`
DockerStats []dockerStats `json:"docker_stats"`
DockerSupervisor []dockerSupervisor `json:"docker_supervisor"`
JournalctlEntries []journalctlEntry `json:"journalctl_entries"`
NftRuleset nftRuleset `json:"nft_rulest"`
RootHistory []rootHistoryCommand `json:"root_history_command"`
}
type platformStruct struct {
// IspSettings []ispSetting `json:"isp_settings"`
DciLocations []dciLocation `json:"dci_locations"` //+
DciLocationDockerComposes []dciLocationDockerCompose `json:"dci_location_dockercomposes"` //+
TaskManagerTask []taskManagerTask `json:"task_manager_task"` //+
HwByLocations []hwByLocation `json:"hw_by_locations"` //+
InstalledPlugin []installedPlugin `json:"installed_plugin"` //+
Users users `json:"users"` //+
Ldaps []ldap `json:"ldaps"` //+
Repos []repo `json:"repos"` //+
OsTemplates []osTemplate `json:"os_template"` //+
RealIP realIP `json:"real_ip"` //+
BackupTasks []backupTask `json:"backup_tasks"` //+
CopiedFiles copiedFiles `json:"copied_files"` //+
License license `json:"license"`
// ShowProcesslist []processlist `json:"show_processlist"`
}