44 lines
2.5 KiB
Go
44 lines
2.5 KiB
Go
package main
|
|
|
|
type outputPlatformStruct 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"`
|
|
}
|
|
|
|
type outputServerStruct 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"`
|
|
JournalctlEntries []journalctlEntry `json:"journalctl_entries"`
|
|
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"`
|
|
NftRuleset nftRuleset `json:"nft_rulest"`
|
|
RootHistory []rootHistoryCommand `json:"root_history_command"`
|
|
}
|