SYMBOL INDEX (7280 symbols across 692 files) FILE: agent/app/api/v2/agents.go method CreateAgent (line 17) | func (b *BaseApi) CreateAgent(c *gin.Context) { method PageAgents (line 38) | func (b *BaseApi) PageAgents(c *gin.Context) { method DeleteAgent (line 62) | func (b *BaseApi) DeleteAgent(c *gin.Context) { method ResetAgentToken (line 82) | func (b *BaseApi) ResetAgentToken(c *gin.Context) { method UpdateAgentModelConfig (line 102) | func (b *BaseApi) UpdateAgentModelConfig(c *gin.Context) { method GetAgentProviders (line 120) | func (b *BaseApi) GetAgentProviders(c *gin.Context) { method CreateAgentAccount (line 137) | func (b *BaseApi) CreateAgentAccount(c *gin.Context) { method UpdateAgentAccount (line 157) | func (b *BaseApi) UpdateAgentAccount(c *gin.Context) { method PageAgentAccounts (line 177) | func (b *BaseApi) PageAgentAccounts(c *gin.Context) { method GetAgentAccountModels (line 201) | func (b *BaseApi) GetAgentAccountModels(c *gin.Context) { method CreateAgentAccountModel (line 222) | func (b *BaseApi) CreateAgentAccountModel(c *gin.Context) { method UpdateAgentAccountModel (line 242) | func (b *BaseApi) UpdateAgentAccountModel(c *gin.Context) { method DeleteAgentAccountModel (line 262) | func (b *BaseApi) DeleteAgentAccountModel(c *gin.Context) { method VerifyAgentAccount (line 282) | func (b *BaseApi) VerifyAgentAccount(c *gin.Context) { method DeleteAgentAccount (line 302) | func (b *BaseApi) DeleteAgentAccount(c *gin.Context) { method GetAgentFeishuConfig (line 322) | func (b *BaseApi) GetAgentFeishuConfig(c *gin.Context) { method UpdateAgentFeishuConfig (line 343) | func (b *BaseApi) UpdateAgentFeishuConfig(c *gin.Context) { method GetAgentTelegramConfig (line 363) | func (b *BaseApi) GetAgentTelegramConfig(c *gin.Context) { method UpdateAgentTelegramConfig (line 384) | func (b *BaseApi) UpdateAgentTelegramConfig(c *gin.Context) { method GetAgentDiscordConfig (line 404) | func (b *BaseApi) GetAgentDiscordConfig(c *gin.Context) { method UpdateAgentDiscordConfig (line 425) | func (b *BaseApi) UpdateAgentDiscordConfig(c *gin.Context) { method GetAgentWecomConfig (line 445) | func (b *BaseApi) GetAgentWecomConfig(c *gin.Context) { method UpdateAgentWecomConfig (line 466) | func (b *BaseApi) UpdateAgentWecomConfig(c *gin.Context) { method GetAgentDingTalkConfig (line 486) | func (b *BaseApi) GetAgentDingTalkConfig(c *gin.Context) { method UpdateAgentDingTalkConfig (line 507) | func (b *BaseApi) UpdateAgentDingTalkConfig(c *gin.Context) { method GetAgentQQBotConfig (line 527) | func (b *BaseApi) GetAgentQQBotConfig(c *gin.Context) { method UpdateAgentQQBotConfig (line 548) | func (b *BaseApi) UpdateAgentQQBotConfig(c *gin.Context) { method InstallAgentPlugin (line 568) | func (b *BaseApi) InstallAgentPlugin(c *gin.Context) { method CheckAgentPlugin (line 588) | func (b *BaseApi) CheckAgentPlugin(c *gin.Context) { method GetAgentSecurityConfig (line 609) | func (b *BaseApi) GetAgentSecurityConfig(c *gin.Context) { method UpdateAgentSecurityConfig (line 630) | func (b *BaseApi) UpdateAgentSecurityConfig(c *gin.Context) { method GetAgentOtherConfig (line 650) | func (b *BaseApi) GetAgentOtherConfig(c *gin.Context) { method UpdateAgentOtherConfig (line 671) | func (b *BaseApi) UpdateAgentOtherConfig(c *gin.Context) { method ApproveAgentChannelPairing (line 691) | func (b *BaseApi) ApproveAgentChannelPairing(c *gin.Context) { FILE: agent/app/api/v2/ai.go method CreateOllamaModel (line 21) | func (b *BaseApi) CreateOllamaModel(c *gin.Context) { method RecreateOllamaModel (line 43) | func (b *BaseApi) RecreateOllamaModel(c *gin.Context) { method CloseOllamaModel (line 65) | func (b *BaseApi) CloseOllamaModel(c *gin.Context) { method SyncOllamaModel (line 85) | func (b *BaseApi) SyncOllamaModel(c *gin.Context) { method SearchOllamaModel (line 102) | func (b *BaseApi) SearchOllamaModel(c *gin.Context) { method LoadOllamaModelDetail (line 128) | func (b *BaseApi) LoadOllamaModelDetail(c *gin.Context) { method DeleteOllamaModel (line 152) | func (b *BaseApi) DeleteOllamaModel(c *gin.Context) { method LoadGpuInfo (line 173) | func (b *BaseApi) LoadGpuInfo(c *gin.Context) { method BindDomain (line 205) | func (b *BaseApi) BindDomain(c *gin.Context) { method GetBindDomain (line 225) | func (b *BaseApi) GetBindDomain(c *gin.Context) { method UpdateBindDomain (line 246) | func (b *BaseApi) UpdateBindDomain(c *gin.Context) { FILE: agent/app/api/v2/alert.go method PageAlert (line 10) | func (b *BaseApi) PageAlert(c *gin.Context) { method GetAlerts (line 26) | func (b *BaseApi) GetAlerts(c *gin.Context) { method CreateAlert (line 35) | func (b *BaseApi) CreateAlert(c *gin.Context) { method DeleteAlert (line 48) | func (b *BaseApi) DeleteAlert(c *gin.Context) { method UpdateAlert (line 61) | func (b *BaseApi) UpdateAlert(c *gin.Context) { method GetAlert (line 73) | func (b *BaseApi) GetAlert(c *gin.Context) { method UpdateAlertStatus (line 87) | func (b *BaseApi) UpdateAlertStatus(c *gin.Context) { method GetDisks (line 100) | func (b *BaseApi) GetDisks(c *gin.Context) { method PageAlertLogs (line 109) | func (b *BaseApi) PageAlertLogs(c *gin.Context) { method CleanAlertLogs (line 125) | func (b *BaseApi) CleanAlertLogs(c *gin.Context) { method GetClams (line 133) | func (b *BaseApi) GetClams(c *gin.Context) { method GetCronJobs (line 142) | func (b *BaseApi) GetCronJobs(c *gin.Context) { method GetAlertConfig (line 155) | func (b *BaseApi) GetAlertConfig(c *gin.Context) { method UpdateAlertConfig (line 164) | func (b *BaseApi) UpdateAlertConfig(c *gin.Context) { method DeleteAlertConfig (line 176) | func (b *BaseApi) DeleteAlertConfig(c *gin.Context) { method TestAlertConfig (line 189) | func (b *BaseApi) TestAlertConfig(c *gin.Context) { FILE: agent/app/api/v2/app.go method SearchApp (line 22) | func (b *BaseApi) SearchApp(c *gin.Context) { method SyncApp (line 42) | func (b *BaseApi) SyncApp(c *gin.Context) { method SyncLocalApp (line 74) | func (b *BaseApi) SyncLocalApp(c *gin.Context) { method GetApp (line 91) | func (b *BaseApi) GetApp(c *gin.Context) { method GetAppDetail (line 115) | func (b *BaseApi) GetAppDetail(c *gin.Context) { method GetAppDetailByID (line 139) | func (b *BaseApi) GetAppDetailByID(c *gin.Context) { method InstallApp (line 162) | func (b *BaseApi) InstallApp(c *gin.Context) { method GetAppTags (line 175) | func (b *BaseApi) GetAppTags(c *gin.Context) { method GetAppListUpdate (line 190) | func (b *BaseApi) GetAppListUpdate(c *gin.Context) { method GetAppIcon (line 207) | func (b *BaseApi) GetAppIcon(c *gin.Context) { method GetAppDetailForNode (line 246) | func (b *BaseApi) GetAppDetailForNode(c *gin.Context) { FILE: agent/app/api/v2/app_ignore_upgrade.go method ListAppIgnored (line 16) | func (b *BaseApi) ListAppIgnored(c *gin.Context) { method IgnoreAppUpgrade (line 34) | func (b *BaseApi) IgnoreAppUpgrade(c *gin.Context) { method CancelIgnoreAppUpgrade (line 56) | func (b *BaseApi) CancelIgnoreAppUpgrade(c *gin.Context) { FILE: agent/app/api/v2/app_install.go method SearchAppInstalled (line 19) | func (b *BaseApi) SearchAppInstalled(c *gin.Context) { method ListAppInstalled (line 54) | func (b *BaseApi) ListAppInstalled(c *gin.Context) { method CheckAppInstalled (line 71) | func (b *BaseApi) CheckAppInstalled(c *gin.Context) { method LoadPort (line 92) | func (b *BaseApi) LoadPort(c *gin.Context) { method LoadConnInfo (line 113) | func (b *BaseApi) LoadConnInfo(c *gin.Context) { method DeleteCheck (line 134) | func (b *BaseApi) DeleteCheck(c *gin.Context) { method SyncInstalled (line 156) | func (b *BaseApi) SyncInstalled(c *gin.Context) { method OperateInstalled (line 173) | func (b *BaseApi) OperateInstalled(c *gin.Context) { method GetServices (line 193) | func (b *BaseApi) GetServices(c *gin.Context) { method GetUpdateVersions (line 211) | func (b *BaseApi) GetUpdateVersions(c *gin.Context) { method ChangeAppPort (line 233) | func (b *BaseApi) ChangeAppPort(c *gin.Context) { method GetDefaultConfig (line 253) | func (b *BaseApi) GetDefaultConfig(c *gin.Context) { method GetParams (line 275) | func (b *BaseApi) GetParams(c *gin.Context) { method UpdateInstalled (line 298) | func (b *BaseApi) UpdateInstalled(c *gin.Context) { method UpdateAppConfig (line 319) | func (b *BaseApi) UpdateAppConfig(c *gin.Context) { method GetAppInstallInfo (line 339) | func (b *BaseApi) GetAppInstallInfo(c *gin.Context) { method UpdateAppInstallSort (line 353) | func (b *BaseApi) UpdateAppInstallSort(c *gin.Context) { FILE: agent/app/api/v2/backup.go method CheckBackupUsed (line 13) | func (b *BaseApi) CheckBackupUsed(c *gin.Context) { method CheckBackup (line 36) | func (b *BaseApi) CheckBackup(c *gin.Context) { method CreateBackup (line 54) | func (b *BaseApi) CreateBackup(c *gin.Context) { method RefreshToken (line 75) | func (b *BaseApi) RefreshToken(c *gin.Context) { method ListBuckets (line 95) | func (b *BaseApi) ListBuckets(c *gin.Context) { method DeleteBackup (line 118) | func (b *BaseApi) DeleteBackup(c *gin.Context) { method UpdateBackup (line 140) | func (b *BaseApi) UpdateBackup(c *gin.Context) { method UploadForRecover (line 162) | func (b *BaseApi) UploadForRecover(c *gin.Context) { method LoadBackupOptions (line 182) | func (b *BaseApi) LoadBackupOptions(c *gin.Context) { method SearchBackup (line 199) | func (b *BaseApi) SearchBackup(c *gin.Context) { method GetLocalDir (line 223) | func (b *BaseApi) GetLocalDir(c *gin.Context) { method LoadBackupRecordSize (line 241) | func (b *BaseApi) LoadBackupRecordSize(c *gin.Context) { method SearchBackupRecords (line 264) | func (b *BaseApi) SearchBackupRecords(c *gin.Context) { method SearchBackupRecordsByCronjob (line 290) | func (b *BaseApi) SearchBackupRecordsByCronjob(c *gin.Context) { method DownloadRecord (line 317) | func (b *BaseApi) DownloadRecord(c *gin.Context) { method UpdateRecordDescription (line 339) | func (b *BaseApi) UpdateRecordDescription(c *gin.Context) { method DeleteBackupRecord (line 361) | func (b *BaseApi) DeleteBackupRecord(c *gin.Context) { method LoadFilesFromBackup (line 382) | func (b *BaseApi) LoadFilesFromBackup(c *gin.Context) { method Backup (line 401) | func (b *BaseApi) Backup(c *gin.Context) { method Recover (line 456) | func (b *BaseApi) Recover(c *gin.Context) { method RecoverByUpload (line 521) | func (b *BaseApi) RecoverByUpload(c *gin.Context) { FILE: agent/app/api/v2/clam.go method CreateClam (line 18) | func (b *BaseApi) CreateClam(c *gin.Context) { method UpdateClam (line 40) | func (b *BaseApi) UpdateClam(c *gin.Context) { method UpdateClamStatus (line 62) | func (b *BaseApi) UpdateClamStatus(c *gin.Context) { method SearchClam (line 83) | func (b *BaseApi) SearchClam(c *gin.Context) { method LoadClamBaseInfo (line 108) | func (b *BaseApi) LoadClamBaseInfo(c *gin.Context) { method OperateClam (line 127) | func (b *BaseApi) OperateClam(c *gin.Context) { method CleanClamRecord (line 150) | func (b *BaseApi) CleanClamRecord(c *gin.Context) { method SearchClamRecord (line 171) | func (b *BaseApi) SearchClamRecord(c *gin.Context) { method SearchClamFile (line 197) | func (b *BaseApi) SearchClamFile(c *gin.Context) { method UpdateFile (line 220) | func (b *BaseApi) UpdateFile(c *gin.Context) { method DeleteClam (line 241) | func (b *BaseApi) DeleteClam(c *gin.Context) { method HandleClamScan (line 263) | func (b *BaseApi) HandleClamScan(c *gin.Context) { FILE: agent/app/api/v2/compose_template.go method CreateComposeTemplate (line 18) | func (b *BaseApi) CreateComposeTemplate(c *gin.Context) { method BatchComposeTemplate (line 40) | func (b *BaseApi) BatchComposeTemplate(c *gin.Context) { method SearchComposeTemplate (line 62) | func (b *BaseApi) SearchComposeTemplate(c *gin.Context) { method ListComposeTemplate (line 87) | func (b *BaseApi) ListComposeTemplate(c *gin.Context) { method DeleteComposeTemplate (line 106) | func (b *BaseApi) DeleteComposeTemplate(c *gin.Context) { method UpdateComposeTemplate (line 128) | func (b *BaseApi) UpdateComposeTemplate(c *gin.Context) { FILE: agent/app/api/v2/container.go method SearchContainer (line 24) | func (b *BaseApi) SearchContainer(c *gin.Context) { method LoadContainerUsers (line 50) | func (b *BaseApi) LoadContainerUsers(c *gin.Context) { method ListContainerFiles (line 67) | func (b *BaseApi) ListContainerFiles(c *gin.Context) { method UploadContainerFile (line 91) | func (b *BaseApi) UploadContainerFile(c *gin.Context) { method GetContainerFileContent (line 132) | func (b *BaseApi) GetContainerFileContent(c *gin.Context) { method GetContainerFileSize (line 153) | func (b *BaseApi) GetContainerFileSize(c *gin.Context) { method DeleteContainerFile (line 175) | func (b *BaseApi) DeleteContainerFile(c *gin.Context) { method DownloadContainerFile (line 195) | func (b *BaseApi) DownloadContainerFile(c *gin.Context) { method ListContainer (line 223) | func (b *BaseApi) ListContainer(c *gin.Context) { method ListContainerByImage (line 235) | func (b *BaseApi) ListContainerByImage(c *gin.Context) { method LoadContainerStatus (line 252) | func (b *BaseApi) LoadContainerStatus(c *gin.Context) { method SearchCompose (line 269) | func (b *BaseApi) SearchCompose(c *gin.Context) { method TestCompose (line 295) | func (b *BaseApi) TestCompose(c *gin.Context) { method CreateCompose (line 318) | func (b *BaseApi) CreateCompose(c *gin.Context) { method OperatorCompose (line 340) | func (b *BaseApi) OperatorCompose(c *gin.Context) { method ContainerUpdate (line 362) | func (b *BaseApi) ContainerUpdate(c *gin.Context) { method ContainerInfo (line 383) | func (b *BaseApi) ContainerInfo(c *gin.Context) { method LoadResourceLimit (line 402) | func (b *BaseApi) LoadResourceLimit(c *gin.Context) { method ContainerListStats (line 416) | func (b *BaseApi) ContainerListStats(c *gin.Context) { method ContainerItemStats (line 432) | func (b *BaseApi) ContainerItemStats(c *gin.Context) { method ContainerCreate (line 455) | func (b *BaseApi) ContainerCreate(c *gin.Context) { method ContainerUpgrade (line 477) | func (b *BaseApi) ContainerUpgrade(c *gin.Context) { method ContainerPrune (line 499) | func (b *BaseApi) ContainerPrune(c *gin.Context) { method CleanContainerLog (line 521) | func (b *BaseApi) CleanContainerLog(c *gin.Context) { method CleanComposeLog (line 543) | func (b *BaseApi) CleanComposeLog(c *gin.Context) { method ContainerRename (line 565) | func (b *BaseApi) ContainerRename(c *gin.Context) { method ContainerCommit (line 586) | func (b *BaseApi) ContainerCommit(c *gin.Context) { method ContainerOperation (line 608) | func (b *BaseApi) ContainerOperation(c *gin.Context) { method ContainerStats (line 628) | func (b *BaseApi) ContainerStats(c *gin.Context) { method Inspect (line 651) | func (b *BaseApi) Inspect(c *gin.Context) { method DownloadContainerLogs (line 665) | func (b *BaseApi) DownloadContainerLogs(c *gin.Context) { method SearchNetwork (line 685) | func (b *BaseApi) SearchNetwork(c *gin.Context) { method ListNetwork (line 710) | func (b *BaseApi) ListNetwork(c *gin.Context) { method DeleteNetwork (line 728) | func (b *BaseApi) DeleteNetwork(c *gin.Context) { method CreateNetwork (line 750) | func (b *BaseApi) CreateNetwork(c *gin.Context) { method SearchVolume (line 772) | func (b *BaseApi) SearchVolume(c *gin.Context) { method ListVolume (line 797) | func (b *BaseApi) ListVolume(c *gin.Context) { method DeleteVolume (line 815) | func (b *BaseApi) DeleteVolume(c *gin.Context) { method CreateVolume (line 837) | func (b *BaseApi) CreateVolume(c *gin.Context) { method ComposeUpdate (line 859) | func (b *BaseApi) ComposeUpdate(c *gin.Context) { method LoadComposeEnv (line 880) | func (b *BaseApi) LoadComposeEnv(c *gin.Context) { method ContainerStreamLogs (line 903) | func (b *BaseApi) ContainerStreamLogs(c *gin.Context) { FILE: agent/app/api/v2/cronjob.go method CreateCronjob (line 23) | func (b *BaseApi) CreateCronjob(c *gin.Context) { method LoadCronjobInfo (line 44) | func (b *BaseApi) LoadCronjobInfo(c *gin.Context) { method ExportCronjob (line 66) | func (b *BaseApi) ExportCronjob(c *gin.Context) { method ImportCronjob (line 88) | func (b *BaseApi) ImportCronjob(c *gin.Context) { method LoadScriptOptions (line 107) | func (b *BaseApi) LoadScriptOptions(c *gin.Context) { method LoadNextHandle (line 119) | func (b *BaseApi) LoadNextHandle(c *gin.Context) { method SearchCronjob (line 141) | func (b *BaseApi) SearchCronjob(c *gin.Context) { method SearchJobRecords (line 167) | func (b *BaseApi) SearchJobRecords(c *gin.Context) { method LoadRecordLog (line 197) | func (b *BaseApi) LoadRecordLog(c *gin.Context) { method CleanRecord (line 215) | func (b *BaseApi) CleanRecord(c *gin.Context) { method StopCronJob (line 237) | func (b *BaseApi) StopCronJob(c *gin.Context) { method DeleteCronjob (line 260) | func (b *BaseApi) DeleteCronjob(c *gin.Context) { method UpdateCronjob (line 282) | func (b *BaseApi) UpdateCronjob(c *gin.Context) { method UpdateCronjobGroup (line 304) | func (b *BaseApi) UpdateCronjobGroup(c *gin.Context) { method UpdateCronjobStatus (line 326) | func (b *BaseApi) UpdateCronjobStatus(c *gin.Context) { method HandleOnce (line 348) | func (b *BaseApi) HandleOnce(c *gin.Context) { FILE: agent/app/api/v2/dashboard.go method LoadDashboardOsInfo (line 18) | func (b *BaseApi) LoadDashboardOsInfo(c *gin.Context) { method LoadAppLauncher (line 34) | func (b *BaseApi) LoadAppLauncher(c *gin.Context) { method LoadAppLauncherOption (line 51) | func (b *BaseApi) LoadAppLauncherOption(c *gin.Context) { method UpdateAppLauncher (line 73) | func (b *BaseApi) UpdateAppLauncher(c *gin.Context) { method LoadQuickOption (line 92) | func (b *BaseApi) LoadQuickOption(c *gin.Context) { method UpdateQuickJump (line 105) | func (b *BaseApi) UpdateQuickJump(c *gin.Context) { method LoadDashboardBaseInfo (line 127) | func (b *BaseApi) LoadDashboardBaseInfo(c *gin.Context) { method LoadCurrentInfoForNode (line 152) | func (b *BaseApi) LoadCurrentInfoForNode(c *gin.Context) { method LoadDashboardCurrentInfo (line 166) | func (b *BaseApi) LoadDashboardCurrentInfo(c *gin.Context) { method LoadDashboardTopCPU (line 188) | func (b *BaseApi) LoadDashboardTopCPU(c *gin.Context) { method LoadDashboardTopMem (line 199) | func (b *BaseApi) LoadDashboardTopMem(c *gin.Context) { method SystemRestart (line 212) | func (b *BaseApi) SystemRestart(c *gin.Context) { FILE: agent/app/api/v2/database.go method CreateDatabase (line 20) | func (b *BaseApi) CreateDatabase(c *gin.Context) { method CheckDatabase (line 50) | func (b *BaseApi) CheckDatabase(c *gin.Context) { method SearchDatabase (line 75) | func (b *BaseApi) SearchDatabase(c *gin.Context) { method ListDatabase (line 99) | func (b *BaseApi) ListDatabase(c *gin.Context) { method LoadDatabaseItems (line 120) | func (b *BaseApi) LoadDatabaseItems(c *gin.Context) { method GetDatabase (line 141) | func (b *BaseApi) GetDatabase(c *gin.Context) { method DeleteCheckDatabase (line 164) | func (b *BaseApi) DeleteCheckDatabase(c *gin.Context) { method DeleteDatabase (line 187) | func (b *BaseApi) DeleteDatabase(c *gin.Context) { method UpdateDatabase (line 209) | func (b *BaseApi) UpdateDatabase(c *gin.Context) { FILE: agent/app/api/v2/database_common.go method LoadDBBaseInfo (line 17) | func (b *BaseApi) LoadDBBaseInfo(c *gin.Context) { method LoadDBFile (line 40) | func (b *BaseApi) LoadDBFile(c *gin.Context) { method UpdateDBConfByFile (line 62) | func (b *BaseApi) UpdateDBConfByFile(c *gin.Context) { FILE: agent/app/api/v2/database_mysql.go method CreateMysql (line 21) | func (b *BaseApi) CreateMysql(c *gin.Context) { method BindUser (line 52) | func (b *BaseApi) BindUser(c *gin.Context) { method UpdateMysqlDescription (line 83) | func (b *BaseApi) UpdateMysqlDescription(c *gin.Context) { method ChangeMysqlPassword (line 105) | func (b *BaseApi) ChangeMysqlPassword(c *gin.Context) { method ChangeMysqlAccess (line 136) | func (b *BaseApi) ChangeMysqlAccess(c *gin.Context) { method UpdateMysqlVariables (line 158) | func (b *BaseApi) UpdateMysqlVariables(c *gin.Context) { method SearchMysql (line 179) | func (b *BaseApi) SearchMysql(c *gin.Context) { method ListDBFormatCollationOptions (line 205) | func (b *BaseApi) ListDBFormatCollationOptions(c *gin.Context) { method LoadDBFromRemote (line 221) | func (b *BaseApi) LoadDBFromRemote(c *gin.Context) { method DeleteCheckMysql (line 243) | func (b *BaseApi) DeleteCheckMysql(c *gin.Context) { method DeleteMysql (line 266) | func (b *BaseApi) DeleteMysql(c *gin.Context) { method LoadRemoteAccess (line 290) | func (b *BaseApi) LoadRemoteAccess(c *gin.Context) { method LoadStatus (line 312) | func (b *BaseApi) LoadStatus(c *gin.Context) { method LoadVariables (line 335) | func (b *BaseApi) LoadVariables(c *gin.Context) { FILE: agent/app/api/v2/database_postgresql.go method CreatePostgresql (line 21) | func (b *BaseApi) CreatePostgresql(c *gin.Context) { method BindPostgresqlUser (line 52) | func (b *BaseApi) BindPostgresqlUser(c *gin.Context) { method UpdatePostgresqlDescription (line 74) | func (b *BaseApi) UpdatePostgresqlDescription(c *gin.Context) { method ChangePostgresqlPrivileges (line 96) | func (b *BaseApi) ChangePostgresqlPrivileges(c *gin.Context) { method ChangePostgresqlPassword (line 118) | func (b *BaseApi) ChangePostgresqlPassword(c *gin.Context) { method SearchPostgresql (line 148) | func (b *BaseApi) SearchPostgresql(c *gin.Context) { method LoadPostgresqlDBFromRemote (line 174) | func (b *BaseApi) LoadPostgresqlDBFromRemote(c *gin.Context) { method DeleteCheckPostgresql (line 197) | func (b *BaseApi) DeleteCheckPostgresql(c *gin.Context) { method DeletePostgresql (line 220) | func (b *BaseApi) DeletePostgresql(c *gin.Context) { FILE: agent/app/api/v2/database_redis.go method LoadRedisStatus (line 19) | func (b *BaseApi) LoadRedisStatus(c *gin.Context) { method LoadRedisConf (line 41) | func (b *BaseApi) LoadRedisConf(c *gin.Context) { method LoadPersistenceConf (line 63) | func (b *BaseApi) LoadPersistenceConf(c *gin.Context) { method CheckHasCli (line 77) | func (b *BaseApi) CheckHasCli(c *gin.Context) { method InstallCli (line 87) | func (b *BaseApi) InstallCli(c *gin.Context) { method UpdateRedisConf (line 105) | func (b *BaseApi) UpdateRedisConf(c *gin.Context) { method ChangeRedisPassword (line 127) | func (b *BaseApi) ChangeRedisPassword(c *gin.Context) { method UpdateRedisPersistenceConf (line 158) | func (b *BaseApi) UpdateRedisPersistenceConf(c *gin.Context) { FILE: agent/app/api/v2/device.go method LoadDeviceBaseInfo (line 17) | func (b *BaseApi) LoadDeviceBaseInfo(c *gin.Context) { method LoadTimeOption (line 34) | func (b *BaseApi) LoadTimeOption(c *gin.Context) { method LoadDeviceConf (line 52) | func (b *BaseApi) LoadDeviceConf(c *gin.Context) { method UpdateDeviceByFile (line 75) | func (b *BaseApi) UpdateDeviceByFile(c *gin.Context) { method LoadUsers (line 94) | func (b *BaseApi) LoadUsers(c *gin.Context) { method UpdateDeviceConf (line 112) | func (b *BaseApi) UpdateDeviceConf(c *gin.Context) { method UpdateDeviceHost (line 133) | func (b *BaseApi) UpdateDeviceHost(c *gin.Context) { method UpdateDevicePasswd (line 155) | func (b *BaseApi) UpdateDevicePasswd(c *gin.Context) { method UpdateDeviceSwap (line 185) | func (b *BaseApi) UpdateDeviceSwap(c *gin.Context) { method CheckDNS (line 206) | func (b *BaseApi) CheckDNS(c *gin.Context) { method ScanSystem (line 228) | func (b *BaseApi) ScanSystem(c *gin.Context) { method SystemClean (line 241) | func (b *BaseApi) SystemClean(c *gin.Context) { FILE: agent/app/api/v2/disk.go method GetCompleteDiskInfo (line 17) | func (b *BaseApi) GetCompleteDiskInfo(c *gin.Context) { method PartitionDisk (line 36) | func (b *BaseApi) PartitionDisk(c *gin.Context) { method MountDisk (line 61) | func (b *BaseApi) MountDisk(c *gin.Context) { method UnmountDisk (line 86) | func (b *BaseApi) UnmountDisk(c *gin.Context) { FILE: agent/app/api/v2/docker.go method LoadDockerStatus (line 19) | func (b *BaseApi) LoadDockerStatus(c *gin.Context) { method LoadDaemonJsonFile (line 31) | func (b *BaseApi) LoadDaemonJsonFile(c *gin.Context) { method LoadDaemonJson (line 51) | func (b *BaseApi) LoadDaemonJson(c *gin.Context) { method UpdateDaemonJson (line 69) | func (b *BaseApi) UpdateDaemonJson(c *gin.Context) { method UpdateLogOption (line 92) | func (b *BaseApi) UpdateLogOption(c *gin.Context) { method UpdateIpv6Option (line 115) | func (b *BaseApi) UpdateIpv6Option(c *gin.Context) { method UpdateDaemonJsonByFile (line 138) | func (b *BaseApi) UpdateDaemonJsonByFile(c *gin.Context) { method OperateDocker (line 161) | func (b *BaseApi) OperateDocker(c *gin.Context) { FILE: agent/app/api/v2/entry.go type ApiGroup (line 5) | type ApiGroup struct type BaseApi (line 11) | type BaseApi struct FILE: agent/app/api/v2/fail2ban.go method LoadFail2BanBaseInfo (line 17) | func (b *BaseApi) LoadFail2BanBaseInfo(c *gin.Context) { method SearchFail2Ban (line 35) | func (b *BaseApi) SearchFail2Ban(c *gin.Context) { method OperateFail2Ban (line 59) | func (b *BaseApi) OperateFail2Ban(c *gin.Context) { method OperateSSHD (line 81) | func (b *BaseApi) OperateSSHD(c *gin.Context) { method UpdateFail2BanConf (line 104) | func (b *BaseApi) UpdateFail2BanConf(c *gin.Context) { method LoadFail2BanConf (line 124) | func (b *BaseApi) LoadFail2BanConf(c *gin.Context) { method UpdateFail2BanConfByFile (line 143) | func (b *BaseApi) UpdateFail2BanConfByFile(c *gin.Context) { FILE: agent/app/api/v2/favorite.go method SearchFavorite (line 18) | func (b *BaseApi) SearchFavorite(c *gin.Context) { method CreateFavorite (line 43) | func (b *BaseApi) CreateFavorite(c *gin.Context) { method DeleteFavorite (line 65) | func (b *BaseApi) DeleteFavorite(c *gin.Context) { FILE: agent/app/api/v2/file.go method ListFiles (line 38) | func (b *BaseApi) ListFiles(c *gin.Context) { method SearchUploadWithPage (line 59) | func (b *BaseApi) SearchUploadWithPage(c *gin.Context) { method GetFileTree (line 83) | func (b *BaseApi) GetFileTree(c *gin.Context) { method CreateFile (line 105) | func (b *BaseApi) CreateFile(c *gin.Context) { method DeleteFile (line 127) | func (b *BaseApi) DeleteFile(c *gin.Context) { method BatchDeleteFile (line 149) | func (b *BaseApi) BatchDeleteFile(c *gin.Context) { method ChangeFileMode (line 171) | func (b *BaseApi) ChangeFileMode(c *gin.Context) { method ChangeFileOwner (line 193) | func (b *BaseApi) ChangeFileOwner(c *gin.Context) { method CompressFile (line 214) | func (b *BaseApi) CompressFile(c *gin.Context) { method DeCompressFile (line 236) | func (b *BaseApi) DeCompressFile(c *gin.Context) { method GetContent (line 258) | func (b *BaseApi) GetContent(c *gin.Context) { method PreviewContent (line 284) | func (b *BaseApi) PreviewContent(c *gin.Context) { method SaveContent (line 307) | func (b *BaseApi) SaveContent(c *gin.Context) { method UploadFiles (line 327) | func (b *BaseApi) UploadFiles(c *gin.Context) { method CheckFile (line 435) | func (b *BaseApi) CheckFile(c *gin.Context) { method BatchCheckFiles (line 464) | func (b *BaseApi) BatchCheckFiles(c *gin.Context) { method ChangeFileName (line 482) | func (b *BaseApi) ChangeFileName(c *gin.Context) { method WgetFile (line 503) | func (b *BaseApi) WgetFile(c *gin.Context) { method MoveFile (line 527) | func (b *BaseApi) MoveFile(c *gin.Context) { method Download (line 546) | func (b *BaseApi) Download(c *gin.Context) { method DownloadChunkFiles (line 573) | func (b *BaseApi) DownloadChunkFiles(c *gin.Context) { method Size (line 650) | func (b *BaseApi) Size(c *gin.Context) { method DepthDirSize (line 672) | func (b *BaseApi) DepthDirSize(c *gin.Context) { function mergeChunks (line 685) | func mergeChunks(fileName string, fileDir string, dstDir string, chunkCo... method UploadChunkFiles (line 739) | func (b *BaseApi) UploadChunkFiles(c *gin.Context) { method WgetProcess (line 832) | func (b *BaseApi) WgetProcess(c *gin.Context) { method ProcessKeys (line 842) | func (b *BaseApi) ProcessKeys(c *gin.Context) { method ReadFileByLine (line 866) | func (b *BaseApi) ReadFileByLine(c *gin.Context) { method BatchChangeModeAndOwner (line 892) | func (b *BaseApi) BatchChangeModeAndOwner(c *gin.Context) { method GetPathByType (line 903) | func (b *BaseApi) GetPathByType(c *gin.Context) { method GetHostMount (line 920) | func (b *BaseApi) GetHostMount(c *gin.Context) { method GetUsersAndGroups (line 932) | func (b *BaseApi) GetUsersAndGroups(c *gin.Context) { method ConvertFile (line 949) | func (b *BaseApi) ConvertFile(c *gin.Context) { method ConvertLog (line 966) | func (b *BaseApi) ConvertLog(c *gin.Context) { method BatchGetFileRemarks (line 990) | func (b *BaseApi) BatchGetFileRemarks(c *gin.Context) { method SetFileRemark (line 1007) | func (b *BaseApi) SetFileRemark(c *gin.Context) { FILE: agent/app/api/v2/firewall.go method LoadFirewallBaseInfo (line 17) | func (b *BaseApi) LoadFirewallBaseInfo(c *gin.Context) { method SearchFirewallRule (line 40) | func (b *BaseApi) SearchFirewallRule(c *gin.Context) { method OperateFirewall (line 67) | func (b *BaseApi) OperateFirewall(c *gin.Context) { method OperatePortRule (line 90) | func (b *BaseApi) OperatePortRule(c *gin.Context) { method OperateForwardRule (line 113) | func (b *BaseApi) OperateForwardRule(c *gin.Context) { method OperateIPRule (line 135) | func (b *BaseApi) OperateIPRule(c *gin.Context) { method BatchOperateRule (line 156) | func (b *BaseApi) BatchOperateRule(c *gin.Context) { method UpdateFirewallDescription (line 177) | func (b *BaseApi) UpdateFirewallDescription(c *gin.Context) { method UpdatePortRule (line 198) | func (b *BaseApi) UpdatePortRule(c *gin.Context) { method UpdateAddrRule (line 219) | func (b *BaseApi) UpdateAddrRule(c *gin.Context) { method SearchFilterRules (line 240) | func (b *BaseApi) SearchFilterRules(c *gin.Context) { method OperateFilterRule (line 267) | func (b *BaseApi) OperateFilterRule(c *gin.Context) { method BatchOperateFilterRule (line 288) | func (b *BaseApi) BatchOperateFilterRule(c *gin.Context) { method OperateFilterChain (line 311) | func (b *BaseApi) OperateFilterChain(c *gin.Context) { method LoadChainStatus (line 332) | func (b *BaseApi) LoadChainStatus(c *gin.Context) { FILE: agent/app/api/v2/ftp.go method LoadFtpBaseInfo (line 17) | func (b *BaseApi) LoadFtpBaseInfo(c *gin.Context) { method LoadFtpLogInfo (line 35) | func (b *BaseApi) LoadFtpLogInfo(c *gin.Context) { method OperateFtp (line 62) | func (b *BaseApi) OperateFtp(c *gin.Context) { method SearchFtp (line 84) | func (b *BaseApi) SearchFtp(c *gin.Context) { method CreateFtp (line 111) | func (b *BaseApi) CreateFtp(c *gin.Context) { method DeleteFtp (line 141) | func (b *BaseApi) DeleteFtp(c *gin.Context) { method SyncFtp (line 163) | func (b *BaseApi) SyncFtp(c *gin.Context) { method UpdateFtp (line 180) | func (b *BaseApi) UpdateFtp(c *gin.Context) { FILE: agent/app/api/v2/group.go method CreateGroup (line 18) | func (b *BaseApi) CreateGroup(c *gin.Context) { method DeleteGroup (line 40) | func (b *BaseApi) DeleteGroup(c *gin.Context) { method UpdateGroup (line 62) | func (b *BaseApi) UpdateGroup(c *gin.Context) { method ListGroup (line 83) | func (b *BaseApi) ListGroup(c *gin.Context) { FILE: agent/app/api/v2/health.go method CheckHealth (line 8) | func (b *BaseApi) CheckHealth(c *gin.Context) { FILE: agent/app/api/v2/helper/helper.go function ErrorWithDetail (line 23) | func ErrorWithDetail(ctx *gin.Context, code int, msgKey string, err erro... function InternalServer (line 33) | func InternalServer(ctx *gin.Context, err error) { function BadRequest (line 37) | func BadRequest(ctx *gin.Context, err error) { function SuccessWithData (line 41) | func SuccessWithData(ctx *gin.Context, data interface{}) { function SuccessWithDataGzipped (line 59) | func SuccessWithDataGzipped(ctx *gin.Context, data interface{}) { function Success (line 89) | func Success(ctx *gin.Context) { function SuccessWithMsg (line 98) | func SuccessWithMsg(ctx *gin.Context, msg string) { function GetParamID (line 107) | func GetParamID(c *gin.Context) (uint, error) { function GetIntParamByKey (line 116) | func GetIntParamByKey(c *gin.Context, key string) (uint, error) { function GetStrParamByKey (line 125) | func GetStrParamByKey(c *gin.Context, key string) (string, error) { function GetTxAndContext (line 133) | func GetTxAndContext() (tx *gorm.DB, ctx context.Context) { function CheckBindAndValidate (line 139) | func CheckBindAndValidate(req interface{}, c *gin.Context) error { function CheckBind (line 151) | func CheckBind(req interface{}, c *gin.Context) error { function GetParamInt32 (line 159) | func GetParamInt32(paramName string, c *gin.Context) (int32, error) { FILE: agent/app/api/v2/host.go method CreateHost (line 10) | func (b *BaseApi) CreateHost(c *gin.Context) { method TestByInfo (line 24) | func (b *BaseApi) TestByInfo(c *gin.Context) { method TestByID (line 33) | func (b *BaseApi) TestByID(c *gin.Context) { method HostTree (line 42) | func (b *BaseApi) HostTree(c *gin.Context) { method SearchHost (line 56) | func (b *BaseApi) SearchHost(c *gin.Context) { method DeleteHost (line 71) | func (b *BaseApi) DeleteHost(c *gin.Context) { method UpdateHost (line 84) | func (b *BaseApi) UpdateHost(c *gin.Context) { method UpdateHostGroup (line 143) | func (b *BaseApi) UpdateHostGroup(c *gin.Context) { method GetHostByID (line 156) | func (b *BaseApi) GetHostByID(c *gin.Context) { FILE: agent/app/api/v2/host_tool.go method GetToolStatus (line 17) | func (b *BaseApi) GetToolStatus(c *gin.Context) { method InitToolConfig (line 40) | func (b *BaseApi) InitToolConfig(c *gin.Context) { method OperateTool (line 62) | func (b *BaseApi) OperateTool(c *gin.Context) { method OperateToolConfig (line 84) | func (b *BaseApi) OperateToolConfig(c *gin.Context) { method OperateProcess (line 107) | func (b *BaseApi) OperateProcess(c *gin.Context) { method GetProcess (line 128) | func (b *BaseApi) GetProcess(c *gin.Context) { method GetProcessFile (line 146) | func (b *BaseApi) GetProcessFile(c *gin.Context) { FILE: agent/app/api/v2/image.go method SearchImage (line 18) | func (b *BaseApi) SearchImage(c *gin.Context) { method ListAllImage (line 43) | func (b *BaseApi) ListAllImage(c *gin.Context) { method ListImage (line 59) | func (b *BaseApi) ListImage(c *gin.Context) { method ImageBuild (line 77) | func (b *BaseApi) ImageBuild(c *gin.Context) { method ImagePull (line 100) | func (b *BaseApi) ImagePull(c *gin.Context) { method ImagePush (line 123) | func (b *BaseApi) ImagePush(c *gin.Context) { method ImageRemove (line 146) | func (b *BaseApi) ImageRemove(c *gin.Context) { method ImageSave (line 169) | func (b *BaseApi) ImageSave(c *gin.Context) { method ImageTag (line 192) | func (b *BaseApi) ImageTag(c *gin.Context) { method ImageLoad (line 215) | func (b *BaseApi) ImageLoad(c *gin.Context) { FILE: agent/app/api/v2/image_repo.go method SearchRepo (line 18) | func (b *BaseApi) SearchRepo(c *gin.Context) { method ListRepo (line 43) | func (b *BaseApi) ListRepo(c *gin.Context) { method CheckRepoStatus (line 62) | func (b *BaseApi) CheckRepoStatus(c *gin.Context) { method CreateRepo (line 85) | func (b *BaseApi) CreateRepo(c *gin.Context) { method DeleteRepo (line 108) | func (b *BaseApi) DeleteRepo(c *gin.Context) { method UpdateRepo (line 131) | func (b *BaseApi) UpdateRepo(c *gin.Context) { FILE: agent/app/api/v2/logs.go method GetSystemFiles (line 14) | func (b *BaseApi) GetSystemFiles(c *gin.Context) { FILE: agent/app/api/v2/mcp_server.go method PageMcpServers (line 17) | func (b *BaseApi) PageMcpServers(c *gin.Context) { method CreateMcpServer (line 34) | func (b *BaseApi) CreateMcpServer(c *gin.Context) { method UpdateMcpServer (line 55) | func (b *BaseApi) UpdateMcpServer(c *gin.Context) { method DeleteMcpServer (line 76) | func (b *BaseApi) DeleteMcpServer(c *gin.Context) { method OperateMcpServer (line 97) | func (b *BaseApi) OperateMcpServer(c *gin.Context) { method BindMcpDomain (line 118) | func (b *BaseApi) BindMcpDomain(c *gin.Context) { method UpdateMcpBindDomain (line 139) | func (b *BaseApi) UpdateMcpBindDomain(c *gin.Context) { method GetMcpBindDomain (line 159) | func (b *BaseApi) GetMcpBindDomain(c *gin.Context) { FILE: agent/app/api/v2/monitor.go method LoadMonitor (line 20) | func (b *BaseApi) LoadMonitor(c *gin.Context) { method LoadGPUMonitor (line 41) | func (b *BaseApi) LoadGPUMonitor(c *gin.Context) { method CleanMonitor (line 62) | func (b *BaseApi) CleanMonitor(c *gin.Context) { method LoadMonitorSetting (line 77) | func (b *BaseApi) LoadMonitorSetting(c *gin.Context) { method UpdateMonitorSetting (line 95) | func (b *BaseApi) UpdateMonitorSetting(c *gin.Context) { method GetNetworkOptions (line 108) | func (b *BaseApi) GetNetworkOptions(c *gin.Context) { method GetIOOptions (line 119) | func (b *BaseApi) GetIOOptions(c *gin.Context) { method GetCPUOptions (line 130) | func (b *BaseApi) GetCPUOptions(c *gin.Context) { FILE: agent/app/api/v2/nginx.go method GetNginx (line 15) | func (b *BaseApi) GetNginx(c *gin.Context) { method GetNginxConfigByScope (line 32) | func (b *BaseApi) GetNginxConfigByScope(c *gin.Context) { method UpdateNginxConfigByScope (line 55) | func (b *BaseApi) UpdateNginxConfigByScope(c *gin.Context) { method GetNginxStatus (line 73) | func (b *BaseApi) GetNginxStatus(c *gin.Context) { method UpdateNginxFile (line 91) | func (b *BaseApi) UpdateNginxFile(c *gin.Context) { method BuildNginx (line 113) | func (b *BaseApi) BuildNginx(c *gin.Context) { method UpdateNginxModule (line 134) | func (b *BaseApi) UpdateNginxModule(c *gin.Context) { method GetNginxModules (line 152) | func (b *BaseApi) GetNginxModules(c *gin.Context) { method OperateDefaultHTTPs (line 169) | func (b *BaseApi) OperateDefaultHTTPs(c *gin.Context) { method GetDefaultHTTPsStatus (line 188) | func (b *BaseApi) GetDefaultHTTPsStatus(c *gin.Context) { FILE: agent/app/api/v2/php_extensions.go method PagePHPExtensions (line 18) | func (b *BaseApi) PagePHPExtensions(c *gin.Context) { method CreatePHPExtensions (line 55) | func (b *BaseApi) CreatePHPExtensions(c *gin.Context) { method UpdatePHPExtensions (line 75) | func (b *BaseApi) UpdatePHPExtensions(c *gin.Context) { method DeletePHPExtensions (line 95) | func (b *BaseApi) DeletePHPExtensions(c *gin.Context) { FILE: agent/app/api/v2/process.go method ProcessWs (line 10) | func (b *BaseApi) ProcessWs(c *gin.Context) { method StopProcess (line 28) | func (b *BaseApi) StopProcess(c *gin.Context) { method GetProcessInfoByPID (line 47) | func (b *BaseApi) GetProcessInfoByPID(c *gin.Context) { method GetListeningProcess (line 67) | func (b *BaseApi) GetListeningProcess(c *gin.Context) { FILE: agent/app/api/v2/recycle_bin.go method SearchRecycleBinFile (line 18) | func (b *BaseApi) SearchRecycleBinFile(c *gin.Context) { method ReduceRecycleBinFile (line 43) | func (b *BaseApi) ReduceRecycleBinFile(c *gin.Context) { method ClearRecycleBinFile (line 63) | func (b *BaseApi) ClearRecycleBinFile(c *gin.Context) { method GetRecycleStatus (line 78) | func (b *BaseApi) GetRecycleStatus(c *gin.Context) { FILE: agent/app/api/v2/runtime.go method SearchRuntimes (line 18) | func (b *BaseApi) SearchRuntimes(c *gin.Context) { method CreateRuntime (line 43) | func (b *BaseApi) CreateRuntime(c *gin.Context) { method DeleteRuntime (line 65) | func (b *BaseApi) DeleteRuntime(c *gin.Context) { method DeleteRuntimeCheck (line 85) | func (b *BaseApi) DeleteRuntimeCheck(c *gin.Context) { method UpdateRuntime (line 108) | func (b *BaseApi) UpdateRuntime(c *gin.Context) { method GetRuntime (line 128) | func (b *BaseApi) GetRuntime(c *gin.Context) { method GetNodePackageRunScript (line 150) | func (b *BaseApi) GetNodePackageRunScript(c *gin.Context) { method OperateRuntime (line 172) | func (b *BaseApi) OperateRuntime(c *gin.Context) { method GetNodeModules (line 193) | func (b *BaseApi) GetNodeModules(c *gin.Context) { method OperateNodeModules (line 214) | func (b *BaseApi) OperateNodeModules(c *gin.Context) { method SyncStatus (line 233) | func (b *BaseApi) SyncStatus(c *gin.Context) { method GetRuntimeExtension (line 250) | func (b *BaseApi) GetRuntimeExtension(c *gin.Context) { method InstallPHPExtension (line 272) | func (b *BaseApi) InstallPHPExtension(c *gin.Context) { method UnInstallPHPExtension (line 293) | func (b *BaseApi) UnInstallPHPExtension(c *gin.Context) { method GetPHPConfig (line 314) | func (b *BaseApi) GetPHPConfig(c *gin.Context) { method UpdatePHPConfig (line 337) | func (b *BaseApi) UpdatePHPConfig(c *gin.Context) { method UpdatePHPFile (line 358) | func (b *BaseApi) UpdatePHPFile(c *gin.Context) { method GetPHPConfigFile (line 378) | func (b *BaseApi) GetPHPConfigFile(c *gin.Context) { method UpdateFPMConfig (line 399) | func (b *BaseApi) UpdateFPMConfig(c *gin.Context) { method GetFPMConfig (line 419) | func (b *BaseApi) GetFPMConfig(c *gin.Context) { method GetSupervisorProcess (line 441) | func (b *BaseApi) GetSupervisorProcess(c *gin.Context) { method OperateSupervisorProcess (line 463) | func (b *BaseApi) OperateSupervisorProcess(c *gin.Context) { method OperateSupervisorProcessFile (line 484) | func (b *BaseApi) OperateSupervisorProcessFile(c *gin.Context) { method UpdatePHPContainer (line 505) | func (b *BaseApi) UpdatePHPContainer(c *gin.Context) { method GetPHPContainerConfig (line 525) | func (b *BaseApi) GetPHPContainerConfig(c *gin.Context) { method UpdateRuntimeRemark (line 547) | func (b *BaseApi) UpdateRuntimeRemark(c *gin.Context) { method GetFPMStatus (line 567) | func (b *BaseApi) GetFPMStatus(c *gin.Context) { FILE: agent/app/api/v2/setting.go method GetSettingInfo (line 21) | func (b *BaseApi) GetSettingInfo(c *gin.Context) { method GetTerminalAISettingInfo (line 30) | func (b *BaseApi) GetTerminalAISettingInfo(c *gin.Context) { method GetSystemAvailable (line 45) | func (b *BaseApi) GetSystemAvailable(c *gin.Context) { method UpdateSetting (line 58) | func (b *BaseApi) UpdateSetting(c *gin.Context) { method UpdateTerminalAISetting (line 71) | func (b *BaseApi) UpdateTerminalAISetting(c *gin.Context) { method LoadBaseDir (line 90) | func (b *BaseApi) LoadBaseDir(c *gin.Context) { method LoadLocalConn (line 100) | func (b *BaseApi) LoadLocalConn(c *gin.Context) { method CheckLocalConn (line 104) | func (b *BaseApi) CheckLocalConn(c *gin.Context) { method SetDefaultIsConn (line 121) | func (b *BaseApi) SetDefaultIsConn(c *gin.Context) { method CheckLocalConnByInfo (line 140) | func (b *BaseApi) CheckLocalConnByInfo(c *gin.Context) { method SaveLocalConn (line 155) | func (b *BaseApi) SaveLocalConn(c *gin.Context) { function loadLocalConn (line 168) | func loadLocalConn() (*ssh.SSHClient, error) { method GetSettingByKey (line 196) | func (b *BaseApi) GetSettingByKey(c *gin.Context) { method SaveDescription (line 214) | func (b *BaseApi) SaveDescription(c *gin.Context) { FILE: agent/app/api/v2/snapshot.go method LoadSnapshotData (line 15) | func (b *BaseApi) LoadSnapshotData(c *gin.Context) { method CreateSnapshot (line 33) | func (b *BaseApi) CreateSnapshot(c *gin.Context) { method RecreateSnapshot (line 55) | func (b *BaseApi) RecreateSnapshot(c *gin.Context) { method ImportSnapshot (line 77) | func (b *BaseApi) ImportSnapshot(c *gin.Context) { method UpdateSnapDescription (line 99) | func (b *BaseApi) UpdateSnapDescription(c *gin.Context) { method SearchSnapshot (line 120) | func (b *BaseApi) SearchSnapshot(c *gin.Context) { method RecoverSnapshot (line 146) | func (b *BaseApi) RecoverSnapshot(c *gin.Context) { method RollbackSnapshot (line 168) | func (b *BaseApi) RollbackSnapshot(c *gin.Context) { method DeleteSnapshot (line 190) | func (b *BaseApi) DeleteSnapshot(c *gin.Context) { FILE: agent/app/api/v2/ssh.go method GetSSHInfo (line 17) | func (b *BaseApi) GetSSHInfo(c *gin.Context) { method OperateSSH (line 35) | func (b *BaseApi) OperateSSH(c *gin.Context) { method UpdateSSH (line 57) | func (b *BaseApi) UpdateSSH(c *gin.Context) { method CreateRootCert (line 79) | func (b *BaseApi) CreateRootCert(c *gin.Context) { method EditRootCert (line 103) | func (b *BaseApi) EditRootCert(c *gin.Context) { method SyncRootCert (line 125) | func (b *BaseApi) SyncRootCert(c *gin.Context) { method SearchRootCert (line 141) | func (b *BaseApi) SearchRootCert(c *gin.Context) { method DeleteRootCert (line 167) | func (b *BaseApi) DeleteRootCert(c *gin.Context) { method LoadSSHLogs (line 188) | func (b *BaseApi) LoadSSHLogs(c *gin.Context) { method ExportSSHLogs (line 214) | func (b *BaseApi) ExportSSHLogs(c *gin.Context) { method LoadSSHFile (line 235) | func (b *BaseApi) LoadSSHFile(c *gin.Context) { method UpdateSSHByFile (line 258) | func (b *BaseApi) UpdateSSHByFile(c *gin.Context) { function loadCertAfterDecrypt (line 271) | func loadCertAfterDecrypt(req *dto.RootCertOperate) error { FILE: agent/app/api/v2/system.go method CheckComponentExistence (line 17) | func (b *BaseApi) CheckComponentExistence(c *gin.Context) { FILE: agent/app/api/v2/task.go method PageTasks (line 17) | func (b *BaseApi) PageTasks(c *gin.Context) { method CountExecutingTasks (line 39) | func (b *BaseApi) CountExecutingTasks(c *gin.Context) { FILE: agent/app/api/v2/tensorrt_llm.go method PageTensorRTLLMs (line 9) | func (b *BaseApi) PageTensorRTLLMs(c *gin.Context) { method CreateTensorRTLLM (line 18) | func (b *BaseApi) CreateTensorRTLLM(c *gin.Context) { method UpdateTensorRTLLM (line 31) | func (b *BaseApi) UpdateTensorRTLLM(c *gin.Context) { method DeleteTensorRTLLM (line 44) | func (b *BaseApi) DeleteTensorRTLLM(c *gin.Context) { method OperateTensorRTLLM (line 57) | func (b *BaseApi) OperateTensorRTLLM(c *gin.Context) { FILE: agent/app/api/v2/terminal.go method WsSSH (line 22) | func (b *BaseApi) WsSSH(c *gin.Context) { method ContainerWsSSH (line 91) | func (b *BaseApi) ContainerWsSSH(c *gin.Context) { function loadRedisInitCmd (line 154) | func loadRedisInitCmd(c *gin.Context, redisType string) ([]string, error) { function loadOllamaInitCmd (line 182) | func loadOllamaInitCmd(c *gin.Context) ([]string, error) { function loadContainerInitCmd (line 195) | func loadContainerInitCmd(c *gin.Context) ([]string, error) { function loadDatabaseInitCmd (line 213) | func loadDatabaseInitCmd(c *gin.Context) ([]string, error) { function wshandleError (line 236) | func wshandleError(ws *websocket.Conn, err error) bool { FILE: agent/app/api/v2/website.go method PageWebsite (line 18) | func (b *BaseApi) PageWebsite(c *gin.Context) { method GetWebsites (line 40) | func (b *BaseApi) GetWebsites(c *gin.Context) { method GetWebsiteOptions (line 55) | func (b *BaseApi) GetWebsiteOptions(c *gin.Context) { method CreateWebsite (line 77) | func (b *BaseApi) CreateWebsite(c *gin.Context) { method OpWebsite (line 99) | func (b *BaseApi) OpWebsite(c *gin.Context) { method DeleteWebsite (line 121) | func (b *BaseApi) DeleteWebsite(c *gin.Context) { method UpdateWebsite (line 143) | func (b *BaseApi) UpdateWebsite(c *gin.Context) { method GetWebsite (line 163) | func (b *BaseApi) GetWebsite(c *gin.Context) { method GetWebsiteNginx (line 185) | func (b *BaseApi) GetWebsiteNginx(c *gin.Context) { method GetNginxConfig (line 209) | func (b *BaseApi) GetNginxConfig(c *gin.Context) { method UpdateNginxConfig (line 231) | func (b *BaseApi) UpdateNginxConfig(c *gin.Context) { method GetHTTPSConfig (line 251) | func (b *BaseApi) GetHTTPSConfig(c *gin.Context) { method UpdateHTTPSConfig (line 274) | func (b *BaseApi) UpdateHTTPSConfig(c *gin.Context) { method CreateWebsiteCheck (line 298) | func (b *BaseApi) CreateWebsiteCheck(c *gin.Context) { method UpdateWebsiteNginxConfig (line 320) | func (b *BaseApi) UpdateWebsiteNginxConfig(c *gin.Context) { method OpWebsiteLog (line 341) | func (b *BaseApi) OpWebsiteLog(c *gin.Context) { method ChangeDefaultServer (line 363) | func (b *BaseApi) ChangeDefaultServer(c *gin.Context) { method ChangePHPVersion (line 384) | func (b *BaseApi) ChangePHPVersion(c *gin.Context) { method GetRewriteConfig (line 404) | func (b *BaseApi) GetRewriteConfig(c *gin.Context) { method UpdateRewriteConfig (line 426) | func (b *BaseApi) UpdateRewriteConfig(c *gin.Context) { method UpdateSiteDir (line 447) | func (b *BaseApi) UpdateSiteDir(c *gin.Context) { method UpdateSiteDirPermission (line 468) | func (b *BaseApi) UpdateSiteDirPermission(c *gin.Context) { method GetProxyConfig (line 488) | func (b *BaseApi) GetProxyConfig(c *gin.Context) { method UpdateProxyConfig (line 510) | func (b *BaseApi) UpdateProxyConfig(c *gin.Context) { method DeleteProxyConfig (line 532) | func (b *BaseApi) DeleteProxyConfig(c *gin.Context) { method UpdateProxyConfigStatus (line 554) | func (b *BaseApi) UpdateProxyConfigStatus(c *gin.Context) { method UpdateProxyConfigFile (line 576) | func (b *BaseApi) UpdateProxyConfigFile(c *gin.Context) { method GetAuthConfig (line 596) | func (b *BaseApi) GetAuthConfig(c *gin.Context) { method UpdateAuthConfig (line 617) | func (b *BaseApi) UpdateAuthConfig(c *gin.Context) { method GetPathAuthConfig (line 637) | func (b *BaseApi) GetPathAuthConfig(c *gin.Context) { method UpdatePathAuthConfig (line 658) | func (b *BaseApi) UpdatePathAuthConfig(c *gin.Context) { method GetAntiLeech (line 678) | func (b *BaseApi) GetAntiLeech(c *gin.Context) { method UpdateAntiLeech (line 699) | func (b *BaseApi) UpdateAntiLeech(c *gin.Context) { method UpdateRedirectConfig (line 720) | func (b *BaseApi) UpdateRedirectConfig(c *gin.Context) { method GetRedirectConfig (line 741) | func (b *BaseApi) GetRedirectConfig(c *gin.Context) { method UpdateRedirectConfigFile (line 763) | func (b *BaseApi) UpdateRedirectConfigFile(c *gin.Context) { method GetDirConfig (line 783) | func (b *BaseApi) GetDirConfig(c *gin.Context) { method GetDefaultHtml (line 803) | func (b *BaseApi) GetDefaultHtml(c *gin.Context) { method UpdateDefaultHtml (line 826) | func (b *BaseApi) UpdateDefaultHtml(c *gin.Context) { method GetLoadBalances (line 846) | func (b *BaseApi) GetLoadBalances(c *gin.Context) { method CreateLoadBalance (line 868) | func (b *BaseApi) CreateLoadBalance(c *gin.Context) { method DeleteLoadBalance (line 888) | func (b *BaseApi) DeleteLoadBalance(c *gin.Context) { method UpdateLoadBalance (line 908) | func (b *BaseApi) UpdateLoadBalance(c *gin.Context) { method UpdateLoadBalanceFile (line 928) | func (b *BaseApi) UpdateLoadBalanceFile(c *gin.Context) { method ChangeWebsiteGroup (line 940) | func (b *BaseApi) ChangeWebsiteGroup(c *gin.Context) { method UpdateProxyCache (line 960) | func (b *BaseApi) UpdateProxyCache(c *gin.Context) { method GetProxyCache (line 979) | func (b *BaseApi) GetProxyCache(c *gin.Context) { method SetRealIPConfig (line 1002) | func (b *BaseApi) SetRealIPConfig(c *gin.Context) { method GetRealIPConfig (line 1022) | func (b *BaseApi) GetRealIPConfig(c *gin.Context) { method GetWebsiteResource (line 1044) | func (b *BaseApi) GetWebsiteResource(c *gin.Context) { method GetWebsiteDatabase (line 1065) | func (b *BaseApi) GetWebsiteDatabase(c *gin.Context) { method ChangeWebsiteDatabase (line 1082) | func (b *BaseApi) ChangeWebsiteDatabase(c *gin.Context) { method OperateCustomRewrite (line 1102) | func (b *BaseApi) OperateCustomRewrite(c *gin.Context) { method ListCustomRewrite (line 1121) | func (b *BaseApi) ListCustomRewrite(c *gin.Context) { method ClearProxyCache (line 1137) | func (b *BaseApi) ClearProxyCache(c *gin.Context) { method OperateCrossSiteAccess (line 1157) | func (b *BaseApi) OperateCrossSiteAccess(c *gin.Context) { method ExecComposer (line 1177) | func (b *BaseApi) ExecComposer(c *gin.Context) { method BatchOpWebsites (line 1197) | func (b *BaseApi) BatchOpWebsites(c *gin.Context) { method BatchSetWebsiteGroup (line 1217) | func (b *BaseApi) BatchSetWebsiteGroup(c *gin.Context) { method GetCORSConfig (line 1237) | func (b *BaseApi) GetCORSConfig(c *gin.Context) { method UpdateCORSConfig (line 1259) | func (b *BaseApi) UpdateCORSConfig(c *gin.Context) { method UpdateStreamConfig (line 1279) | func (b *BaseApi) UpdateStreamConfig(c *gin.Context) { method BatchSetHttps (line 1299) | func (b *BaseApi) BatchSetHttps(c *gin.Context) { FILE: agent/app/api/v2/website_acme_account.go method PageWebsiteAcmeAccount (line 18) | func (b *BaseApi) PageWebsiteAcmeAccount(c *gin.Context) { method CreateWebsiteAcmeAccount (line 43) | func (b *BaseApi) CreateWebsiteAcmeAccount(c *gin.Context) { method DeleteWebsiteAcmeAccount (line 65) | func (b *BaseApi) DeleteWebsiteAcmeAccount(c *gin.Context) { method UpdateWebsiteAcmeAccount (line 86) | func (b *BaseApi) UpdateWebsiteAcmeAccount(c *gin.Context) { FILE: agent/app/api/v2/website_ca.go method PageWebsiteCA (line 22) | func (b *BaseApi) PageWebsiteCA(c *gin.Context) { method CreateWebsiteCA (line 47) | func (b *BaseApi) CreateWebsiteCA(c *gin.Context) { method GetWebsiteCA (line 68) | func (b *BaseApi) GetWebsiteCA(c *gin.Context) { method DeleteWebsiteCA (line 90) | func (b *BaseApi) DeleteWebsiteCA(c *gin.Context) { method ObtainWebsiteCA (line 111) | func (b *BaseApi) ObtainWebsiteCA(c *gin.Context) { method RenewWebsiteCA (line 133) | func (b *BaseApi) RenewWebsiteCA(c *gin.Context) { method DownloadCAFile (line 159) | func (b *BaseApi) DownloadCAFile(c *gin.Context) { FILE: agent/app/api/v2/website_dns_account.go method PageWebsiteDnsAccount (line 18) | func (b *BaseApi) PageWebsiteDnsAccount(c *gin.Context) { method CreateWebsiteDnsAccount (line 43) | func (b *BaseApi) CreateWebsiteDnsAccount(c *gin.Context) { method UpdateWebsiteDnsAccount (line 64) | func (b *BaseApi) UpdateWebsiteDnsAccount(c *gin.Context) { method DeleteWebsiteDnsAccount (line 85) | func (b *BaseApi) DeleteWebsiteDnsAccount(c *gin.Context) { FILE: agent/app/api/v2/website_domain.go method DeleteWebDomain (line 18) | func (b *BaseApi) DeleteWebDomain(c *gin.Context) { method CreateWebDomain (line 39) | func (b *BaseApi) CreateWebDomain(c *gin.Context) { method GetWebDomains (line 60) | func (b *BaseApi) GetWebDomains(c *gin.Context) { method UpdateWebDomain (line 83) | func (b *BaseApi) UpdateWebDomain(c *gin.Context) { FILE: agent/app/api/v2/website_ssl.go method PageWebsiteSSL (line 26) | func (b *BaseApi) PageWebsiteSSL(c *gin.Context) { method ListWebsiteSSL (line 50) | func (b *BaseApi) ListWebsiteSSL(c *gin.Context) { method CreateWebsiteSSL (line 72) | func (b *BaseApi) CreateWebsiteSSL(c *gin.Context) { method ApplyWebsiteSSL (line 94) | func (b *BaseApi) ApplyWebsiteSSL(c *gin.Context) { method GetDNSResolve (line 114) | func (b *BaseApi) GetDNSResolve(c *gin.Context) { method DeleteWebsiteSSL (line 136) | func (b *BaseApi) DeleteWebsiteSSL(c *gin.Context) { method GetWebsiteSSLByWebsiteId (line 156) | func (b *BaseApi) GetWebsiteSSLByWebsiteId(c *gin.Context) { method GetWebsiteSSLById (line 178) | func (b *BaseApi) GetWebsiteSSLById(c *gin.Context) { method UpdateWebsiteSSL (line 201) | func (b *BaseApi) UpdateWebsiteSSL(c *gin.Context) { method UploadWebsiteSSL (line 222) | func (b *BaseApi) UploadWebsiteSSL(c *gin.Context) { method UploadSSLFile (line 247) | func (b *BaseApi) UploadSSLFile(c *gin.Context) { function readUploadedFile (line 296) | func readUploadedFile(fileHeader *multipart.FileHeader) ([]byte, error) { method DownloadWebsiteSSL (line 315) | func (b *BaseApi) DownloadWebsiteSSL(c *gin.Context) { method ImportMasterSSL (line 336) | func (b *BaseApi) ImportMasterSSL(c *gin.Context) { FILE: agent/app/dto/agents.go type AgentCreateReq (line 5) | type AgentCreateReq struct type AgentItem (line 29) | type AgentItem struct type AgentDeleteReq (line 56) | type AgentDeleteReq struct type AgentTokenResetReq (line 62) | type AgentTokenResetReq struct type AgentModelConfigUpdateReq (line 66) | type AgentModelConfigUpdateReq struct type AgentAccountModel (line 72) | type AgentAccountModel struct type AgentAccountModelReq (line 82) | type AgentAccountModelReq struct type AgentAccountModelCreateReq (line 86) | type AgentAccountModelCreateReq struct type AgentAccountModelUpdateReq (line 91) | type AgentAccountModelUpdateReq struct type AgentAccountModelDeleteReq (line 96) | type AgentAccountModelDeleteReq struct type AgentAccountCreateReq (line 101) | type AgentAccountCreateReq struct type AgentAccountUpdateReq (line 112) | type AgentAccountUpdateReq struct type AgentAccountVerifyReq (line 123) | type AgentAccountVerifyReq struct type AgentAccountDeleteReq (line 129) | type AgentAccountDeleteReq struct type AgentAccountSearch (line 133) | type AgentAccountSearch struct type AgentAccountInfo (line 139) | type AgentAccountInfo struct type ProviderModelInfo (line 154) | type ProviderModelInfo struct type ProviderInfo (line 163) | type ProviderInfo struct type AgentFeishuConfigReq (line 171) | type AgentFeishuConfigReq struct type AgentFeishuConfigUpdateReq (line 175) | type AgentFeishuConfigUpdateReq struct type AgentFeishuPairingApproveReq (line 184) | type AgentFeishuPairingApproveReq struct type AgentFeishuConfig (line 189) | type AgentFeishuConfig struct type AgentTelegramConfigReq (line 197) | type AgentTelegramConfigReq struct type AgentTelegramConfigUpdateReq (line 201) | type AgentTelegramConfigUpdateReq struct type AgentTelegramConfig (line 209) | type AgentTelegramConfig struct type AgentChannelPairingApproveReq (line 216) | type AgentChannelPairingApproveReq struct type AgentWecomConfigReq (line 222) | type AgentWecomConfigReq struct type AgentWecomConfigUpdateReq (line 226) | type AgentWecomConfigUpdateReq struct type AgentWecomConfig (line 234) | type AgentWecomConfig struct type AgentDingTalkConfigReq (line 242) | type AgentDingTalkConfigReq struct type AgentDingTalkConfigUpdateReq (line 246) | type AgentDingTalkConfigUpdateReq struct type AgentDingTalkConfig (line 257) | type AgentDingTalkConfig struct type AgentQQBotConfigReq (line 268) | type AgentQQBotConfigReq struct type AgentQQBotConfigUpdateReq (line 272) | type AgentQQBotConfigUpdateReq struct type AgentQQBotConfig (line 279) | type AgentQQBotConfig struct type AgentPluginInstallReq (line 286) | type AgentPluginInstallReq struct type AgentPluginCheckReq (line 292) | type AgentPluginCheckReq struct type AgentPluginStatus (line 297) | type AgentPluginStatus struct type AgentDiscordConfigReq (line 301) | type AgentDiscordConfigReq struct type AgentDiscordConfigUpdateReq (line 305) | type AgentDiscordConfigUpdateReq struct type AgentDiscordConfig (line 314) | type AgentDiscordConfig struct type AgentSecurityConfigReq (line 322) | type AgentSecurityConfigReq struct type AgentSecurityConfigUpdateReq (line 326) | type AgentSecurityConfigUpdateReq struct type AgentSecurityConfig (line 331) | type AgentSecurityConfig struct type AgentOtherConfigReq (line 335) | type AgentOtherConfigReq struct type AgentOtherConfigUpdateReq (line 339) | type AgentOtherConfigUpdateReq struct type AgentOtherConfig (line 345) | type AgentOtherConfig struct FILE: agent/app/dto/ai.go type OllamaModelInfo (line 5) | type OllamaModelInfo struct type OllamaModelDropList (line 17) | type OllamaModelDropList struct type OllamaModelName (line 22) | type OllamaModelName struct type OllamaBindDomain (line 27) | type OllamaBindDomain struct type OllamaBindDomainReq (line 35) | type OllamaBindDomainReq struct type OllamaBindDomainRes (line 39) | type OllamaBindDomainRes struct FILE: agent/app/dto/alert.go type CreateOrUpdateAlert (line 9) | type CreateOrUpdateAlert struct type AlertBase (line 17) | type AlertBase struct type PushAlert (line 22) | type PushAlert struct type AlertSearch (line 29) | type AlertSearch struct type AlertDTO (line 38) | type AlertDTO struct type AlertCreate (line 53) | type AlertCreate struct type AlertUpdate (line 65) | type AlertUpdate struct type DeleteRequest (line 78) | type DeleteRequest struct type AlertUpdateStatus (line 82) | type AlertUpdateStatus struct type DiskDTO (line 87) | type DiskDTO struct type AlertLogSearch (line 102) | type AlertLogSearch struct type AlertLogDTO (line 108) | type AlertLogDTO struct type AlertLogCreate (line 122) | type AlertLogCreate struct type AlertLog (line 135) | type AlertLog struct type AlertDetail (line 139) | type AlertDetail struct type AlertRule (line 152) | type AlertRule struct type Param (line 166) | type Param struct type ClamDTO (line 172) | type ClamDTO struct type CronJobDTO (line 181) | type CronJobDTO struct type CronJobReq (line 190) | type CronJobReq struct type UpgradeInfo (line 196) | type UpgradeInfo struct type AlertDiskInfo (line 203) | type AlertDiskInfo struct type SyncResult (line 209) | type SyncResult struct type QueryRequest (line 220) | type QueryRequest struct type AlertResponse (line 225) | type AlertResponse struct type PushResult (line 231) | type PushResult struct type UpdateOfflineAlertLog (line 236) | type UpdateOfflineAlertLog struct type SyncOfflineAlertLogDTO (line 244) | type SyncOfflineAlertLogDTO struct type OfflineAlertResponse (line 251) | type OfflineAlertResponse struct type OfflineAlertLogDTO (line 261) | type OfflineAlertLogDTO struct type OfflineQueryRequest (line 277) | type OfflineQueryRequest struct type AlertConfigUpdate (line 283) | type AlertConfigUpdate struct type AlertConfigTest (line 291) | type AlertConfigTest struct type AlertSendTimeRange (line 302) | type AlertSendTimeRange struct type AlertCommonConfig (line 313) | type AlertCommonConfig struct type AlertSmsConfig (line 318) | type AlertSmsConfig struct type AlertEmailConfig (line 323) | type AlertEmailConfig struct type AgentInfo (line 334) | type AgentInfo struct type AlertWebhookConfig (line 339) | type AlertWebhookConfig struct FILE: agent/app/dto/app.go type AppDatabase (line 9) | type AppDatabase struct type AuthParam (line 19) | type AuthParam struct type RedisAuthParam (line 24) | type RedisAuthParam struct type MinioAuthParam (line 28) | type MinioAuthParam struct type ContainerExec (line 33) | type ContainerExec struct type AppOssConfig (line 39) | type AppOssConfig struct type AppVersion (line 44) | type AppVersion struct type AppList (line 50) | type AppList struct type AppDefine (line 59) | type AppDefine struct type LocalAppAppDefine (line 69) | type LocalAppAppDefine struct type LocalAppParam (line 73) | type LocalAppParam struct type LocalAppInstallDefine (line 77) | type LocalAppInstallDefine struct type ExtraProperties (line 81) | type ExtraProperties struct type AppProperty (line 86) | type AppProperty struct type AppConfigVersion (line 109) | type AppConfigVersion struct type Tag (line 117) | type Tag struct type Locale (line 124) | type Locale struct type AppForm (line 137) | type AppForm struct type AppFormFields (line 142) | type AppFormFields struct type AppFormValue (line 159) | type AppFormValue struct type AppResource (line 164) | type AppResource struct type AppInstallInfo (line 174) | type AppInstallInfo struct type DelAppLink (line 180) | type DelAppLink struct type PHPForm (line 187) | type PHPForm struct FILE: agent/app/dto/backup.go type BackupOperate (line 7) | type BackupOperate struct type BackupInfo (line 21) | type BackupInfo struct type BackupCheckRes (line 36) | type BackupCheckRes struct type ForBuckets (line 42) | type ForBuckets struct type SyncFromMaster (line 49) | type SyncFromMaster struct type BackupOption (line 55) | type BackupOption struct type UploadForRecover (line 62) | type UploadForRecover struct type CommonBackup (line 67) | type CommonBackup struct type CommonRecover (line 79) | type CommonRecover struct type RecordSearch (line 91) | type RecordSearch struct type RecordSearchByCronjob (line 98) | type RecordSearchByCronjob struct type BackupRecords (line 103) | type BackupRecords struct type DownloadRecord (line 117) | type DownloadRecord struct type SearchForSize (line 123) | type SearchForSize struct type RecordFileSize (line 133) | type RecordFileSize struct FILE: agent/app/dto/clam.go type SearchClamWithPage (line 7) | type SearchClamWithPage struct type ClamBaseInfo (line 14) | type ClamBaseInfo struct type ClamInfo (line 24) | type ClamInfo struct type ClamLogSearch (line 42) | type ClamLogSearch struct type ClamLogReq (line 51) | type ClamLogReq struct type ClamFileReq (line 57) | type ClamFileReq struct type ClamRecord (line 62) | type ClamRecord struct type ClamCreate (line 74) | type ClamCreate struct type ClamUpdate (line 88) | type ClamUpdate struct type ClamUpdateStatus (line 103) | type ClamUpdateStatus struct type ClamDelete (line 108) | type ClamDelete struct FILE: agent/app/dto/command.go type SearchCommandWithPage (line 3) | type SearchCommandWithPage struct type CommandOperate (line 12) | type CommandOperate struct type CommandInfo (line 20) | type CommandInfo struct type CommandTree (line 28) | type CommandTree struct type RedisCommand (line 34) | type RedisCommand struct FILE: agent/app/dto/common_req.go type SearchWithPage (line 3) | type SearchWithPage struct type SearchPageWithType (line 8) | type SearchPageWithType struct type SearchPageWithGroup (line 14) | type SearchPageWithGroup struct type PageInfo (line 20) | type PageInfo struct type UpdateDescription (line 25) | type UpdateDescription struct type OperationWithName (line 30) | type OperationWithName struct type OperateByID (line 34) | type OperateByID struct type OperateByIDs (line 37) | type OperateByIDs struct type Operate (line 41) | type Operate struct type SearchByFilter (line 45) | type SearchByFilter struct type BatchDeleteReq (line 49) | type BatchDeleteReq struct type FilePath (line 53) | type FilePath struct type DeleteByName (line 57) | type DeleteByName struct type UpdateByFile (line 61) | type UpdateByFile struct type UpdateByNameAndFile (line 65) | type UpdateByNameAndFile struct type OperationWithNameAndType (line 70) | type OperationWithNameAndType struct type UpdateGroup (line 75) | type UpdateGroup struct type OperateWithTask (line 80) | type OperateWithTask struct type ForceDelete (line 84) | type ForceDelete struct type ChangeGroup (line 89) | type ChangeGroup struct FILE: agent/app/dto/common_res.go type PageResult (line 3) | type PageResult struct type Response (line 8) | type Response struct type Options (line 14) | type Options struct FILE: agent/app/dto/compose_template.go type ComposeTemplateCreate (line 5) | type ComposeTemplateCreate struct type ComposeTemplateBatch (line 11) | type ComposeTemplateBatch struct type ComposeTemplateUpdate (line 15) | type ComposeTemplateUpdate struct type ComposeTemplateInfo (line 21) | type ComposeTemplateInfo struct FILE: agent/app/dto/container.go type PageContainer (line 7) | type PageContainer struct type InspectReq (line 17) | type InspectReq struct type ContainerInfo (line 23) | type ContainerInfo struct type ContainerOptions (line 46) | type ContainerOptions struct type ContainerFileReq (line 51) | type ContainerFileReq struct type ContainerFileBatchDeleteReq (line 56) | type ContainerFileBatchDeleteReq struct type ContainerFileInfo (line 61) | type ContainerFileInfo struct type ContainerFileContent (line 72) | type ContainerFileContent struct type ContainerStatus (line 79) | type ContainerStatus struct type ResourceLimit (line 96) | type ResourceLimit struct type ContainerOperate (line 101) | type ContainerOperate struct type ExtraHost (line 132) | type ExtraHost struct type ContainerNetwork (line 136) | type ContainerNetwork struct type ContainerCreateByCommand (line 143) | type ContainerCreateByCommand struct type ContainerUpgrade (line 148) | type ContainerUpgrade struct type ContainerItemStats (line 155) | type ContainerItemStats struct type ContainerListStats (line 168) | type ContainerListStats struct type ContainerStats (line 182) | type ContainerStats struct type VolumeHelper (line 194) | type VolumeHelper struct type PortHelper (line 201) | type PortHelper struct type ContainerOperation (line 208) | type ContainerOperation struct type ContainerRename (line 214) | type ContainerRename struct type ContainerCommit (line 219) | type ContainerCommit struct type ContainerPrune (line 230) | type ContainerPrune struct type Network (line 236) | type Network struct type NetworkCreate (line 247) | type NetworkCreate struct type Volume (line 265) | type Volume struct type VolumeCreate (line 273) | type VolumeCreate struct type VolumeOption (line 279) | type VolumeOption struct type BatchDelete (line 283) | type BatchDelete struct type ComposeInfo (line 289) | type ComposeInfo struct type ComposeContainer (line 301) | type ComposeContainer struct type ComposeCreate (line 308) | type ComposeCreate struct type ComposeOperation (line 318) | type ComposeOperation struct type ComposeUpdate (line 325) | type ComposeUpdate struct type ComposeLogClean (line 334) | type ComposeLogClean struct type ContainerLog (line 340) | type ContainerLog struct type StreamLog (line 348) | type StreamLog struct FILE: agent/app/dto/cronjob.go type PageCronjob (line 7) | type PageCronjob struct type CronjobSpec (line 15) | type CronjobSpec struct type CronjobOperate (line 19) | type CronjobOperate struct type CleanLogConfig (line 61) | type CleanLogConfig struct type SnapshotRule (line 65) | type SnapshotRule struct type CronjobUpdateStatus (line 70) | type CronjobUpdateStatus struct type CronjobClean (line 75) | type CronjobClean struct type CronjobBatchDelete (line 82) | type CronjobBatchDelete struct type CronjobInfo (line 88) | type CronjobInfo struct type CronjobImport (line 132) | type CronjobImport struct type CronjobTrans (line 135) | type CronjobTrans struct type TransHelper (line 176) | type TransHelper struct type SnapshotTransHelper (line 180) | type SnapshotTransHelper struct type ScriptOptions (line 185) | type ScriptOptions struct type SearchRecord (line 190) | type SearchRecord struct type Record (line 198) | type Record struct FILE: agent/app/dto/dashboard.go type DashboardBase (line 5) | type DashboardBase struct type ChangeQuicks (line 33) | type ChangeQuicks struct type QuickJump (line 37) | type QuickJump struct type OsInfo (line 48) | type OsInfo struct type NodeCurrent (line 59) | type NodeCurrent struct type DashboardCurrent (line 81) | type DashboardCurrent struct type AppLauncherSync (line 131) | type AppLauncherSync struct type DiskInfo (line 135) | type DiskInfo struct type GPUInfo (line 150) | type GPUInfo struct type AppLauncher (line 165) | type AppLauncher struct type InstallDetail (line 179) | type InstallDetail struct type LauncherOption (line 191) | type LauncherOption struct type XPUInfo (line 196) | type XPUInfo struct FILE: agent/app/dto/database.go type DBConfUpdateByFile (line 6) | type DBConfUpdateByFile struct type ChangeDBInfo (line 11) | type ChangeDBInfo struct type DBBaseInfo (line 19) | type DBBaseInfo struct type MysqlDBSearch (line 26) | type MysqlDBSearch struct type MysqlDBInfo (line 34) | type MysqlDBInfo struct type MysqlOption (line 49) | type MysqlOption struct type MysqlDBCreate (line 57) | type MysqlDBCreate struct type MysqlFormatCollationOption (line 69) | type MysqlFormatCollationOption struct type BindUser (line 74) | type BindUser struct type MysqlLoadDB (line 82) | type MysqlLoadDB struct type MysqlDBDeleteCheck (line 88) | type MysqlDBDeleteCheck struct type MysqlDBDelete (line 94) | type MysqlDBDelete struct type MysqlStatus (line 102) | type MysqlStatus struct type MysqlVariables (line 140) | type MysqlVariables struct type MysqlVariablesUpdate (line 162) | type MysqlVariablesUpdate struct type MysqlVariablesUpdateHelper (line 168) | type MysqlVariablesUpdateHelper struct type ChangeRedisPass (line 174) | type ChangeRedisPass struct type RedisConfUpdate (line 179) | type RedisConfUpdate struct type RedisConfPersistenceUpdate (line 186) | type RedisConfPersistenceUpdate struct type RedisConf (line 195) | type RedisConf struct type RedisPersistence (line 206) | type RedisPersistence struct type RedisStatus (line 213) | type RedisStatus struct type DatabaseFileRecords (line 230) | type DatabaseFileRecords struct type RedisBackupRecover (line 237) | type RedisBackupRecover struct type DatabaseSearch (line 244) | type DatabaseSearch struct type DatabaseInfo (line 252) | type DatabaseInfo struct type DatabaseOption (line 275) | type DatabaseOption struct type DatabaseItem (line 284) | type DatabaseItem struct type DatabaseCreate (line 291) | type DatabaseCreate struct type DatabaseUpdate (line 312) | type DatabaseUpdate struct type DatabaseDelete (line 332) | type DatabaseDelete struct type LoadRedisStatus (line 338) | type LoadRedisStatus struct type DBResource (line 343) | type DBResource struct FILE: agent/app/dto/database_postgresql.go type PostgresqlDBSearch (line 5) | type PostgresqlDBSearch struct type PostgresqlDBInfo (line 13) | type PostgresqlDBInfo struct type PostgresqlOption (line 27) | type PostgresqlOption struct type PostgresqlDBCreate (line 35) | type PostgresqlDBCreate struct type PostgresqlBindUser (line 46) | type PostgresqlBindUser struct type PostgresqlPrivileges (line 54) | type PostgresqlPrivileges struct type PostgresqlLoadDB (line 61) | type PostgresqlLoadDB struct type PostgresqlDBDeleteCheck (line 67) | type PostgresqlDBDeleteCheck struct type PostgresqlDBDelete (line 73) | type PostgresqlDBDelete struct FILE: agent/app/dto/device.go type DeviceBaseInfo (line 3) | type DeviceBaseInfo struct type HostHelper (line 20) | type HostHelper struct type SwapHelper (line 25) | type SwapHelper struct type TimeZoneOptions (line 34) | type TimeZoneOptions struct type ChangePasswd (line 39) | type ChangePasswd struct FILE: agent/app/dto/disk.go type LsblkDevice (line 3) | type LsblkDevice struct type LsblkOutput (line 16) | type LsblkOutput struct type DiskFormatRequest (line 20) | type DiskFormatRequest struct FILE: agent/app/dto/docker.go type DaemonJsonUpdateByFile (line 3) | type DaemonJsonUpdateByFile struct type DockerStatus (line 7) | type DockerStatus struct type DaemonJsonConf (line 12) | type DaemonJsonConf struct type LogOption (line 30) | type LogOption struct type Ipv6Option (line 35) | type Ipv6Option struct type DockerOperation (line 41) | type DockerOperation struct FILE: agent/app/dto/fail2ban.go type Fail2BanBaseInfo (line 3) | type Fail2BanBaseInfo struct type Fail2BanSearch (line 17) | type Fail2BanSearch struct type Fail2BanUpdate (line 21) | type Fail2BanUpdate struct type Fail2BanSet (line 26) | type Fail2BanSet struct FILE: agent/app/dto/file.go type LogFileRes (line 3) | type LogFileRes struct FILE: agent/app/dto/firewall.go type FirewallBaseInfo (line 3) | type FirewallBaseInfo struct type RuleSearch (line 13) | type RuleSearch struct type FirewallOperation (line 21) | type FirewallOperation struct type PortRuleOperate (line 26) | type PortRuleOperate struct type ForwardRuleOperate (line 38) | type ForwardRuleOperate struct type UpdateFirewallDescription (line 51) | type UpdateFirewallDescription struct type AddrRuleOperate (line 64) | type AddrRuleOperate struct type PortRuleUpdate (line 73) | type PortRuleUpdate struct type AddrRuleUpdate (line 78) | type AddrRuleUpdate struct type BatchRuleOperate (line 83) | type BatchRuleOperate struct type IptablesOp (line 88) | type IptablesOp struct type IptablesRuleOp (line 93) | type IptablesRuleOp struct type IptablesBatchOperate (line 106) | type IptablesBatchOperate struct type IptablesChainStatus (line 110) | type IptablesChainStatus struct FILE: agent/app/dto/ftp.go type FtpInfo (line 7) | type FtpInfo struct type FtpBaseInfo (line 18) | type FtpBaseInfo struct type FtpLogSearch (line 23) | type FtpLogSearch struct type FtpCreate (line 29) | type FtpCreate struct type FtpUpdate (line 36) | type FtpUpdate struct FILE: agent/app/dto/group.go type GroupCreate (line 3) | type GroupCreate struct type GroupSearch (line 9) | type GroupSearch struct type GroupUpdate (line 13) | type GroupUpdate struct type GroupInfo (line 20) | type GroupInfo struct type OperateByType (line 27) | type OperateByType struct FILE: agent/app/dto/host.go type HostOperate (line 5) | type HostOperate struct type HostConnTest (line 21) | type HostConnTest struct type SearchForTree (line 31) | type SearchForTree struct type HostInfo (line 35) | type HostInfo struct type HostTree (line 53) | type HostTree struct type TreeChild (line 59) | type TreeChild struct FILE: agent/app/dto/image.go type PageImage (line 5) | type PageImage struct type ImageInfo (line 12) | type ImageInfo struct type ImageLoad (line 23) | type ImageLoad struct type ImageBuild (line 28) | type ImageBuild struct type ImagePull (line 37) | type ImagePull struct type ImageTag (line 43) | type ImageTag struct type ImagePush (line 48) | type ImagePush struct type ImageSave (line 55) | type ImageSave struct FILE: agent/app/dto/image_repo.go type ImageRepoCreate (line 5) | type ImageRepoCreate struct type ImageRepoUpdate (line 14) | type ImageRepoUpdate struct type ImageRepoInfo (line 23) | type ImageRepoInfo struct type ImageRepoOption (line 36) | type ImageRepoOption struct type ImageRepoDelete (line 42) | type ImageRepoDelete struct FILE: agent/app/dto/logs.go type SearchTaskLogReq (line 7) | type SearchTaskLogReq struct type TaskDTO (line 13) | type TaskDTO struct FILE: agent/app/dto/monitor.go type MonitorSearch (line 5) | type MonitorSearch struct type MonitorData (line 13) | type MonitorData struct type Process (line 19) | type Process struct type MonitorSetting (line 28) | type MonitorSetting struct type MonitorSettingUpdate (line 36) | type MonitorSettingUpdate struct type MonitorGPUOptions (line 41) | type MonitorGPUOptions struct type GPUChartHide (line 46) | type GPUChartHide struct type MonitorGPUSearch (line 55) | type MonitorGPUSearch struct type MonitorGPUData (line 60) | type MonitorGPUData struct type GPUProcess (line 76) | type GPUProcess struct FILE: agent/app/dto/nginx.go type NginxFull (line 8) | type NginxFull struct type NginxConfig (line 19) | type NginxConfig struct type NginxParam (line 25) | type NginxParam struct type NginxAuth (line 31) | type NginxAuth struct type NginxPathAuth (line 36) | type NginxPathAuth struct type NginxKey (line 43) | type NginxKey constant Index (line 46) | Index NginxKey = "index" constant LimitConn (line 47) | LimitConn NginxKey = "limit-conn" constant SSL (line 48) | SSL NginxKey = "ssl" constant CACHE (line 49) | CACHE NginxKey = "cache" constant HttpPer (line 50) | HttpPer NginxKey = "http-per" constant ProxyCache (line 51) | ProxyCache NginxKey = "proxy-cache" type NginxUpstream (line 68) | type NginxUpstream struct type NginxUpstreamServer (line 75) | type NginxUpstreamServer struct type NginxModule (line 89) | type NginxModule struct FILE: agent/app/dto/request/app.go type AppSearch (line 9) | type AppSearch struct type AppInstallCreate (line 19) | type AppInstallCreate struct type NodePushConfig (line 30) | type NodePushConfig struct type AppContainerConfig (line 37) | type AppContainerConfig struct type AppInstalledSearch (line 55) | type AppInstalledSearch struct type AppInstalledInfo (line 67) | type AppInstalledInfo struct type AppBackupSearch (line 72) | type AppBackupSearch struct type AppBackupDelete (line 77) | type AppBackupDelete struct type AppInstalledOperate (line 81) | type AppInstalledOperate struct type AppInstallUpgrade (line 97) | type AppInstallUpgrade struct type AppInstallDelete (line 106) | type AppInstallDelete struct type AppInstalledUpdate (line 115) | type AppInstalledUpdate struct type AppConfigUpdate (line 121) | type AppConfigUpdate struct type AppInstalledIgnoreUpgrade (line 126) | type AppInstalledIgnoreUpgrade struct type PortUpdate (line 131) | type PortUpdate struct type AppUpdateVersion (line 137) | type AppUpdateVersion struct type AppInstallSortItem (line 142) | type AppInstallSortItem struct type AppInstallSort (line 147) | type AppInstallSort struct FILE: agent/app/dto/request/app_ignore_upgrade.go type AppIgnoreUpgradeReq (line 3) | type AppIgnoreUpgradeReq struct FILE: agent/app/dto/request/common.go type ReqWithID (line 3) | type ReqWithID struct FILE: agent/app/dto/request/disk.go type DiskPartitionRequest (line 3) | type DiskPartitionRequest struct type DiskMountRequest (line 11) | type DiskMountRequest struct type DiskUnmountRequest (line 19) | type DiskUnmountRequest struct FILE: agent/app/dto/request/favorite.go type FavoriteCreate (line 3) | type FavoriteCreate struct type FavoriteDelete (line 7) | type FavoriteDelete struct FILE: agent/app/dto/request/file.go type FileOption (line 8) | type FileOption struct type FileContentReq (line 12) | type FileContentReq struct type SearchUploadWithPage (line 16) | type SearchUploadWithPage struct type FileCreate (line 21) | type FileCreate struct type FileRoleReq (line 32) | type FileRoleReq struct type FileDelete (line 40) | type FileDelete struct type FileBatchDelete (line 46) | type FileBatchDelete struct type FileCompress (line 51) | type FileCompress struct type FileDeCompress (line 60) | type FileDeCompress struct type FileEdit (line 67) | type FileEdit struct type FileRename (line 72) | type FileRename struct type FilePathCheck (line 77) | type FilePathCheck struct type FilePathsCheck (line 82) | type FilePathsCheck struct type FileWget (line 86) | type FileWget struct type FileMove (line 93) | type FileMove struct type FileDownload (line 102) | type FileDownload struct type FileChunkDownload (line 109) | type FileChunkDownload struct type DirSizeReq (line 114) | type DirSizeReq struct type FileProcessReq (line 118) | type FileProcessReq struct type FileRoleUpdate (line 122) | type FileRoleUpdate struct type FileReadByLineReq (line 129) | type FileReadByLineReq struct type TaskReq (line 139) | type TaskReq struct type FileExistReq (line 146) | type FileExistReq struct type FileConvert (line 151) | type FileConvert struct type FileConvertRequest (line 160) | type FileConvertRequest struct type FileRemarkBatch (line 167) | type FileRemarkBatch struct type FileRemarkUpdate (line 171) | type FileRemarkUpdate struct FILE: agent/app/dto/request/host_tool.go type HostToolReq (line 3) | type HostToolReq struct type HostToolCreate (line 8) | type HostToolCreate struct type SupervisorConfig (line 13) | type SupervisorConfig struct type HostToolLogReq (line 18) | type HostToolLogReq struct type HostToolConfig (line 22) | type HostToolConfig struct type SupervisorProcessConfig (line 28) | type SupervisorProcessConfig struct type SupervisorProcessFileReq (line 40) | type SupervisorProcessFileReq struct FILE: agent/app/dto/request/mcp_server.go type McpServerSearch (line 5) | type McpServerSearch struct type McpServerCreate (line 11) | type McpServerCreate struct type McpServerUpdate (line 26) | type McpServerUpdate struct type McpServerDelete (line 31) | type McpServerDelete struct type McpServerOperate (line 35) | type McpServerOperate struct type McpBindDomain (line 40) | type McpBindDomain struct type McpBindDomainUpdate (line 46) | type McpBindDomainUpdate struct FILE: agent/app/dto/request/nginx.go type NginxConfigFileUpdate (line 5) | type NginxConfigFileUpdate struct type NginxScopeReq (line 10) | type NginxScopeReq struct type NginxConfigUpdate (line 15) | type NginxConfigUpdate struct type NginxRewriteReq (line 22) | type NginxRewriteReq struct type CustomRewriteOperate (line 27) | type CustomRewriteOperate struct type NginxRewriteUpdate (line 33) | type NginxRewriteUpdate struct type NginxProxyUpdate (line 39) | type NginxProxyUpdate struct type NginxProxyCacheUpdate (line 45) | type NginxProxyCacheUpdate struct type NginxAuthUpdate (line 56) | type NginxAuthUpdate struct type NginxPathAuthUpdate (line 64) | type NginxPathAuthUpdate struct type NginxAuthReq (line 74) | type NginxAuthReq struct type NginxCommonReq (line 78) | type NginxCommonReq struct type NginxAntiLeechUpdate (line 82) | type NginxAntiLeechUpdate struct type NginxRedirectReq (line 96) | type NginxRedirectReq struct type NginxRedirectUpdate (line 110) | type NginxRedirectUpdate struct type NginxBuildReq (line 116) | type NginxBuildReq struct type NginxModuleUpdate (line 121) | type NginxModuleUpdate struct type NginxOperateReq (line 130) | type NginxOperateReq struct type NginxDefaultHTTPSUpdate (line 134) | type NginxDefaultHTTPSUpdate struct FILE: agent/app/dto/request/php_extensions.go type PHPExtensionsSearch (line 5) | type PHPExtensionsSearch struct type PHPExtensionsCreate (line 10) | type PHPExtensionsCreate struct type PHPExtensionsUpdate (line 15) | type PHPExtensionsUpdate struct type PHPExtensionsDelete (line 20) | type PHPExtensionsDelete struct FILE: agent/app/dto/request/process.go type ProcessReq (line 3) | type ProcessReq struct FILE: agent/app/dto/request/recycle_bin.go type RecycleBinCreate (line 3) | type RecycleBinCreate struct type RecycleBinReduce (line 7) | type RecycleBinReduce struct FILE: agent/app/dto/request/runtime.go type RuntimeSearch (line 7) | type RuntimeSearch struct type RuntimeCreate (line 14) | type RuntimeCreate struct type NodeConfig (line 29) | type NodeConfig struct type Environment (line 38) | type Environment struct type Volume (line 42) | type Volume struct type ExposedPort (line 47) | type ExposedPort struct type ExtraHost (line 53) | type ExtraHost struct type RuntimeDelete (line 58) | type RuntimeDelete struct type RuntimeUpdate (line 63) | type RuntimeUpdate struct type NodePackageReq (line 77) | type NodePackageReq struct type RuntimeOperate (line 81) | type RuntimeOperate struct type NodeModuleOperateReq (line 86) | type NodeModuleOperateReq struct type NodeModuleReq (line 93) | type NodeModuleReq struct type PHPExtensionInstallReq (line 97) | type PHPExtensionInstallReq struct type PHPConfigUpdate (line 103) | type PHPConfigUpdate struct type PHPFileUpdate (line 112) | type PHPFileUpdate struct type PHPFileReq (line 118) | type PHPFileReq struct type FPMConfig (line 123) | type FPMConfig struct type PHPSupervisorProcessConfig (line 128) | type PHPSupervisorProcessConfig struct type PHPSupervisorProcessFileReq (line 133) | type PHPSupervisorProcessFileReq struct type PHPContainerConfig (line 138) | type PHPContainerConfig struct type RuntimeRemark (line 147) | type RuntimeRemark struct FILE: agent/app/dto/request/tensorrt_llm.go type TensorRTLLMSearch (line 5) | type TensorRTLLMSearch struct type TensorRTLLMCreate (line 10) | type TensorRTLLMCreate struct type TensorRTLLMUpdate (line 22) | type TensorRTLLMUpdate struct type TensorRTLLMDelete (line 27) | type TensorRTLLMDelete struct type TensorRTLLMOperate (line 31) | type TensorRTLLMOperate struct type DockerConfig (line 36) | type DockerConfig struct FILE: agent/app/dto/request/website.go type WebsiteSearch (line 7) | type WebsiteSearch struct type WebsiteCreate (line 16) | type WebsiteCreate struct type StreamConfig (line 44) | type StreamConfig struct type StreamUpdate (line 53) | type StreamUpdate struct type WebsiteOptionReq (line 59) | type WebsiteOptionReq struct type RuntimeConfig (line 63) | type RuntimeConfig struct type FtpConfig (line 68) | type FtpConfig struct type DataBaseConfig (line 73) | type DataBaseConfig struct type SSLConfig (line 82) | type SSLConfig struct type NewAppInstall (line 87) | type NewAppInstall struct type WebsiteInstallCheckReq (line 95) | type WebsiteInstallCheckReq struct type WebsiteUpdate (line 99) | type WebsiteUpdate struct type WebsiteDelete (line 109) | type WebsiteDelete struct type WebsiteOp (line 117) | type WebsiteOp struct type BatchWebsiteOp (line 122) | type BatchWebsiteOp struct type BatchWebsiteGroup (line 128) | type BatchWebsiteGroup struct type BatchWebsiteHttps (line 133) | type BatchWebsiteHttps struct type WebsiteRedirectUpdate (line 152) | type WebsiteRedirectUpdate struct type WebsiteRecover (line 158) | type WebsiteRecover struct type WebsiteRecoverByFile (line 164) | type WebsiteRecoverByFile struct type WebsiteGroupCreate (line 171) | type WebsiteGroupCreate struct type WebsiteGroupUpdate (line 175) | type WebsiteGroupUpdate struct type WebsiteDomainCreate (line 181) | type WebsiteDomainCreate struct type WebsiteDomainUpdate (line 186) | type WebsiteDomainUpdate struct type WebsiteDomain (line 191) | type WebsiteDomain struct type WebsiteDomainDelete (line 197) | type WebsiteDomainDelete struct type WebsiteHTTPSOp (line 201) | type WebsiteHTTPSOp struct type WebsiteNginxUpdate (line 220) | type WebsiteNginxUpdate struct type WebsiteLogReq (line 225) | type WebsiteLogReq struct type WebsiteDefaultUpdate (line 233) | type WebsiteDefaultUpdate struct type WebsitePHPVersionReq (line 237) | type WebsitePHPVersionReq struct type WebsiteUpdateDir (line 242) | type WebsiteUpdateDir struct type WebsiteUpdateDirPermission (line 247) | type WebsiteUpdateDirPermission struct type WebsiteProxyConfig (line 253) | type WebsiteProxyConfig struct type WebsiteProxyDelete (line 275) | type WebsiteProxyDelete struct type WebsiteProxyStatusUpdate (line 280) | type WebsiteProxyStatusUpdate struct type CorsConfig (line 286) | type CorsConfig struct type CorsConfigReq (line 295) | type CorsConfigReq struct type WebsiteProxyReq (line 300) | type WebsiteProxyReq struct type WebsiteRedirectReq (line 304) | type WebsiteRedirectReq struct type WebsiteCommonReq (line 308) | type WebsiteCommonReq struct type WafWebsite (line 312) | type WafWebsite struct type WebsiteHtmlReq (line 318) | type WebsiteHtmlReq struct type WebsiteHtmlUpdate (line 322) | type WebsiteHtmlUpdate struct type WebsiteLBCreate (line 328) | type WebsiteLBCreate struct type WebsiteLBUpdate (line 335) | type WebsiteLBUpdate struct type WebsiteLBDelete (line 342) | type WebsiteLBDelete struct type WebsiteLBUpdateFile (line 347) | type WebsiteLBUpdateFile struct type WebsiteRealIP (line 353) | type WebsiteRealIP struct type ChangeDatabase (line 361) | type ChangeDatabase struct type WebsiteProxyDel (line 367) | type WebsiteProxyDel struct type CrossSiteAccessOp (line 372) | type CrossSiteAccessOp struct type ExecComposerReq (line 377) | type ExecComposerReq struct FILE: agent/app/dto/request/website_ssl.go type WebsiteSSLSearch (line 5) | type WebsiteSSLSearch struct type WebsiteSSLListReq (line 13) | type WebsiteSSLListReq struct type WebsiteSSLCreate (line 17) | type WebsiteSSLCreate struct type WebsiteDNSReq (line 41) | type WebsiteDNSReq struct type WebsiteSSLRenew (line 46) | type WebsiteSSLRenew struct type WebsiteSSLApply (line 50) | type WebsiteSSLApply struct type WebsiteSSLObtain (line 57) | type WebsiteSSLObtain struct type WebsiteAcmeAccountCreate (line 62) | type WebsiteAcmeAccountCreate struct type WebsiteAcmeAccountUpdate (line 73) | type WebsiteAcmeAccountUpdate struct type WebsiteDnsAccountCreate (line 78) | type WebsiteDnsAccountCreate struct type WebsiteDnsAccountUpdate (line 84) | type WebsiteDnsAccountUpdate struct type WebsiteResourceReq (line 91) | type WebsiteResourceReq struct type WebsiteBatchDelReq (line 95) | type WebsiteBatchDelReq struct type WebsiteSSLUpdate (line 99) | type WebsiteSSLUpdate struct type WebsiteSSLUpload (line 122) | type WebsiteSSLUpload struct type WebsiteCASearch (line 132) | type WebsiteCASearch struct type WebsiteCACreate (line 136) | type WebsiteCACreate struct type WebsiteCAObtain (line 147) | type WebsiteCAObtain struct type WebsiteCARenew (line 163) | type WebsiteCARenew struct type WebsiteSSLFileUpload (line 167) | type WebsiteSSLFileUpload struct FILE: agent/app/dto/response/app.go type AppRes (line 12) | type AppRes struct type AppUpdateRes (line 17) | type AppUpdateRes struct type AppDTO (line 24) | type AppDTO struct type AppItem (line 31) | type AppItem struct type TagDTO (line 46) | type TagDTO struct type AppInstalledCheck (line 52) | type AppInstalledCheck struct type AppDetailDTO (line 68) | type AppDetailDTO struct type AppDetailSimpleDTO (line 79) | type AppDetailSimpleDTO struct type IgnoredApp (line 83) | type IgnoredApp struct type AppInstalledDTO (line 90) | type AppInstalledDTO struct type AppDetail (line 100) | type AppDetail struct type AppInstallDTO (line 106) | type AppInstallDTO struct type AppInstallInfo (line 137) | type AppInstallInfo struct type DatabaseConn (line 152) | type DatabaseConn struct type AppService (line 161) | type AppService struct type AppParam (line 169) | type AppParam struct type AppConfig (line 184) | type AppConfig struct FILE: agent/app/dto/response/app_ignore_upgrade.go type AppIgnoreUpgradeDTO (line 3) | type AppIgnoreUpgradeDTO struct FILE: agent/app/dto/response/disk.go type DiskInfo (line 3) | type DiskInfo struct type DiskBasicInfo (line 8) | type DiskBasicInfo struct type CompleteDiskInfo (line 24) | type CompleteDiskInfo struct type MountInfo (line 32) | type MountInfo struct FILE: agent/app/dto/response/favorite.go type FavoriteDTO (line 5) | type FavoriteDTO struct FILE: agent/app/dto/response/file.go type FileInfo (line 9) | type FileInfo struct type UploadInfo (line 13) | type UploadInfo struct type FileTree (line 19) | type FileTree struct type DirSizeRes (line 28) | type DirSizeRes struct type FileProcessKeys (line 32) | type FileProcessKeys struct type FileWgetRes (line 36) | type FileWgetRes struct type FileLineContent (line 40) | type FileLineContent struct type FileExist (line 50) | type FileExist struct type ExistFileInfo (line 54) | type ExistFileInfo struct type UserInfo (line 62) | type UserInfo struct type UserGroupResponse (line 67) | type UserGroupResponse struct type DepthDirSizeRes (line 72) | type DepthDirSizeRes struct type FileConvertLog (line 77) | type FileConvertLog struct type FileRemarksRes (line 85) | type FileRemarksRes struct FILE: agent/app/dto/response/host_tool.go type HostToolRes (line 3) | type HostToolRes struct type Supervisor (line 8) | type Supervisor struct type HostToolConfig (line 21) | type HostToolConfig struct type SupervisorProcessConfig (line 25) | type SupervisorProcessConfig struct type ProcessStatus (line 38) | type ProcessStatus struct FILE: agent/app/dto/response/mcp_server.go type McpServersRes (line 8) | type McpServersRes struct type McpServerDTO (line 13) | type McpServerDTO struct type McpBindDomainRes (line 19) | type McpBindDomainRes struct FILE: agent/app/dto/response/nginx.go type NginxStatus (line 5) | type NginxStatus struct type NginxParam (line 15) | type NginxParam struct type NginxAuthRes (line 20) | type NginxAuthRes struct type NginxPathAuthRes (line 25) | type NginxPathAuthRes struct type NginxAntiLeechRes (line 29) | type NginxAntiLeechRes struct type NginxRedirectConfig (line 42) | type NginxRedirectConfig struct type NginxFile (line 57) | type NginxFile struct type NginxProxyCache (line 61) | type NginxProxyCache struct type NginxModule (line 71) | type NginxModule struct type NginxBuildConfig (line 79) | type NginxBuildConfig struct type NginxConfigRes (line 84) | type NginxConfigRes struct FILE: agent/app/dto/response/php_extensions.go type PHPExtensionsDTO (line 5) | type PHPExtensionsDTO struct FILE: agent/app/dto/response/recycle_bin.go type RecycleBinDTO (line 5) | type RecycleBinDTO struct FILE: agent/app/dto/response/runtime.go type RuntimeDTO (line 10) | type RuntimeDTO struct type PackageScripts (line 37) | type PackageScripts struct function NewRuntimeDTO (line 42) | func NewRuntimeDTO(runtime model.Runtime) RuntimeDTO { type NodeModule (line 62) | type NodeModule struct type SupportExtension (line 69) | type SupportExtension struct type PHPExtensionRes (line 78) | type PHPExtensionRes struct type FpmStatusItem (line 83) | type FpmStatusItem struct FILE: agent/app/dto/response/system.go type ComponentInfo (line 3) | type ComponentInfo struct FILE: agent/app/dto/response/tensorrt_llm.go type TensorRTLLMsRes (line 8) | type TensorRTLLMsRes struct type TensorRTLLMDTO (line 13) | type TensorRTLLMDTO struct FILE: agent/app/dto/response/website.go type WebsiteDTO (line 10) | type WebsiteDTO struct type WebsiteRes (line 26) | type WebsiteRes struct type WebsiteOption (line 49) | type WebsiteOption struct type WebsitePreInstallCheck (line 55) | type WebsitePreInstallCheck struct type WebsiteNginxConfig (line 62) | type WebsiteNginxConfig struct type WebsiteHTTPS (line 67) | type WebsiteHTTPS struct type WebsiteLog (line 80) | type WebsiteLog struct type PHPConfig (line 87) | type PHPConfig struct type NginxRewriteRes (line 94) | type NginxRewriteRes struct type WebsiteDirConfig (line 98) | type WebsiteDirConfig struct type WebsiteHtmlRes (line 105) | type WebsiteHtmlRes struct type WebsiteRealIP (line 109) | type WebsiteRealIP struct type Resource (line 117) | type Resource struct type Database (line 124) | type Database struct FILE: agent/app/dto/response/website_ssl.go type WebsiteSSLDTO (line 5) | type WebsiteSSLDTO struct type WebsiteDNSRes (line 10) | type WebsiteDNSRes struct type WebsiteAcmeAccountDTO (line 17) | type WebsiteAcmeAccountDTO struct type WebsiteDnsAccountDTO (line 21) | type WebsiteDnsAccountDTO struct type WebsiteCADTO (line 26) | type WebsiteCADTO struct FILE: agent/app/dto/setting.go type SettingInfo (line 3) | type SettingInfo struct type SettingUpdate (line 29) | type SettingUpdate struct type SyncTime (line 34) | type SyncTime struct type CleanData (line 38) | type CleanData struct type CleanTree (line 47) | type CleanTree struct type Clean (line 60) | type Clean struct type SSHDefaultConn (line 66) | type SSHDefaultConn struct type SSHConnData (line 70) | type SSHConnData struct type SystemProxy (line 82) | type SystemProxy struct type TerminalAIInfo (line 90) | type TerminalAIInfo struct type CommonDescription (line 97) | type CommonDescription struct FILE: agent/app/dto/snapshot.go type PageSnapshot (line 5) | type PageSnapshot struct type SnapshotCreate (line 12) | type SnapshotCreate struct type SnapshotData (line 37) | type SnapshotData struct type DataTree (line 50) | type DataTree struct type SnapshotRecover (line 65) | type SnapshotRecover struct type SnapshotBatchDelete (line 72) | type SnapshotBatchDelete struct type SnapshotImport (line 77) | type SnapshotImport struct type SnapshotInfo (line 83) | type SnapshotInfo struct FILE: agent/app/dto/ssh.go type SSHUpdate (line 5) | type SSHUpdate struct type SSHInfo (line 11) | type SSHInfo struct type RootCertOperate (line 25) | type RootCertOperate struct type RootCert (line 35) | type RootCert struct type GenerateLoad (line 46) | type GenerateLoad struct type SSHConf (line 50) | type SSHConf struct type SearchSSHLog (line 53) | type SearchSSHLog struct type SSHHistory (line 59) | type SSHHistory struct FILE: agent/app/model/agent.go type Agent (line 3) | type Agent struct FILE: agent/app/model/agent_account.go type AgentAccount (line 3) | type AgentAccount struct method TableName (line 15) | func (AgentAccount) TableName() string { FILE: agent/app/model/agent_account_model.go type AgentAccountModel (line 3) | type AgentAccountModel struct method TableName (line 15) | func (AgentAccountModel) TableName() string { FILE: agent/app/model/ai.go type OllamaModel (line 3) | type OllamaModel struct FILE: agent/app/model/alert.go type Alert (line 3) | type Alert struct type AlertTask (line 17) | type AlertTask struct type AlertLog (line 25) | type AlertLog struct type AlertConfig (line 40) | type AlertConfig struct type LoginLog (line 48) | type LoginLog struct FILE: agent/app/model/app.go type App (line 13) | type App struct method IsLocalApp (line 44) | func (i *App) IsLocalApp() bool { method IsCustomApp (line 47) | func (i *App) IsCustomApp() bool { method GetAppResourcePath (line 51) | func (i *App) GetAppResourcePath() string { method GetDescription (line 69) | func (i *App) GetDescription(ctx *gin.Context) string { function getLang (line 61) | func getLang(c *gin.Context) string { FILE: agent/app/model/app_detail.go type AppDetail (line 3) | type AppDetail struct FILE: agent/app/model/app_ignore_upgrade.go type AppIgnoreUpgrade (line 3) | type AppIgnoreUpgrade struct FILE: agent/app/model/app_install.go type AppInstall (line 11) | type AppInstall struct method GetPath (line 34) | func (i *AppInstall) GetPath() string { method GetComposePath (line 38) | func (i *AppInstall) GetComposePath() string { method GetEnvPath (line 42) | func (i *AppInstall) GetEnvPath() string { method GetAppPath (line 46) | func (i *AppInstall) GetAppPath() string { FILE: agent/app/model/app_install_resource.go type AppInstallResource (line 3) | type AppInstallResource struct FILE: agent/app/model/app_launcher.go type AppLauncher (line 3) | type AppLauncher struct type QuickJump (line 8) | type QuickJump struct FILE: agent/app/model/app_tag.go type AppTag (line 3) | type AppTag struct FILE: agent/app/model/backup.go type BackupAccount (line 3) | type BackupAccount struct type BackupRecord (line 17) | type BackupRecord struct FILE: agent/app/model/base.go type BaseModel (line 5) | type BaseModel struct FILE: agent/app/model/clam.go type Clam (line 5) | type Clam struct type ClamRecord (line 22) | type ClamRecord struct FILE: agent/app/model/compose_template.go type ComposeTemplate (line 3) | type ComposeTemplate struct type Compose (line 11) | type Compose struct FILE: agent/app/model/cronjob.go type Cronjob (line 7) | type Cronjob struct type JobRecords (line 51) | type JobRecords struct type ScriptLibrary (line 65) | type ScriptLibrary struct FILE: agent/app/model/database.go type Database (line 3) | type Database struct FILE: agent/app/model/database_mysql.go type DatabaseMysql (line 3) | type DatabaseMysql struct FILE: agent/app/model/database_postgresql.go type DatabasePostgresql (line 3) | type DatabasePostgresql struct FILE: agent/app/model/favorite.go type Favorite (line 3) | type Favorite struct FILE: agent/app/model/firewall.go type Firewall (line 3) | type Firewall struct FILE: agent/app/model/ftp.go type Ftp (line 3) | type Ftp struct FILE: agent/app/model/group.go type Group (line 3) | type Group struct FILE: agent/app/model/host.go type Host (line 3) | type Host struct FILE: agent/app/model/image_repo.go type ImageRepo (line 3) | type ImageRepo struct FILE: agent/app/model/mcp_server.go type McpServer (line 3) | type McpServer struct FILE: agent/app/model/monitor.go type MonitorBase (line 3) | type MonitorBase struct type MonitorIO (line 19) | type MonitorIO struct type MonitorNetwork (line 28) | type MonitorNetwork struct type MonitorGPU (line 35) | type MonitorGPU struct FILE: agent/app/model/php_extensions.go type PHPExtensions (line 3) | type PHPExtensions struct FILE: agent/app/model/runtime.go type Runtime (line 9) | type Runtime struct method GetComposePath (line 29) | func (r *Runtime) GetComposePath() string { method GetEnvPath (line 33) | func (r *Runtime) GetEnvPath() string { method GetPath (line 37) | func (r *Runtime) GetPath() string { method GetFPMPath (line 41) | func (r *Runtime) GetFPMPath() string { method GetPHPPath (line 45) | func (r *Runtime) GetPHPPath() string { method GetLogPath (line 49) | func (r *Runtime) GetLogPath() string { method GetSlowLogPath (line 53) | func (r *Runtime) GetSlowLogPath() string { FILE: agent/app/model/setting.go type Setting (line 3) | type Setting struct type CommonDescription (line 10) | type CommonDescription struct type NodeInfo (line 18) | type NodeInfo struct type LocalConnInfo (line 27) | type LocalConnInfo struct FILE: agent/app/model/snapshot.go type Snapshot (line 3) | type Snapshot struct FILE: agent/app/model/ssh.go type RootCert (line 3) | type RootCert struct FILE: agent/app/model/tag.go type Tag (line 3) | type Tag struct FILE: agent/app/model/task.go type Task (line 5) | type Task struct FILE: agent/app/model/tensorrt_llm.go type TensorRTLLM (line 3) | type TensorRTLLM struct FILE: agent/app/model/website.go type Website (line 5) | type Website struct method TableName (line 46) | func (w Website) TableName() string { FILE: agent/app/model/website_acme_account.go type WebsiteAcmeAccount (line 3) | type WebsiteAcmeAccount struct method TableName (line 17) | func (w WebsiteAcmeAccount) TableName() string { FILE: agent/app/model/website_ca.go type WebsiteCA (line 3) | type WebsiteCA struct FILE: agent/app/model/website_dns_account.go type WebsiteDnsAccount (line 3) | type WebsiteDnsAccount struct method TableName (line 10) | func (w WebsiteDnsAccount) TableName() string { FILE: agent/app/model/website_domain.go type WebsiteDomain (line 3) | type WebsiteDomain struct method TableName (line 11) | func (w WebsiteDomain) TableName() string { FILE: agent/app/model/website_ssl.go type WebsiteSSL (line 11) | type WebsiteSSL struct method TableName (line 51) | func (w WebsiteSSL) TableName() string { method GetLogPath (line 55) | func (w WebsiteSSL) GetLogPath() string { FILE: agent/app/provider/catalog.go type Model (line 7) | type Model struct type Meta (line 16) | type Meta struct function Get (line 203) | func Get(key string) (Meta, bool) { function All (line 211) | func All() map[string]Meta { function DefaultBaseURL (line 219) | func DefaultBaseURL(key string) (string, bool) { function EnvKey (line 227) | func EnvKey(key string) string { function DisplayName (line 235) | func DisplayName(key string) string { function cloneMeta (line 246) | func cloneMeta(meta Meta) Meta { function normalizeModel (line 257) | func normalizeModel(provider string, model Model) Model { function defaultModelInputs (line 282) | func defaultModelInputs(provider string) []string { function catalogRuntimeDefaults (line 291) | func catalogRuntimeDefaults(provider string) (int, int) { FILE: agent/app/provider/openclaw.go type OpenClawPatch (line 8) | type OpenClawPatch struct function BuildOpenClawPatch (line 13) | func BuildOpenClawPatch(provider, modelName, apiType string, maxTokens, ... function buildDeepseekPatch (line 50) | func buildDeepseekPatch(modelName, baseURL, apiKey string) *OpenClawPatch { function buildMoonshotPatch (line 65) | func buildMoonshotPatch(provider, modelName, modelID, baseURL, apiKey st... function buildBailianPatch (line 86) | func buildBailianPatch(modelID string, maxTokens, contextWindow int, bas... function buildArkPatch (line 102) | func buildArkPatch(modelID string, maxTokens, contextWindow int, baseURL... function buildMiniMaxPatch (line 118) | func buildMiniMaxPatch(modelID, baseURL, apiKey string) *OpenClawPatch { function buildCustomPatch (line 134) | func buildCustomPatch(provider, modelName, apiType string, maxTokens, co... function buildOllamaPatch (line 150) | func buildOllamaPatch(modelName, modelID, apiType, baseURL string) *Open... function buildKimiCodingPatch (line 169) | func buildKimiCodingPatch(modelName, modelID, baseURL, apiKey string) *O... function buildZaiPatch (line 184) | func buildZaiPatch(modelID string, maxTokens, contextWindow int, baseURL... function buildGenericPatch (line 199) | func buildGenericPatch(provider, modelName, modelID, apiType string, max... function providerModels (line 220) | func providerModels(provider, apiKey, baseURL, api string, model map[str... function withCatalogDefault (line 234) | func withCatalogDefault(provider, baseURL string) string { function firstNonEmpty (line 244) | func firstNonEmpty(values ...string) string { function fallbackInt (line 253) | func fallbackInt(value, fallback int) int { function normalizeAPIType (line 260) | func normalizeAPIType(apiType string) string { function normalizeCustomModel (line 268) | func normalizeCustomModel(modelName string) string { function normalizeBailianCodingPlanModelID (line 277) | func normalizeBailianCodingPlanModelID(modelID string) string { function normalizeArkCodingPlanModelID (line 287) | func normalizeArkCodingPlanModelID(modelID string) string { function normalizeMiniMaxModelID (line 291) | func normalizeMiniMaxModelID(modelID string) string { function zaiModelDisplayName (line 302) | func zaiModelDisplayName(modelID string) string { function bailianPrimaryModelID (line 317) | func bailianPrimaryModelID(modelID string) string { function isReasoningModel (line 332) | func isReasoningModel(modelID string) bool { FILE: agent/app/provider/verify.go type VerifyRequest (line 14) | type VerifyRequest struct constant defaultVerifyTimeout (line 22) | defaultVerifyTimeout = 30 * time.Second function SkipVerification (line 25) | func SkipVerification(key string) bool { function VerifyAccount (line 34) | func VerifyAccount(provider, baseURL, apiKey string) error { function verifyTimeout (line 60) | func verifyTimeout() time.Duration { function BuildVerifyRequest (line 64) | func BuildVerifyRequest(provider, baseURL, apiKey string) VerifyRequest { function mustJSON (line 148) | func mustJSON(value interface{}) []byte { FILE: agent/app/repo/agent.go type AgentRepo (line 9) | type AgentRepo struct method Page (line 26) | func (a AgentRepo) Page(page, size int, opts ...DBOption) (int64, []mo... method GetFirst (line 35) | func (a AgentRepo) GetFirst(opts ...DBOption) (*model.Agent, error) { method Create (line 43) | func (a AgentRepo) Create(agent *model.Agent) error { method Save (line 47) | func (a AgentRepo) Save(agent *model.Agent) error { method DeleteByID (line 51) | func (a AgentRepo) DeleteByID(id uint) error { method DeleteByAppInstallID (line 55) | func (a AgentRepo) DeleteByAppInstallID(appInstallID uint) error { method DeleteByAppInstallIDWithCtx (line 62) | func (a AgentRepo) DeleteByAppInstallIDWithCtx(ctx context.Context, ap... method List (line 69) | func (a AgentRepo) List(opts ...DBOption) ([]model.Agent, error) { type IAgentRepo (line 11) | type IAgentRepo interface function NewIAgentRepo (line 22) | func NewIAgentRepo() IAgentRepo { FILE: agent/app/repo/agent_account.go type AgentAccountRepo (line 5) | type AgentAccountRepo struct method Page (line 20) | func (a AgentAccountRepo) Page(page, size int, opts ...DBOption) (int6... method GetFirst (line 29) | func (a AgentAccountRepo) GetFirst(opts ...DBOption) (*model.AgentAcco... method Create (line 37) | func (a AgentAccountRepo) Create(account *model.AgentAccount) error { method Save (line 41) | func (a AgentAccountRepo) Save(account *model.AgentAccount) error { method DeleteByID (line 45) | func (a AgentAccountRepo) DeleteByID(id uint) error { method List (line 49) | func (a AgentAccountRepo) List(opts ...DBOption) ([]model.AgentAccount... type IAgentAccountRepo (line 7) | type IAgentAccountRepo interface function NewIAgentAccountRepo (line 16) | func NewIAgentAccountRepo() IAgentAccountRepo { FILE: agent/app/repo/agent_account_model.go type AgentAccountModelRepo (line 5) | type AgentAccountModelRepo struct method List (line 20) | func (a AgentAccountModelRepo) List(opts ...DBOption) ([]model.AgentAc... method GetFirst (line 28) | func (a AgentAccountModelRepo) GetFirst(opts ...DBOption) (*model.Agen... method Create (line 36) | func (a AgentAccountModelRepo) Create(item *model.AgentAccountModel) e... method Save (line 40) | func (a AgentAccountModelRepo) Save(item *model.AgentAccountModel) err... method DeleteByID (line 44) | func (a AgentAccountModelRepo) DeleteByID(id uint) error { method Delete (line 48) | func (a AgentAccountModelRepo) Delete(opts ...DBOption) error { type IAgentAccountModelRepo (line 7) | type IAgentAccountModelRepo interface function NewIAgentAccountModelRepo (line 16) | func NewIAgentAccountModelRepo() IAgentAccountModelRepo { FILE: agent/app/repo/ai.go type AiRepo (line 8) | type AiRepo struct method Get (line 23) | func (u *AiRepo) Get(opts ...DBOption) (model.OllamaModel, error) { method List (line 33) | func (u *AiRepo) List(opts ...DBOption) ([]model.OllamaModel, error) { method Page (line 43) | func (u *AiRepo) Page(page, size int, opts ...DBOption) (int64, []mode... method Create (line 55) | func (u *AiRepo) Create(item *model.OllamaModel) error { method Update (line 59) | func (u *AiRepo) Update(id uint, vars map[string]interface{}) error { method Delete (line 63) | func (u *AiRepo) Delete(opts ...DBOption) error { type IAiRepo (line 10) | type IAiRepo interface function NewIAiRepo (line 19) | func NewIAiRepo() IAiRepo { FILE: agent/app/repo/alert.go type AlertRepo (line 12) | type AlertRepo struct method WithByType (line 62) | func (a *AlertRepo) WithByType(alertType string) DBOption { method WithByStatusIn (line 68) | func (a *AlertRepo) WithByStatusIn(status []string) DBOption { method WithByCount (line 74) | func (a *AlertRepo) WithByCount(count uint) DBOption { method WithByProject (line 80) | func (a *AlertRepo) WithByProject(project string) DBOption { method WithByAlertId (line 86) | func (a *AlertRepo) WithByAlertId(alertId uint) DBOption { method WithByLicenseId (line 92) | func (a *AlertRepo) WithByLicenseId(licenseId string) DBOption { method WithByRecordId (line 98) | func (a *AlertRepo) WithByRecordId(recordId uint) DBOption { method WithByMethod (line 104) | func (a *AlertRepo) WithByMethod(method string) DBOption { method WithByCreateAt (line 110) | func (a *AlertRepo) WithByCreateAt(createAt *date.Date) DBOption { method Create (line 116) | func (a *AlertRepo) Create(alert *model.Alert) error { method Save (line 120) | func (a *AlertRepo) Save(alert *model.Alert) error { method Get (line 124) | func (a *AlertRepo) Get(opts ...DBOption) (model.Alert, error) { method Page (line 131) | func (a *AlertRepo) Page(page, size int, opts ...DBOption) (int64, []m... method List (line 141) | func (a *AlertRepo) List(opts ...DBOption) ([]model.Alert, error) { method Update (line 148) | func (a *AlertRepo) Update(maps map[string]interface{}, opts ...DBOpti... method Delete (line 153) | func (a *AlertRepo) Delete(opts ...DBOption) error { method GetLog (line 158) | func (a *AlertRepo) GetLog(opts ...DBOption) (model.AlertLog, error) { method CreateLog (line 165) | func (a *AlertRepo) CreateLog(log *model.AlertLog) error { method UpdateLog (line 169) | func (a *AlertRepo) UpdateLog(id uint, maps map[string]interface{}) er... method BatchUpdateLogBy (line 173) | func (a *AlertRepo) BatchUpdateLogBy(maps map[string]interface{}, opts... method PageLog (line 181) | func (a *AlertRepo) PageLog(page, size int, opts ...DBOption) (int64, ... method ListLog (line 193) | func (a *AlertRepo) ListLog(opts ...DBOption) ([]model.AlertLog, error) { method DeleteLog (line 200) | func (a *AlertRepo) DeleteLog(opts ...DBOption) error { method CleanAlertLogs (line 205) | func (a *AlertRepo) CleanAlertLogs() error { method CreateAlertTask (line 209) | func (a *AlertRepo) CreateAlertTask(alertTaskBase *model.AlertTask) er... method DeleteAlertTask (line 213) | func (a *AlertRepo) DeleteAlertTask(opts ...DBOption) error { method GetAlertTask (line 218) | func (a *AlertRepo) GetAlertTask(opts ...DBOption) (model.AlertTask, e... method LoadTaskCount (line 225) | func (a *AlertRepo) LoadTaskCount(alertType string, project string, me... method GetTaskLog (line 239) | func (a *AlertRepo) GetTaskLog(alertType string, alertId uint) (time.T... method GetLicensePushCount (line 270) | func (a *AlertRepo) GetLicensePushCount(method string) (uint, error) { method AlertConfigList (line 281) | func (a *AlertRepo) AlertConfigList(opts ...DBOption) ([]model.AlertCo... method UpdateAlertConfig (line 288) | func (a *AlertRepo) UpdateAlertConfig(maps map[string]interface{}, opt... method CreateAlertConfig (line 293) | func (a *AlertRepo) CreateAlertConfig(config *model.AlertConfig) error { method DeleteAlertConfig (line 297) | func (a *AlertRepo) DeleteAlertConfig(opts ...DBOption) error { method GetConfig (line 302) | func (a *AlertRepo) GetConfig(opts ...DBOption) (model.AlertConfig, er... method SyncAll (line 309) | func (a *AlertRepo) SyncAll(data []model.AlertConfig) error { type IAlertRepo (line 14) | type IAlertRepo interface function NewIAlertRepo (line 58) | func NewIAlertRepo() IAlertRepo { function getAlertDB (line 261) | func getAlertDB(opts ...DBOption) (*gorm.DB, error) { FILE: agent/app/repo/app.go type AppRepo (line 12) | type AppRepo struct method WithByLikeName (line 44) | func (a AppRepo) WithByLikeName(name string) DBOption { method WithKey (line 53) | func (a AppRepo) WithKey(key string) DBOption { method WithKeyIn (line 59) | func (a AppRepo) WithKeyIn(keys []string) DBOption { method WithType (line 65) | func (a AppRepo) WithType(typeStr string) DBOption { method OrderByRecommend (line 71) | func (a AppRepo) OrderByRecommend() DBOption { method GetRecommend (line 77) | func (a AppRepo) GetRecommend() DBOption { method WithResource (line 83) | func (a AppRepo) WithResource(resource string) DBOption { method WithNotLocal (line 89) | func (a AppRepo) WithNotLocal() DBOption { method WithArch (line 95) | func (a AppRepo) WithArch(arch string) DBOption { method WithPanelVersion (line 101) | func (a AppRepo) WithPanelVersion(panelVersion string) DBOption { method Page (line 107) | func (a AppRepo) Page(page, size int, opts ...DBOption) (int64, []mode... method GetFirst (line 116) | func (a AppRepo) GetFirst(opts ...DBOption) (model.App, error) { method GetBy (line 125) | func (a AppRepo) GetBy(opts ...DBOption) ([]model.App, error) { method GetTopRecommend (line 134) | func (a AppRepo) GetTopRecommend() ([]string, error) { method BatchCreate (line 149) | func (a AppRepo) BatchCreate(ctx context.Context, apps []model.App) er... method Create (line 153) | func (a AppRepo) Create(ctx context.Context, app *model.App) error { method Save (line 157) | func (a AppRepo) Save(ctx context.Context, app *model.App) error { method BatchDelete (line 161) | func (a AppRepo) BatchDelete(ctx context.Context, apps []model.App) er... method DeleteByIDs (line 165) | func (a AppRepo) DeleteByIDs(ctx context.Context, ids []uint) error { method DeleteBy (line 169) | func (a AppRepo) DeleteBy(opts ...DBOption) error { type IAppRepo (line 15) | type IAppRepo interface function NewIAppRepo (line 40) | func NewIAppRepo() IAppRepo { FILE: agent/app/repo/app_detail.go type AppDetailRepo (line 11) | type AppDetailRepo struct method WithVersion (line 32) | func (a AppDetailRepo) WithVersion(version string) DBOption { method WithAppId (line 38) | func (a AppDetailRepo) WithAppId(id uint) DBOption { method WithIgnored (line 44) | func (a AppDetailRepo) WithIgnored() DBOption { method GetFirst (line 50) | func (a AppDetailRepo) GetFirst(opts ...DBOption) (model.AppDetail, er... method Update (line 56) | func (a AppDetailRepo) Update(ctx context.Context, detail model.AppDet... method BatchCreate (line 60) | func (a AppDetailRepo) BatchCreate(ctx context.Context, details []mode... method DeleteByAppIds (line 64) | func (a AppDetailRepo) DeleteByAppIds(ctx context.Context, appIds []ui... method DeleteByIDs (line 68) | func (a AppDetailRepo) DeleteByIDs(ctx context.Context, appIds []uint)... method GetBy (line 72) | func (a AppDetailRepo) GetBy(opts ...DBOption) ([]model.AppDetail, err... method BatchUpdateBy (line 78) | func (a AppDetailRepo) BatchUpdateBy(maps map[string]interface{}, opts... method BatchDelete (line 86) | func (a AppDetailRepo) BatchDelete(ctx context.Context, appDetails []m... type IAppDetailRepo (line 14) | type IAppDetailRepo interface function NewIAppDetailRepo (line 28) | func NewIAppDetailRepo() IAppDetailRepo { FILE: agent/app/repo/app_ignore_upgrade.go type AppIgnoreUpgradeRepo (line 9) | type AppIgnoreUpgradeRepo struct method WithScope (line 24) | func (a AppIgnoreUpgradeRepo) WithScope(scope string) DBOption { method WithAppID (line 30) | func (a AppIgnoreUpgradeRepo) WithAppID(appID uint) DBOption { method List (line 36) | func (a AppIgnoreUpgradeRepo) List(opts ...DBOption) ([]model.AppIgnor... method Create (line 42) | func (a AppIgnoreUpgradeRepo) Create(appIgnoreUpgrade *model.AppIgnore... method Delete (line 46) | func (a AppIgnoreUpgradeRepo) Delete(opts ...DBOption) error { type IAppIgnoreUpgradeRepo (line 12) | type IAppIgnoreUpgradeRepo interface function NewIAppIgnoreUpgradeRepo (line 20) | func NewIAppIgnoreUpgradeRepo() IAppIgnoreUpgradeRepo { FILE: agent/app/repo/app_install.go type AppInstallRepo (line 16) | type AppInstallRepo struct method WithDetailIdsIn (line 47) | func (a *AppInstallRepo) WithDetailIdsIn(detailIds []uint) DBOption { method WithDetailIdNotIn (line 53) | func (a *AppInstallRepo) WithDetailIdNotIn(detailIds []uint) DBOption { method WithAppId (line 59) | func (a *AppInstallRepo) WithAppId(appId uint) DBOption { method WithIDNotIs (line 65) | func (a *AppInstallRepo) WithIDNotIs(id uint) DBOption { method WithAppIdsIn (line 71) | func (a *AppInstallRepo) WithAppIdsIn(appIds []uint) DBOption { method WithAppIdsNotIn (line 77) | func (a *AppInstallRepo) WithAppIdsNotIn(appIds []uint) DBOption { method WithStatus (line 83) | func (a *AppInstallRepo) WithStatus(status string) DBOption { method WithServiceName (line 89) | func (a *AppInstallRepo) WithServiceName(serviceName string) DBOption { method WithContainerName (line 95) | func (a *AppInstallRepo) WithContainerName(containerName string) DBOpt... method WithPort (line 101) | func (a *AppInstallRepo) WithPort(port int) DBOption { method WithIdNotInWebsite (line 107) | func (a *AppInstallRepo) WithIdNotInWebsite() DBOption { method ListBy (line 113) | func (a *AppInstallRepo) ListBy(ctx context.Context, opts ...DBOption)... method GetFirst (line 120) | func (a *AppInstallRepo) GetFirst(opts ...DBOption) (model.AppInstall,... method GetFirstByCtx (line 127) | func (a *AppInstallRepo) GetFirstByCtx(ctx context.Context, opts ...DB... method Create (line 134) | func (a *AppInstallRepo) Create(ctx context.Context, install *model.Ap... method Save (line 139) | func (a *AppInstallRepo) Save(ctx context.Context, install *model.AppI... method DeleteBy (line 143) | func (a *AppInstallRepo) DeleteBy(opts ...DBOption) error { method Delete (line 147) | func (a *AppInstallRepo) Delete(ctx context.Context, install model.App... method Page (line 152) | func (a *AppInstallRepo) Page(page, size int, opts ...DBOption) (int64... method BatchUpdateBy (line 161) | func (a *AppInstallRepo) BatchUpdateBy(maps map[string]interface{}, op... method LoadBaseInfo (line 187) | func (a *AppInstallRepo) LoadBaseInfo(key string, name string) (*RootI... method LoadInstallAppByKeyAndName (line 251) | func (a *AppInstallRepo) LoadInstallAppByKeyAndName(key string, name s... type IAppInstallRepo (line 18) | type IAppInstallRepo interface function NewIAppInstallRepo (line 43) | func NewIAppInstallRepo() IAppInstallRepo { type RootInfo (line 169) | type RootInfo struct FILE: agent/app/repo/app_install_resource.go type AppInstallResourceRpo (line 11) | type AppInstallResourceRpo struct method WithAppInstallId (line 29) | func (a AppInstallResourceRpo) WithAppInstallId(appInstallId uint) DBO... method WithLinkId (line 35) | func (a AppInstallResourceRpo) WithLinkId(linkId uint) DBOption { method WithResourceId (line 41) | func (a AppInstallResourceRpo) WithResourceId(resourceId uint) DBOption { method GetBy (line 47) | func (a AppInstallResourceRpo) GetBy(opts ...DBOption) ([]model.AppIns... method GetFirst (line 57) | func (a AppInstallResourceRpo) GetFirst(opts ...DBOption) (model.AppIn... method Create (line 67) | func (a AppInstallResourceRpo) Create(ctx context.Context, resource *m... method DeleteBy (line 72) | func (a AppInstallResourceRpo) DeleteBy(ctx context.Context, opts ...D... method BatchUpdateBy (line 76) | func (a AppInstallResourceRpo) BatchUpdateBy(maps map[string]interface... type IAppInstallResourceRpo (line 14) | type IAppInstallResourceRpo interface function NewIAppInstallResourceRpo (line 25) | func NewIAppInstallResourceRpo() IAppInstallResourceRpo { FILE: agent/app/repo/app_launcher.go type LauncherRepo (line 8) | type LauncherRepo struct method Get (line 26) | func (u *LauncherRepo) Get(opts ...DBOption) (model.AppLauncher, error) { method ListName (line 35) | func (u *LauncherRepo) ListName(opts ...DBOption) ([]string, error) { method Create (line 49) | func (u *LauncherRepo) Create(launcher *model.AppLauncher) error { method Save (line 53) | func (u *LauncherRepo) Save(launcher *model.AppLauncher) error { method Delete (line 57) | func (u *LauncherRepo) Delete(opts ...DBOption) error { method GetQuickJump (line 65) | func (u *LauncherRepo) GetQuickJump(opts ...DBOption) (model.QuickJump... method ListQuickJump (line 74) | func (u *LauncherRepo) ListQuickJump(withAll bool) []model.QuickJump { method UpdateQuicks (line 93) | func (u *LauncherRepo) UpdateQuicks(quicks []model.QuickJump) error { type ILauncherRepo (line 10) | type ILauncherRepo interface function NewILauncherRepo (line 22) | func NewILauncherRepo() ILauncherRepo { FILE: agent/app/repo/app_tag.go type AppTagRepo (line 10) | type AppTagRepo struct method WithByTagID (line 30) | func (a AppTagRepo) WithByTagID(tagID uint) DBOption { method WithByAppID (line 36) | func (a AppTagRepo) WithByAppID(appId uint) DBOption { method BatchCreate (line 42) | func (a AppTagRepo) BatchCreate(ctx context.Context, tags []*model.App... method DeleteByAppIds (line 46) | func (a AppTagRepo) DeleteByAppIds(ctx context.Context, appIds []uint)... method DeleteAll (line 50) | func (a AppTagRepo) DeleteAll(ctx context.Context) error { method GetByAppId (line 54) | func (a AppTagRepo) GetByAppId(appId uint) ([]model.AppTag, error) { method GetByTagIds (line 62) | func (a AppTagRepo) GetByTagIds(tagIds []uint) ([]model.AppTag, error) { method DeleteBy (line 70) | func (a AppTagRepo) DeleteBy(ctx context.Context, opts ...DBOption) er... method GetFirst (line 74) | func (a AppTagRepo) GetFirst(ctx context.Context, opts ...DBOption) (*... type IAppTagRepo (line 13) | type IAppTagRepo interface function NewIAppTagRepo (line 26) | func NewIAppTagRepo() IAppTagRepo { FILE: agent/app/repo/backup.go type BackupRepo (line 11) | type BackupRepo struct method WithByPublic (line 41) | func (u *BackupRepo) WithByPublic(isPublic bool) DBOption { method Get (line 47) | func (u *BackupRepo) Get(opts ...DBOption) (model.BackupAccount, error) { method Page (line 57) | func (u *BackupRepo) Page(page, size int, opts ...DBOption) (int64, []... method List (line 69) | func (u *BackupRepo) List(opts ...DBOption) ([]model.BackupAccount, er... method Create (line 79) | func (u *BackupRepo) Create(backup *model.BackupAccount) error { method Save (line 83) | func (u *BackupRepo) Save(backup *model.BackupAccount) error { method Delete (line 87) | func (u *BackupRepo) Delete(opts ...DBOption) error { method ListRecord (line 95) | func (u *BackupRepo) ListRecord(opts ...DBOption) ([]model.BackupRecor... method PageRecord (line 105) | func (u *BackupRepo) PageRecord(page, size int, opts ...DBOption) (int... method WithByFileName (line 117) | func (u *BackupRepo) WithByFileName(fileName string) DBOption { method WithByDetailName (line 126) | func (u *BackupRepo) WithByDetailName(detailName string) DBOption { method WithFileNameStartWith (line 135) | func (u *BackupRepo) WithFileNameStartWith(filePrefix string) DBOption { method CreateRecord (line 141) | func (u *BackupRepo) CreateRecord(record *model.BackupRecord) error { method UpdateRecord (line 145) | func (u *BackupRepo) UpdateRecord(record *model.BackupRecord) error { method UpdateRecordByMap (line 149) | func (u *BackupRepo) UpdateRecordByMap(id uint, upMap map[string]inter... method DeleteRecord (line 153) | func (u *BackupRepo) DeleteRecord(ctx context.Context, opts ...DBOptio... method WithByCronID (line 157) | func (u *BackupRepo) WithByCronID(cronjobID uint) DBOption { method GetRecord (line 163) | func (u *BackupRepo) GetRecord(opts ...DBOption) (*model.BackupRecord,... method SyncAll (line 173) | func (u *BackupRepo) SyncAll(data []model.BackupAccount) error { type IBackupRepo (line 13) | type IBackupRepo interface function NewIBackupRepo (line 37) | func NewIBackupRepo() IBackupRepo { FILE: agent/app/repo/clam.go type ClamRepo (line 13) | type ClamRepo struct method Get (line 36) | func (u *ClamRepo) Get(opts ...DBOption) (model.Clam, error) { method List (line 46) | func (u *ClamRepo) List(opts ...DBOption) ([]model.Clam, error) { method Page (line 56) | func (u *ClamRepo) Page(page, size int, opts ...DBOption) (int64, []mo... method Create (line 68) | func (u *ClamRepo) Create(clam *model.Clam) error { method Update (line 72) | func (u *ClamRepo) Update(id uint, vars map[string]interface{}) error { method Delete (line 76) | func (u *ClamRepo) Delete(opts ...DBOption) error { method WithByClamID (line 84) | func (c *ClamRepo) WithByClamID(id uint) DBOption { method ListRecord (line 90) | func (u *ClamRepo) ListRecord(opts ...DBOption) ([]model.ClamRecord, e... method RecordFirst (line 100) | func (u *ClamRepo) RecordFirst(id uint) (model.ClamRecord, error) { method PageRecords (line 106) | func (u *ClamRepo) PageRecords(page, size int, opts ...DBOption) (int6... method StartRecords (line 117) | func (u *ClamRepo) StartRecords(clamID uint) model.ClamRecord { method EndRecords (line 129) | func (u *ClamRepo) EndRecords(record model.ClamRecord, status, message... method DeleteRecord (line 142) | func (u *ClamRepo) DeleteRecord(opts ...DBOption) error { type IClamRepo (line 15) | type IClamRepo interface function NewIClamRepo (line 32) | func NewIClamRepo() IClamRepo { FILE: agent/app/repo/common.go type DBOption (line 14) | type DBOption function WithByID (line 16) | func WithByID(id uint) DBOption { function WithByGroupID (line 22) | func WithByGroupID(id uint) DBOption { function WithByNOTID (line 28) | func WithByNOTID(id uint) DBOption { function WithByIDs (line 34) | func WithByIDs(ids []uint) DBOption { function WithByIDNotIn (line 40) | func WithByIDNotIn(ids []uint) DBOption { function WithByName (line 46) | func WithByName(name string) DBOption { function WithByAddr (line 52) | func WithByAddr(addr string) DBOption { function WithByKey (line 58) | func WithByKey(key string) DBOption { function WithByLowerName (line 64) | func WithByLowerName(name string) DBOption { function WithByLikeName (line 70) | func WithByLikeName(name string) DBOption { function WithByDetailName (line 79) | func WithByDetailName(detailName string) DBOption { function WithByProvider (line 88) | func WithByProvider(provider string) DBOption { function WithByModel (line 97) | func WithByModel(model string) DBOption { function WithByAccountID (line 106) | func WithByAccountID(accountID uint) DBOption { function WithByType (line 115) | func WithByType(tp string) DBOption { function WithByDetailType (line 120) | func WithByDetailType(tp string) DBOption { function WithTypes (line 126) | func WithTypes(types []string) DBOption { function WithByStatus (line 132) | func WithByStatus(status string) DBOption { function WithByFrom (line 140) | func WithByFrom(from string) DBOption { function WithByDate (line 146) | func WithByDate(startTime, endTime time.Time) DBOption { function WithByGroups (line 152) | func WithByGroups(groupIDs []uint) DBOption { function WithByCreatedAt (line 161) | func WithByCreatedAt(startTime, endTime time.Time) DBOption { function WithOrderDesc (line 167) | func WithOrderDesc(orderBy string) DBOption { function WithOrderAsc (line 171) | func WithOrderAsc(orderBy string) DBOption { function WithOrderRuleBy (line 175) | func WithOrderRuleBy(orderBy, order string) DBOption { function getTx (line 200) | func getTx(ctx context.Context, opts ...DBOption) *gorm.DB { function getDb (line 211) | func getDb(opts ...DBOption) *gorm.DB { FILE: agent/app/repo/compose_template.go type ComposeTemplateRepo (line 8) | type ComposeTemplateRepo struct method Get (line 29) | func (u *ComposeTemplateRepo) Get(opts ...DBOption) (model.ComposeTemp... method Page (line 39) | func (u *ComposeTemplateRepo) Page(page, size int, opts ...DBOption) (... method List (line 51) | func (u *ComposeTemplateRepo) List(opts ...DBOption) ([]model.ComposeT... method Create (line 61) | func (u *ComposeTemplateRepo) Create(compose *model.ComposeTemplate) e... method Update (line 65) | func (u *ComposeTemplateRepo) Update(id uint, vars map[string]interfac... method Delete (line 69) | func (u *ComposeTemplateRepo) Delete(opts ...DBOption) error { method GetRecord (line 77) | func (u *ComposeTemplateRepo) GetRecord(opts ...DBOption) (model.Compo... method ListRecord (line 87) | func (u *ComposeTemplateRepo) ListRecord() ([]model.Compose, error) { method CreateRecord (line 95) | func (u *ComposeTemplateRepo) CreateRecord(compose *model.Compose) err... method DeleteRecord (line 99) | func (u *ComposeTemplateRepo) DeleteRecord(opts ...DBOption) error { method UpdateRecord (line 106) | func (u *ComposeTemplateRepo) UpdateRecord(name string, vars map[strin... type IComposeTemplateRepo (line 10) | type IComposeTemplateRepo interface function NewIComposeTemplateRepo (line 25) | func NewIComposeTemplateRepo() IComposeTemplateRepo { FILE: agent/app/repo/cronjob.go type CronjobRepo (line 13) | type CronjobRepo struct method Get (line 43) | func (u *CronjobRepo) Get(opts ...DBOption) (model.Cronjob, error) { method GetRecord (line 53) | func (u *CronjobRepo) GetRecord(opts ...DBOption) (model.JobRecords, e... method List (line 63) | func (u *CronjobRepo) List(opts ...DBOption) ([]model.Cronjob, error) { method ListRecord (line 73) | func (u *CronjobRepo) ListRecord(opts ...DBOption) ([]model.JobRecords... method Page (line 83) | func (u *CronjobRepo) Page(page, size int, opts ...DBOption) (int64, [... method RecordFirst (line 95) | func (u *CronjobRepo) RecordFirst(id uint) (model.JobRecords, error) { method PageRecords (line 101) | func (u *CronjobRepo) PageRecords(page, size int, opts ...DBOption) (i... method Create (line 113) | func (u *CronjobRepo) Create(cronjob *model.Cronjob) error { method WithByJobID (line 117) | func (c *CronjobRepo) WithByJobID(id int) DBOption { method WithByDbName (line 123) | func (c *CronjobRepo) WithByDbName(name string) DBOption { method WithByDownloadAccountID (line 129) | func (c *CronjobRepo) WithByDownloadAccountID(id uint) DBOption { method WithByRecordFile (line 135) | func (c *CronjobRepo) WithByRecordFile(file string) DBOption { method WithByRecordDropID (line 141) | func (c *CronjobRepo) WithByRecordDropID(id int) DBOption { method StartRecords (line 147) | func (u *CronjobRepo) StartRecords(cronjobID uint) model.JobRecords { method EndRecords (line 159) | func (u *CronjobRepo) EndRecords(record model.JobRecords, status, mess... method AddFailedRecord (line 172) | func (u *CronjobRepo) AddFailedRecord(cronjobID uint, message string) { method Save (line 183) | func (u *CronjobRepo) Save(id uint, cronjob model.Cronjob) error { method Update (line 186) | func (u *CronjobRepo) Update(id uint, vars map[string]interface{}) err... method UpdateRecords (line 190) | func (u *CronjobRepo) UpdateRecords(id uint, vars map[string]interface... method Delete (line 194) | func (u *CronjobRepo) Delete(opts ...DBOption) error { method DeleteRecord (line 201) | func (u *CronjobRepo) DeleteRecord(opts ...DBOption) error { type ICronjobRepo (line 15) | type ICronjobRepo interface function NewICronjobRepo (line 39) | func NewICronjobRepo() ICronjobRepo { FILE: agent/app/repo/database.go type DatabaseRepo (line 14) | type DatabaseRepo struct method Get (line 32) | func (d *DatabaseRepo) Get(opts ...DBOption) (model.Database, error) { method Page (line 49) | func (d *DatabaseRepo) Page(page, size int, opts ...DBOption) (int64, ... method GetList (line 70) | func (d *DatabaseRepo) GetList(opts ...DBOption) ([]model.Database, er... method WithoutByFrom (line 89) | func (d *DatabaseRepo) WithoutByFrom(from string) DBOption { method WithTypeList (line 95) | func (d *DatabaseRepo) WithTypeList(dbType string) DBOption { method WithAppInstallID (line 115) | func (d *DatabaseRepo) WithAppInstallID(appInstallID uint) DBOption { method Create (line 121) | func (d *DatabaseRepo) Create(ctx context.Context, database *model.Dat... method Update (line 130) | func (d *DatabaseRepo) Update(id uint, vars map[string]interface{}) er... method Delete (line 134) | func (d *DatabaseRepo) Delete(ctx context.Context, opts ...DBOption) e... type IDatabaseRepo (line 16) | type IDatabaseRepo interface function NewIDatabaseRepo (line 28) | func NewIDatabaseRepo() IDatabaseRepo { FILE: agent/app/repo/database_mysql.go type MysqlRepo (line 13) | type MysqlRepo struct method Get (line 30) | func (u *MysqlRepo) Get(opts ...DBOption) (model.DatabaseMysql, error) { method List (line 48) | func (u *MysqlRepo) List(opts ...DBOption) ([]model.DatabaseMysql, err... method Page (line 67) | func (u *MysqlRepo) Page(page, size int, opts ...DBOption) (int64, []m... method Create (line 88) | func (u *MysqlRepo) Create(ctx context.Context, mysql *model.DatabaseM... method Delete (line 97) | func (u *MysqlRepo) Delete(ctx context.Context, opts ...DBOption) error { method DeleteLocal (line 101) | func (u *MysqlRepo) DeleteLocal(ctx context.Context) error { method Update (line 105) | func (u *MysqlRepo) Update(id uint, vars map[string]interface{}) error { method WithByMysqlName (line 109) | func (u *MysqlRepo) WithByMysqlName(mysqlName string) DBOption { type IMysqlRepo (line 15) | type IMysqlRepo interface function NewIMysqlRepo (line 26) | func NewIMysqlRepo() IMysqlRepo { FILE: agent/app/repo/database_postgresql.go type PostgresqlRepo (line 13) | type PostgresqlRepo struct method Get (line 30) | func (u *PostgresqlRepo) Get(opts ...DBOption) (model.DatabasePostgres... method List (line 48) | func (u *PostgresqlRepo) List(opts ...DBOption) ([]model.DatabasePostg... method Page (line 67) | func (u *PostgresqlRepo) Page(page, size int, opts ...DBOption) (int64... method Create (line 88) | func (u *PostgresqlRepo) Create(ctx context.Context, postgresql *model... method Delete (line 97) | func (u *PostgresqlRepo) Delete(ctx context.Context, opts ...DBOption)... method DeleteLocal (line 101) | func (u *PostgresqlRepo) DeleteLocal(ctx context.Context) error { method Update (line 105) | func (u *PostgresqlRepo) Update(id uint, vars map[string]interface{}) ... method WithByPostgresqlName (line 109) | func (u *PostgresqlRepo) WithByPostgresqlName(postgresqlName string) D... type IPostgresqlRepo (line 15) | type IPostgresqlRepo interface function NewIPostgresqlRepo (line 26) | func NewIPostgresqlRepo() IPostgresqlRepo { FILE: agent/app/repo/favorite.go type FavoriteRepo (line 9) | type FavoriteRepo struct method WithByPath (line 24) | func (f *FavoriteRepo) WithByPath(path string) DBOption { method Page (line 30) | func (f *FavoriteRepo) Page(page, size int, opts ...DBOption) (int64, ... method Create (line 42) | func (f *FavoriteRepo) Create(favorite *model.Favorite) error { method GetFirst (line 46) | func (f *FavoriteRepo) GetFirst(opts ...DBOption) (model.Favorite, err... method Delete (line 55) | func (f *FavoriteRepo) Delete(opts ...DBOption) error { method All (line 60) | func (f *FavoriteRepo) All() ([]model.Favorite, error) { type IFavoriteRepo (line 11) | type IFavoriteRepo interface function NewIFavoriteRepo (line 20) | func NewIFavoriteRepo() IFavoriteRepo { FILE: agent/app/repo/ftp.go type FtpRepo (line 9) | type FtpRepo struct method Get (line 26) | func (u *FtpRepo) Get(opts ...DBOption) (model.Ftp, error) { method WithByUser (line 36) | func (h *FtpRepo) WithByUser(user string) DBOption { method WithLikeUser (line 42) | func (h *FtpRepo) WithLikeUser(user string) DBOption { method GetList (line 51) | func (u *FtpRepo) GetList(opts ...DBOption) ([]model.Ftp, error) { method Page (line 61) | func (h *FtpRepo) Page(page, size int, opts ...DBOption) (int64, []mod... method Create (line 73) | func (h *FtpRepo) Create(ftp *model.Ftp) error { method Update (line 77) | func (h *FtpRepo) Update(id uint, vars map[string]interface{}) error { method Delete (line 81) | func (h *FtpRepo) Delete(opts ...DBOption) error { type IFtpRepo (line 11) | type IFtpRepo interface function NewIFtpRepo (line 22) | func NewIFtpRepo() IFtpRepo { FILE: agent/app/repo/group.go type GroupRepo (line 9) | type GroupRepo struct method WithByDefault (line 26) | func (g *GroupRepo) WithByDefault(isDefault bool) DBOption { method Get (line 32) | func (g *GroupRepo) Get(opts ...DBOption) (model.Group, error) { method GetList (line 42) | func (g *GroupRepo) GetList(opts ...DBOption) ([]model.Group, error) { method Create (line 52) | func (g *GroupRepo) Create(group *model.Group) error { method Update (line 56) | func (g *GroupRepo) Update(id uint, vars map[string]interface{}) error { method Delete (line 60) | func (g *GroupRepo) Delete(opts ...DBOption) error { method WithByWebsiteDefault (line 68) | func (g *GroupRepo) WithByWebsiteDefault() DBOption { method CancelDefault (line 74) | func (g *GroupRepo) CancelDefault(groupType string) error { type IGroupRepo (line 11) | type IGroupRepo interface function NewIGroupRepo (line 22) | func NewIGroupRepo() IGroupRepo { FILE: agent/app/repo/host.go type HostRepo (line 10) | type HostRepo struct method Get (line 45) | func (h *HostRepo) Get(opts ...DBOption) (model.Host, error) { method GetList (line 55) | func (h *HostRepo) GetList(opts ...DBOption) ([]model.Host, error) { method Page (line 65) | func (h *HostRepo) Page(page, size int, opts ...DBOption) (int64, []mo... method WithByInfo (line 77) | func (h *HostRepo) WithByInfo(info string) DBOption { method WithByPort (line 87) | func (h *HostRepo) WithByPort(port uint) DBOption { method WithByUser (line 93) | func (h *HostRepo) WithByUser(user string) DBOption { method Create (line 99) | func (h *HostRepo) Create(host *model.Host) error { method Update (line 103) | func (h *HostRepo) Update(id uint, vars map[string]interface{}) error { method UpdateGroup (line 107) | func (h *HostRepo) UpdateGroup(group, newGroup uint) error { method Delete (line 111) | func (h *HostRepo) Delete(opts ...DBOption) error { method GetFirewallRecord (line 119) | func (h *HostRepo) GetFirewallRecord(opts ...DBOption) (model.Firewall... method ListFirewallRecord (line 129) | func (h *HostRepo) ListFirewallRecord(opts ...DBOption) ([]model.Firew... method SaveFirewallRecord (line 141) | func (h *HostRepo) SaveFirewallRecord(firewall *model.Firewall) error { method DeleteFirewallRecordByID (line 171) | func (h *HostRepo) DeleteFirewallRecordByID(id uint) error { method GetCert (line 175) | func (u *HostRepo) GetCert(opts ...DBOption) (model.RootCert, error) { method PageCert (line 185) | func (u *HostRepo) PageCert(page, size int, opts ...DBOption) (int64, ... method ListCert (line 197) | func (u *HostRepo) ListCert(opts ...DBOption) ([]model.RootCert, error) { method SaveCert (line 209) | func (u *HostRepo) SaveCert(cert *model.RootCert) error { method UpdateCert (line 213) | func (u *HostRepo) UpdateCert(id uint, vars map[string]interface{}) er... method DeleteCert (line 217) | func (u *HostRepo) DeleteCert(opts ...DBOption) error { method SyncCert (line 225) | func (u *HostRepo) SyncCert(data []model.RootCert) error { method WithByChain (line 254) | func (u *HostRepo) WithByChain(chain string) DBOption { type IHostRepo (line 12) | type IHostRepo interface function NewIHostRepo (line 41) | func NewIHostRepo() IHostRepo { FILE: agent/app/repo/image_repo.go type ImageRepoRepo (line 8) | type ImageRepoRepo struct method Get (line 23) | func (u *ImageRepoRepo) Get(opts ...DBOption) (model.ImageRepo, error) { method Page (line 33) | func (u *ImageRepoRepo) Page(page, size int, opts ...DBOption) (int64,... method List (line 45) | func (u *ImageRepoRepo) List(opts ...DBOption) ([]model.ImageRepo, err... method Create (line 57) | func (u *ImageRepoRepo) Create(imageRepo *model.ImageRepo) error { method Update (line 61) | func (u *ImageRepoRepo) Update(id uint, vars map[string]interface{}) e... method Delete (line 65) | func (u *ImageRepoRepo) Delete(opts ...DBOption) error { type IImageRepoRepo (line 10) | type IImageRepoRepo interface function NewIImageRepoRepo (line 19) | func NewIImageRepoRepo() IImageRepoRepo { FILE: agent/app/repo/mcp_server.go type McpServerRepo (line 5) | type McpServerRepo struct method Page (line 21) | func (m McpServerRepo) Page(page, size int, opts ...DBOption) (int64, ... method GetFirst (line 30) | func (m McpServerRepo) GetFirst(opts ...DBOption) (*model.McpServer, e... method List (line 38) | func (m McpServerRepo) List(opts ...DBOption) ([]model.McpServer, erro... method Create (line 46) | func (m McpServerRepo) Create(mcpServer *model.McpServer) error { method Save (line 50) | func (m McpServerRepo) Save(mcpServer *model.McpServer) error { method DeleteBy (line 54) | func (m McpServerRepo) DeleteBy(opts ...DBOption) error { type IMcpServerRepo (line 8) | type IMcpServerRepo interface function NewIMcpServerRepo (line 17) | func NewIMcpServerRepo() IMcpServerRepo { FILE: agent/app/repo/monitor.go type MonitorRepo (line 11) | type MonitorRepo struct method GetBase (line 35) | func (u *MonitorRepo) GetBase(opts ...DBOption) ([]model.MonitorBase, ... method GetIO (line 44) | func (u *MonitorRepo) GetIO(opts ...DBOption) ([]model.MonitorIO, erro... method GetNetwork (line 53) | func (u *MonitorRepo) GetNetwork(opts ...DBOption) ([]model.MonitorNet... method GetGPU (line 62) | func (u *MonitorRepo) GetGPU(opts ...DBOption) ([]model.MonitorGPU, er... method CreateMonitorBase (line 72) | func (u *MonitorRepo) CreateMonitorBase(model model.MonitorBase) error { method BatchCreateMonitorGPU (line 75) | func (s *MonitorRepo) BatchCreateMonitorGPU(list []model.MonitorGPU) e... method BatchCreateMonitorIO (line 78) | func (u *MonitorRepo) BatchCreateMonitorIO(ioList []model.MonitorIO) e... method BatchCreateMonitorNet (line 81) | func (u *MonitorRepo) BatchCreateMonitorNet(ioList []model.MonitorNetw... method DelMonitorBase (line 84) | func (u *MonitorRepo) DelMonitorBase(timeForDelete time.Time) error { method DelMonitorIO (line 87) | func (u *MonitorRepo) DelMonitorIO(timeForDelete time.Time) error { method DelMonitorNet (line 90) | func (u *MonitorRepo) DelMonitorNet(timeForDelete time.Time) error { method DelMonitorGPU (line 93) | func (s *MonitorRepo) DelMonitorGPU(timeForDelete time.Time) error { method WithByProductName (line 97) | func (s *MonitorRepo) WithByProductName(name string) DBOption { type IMonitorRepo (line 13) | type IMonitorRepo interface function NewIMonitorRepo (line 31) | func NewIMonitorRepo() IMonitorRepo { FILE: agent/app/repo/php_extensions.go type PHPExtensionsRepo (line 7) | type PHPExtensionsRepo struct method Page (line 23) | func (p *PHPExtensionsRepo) Page(page, size int, opts ...DBOption) (in... method List (line 34) | func (p *PHPExtensionsRepo) List() ([]model.PHPExtensions, error) { method Save (line 42) | func (p *PHPExtensionsRepo) Save(extension *model.PHPExtensions) error { method Create (line 46) | func (p *PHPExtensionsRepo) Create(extension *model.PHPExtensions) err... method GetFirst (line 50) | func (p *PHPExtensionsRepo) GetFirst(opts ...DBOption) (model.PHPExten... method DeleteBy (line 57) | func (p *PHPExtensionsRepo) DeleteBy(opts ...DBOption) error { type IPHPExtensionsRepo (line 10) | type IPHPExtensionsRepo interface function NewIPHPExtensionsRepo (line 19) | func NewIPHPExtensionsRepo() IPHPExtensionsRepo { FILE: agent/app/repo/runtime.go type RuntimeRepo (line 12) | type RuntimeRepo struct method WithStatus (line 35) | func (r *RuntimeRepo) WithStatus(status string) DBOption { method WithNormalStatus (line 41) | func (r *RuntimeRepo) WithNormalStatus(status string) DBOption { method WithImage (line 47) | func (r *RuntimeRepo) WithImage(image string) DBOption { method WithDetailId (line 53) | func (r *RuntimeRepo) WithDetailId(id uint) DBOption { method WithDetailIdsIn (line 59) | func (r *RuntimeRepo) WithDetailIdsIn(ids []uint) DBOption { method WithNotId (line 65) | func (r *RuntimeRepo) WithNotId(id uint) DBOption { method WithPort (line 71) | func (r *RuntimeRepo) WithPort(port int) DBOption { method Page (line 84) | func (r *RuntimeRepo) Page(page, size int, opts ...DBOption) (int64, [... method List (line 93) | func (r *RuntimeRepo) List(opts ...DBOption) ([]model.Runtime, error) { method Create (line 103) | func (r *RuntimeRepo) Create(ctx context.Context, runtime *model.Runti... method Save (line 108) | func (r *RuntimeRepo) Save(runtime *model.Runtime) error { method DeleteBy (line 112) | func (r *RuntimeRepo) DeleteBy(opts ...DBOption) error { method GetFirst (line 116) | func (r *RuntimeRepo) GetFirst(ctx context.Context, opts ...DBOption) ... type IRuntimeRepo (line 15) | type IRuntimeRepo interface function NewIRunTimeRepo (line 31) | func NewIRunTimeRepo() IRuntimeRepo { FILE: agent/app/repo/script.go type ScriptRepo (line 8) | type ScriptRepo struct method Get (line 21) | func (u *ScriptRepo) Get(opts ...DBOption) (model.ScriptLibrary, error) { method List (line 34) | func (u *ScriptRepo) List(opts ...DBOption) ([]model.ScriptLibrary, er... method SyncAll (line 52) | func (u *ScriptRepo) SyncAll(data []model.ScriptLibrary) error { type IScriptRepo (line 10) | type IScriptRepo interface function NewIScriptRepo (line 17) | func NewIScriptRepo() IScriptRepo { FILE: agent/app/repo/setting.go type SettingRepo (line 11) | type SettingRepo struct method GetList (line 35) | func (s *SettingRepo) GetList(opts ...DBOption) ([]model.Setting, erro... method Create (line 45) | func (s *SettingRepo) Create(key, value string) error { method Get (line 53) | func (s *SettingRepo) Get(opts ...DBOption) (model.Setting, error) { method GetValueByKey (line 63) | func (s *SettingRepo) GetValueByKey(key string) (string, error) { method WithByKey (line 71) | func (s *SettingRepo) WithByKey(key string) DBOption { method Update (line 77) | func (s *SettingRepo) Update(key, value string) error { method UpdateOrCreate (line 81) | func (s *SettingRepo) UpdateOrCreate(key, value string) error { method GetDescriptionList (line 93) | func (s *SettingRepo) GetDescriptionList(opts ...DBOption) ([]model.Co... method GetDescription (line 102) | func (s *SettingRepo) GetDescription(opts ...DBOption) (model.CommonDe... method CreateDescription (line 111) | func (s *SettingRepo) CreateDescription(data *model.CommonDescription)... method UpdateDescription (line 114) | func (s *SettingRepo) UpdateDescription(id string, val map[string]inte... method DelDescription (line 117) | func (s *SettingRepo) DelDescription(id string) error { method WithByDescriptionID (line 120) | func (s *SettingRepo) WithByDescriptionID(id string) DBOption { type ISettingRepo (line 13) | type ISettingRepo interface function NewISettingRepo (line 31) | func NewISettingRepo() ISettingRepo { FILE: agent/app/repo/snapshot.go type ISnapshotRepo (line 8) | type ISnapshotRepo interface function NewISnapshotRepo (line 17) | func NewISnapshotRepo() ISnapshotRepo { type SnapshotRepo (line 21) | type SnapshotRepo struct method Get (line 23) | func (u *SnapshotRepo) Get(opts ...DBOption) (model.Snapshot, error) { method GetList (line 33) | func (u *SnapshotRepo) GetList(opts ...DBOption) ([]model.Snapshot, er... method Page (line 43) | func (u *SnapshotRepo) Page(page, size int, opts ...DBOption) (int64, ... method Create (line 55) | func (u *SnapshotRepo) Create(Snapshot *model.Snapshot) error { method Update (line 59) | func (u *SnapshotRepo) Update(id uint, vars map[string]interface{}) er... method Delete (line 63) | func (u *SnapshotRepo) Delete(opts ...DBOption) error { FILE: agent/app/repo/tag.go type TagRepo (line 9) | type TagRepo struct method BatchCreate (line 29) | func (t TagRepo) BatchCreate(ctx context.Context, tags []*model.Tag) e... method DeleteAll (line 33) | func (t TagRepo) DeleteAll(ctx context.Context) error { method All (line 37) | func (t TagRepo) All() ([]model.Tag, error) { method GetByKey (line 45) | func (t TagRepo) GetByKey(key string) (*model.Tag, error) { method GetByIds (line 53) | func (t TagRepo) GetByIds(ids []uint) ([]model.Tag, error) { method GetByKeys (line 61) | func (t TagRepo) GetByKeys(keys []string) ([]model.Tag, error) { method GetByAppId (line 69) | func (t TagRepo) GetByAppId(appId uint) ([]model.Tag, error) { method DeleteByID (line 77) | func (t TagRepo) DeleteByID(ctx context.Context, id uint) error { method Create (line 81) | func (t TagRepo) Create(ctx context.Context, tag *model.Tag) error { method Save (line 85) | func (t TagRepo) Save(ctx context.Context, tag *model.Tag) error { type ITagRepo (line 12) | type ITagRepo interface function NewITagRepo (line 25) | func NewITagRepo() ITagRepo { FILE: agent/app/repo/task.go type TaskRepo (line 13) | type TaskRepo struct method WithByID (line 56) | func (t TaskRepo) WithByID(id string) DBOption { method WithByIDNotIn (line 62) | func (t TaskRepo) WithByIDNotIn(ids []string) DBOption { method WithOperate (line 68) | func (t TaskRepo) WithOperate(taskOperate string) DBOption { method WithResourceID (line 74) | func (t TaskRepo) WithResourceID(id uint) DBOption { method WithByStatus (line 80) | func (t TaskRepo) WithByStatus(status string) DBOption { method Save (line 86) | func (t TaskRepo) Save(ctx context.Context, task *model.Task) error { method GetFirst (line 90) | func (t TaskRepo) GetFirst(opts ...DBOption) (model.Task, error) { method Page (line 99) | func (t TaskRepo) Page(page, size int, opts ...DBOption) (int64, []mod... method Update (line 108) | func (t TaskRepo) Update(ctx context.Context, task *model.Task) error { method UpdateRunningTaskToFailed (line 112) | func (t TaskRepo) UpdateRunningTaskToFailed() error { method CountExecutingTask (line 116) | func (t TaskRepo) CountExecutingTask() (int64, error) { method Delete (line 122) | func (t TaskRepo) Delete(opts ...DBOption) error { method DeleteAll (line 130) | func (t TaskRepo) DeleteAll() error { type ITaskRepo (line 16) | type ITaskRepo interface function NewITaskRepo (line 33) | func NewITaskRepo() ITaskRepo { function getTaskDb (line 37) | func getTaskDb(opts ...DBOption) *gorm.DB { function getTaskTx (line 45) | func getTaskTx(ctx context.Context, opts ...DBOption) *gorm.DB { FILE: agent/app/repo/tensorrt_llm.go type TensorRTLLMRepo (line 5) | type TensorRTLLMRepo struct method Page (line 21) | func (t TensorRTLLMRepo) Page(page, size int, opts ...DBOption) (int64... method GetFirst (line 30) | func (t TensorRTLLMRepo) GetFirst(opts ...DBOption) (*model.TensorRTLL... method List (line 38) | func (t TensorRTLLMRepo) List(opts ...DBOption) ([]model.TensorRTLLM, ... method Create (line 46) | func (t TensorRTLLMRepo) Create(tensorrtLLM *model.TensorRTLLM) error { method Save (line 50) | func (t TensorRTLLMRepo) Save(tensorrtLLM *model.TensorRTLLM) error { method DeleteBy (line 54) | func (t TensorRTLLMRepo) DeleteBy(opts ...DBOption) error { type ITensorRTLLMRepo (line 8) | type ITensorRTLLMRepo interface function NewITensorRTLLMRepo (line 17) | func NewITensorRTLLMRepo() ITensorRTLLMRepo { FILE: agent/app/repo/website.go type IWebsiteRepo (line 11) | type IWebsiteRepo interface function NewIWebsiteRepo (line 38) | func NewIWebsiteRepo() IWebsiteRepo { type WebsiteRepo (line 42) | type WebsiteRepo struct method WithAppInstallId (line 45) | func (w *WebsiteRepo) WithAppInstallId(appInstallID uint) DBOption { method WithRuntimeID (line 51) | func (w *WebsiteRepo) WithRuntimeID(runtimeID uint) DBOption { method WithDomain (line 57) | func (w *WebsiteRepo) WithDomain(domain string) DBOption { method WithDomainLike (line 63) | func (w *WebsiteRepo) WithDomainLike(domain string) DBOption { method WithAlias (line 69) | func (w *WebsiteRepo) WithAlias(alias string) DBOption { method WithWebsiteSSLID (line 75) | func (w *WebsiteRepo) WithWebsiteSSLID(sslId uint) DBOption { method WithParentID (line 81) | func (w *WebsiteRepo) WithParentID(websiteID uint) DBOption { method WithGroupID (line 87) | func (w *WebsiteRepo) WithGroupID(groupId uint) DBOption { method WithDefaultServer (line 93) | func (w *WebsiteRepo) WithDefaultServer() DBOption { method WithType (line 99) | func (w *WebsiteRepo) WithType(websiteType string) DBOption { method WithDBType (line 105) | func (w *WebsiteRepo) WithDBType(dbType string) DBOption { method WithDBID (line 111) | func (w *WebsiteRepo) WithDBID(dbID uint) DBOption { method Page (line 117) | func (w *WebsiteRepo) Page(page, size int, opts ...DBOption) (int64, [... method List (line 126) | func (w *WebsiteRepo) List(opts ...DBOption) ([]model.Website, error) { method GetFirst (line 132) | func (w *WebsiteRepo) GetFirst(opts ...DBOption) (model.Website, error) { method GetBy (line 141) | func (w *WebsiteRepo) GetBy(opts ...DBOption) ([]model.Website, error) { method Create (line 150) | func (w *WebsiteRepo) Create(ctx context.Context, app *model.Website) ... method Save (line 154) | func (w *WebsiteRepo) Save(ctx context.Context, app *model.Website) er... method SaveWithoutCtx (line 158) | func (w *WebsiteRepo) SaveWithoutCtx(website *model.Website) error { method DeleteBy (line 162) | func (w *WebsiteRepo) DeleteBy(ctx context.Context, opts ...DBOption) ... method DeleteAll (line 166) | func (w *WebsiteRepo) DeleteAll(ctx context.Context) error { method UpdateGroup (line 170) | func (w *WebsiteRepo) UpdateGroup(group, newGroup uint) error { FILE: agent/app/repo/website_acme_account.go type IAcmeAccountRepo (line 8) | type IAcmeAccountRepo interface function NewIAcmeAccountRepo (line 18) | func NewIAcmeAccountRepo() IAcmeAccountRepo { type WebsiteAcmeAccountRepo (line 22) | type WebsiteAcmeAccountRepo struct method WithEmail (line 25) | func (w *WebsiteAcmeAccountRepo) WithEmail(email string) DBOption { method WithType (line 30) | func (w *WebsiteAcmeAccountRepo) WithType(acType string) DBOption { method Page (line 36) | func (w *WebsiteAcmeAccountRepo) Page(page, size int, opts ...DBOption... method GetFirst (line 45) | func (w *WebsiteAcmeAccountRepo) GetFirst(opts ...DBOption) (*model.We... method Create (line 54) | func (w *WebsiteAcmeAccountRepo) Create(account model.WebsiteAcmeAccou... method Save (line 58) | func (w *WebsiteAcmeAccountRepo) Save(account model.WebsiteAcmeAccount... method DeleteBy (line 62) | func (w *WebsiteAcmeAccountRepo) DeleteBy(opts ...DBOption) error { FILE: agent/app/repo/website_ca.go type WebsiteCARepo (line 9) | type WebsiteCARepo struct method Page (line 24) | func (w WebsiteCARepo) Page(page, size int, opts ...DBOption) (int64, ... method GetFirst (line 33) | func (w WebsiteCARepo) GetFirst(opts ...DBOption) (model.WebsiteCA, er... method List (line 42) | func (w WebsiteCARepo) List(opts ...DBOption) ([]model.WebsiteCA, erro... method Create (line 49) | func (w WebsiteCARepo) Create(ctx context.Context, ca *model.WebsiteCA... method DeleteBy (line 53) | func (w WebsiteCARepo) DeleteBy(opts ...DBOption) error { function NewIWebsiteCARepo (line 12) | func NewIWebsiteCARepo() IWebsiteCARepo { type IWebsiteCARepo (line 16) | type IWebsiteCARepo interface FILE: agent/app/repo/website_dns_account.go type WebsiteDnsAccountRepo (line 7) | type WebsiteDnsAccountRepo struct method Page (line 23) | func (w WebsiteDnsAccountRepo) Page(page, size int, opts ...DBOption) ... method GetFirst (line 32) | func (w WebsiteDnsAccountRepo) GetFirst(opts ...DBOption) (*model.Webs... method List (line 41) | func (w WebsiteDnsAccountRepo) List(opts ...DBOption) ([]model.Website... method Create (line 50) | func (w WebsiteDnsAccountRepo) Create(account model.WebsiteDnsAccount)... method Save (line 54) | func (w WebsiteDnsAccountRepo) Save(account model.WebsiteDnsAccount) e... method DeleteBy (line 58) | func (w WebsiteDnsAccountRepo) DeleteBy(opts ...DBOption) error { type IWebsiteDnsAccountRepo (line 10) | type IWebsiteDnsAccountRepo interface function NewIWebsiteDnsAccountRepo (line 19) | func NewIWebsiteDnsAccountRepo() IWebsiteDnsAccountRepo { FILE: agent/app/repo/website_domain.go type WebsiteDomainRepo (line 11) | type WebsiteDomainRepo struct method WithWebsiteId (line 33) | func (w WebsiteDomainRepo) WithWebsiteId(websiteId uint) DBOption { method WithPort (line 39) | func (w WebsiteDomainRepo) WithPort(port int) DBOption { method WithDomain (line 44) | func (w WebsiteDomainRepo) WithDomain(domain string) DBOption { method WithDomainLike (line 49) | func (w WebsiteDomainRepo) WithDomainLike(domain string) DBOption { method Page (line 54) | func (w WebsiteDomainRepo) Page(page, size int, opts ...DBOption) (int... method GetFirst (line 63) | func (w WebsiteDomainRepo) GetFirst(opts ...DBOption) (model.WebsiteDo... method GetBy (line 72) | func (w WebsiteDomainRepo) GetBy(opts ...DBOption) ([]model.WebsiteDom... method BatchCreate (line 81) | func (w WebsiteDomainRepo) BatchCreate(ctx context.Context, domains []... method Create (line 85) | func (w WebsiteDomainRepo) Create(ctx context.Context, app *model.Webs... method Save (line 89) | func (w WebsiteDomainRepo) Save(ctx context.Context, app *model.Websit... method DeleteBy (line 93) | func (w WebsiteDomainRepo) DeleteBy(ctx context.Context, opts ...DBOpt... method DeleteAll (line 97) | func (w WebsiteDomainRepo) DeleteAll(ctx context.Context) error { type IWebsiteDomainRepo (line 14) | type IWebsiteDomainRepo interface function NewIWebsiteDomainRepo (line 29) | func NewIWebsiteDomainRepo() IWebsiteDomainRepo { FILE: agent/app/repo/website_ssl.go function NewISSLRepo (line 10) | func NewISSLRepo() ISSLRepo { type ISSLRepo (line 14) | type ISSLRepo interface type WebsiteSSLRepo (line 30) | type WebsiteSSLRepo struct method WithByAlias (line 33) | func (w WebsiteSSLRepo) WithByAlias(alias string) DBOption { method WithByAcmeAccountId (line 39) | func (w WebsiteSSLRepo) WithByAcmeAccountId(acmeAccountId uint) DBOpti... method WithByDnsAccountId (line 45) | func (w WebsiteSSLRepo) WithByDnsAccountId(dnsAccountId uint) DBOption { method WithByCAID (line 51) | func (w WebsiteSSLRepo) WithByCAID(caID uint) DBOption { method WithByDomain (line 57) | func (w WebsiteSSLRepo) WithByDomain(domain string) DBOption { method WithByMasterSSLID (line 63) | func (w WebsiteSSLRepo) WithByMasterSSLID(sslID uint) DBOption { method Page (line 69) | func (w WebsiteSSLRepo) Page(page, size int, opts ...DBOption) (int64,... method GetFirst (line 78) | func (w WebsiteSSLRepo) GetFirst(opts ...DBOption) (*model.WebsiteSSL,... method List (line 87) | func (w WebsiteSSLRepo) List(opts ...DBOption) ([]model.WebsiteSSL, er... method Create (line 96) | func (w WebsiteSSLRepo) Create(ctx context.Context, ssl *model.Website... method Save (line 100) | func (w WebsiteSSLRepo) Save(ssl *model.WebsiteSSL) error { method SaveByMap (line 106) | func (w WebsiteSSLRepo) SaveByMap(ssl *model.WebsiteSSL, params map[st... method DeleteBy (line 112) | func (w WebsiteSSLRepo) DeleteBy(opts ...DBOption) error { FILE: agent/app/service/agents.go type IAgentService (line 25) | type IAgentService interface constant defaultBrowserExecutablePath (line 64) | defaultBrowserExecutablePath = "/home/node/.cache/ms-playwright/chromiu... constant defaultBrowserProfile (line 65) | defaultBrowserProfile = "openclaw" constant defaultUserTimezone (line 66) | defaultUserTimezone = "Asia/Shanghai" constant defaultToolsProfile (line 67) | defaultToolsProfile = "full" constant defaultToolsSessionVisibility (line 68) | defaultToolsSessionVisibility = "all" constant maxCommunityAIAgents (line 69) | maxCommunityAIAgents = int64(5) constant openclawPluginBaseDir (line 70) | openclawPluginBaseDir = "/home/node/.openclaw/extensions" constant openclawGatewayPort (line 71) | openclawGatewayPort = 18789 constant openclawAllowedOriginHost (line 72) | openclawAllowedOriginHost = "127.0.0.1" constant openclawHTTPSVersion (line 73) | openclawHTTPSVersion = "2026.3.13" constant openclawTrustedProxyLoopback (line 74) | openclawTrustedProxyLoopback = "127.0.0.1/32" method Create (line 77) | func (a AgentService) Create(req dto.AgentCreateReq) (*dto.AgentItem, er... method Page (line 240) | func (a AgentService) Page(req dto.SearchWithPage) (int64, []dto.AgentIt... method Delete (line 260) | func (a AgentService) Delete(req dto.AgentDeleteReq) error { method ResetToken (line 280) | func (a AgentService) ResetToken(req dto.AgentTokenResetReq) error { method UpdateModelConfig (line 309) | func (a AgentService) UpdateModelConfig(req dto.AgentModelConfigUpdateRe... method GetProviders (line 342) | func (a AgentService) GetProviders() ([]dto.ProviderInfo, error) { method CreateAccount (line 360) | func (a AgentService) CreateAccount(req dto.AgentAccountCreateReq) error { method UpdateAccount (line 398) | func (a AgentService) UpdateAccount(req dto.AgentAccountUpdateReq) error { method PageAccounts (line 427) | func (a AgentService) PageAccounts(req dto.AgentAccountSearch) (int64, [... method GetAccountModels (line 470) | func (a AgentService) GetAccountModels(req dto.AgentAccountModelReq) ([]... method CreateAccountModel (line 478) | func (a AgentService) CreateAccountModel(req dto.AgentAccountModelCreate... method UpdateAccountModel (line 515) | func (a AgentService) UpdateAccountModel(req dto.AgentAccountModelUpdate... method DeleteAccountModel (line 567) | func (a AgentService) DeleteAccountModel(req dto.AgentAccountModelDelete... method SyncAgentsByAccount (line 598) | func (a AgentService) SyncAgentsByAccount(account *model.AgentAccount) e... method VerifyAccount (line 605) | func (a AgentService) VerifyAccount(req dto.AgentAccountVerifyReq) error { method DeleteAccount (line 613) | func (a AgentService) DeleteAccount(req dto.AgentAccountDeleteReq) error { method GetFeishuConfig (line 623) | func (a AgentService) GetFeishuConfig(req dto.AgentFeishuConfigReq) (*dt... method UpdateFeishuConfig (line 632) | func (a AgentService) UpdateFeishuConfig(req dto.AgentFeishuConfigUpdate... method GetTelegramConfig (line 646) | func (a AgentService) GetTelegramConfig(req dto.AgentTelegramConfigReq) ... method UpdateTelegramConfig (line 655) | func (a AgentService) UpdateTelegramConfig(req dto.AgentTelegramConfigUp... method GetDiscordConfig (line 667) | func (a AgentService) GetDiscordConfig(req dto.AgentDiscordConfigReq) (*... method UpdateDiscordConfig (line 676) | func (a AgentService) UpdateDiscordConfig(req dto.AgentDiscordConfigUpda... method GetQQBotConfig (line 689) | func (a AgentService) GetQQBotConfig(req dto.AgentQQBotConfigReq) (*dto.... method UpdateQQBotConfig (line 700) | func (a AgentService) UpdateQQBotConfig(req dto.AgentQQBotConfigUpdateRe... method GetWecomConfig (line 711) | func (a AgentService) GetWecomConfig(req dto.AgentWecomConfigReq) (*dto.... method UpdateWecomConfig (line 722) | func (a AgentService) UpdateWecomConfig(req dto.AgentWecomConfigUpdateRe... method GetDingTalkConfig (line 734) | func (a AgentService) GetDingTalkConfig(req dto.AgentDingTalkConfigReq) ... method UpdateDingTalkConfig (line 745) | func (a AgentService) UpdateDingTalkConfig(req dto.AgentDingTalkConfigUp... method InstallPlugin (line 760) | func (a AgentService) InstallPlugin(req dto.AgentPluginInstallReq) error { method CheckPlugin (line 785) | func (a AgentService) CheckPlugin(req dto.AgentPluginCheckReq) (*dto.Age... method GetSecurityConfig (line 797) | func (a AgentService) GetSecurityConfig(req dto.AgentSecurityConfigReq) ... method UpdateSecurityConfig (line 813) | func (a AgentService) UpdateSecurityConfig(req dto.AgentSecurityConfigUp... method GetOtherConfig (line 842) | func (a AgentService) GetOtherConfig(req dto.AgentOtherConfigReq) (*dto.... method UpdateOtherConfig (line 855) | func (a AgentService) UpdateOtherConfig(req dto.AgentOtherConfigUpdateRe... method ApproveChannelPairing (line 874) | func (a AgentService) ApproveChannelPairing(req dto.AgentChannelPairingA... method loadAgentAndInstall (line 891) | func (a AgentService) loadAgentAndInstall(agentID uint) (*model.Agent, *... method loadAgentConfig (line 906) | func (a AgentService) loadAgentConfig(agentID uint) (*model.Agent, *mode... method mutateAgentConfig (line 918) | func (a AgentService) mutateAgentConfig(agentID uint, fn func(agent *mod... method syncAgentsByAccount (line 929) | func (a AgentService) syncAgentsByAccount(account *model.AgentAccount) e... FILE: agent/app/service/agents_utils.go type AgentService (line 30) | type AgentService struct function NewIAgentService (line 32) | func NewIAgentService() IAgentService { type resolvedAgentAccountVerification (line 36) | type resolvedAgentAccountVerification struct type resolvedAgentAccountInput (line 42) | type resolvedAgentAccountInput struct function resolveAgentAccountVerification (line 49) | func resolveAgentAccountVerification(provider, apiKey, baseURL string) (... function verifyResolvedAgentAccount (line 76) | func verifyResolvedAgentAccount(input resolvedAgentAccountVerification) ... function resolveAgentAccountAPIType (line 83) | func resolveAgentAccountAPIType(provider, apiType, fallbackAPIType strin... function resolveAgentAccountInput (line 110) | func resolveAgentAccountInput(provider, apiKey, baseURL, apiType, fallba... function readOpenclawConfig (line 130) | func readOpenclawConfig(configPath string) (map[string]interface{}, erro... function writeOpenclawConfigRaw (line 146) | func writeOpenclawConfigRaw(configPath string, conf map[string]interface... function normalizeAllowedOrigins (line 157) | func normalizeAllowedOrigins(origins []string) ([]string, error) { function normalizeAllowedOrigin (line 181) | func normalizeAllowedOrigin(origin string) (string, error) { function extractSecurityConfig (line 209) | func extractSecurityConfig(conf map[string]interface{}) dto.AgentSecurit... function setSecurityConfig (line 236) | func setSecurityConfig(conf map[string]interface{}, config dto.AgentSecu... function ensureGatewaySecurityDefaults (line 248) | func ensureGatewaySecurityDefaults(conf map[string]interface{}) { function ensureOpenclawUpdateDefaults (line 258) | func ensureOpenclawUpdateDefaults(conf map[string]interface{}) { function setTrustedProxies (line 265) | func setTrustedProxies(gateway map[string]interface{}) { function extractFeishuConfig (line 300) | func extractFeishuConfig(conf map[string]interface{}) dto.AgentFeishuCon... function setFeishuConfig (line 336) | func setFeishuConfig(conf map[string]interface{}, config dto.AgentFeishu... function setFeishuPluginEnabled (line 353) | func setFeishuPluginEnabled(conf map[string]interface{}, enabled bool) { function extractTelegramConfig (line 360) | func extractTelegramConfig(conf map[string]interface{}) dto.AgentTelegra... function setTelegramConfig (line 385) | func setTelegramConfig(conf map[string]interface{}, config dto.AgentTele... function extractDiscordConfig (line 401) | func extractDiscordConfig(conf map[string]interface{}) dto.AgentDiscordC... function setDiscordConfig (line 437) | func setDiscordConfig(conf map[string]interface{}, config dto.AgentDisco... function extractBrowserConfig (line 457) | func extractBrowserConfig(conf map[string]interface{}) browserConfig { function setBrowserConfig (line 487) | func setBrowserConfig(conf map[string]interface{}, config browserConfig) { function extractQQBotConfig (line 500) | func extractQQBotConfig(conf map[string]interface{}) dto.AgentQQBotConfig { function extractWecomConfig (line 522) | func extractWecomConfig(conf map[string]interface{}) dto.AgentWecomConfig { function extractDingTalkConfig (line 547) | func extractDingTalkConfig(conf map[string]interface{}) dto.AgentDingTal... function setWecomConfig (line 583) | func setWecomConfig(conf map[string]interface{}, config dto.AgentWecomCo... function setDingTalkConfig (line 602) | func setDingTalkConfig(conf map[string]interface{}, config dto.AgentDing... function setQQBotConfig (line 640) | func setQQBotConfig(conf map[string]interface{}, config dto.AgentQQBotCo... function resolvePluginMeta (line 654) | func resolvePluginMeta(pluginType string) (string, string, error) { function checkPluginInstalled (line 667) | func checkPluginInstalled(containerName, pluginType string) (bool, error) { function extractOtherConfig (line 683) | func extractOtherConfig(conf map[string]interface{}) dto.AgentOtherConfig { function setOtherConfig (line 705) | func setOtherConfig(conf map[string]interface{}, config dto.AgentOtherCo... function buildAgentItem (line 722) | func buildAgentItem(agent *model.Agent, appInstall *model.AppInstall, en... function isOpenclawHTTPSVersion (line 771) | func isOpenclawHTTPSVersion(version string) bool { function shouldMigrateOpenclawHTTPSUpgrade (line 782) | func shouldMigrateOpenclawHTTPSUpgrade(install *model.AppInstall, fromVe... function migrateOpenclawHTTPSUpgrade (line 789) | func migrateOpenclawHTTPSUpgrade(install *model.AppInstall, fromVersion,... function migrateOpenclawHTTPSUpgradeWithSystemIP (line 794) | func migrateOpenclawHTTPSUpgradeWithSystemIP(install *model.AppInstall, ... function migrateOpenclawInstallPorts (line 828) | func migrateOpenclawInstallPorts(install *model.AppInstall) { function migrateOpenclawInstallEnv (line 840) | func migrateOpenclawInstallEnv(install *model.AppInstall, allowedOrigins... function syncOpenclawAllowedOriginEnv (line 865) | func syncOpenclawAllowedOriginEnv(install *model.AppInstall, allowedOrig... function firstAllowedOrigin (line 888) | func firstAllowedOrigin(allowedOrigins []string) string { function buildOpenclawAllowedOrigin (line 898) | func buildOpenclawAllowedOrigin(host string, port int) (string, error) { function checkAgentUpgradable (line 909) | func checkAgentUpgradable(install model.AppInstall) bool { type openclawConfig (line 942) | type openclawConfig struct type toolsConfig (line 951) | type toolsConfig struct type toolSessionsConfig (line 956) | type toolSessionsConfig struct type updateConfig (line 960) | type updateConfig struct type gatewayConfig (line 964) | type gatewayConfig struct type gatewayControlUi (line 973) | type gatewayControlUi struct type gatewayAuth (line 978) | type gatewayAuth struct type agentsConfig (line 983) | type agentsConfig struct type agentDefaults (line 987) | type agentDefaults struct type modelRef (line 993) | type modelRef struct type modelsConfig (line 997) | type modelsConfig struct type modelProvider (line 1002) | type modelProvider struct type modelEntry (line 1009) | type modelEntry struct type modelCost (line 1019) | type modelCost struct type browserConfig (line 1026) | type browserConfig struct function writeOpenclawConfig (line 1034) | func writeOpenclawConfig(confDir string, account *model.AgentAccount, mo... function prepareOpenclawInstallFiles (line 1180) | func prepareOpenclawInstallFiles(appInstall *model.AppInstall, account *... function buildOpenclawModelsFromAccount (line 1192) | func buildOpenclawModelsFromAccount(account *model.AgentAccount, selecte... function buildOpenclawCatalogModel (line 1247) | func buildOpenclawCatalogModel(account *model.AgentAccount, model dto.Ag... type openclawAccountModelRuntime (line 1268) | type openclawAccountModelRuntime struct function buildOpenclawAccountModelRuntime (line 1276) | func buildOpenclawAccountModelRuntime(account *model.AgentAccount, model... function resolveOpenclawAccountModelRuntimeByID (line 1296) | func resolveOpenclawAccountModelRuntimeByID(account *model.AgentAccount,... function inferOpenclawCatalogModel (line 1308) | func inferOpenclawCatalogModel(account *model.AgentAccount, modelID stri... function resolveAccountBaseURL (line 1335) | func resolveAccountBaseURL(account *model.AgentAccount) string { function buildInitialAgentAccountModels (line 1345) | func buildInitialAgentAccountModels(account *model.AgentAccount, request... function compactPersistedAgentAccountModelSortOrder (line 1384) | func compactPersistedAgentAccountModelSortOrder(accountID uint) error { function loadAgentAccountModels (line 1402) | func loadAgentAccountModels(account *model.AgentAccount) ([]dto.AgentAcc... function MergeCatalogAgentAccountModelsForMigration (line 1409) | func MergeCatalogAgentAccountModelsForMigration(account *model.AgentAcco... function listPersistedAgentAccountModels (line 1448) | func listPersistedAgentAccountModels(accountID uint) ([]dto.AgentAccount... function replacePersistedAgentAccountModelsWithTx (line 1475) | func replacePersistedAgentAccountModelsWithTx(tx *gorm.DB, accountID uin... function replacePersistedAgentAccountModels (line 1501) | func replacePersistedAgentAccountModels(accountID uint, models []dto.Age... function normalizeAgentAccountModels (line 1507) | func normalizeAgentAccountModels(account *model.AgentAccount, models []d... function normalizeAgentAccountModel (line 1556) | func normalizeAgentAccountModel(account *model.AgentAccount, model dto.A... function normalizeAgentAccountModelID (line 1595) | func normalizeAgentAccountModelID(provider, primaryModel, requestedID st... function buildLegacyAgentAccountModels (line 1654) | func buildLegacyAgentAccountModels(account *model.AgentAccount) []dto.Ag... function sanitizeAgentAccountModelInputs (line 1687) | func sanitizeAgentAccountModelInputs(values []string) []string { function requiresInitialAgentAccountModels (line 1707) | func requiresInitialAgentAccountModels(provider string) bool { function normalizeComparableProviderModelID (line 1716) | func normalizeComparableProviderModelID(provider, modelID string) string { function sameProviderModelID (line 1738) | func sameProviderModelID(provider, left, right string) bool { function findAgentAccountModelForProvider (line 1749) | func findAgentAccountModelForProvider(provider string, models []dto.Agen... function requireAgentAccountModelForProvider (line 1758) | func requireAgentAccountModelForProvider(provider string, models []dto.A... function ensureAccountModelsNotBound (line 1766) | func ensureAccountModelsNotBound(account *model.AgentAccount, models []d... function resolveServerTimezone (line 1785) | func resolveServerTimezone() string { function extractStringList (line 1796) | func extractStringList(value interface{}) []string { function extractGatewayToken (line 1823) | func extractGatewayToken(conf map[string]interface{}) string { function ensureChildMap (line 1836) | func ensureChildMap(parent map[string]interface{}, key string) map[strin... function structToMap (line 1845) | func structToMap(value interface{}) (map[string]interface{}, error) { function mapToModelsConfig (line 1857) | func mapToModelsConfig(value map[string]interface{}) (*modelsConfig, err... function providerEnvKey (line 1869) | func providerEnvKey(provider string) string { type providerDefinition (line 1873) | type providerDefinition struct function providerDefinitions (line 1880) | func providerDefinitions() map[string]providerDefinition { function providerDefaultBaseURL (line 1904) | func providerDefaultBaseURL(provider string) (string, bool) { function fixedProviderBaseURL (line 1908) | func fixedProviderBaseURL(provider string) (string, bool) { function providerDisplayName (line 1919) | func providerDisplayName(provider string) string { function readInstallEnv (line 1923) | func readInstallEnv(envStr string) map[string]interface{} { function maskKey (line 1934) | func maskKey(value string) string { function toInt (line 1942) | func toInt(value interface{}) int { function normalizeCustomModel (line 1961) | func normalizeCustomModel(modelName string) string { function normalizeAgentType (line 1972) | func normalizeAgentType(agentType string) string { function modelMatchesProvider (line 1980) | func modelMatchesProvider(provider, modelName string) bool { function runtimeProviderModelPrefix (line 1990) | func runtimeProviderModelPrefix(provider string) string { function poolModelPrefix (line 2003) | func poolModelPrefix(provider string) string { function supportedProviderModelPrefixes (line 2014) | func supportedProviderModelPrefixes(provider string) []string { function normalizeAPIType (line 2032) | func normalizeAPIType(apiType string) string { function isSupportedAPIType (line 2040) | func isSupportedAPIType(apiType string) bool { function isSupportedOllamaAPIType (line 2049) | func isSupportedOllamaAPIType(apiType string) bool { function resolveRuntimeParams (line 2058) | func resolveRuntimeParams(provider, apiType string, maxTokens, contextWi... function generateToken (line 2098) | func generateToken() string { function asyncReportAIProviderInstall (line 2106) | func asyncReportAIProviderInstall(provider string) { FILE: agent/app/service/ai.go type AIToolService (line 25) | type AIToolService struct method Search (line 44) | func (u *AIToolService) Search(req dto.SearchWithPage) (int64, []dto.O... method LoadDetail (line 68) | func (u *AIToolService) LoadDetail(name string) (string, error) { method Create (line 83) | func (u *AIToolService) Create(req dto.OllamaModelName) error { method Close (line 129) | func (u *AIToolService) Close(name string) error { method Recreate (line 143) | func (u *AIToolService) Recreate(req dto.OllamaModelName) error { method Delete (line 184) | func (u *AIToolService) Delete(req dto.ForceDelete) error { method Sync (line 206) | func (u *AIToolService) Sync() ([]dto.OllamaModelDropList, error) { method BindDomain (line 254) | func (u *AIToolService) BindDomain(req dto.OllamaBindDomain) error { method GetBindDomain (line 301) | func (u *AIToolService) GetBindDomain(req dto.OllamaBindDomainReq) (*d... method UpdateBindDomain (line 323) | func (u *AIToolService) UpdateBindDomain(req dto.OllamaBindDomain) err... type IAIToolService (line 27) | type IAIToolService interface function NewIAIToolService (line 40) | func NewIAIToolService() IAIToolService { function LoadContainerName (line 371) | func LoadContainerName() (string, error) { function loadModelSize (line 382) | func loadModelSize(name string, containerName string) (string, error) { FILE: agent/app/service/alert.go type AlertService (line 25) | type AlertService struct method PageAlert (line 53) | func (a AlertService) PageAlert(search dto.AlertSearch) (int64, []dto.... method GetAlerts (line 92) | func (a AlertService) GetAlerts() ([]dto.AlertDTO, error) { method CreateAlert (line 123) | func (a AlertService) CreateAlert(create dto.AlertCreate) error { method UpdateAlert (line 159) | func (a AlertService) UpdateAlert(req dto.AlertUpdate) error { method DeleteAlert (line 180) | func (a AlertService) DeleteAlert(id uint) error { method GetAlert (line 201) | func (a AlertService) GetAlert(id uint) (dto.AlertDTO, error) { method UpdateStatus (line 211) | func (a AlertService) UpdateStatus(id uint, status string) error { method GetDisks (line 232) | func (a AlertService) GetDisks() ([]dto.DiskDTO, error) { method PageAlertLogs (line 336) | func (a AlertService) PageAlertLogs(search dto.AlertLogSearch) (int64,... method parseAlertLog (line 365) | func (a AlertService) parseAlertLog(item model.AlertLog) (dto.AlertLog... method CleanAlertLogs (line 397) | func (a AlertService) CleanAlertLogs() error { method GetClams (line 401) | func (a AlertService) GetClams() ([]dto.ClamDTO, error) { method GetCronJobs (line 418) | func (a AlertService) GetCronJobs(req dto.CronJobReq) ([]dto.CronJobDT... method GetAlertConfig (line 444) | func (a AlertService) GetAlertConfig() ([]model.AlertConfig, error) { method UpdateAlertConfig (line 454) | func (a AlertService) UpdateAlertConfig(req dto.AlertConfigUpdate) err... method DeleteAlertConfig (line 478) | func (a AlertService) DeleteAlertConfig(id uint) error { method TestAlertConfig (line 482) | func (a AlertService) TestAlertConfig(req dto.AlertConfigTest) (bool, ... method ExternalUpdateAlert (line 511) | func (a AlertService) ExternalUpdateAlert(updateAlert dto.AlertCreate)... type IAlertService (line 27) | type IAlertService interface function NewIAlertService (line 49) | func NewIAlertService() IAlertService { function executeDiskCommand (line 309) | func executeDiskCommand() (string, error) { function shouldExclude (line 319) | func shouldExclude(fields []string, mountPoint string, excludes map[stri... function unmarshalAlertInfo (line 390) | func unmarshalAlertInfo(data string, v interface{}) error { FILE: agent/app/service/alert_helper.go constant ResourceAlertInterval (line 30) | ResourceAlertInterval = 30 constant CheckIntervalSec (line 31) | CheckIntervalSec = 3 constant LoadCheckIntervalMin (line 32) | LoadCheckIntervalMin = 5 type AlertTaskHelper (line 35) | type AlertTaskHelper struct method StartTask (line 59) | func (m *AlertTaskHelper) StartTask() { method StopTask (line 68) | func (m *AlertTaskHelper) StopTask() { method ResetTask (line 73) | func (m *AlertTaskHelper) ResetTask() { method InitTask (line 78) | func (m *AlertTaskHelper) InitTask(alertType string) { method getClassifiedAlerts (line 101) | func (m *AlertTaskHelper) getClassifiedAlerts() (baseAlerts, resourceA... type IAlertTaskHelper (line 40) | type IAlertTaskHelper interface function NewIAlertTaskHelper (line 53) | func NewIAlertTaskHelper() IAlertTaskHelper { function resetAlertState (line 88) | func resetAlertState(alertType string) { function handleBaseAlerts (line 113) | func handleBaseAlerts(baseAlerts []dto.AlertDTO) { function handleResourceAlerts (line 132) | func handleResourceAlerts(resourceAlerts []dto.AlertDTO) { function stopBaseJob (line 150) | func stopBaseJob() { function stopResourceJob (line 158) | func stopResourceJob() { function baseTask (line 166) | func baseTask(baseAlert []dto.AlertDTO) { function resourceTask (line 188) | func resourceTask(resourceAlert []dto.AlertDTO) { function loadSSLInfo (line 220) | func loadSSLInfo(alert dto.AlertDTO) { function loadWebsiteInfo (line 258) | func loadWebsiteInfo(alert dto.AlertDTO) { function loadPanelPwd (line 297) | func loadPanelPwd(alert dto.AlertDTO) { function loadPanelUpdate (line 318) | func loadPanelUpdate(alert dto.AlertDTO) { function loadCPUUsage (line 336) | func loadCPUUsage(alert dto.AlertDTO) { function loadMemUsage (line 363) | func loadMemUsage(alert dto.AlertDTO) { function loadLoadInfo (line 389) | func loadLoadInfo(alert dto.AlertDTO) { function loadDiskUsage (line 419) | func loadDiskUsage(alert dto.AlertDTO) { function loadPanelLogin (line 434) | func loadPanelLogin(alert dto.AlertDTO) { function loadSSHLogin (line 484) | func loadSSHLogin(alert dto.AlertDTO) { function loadNodeException (line 527) | func loadNodeException(alert dto.AlertDTO) { function loadLicenseException (line 556) | func loadLicenseException(alert dto.AlertDTO) { function sendAlerts (line 584) | func sendAlerts(alert dto.AlertDTO, alertType, quota, quotaType string, ... function getRepoOptionsByProject (line 660) | func getRepoOptionsByProject(project string) []repo.DBOption { function serializeAndSortProjects (line 669) | func serializeAndSortProjects(projectMap map[uint][]time.Time) string { function calculateSSLExpiryDays (line 687) | func calculateSSLExpiryDays(sslList []model.WebsiteSSL, cycle uint) (map... function calculateWebsiteExpiryDays (line 704) | func calculateWebsiteExpiryDays(websites []model.Website, cycle uint) (m... function getSettingValue (line 721) | func getSettingValue(key string) (string, error) { function getValidVersion (line 730) | func getValidVersion(info *dto.UpgradeInfo) string { function shouldSendResourceAlert (line 741) | func shouldSendResourceAlert(alert dto.AlertDTO, currentUsage float64, u... function isAlertDue (line 760) | func isAlertDue(lastAlertTime time.Time) bool { function sendResourceAlert (line 767) | func sendResourceAlert(alert dto.AlertDTO, value float64) { function getModuleName (line 775) | func getModuleName(alertType string) string { function canSendAlertToday (line 789) | func canSendAlertToday(alertType, quotaType string, sendCount uint, meth... function average (line 802) | func average(arr []float64) float64 { function createAlertBaseParams (line 810) | func createAlertBaseParams(project, cycle string) []dto.Param { function createAlertPwdParams (line 825) | func createAlertPwdParams(cycle string) []dto.Param { function createAlertAvgParams (line 835) | func createAlertAvgParams(cycle, module, count string) []dto.Param { function createAlertDiskParams (line 855) | func createAlertDiskParams(project, count string) []dto.Param { function processAllDisks (line 870) | func processAllDisks(alert dto.AlertDTO) error { function processSingleDisk (line 892) | func processSingleDisk(alert dto.AlertDTO) error { function checkAndCreateDiskAlert (line 901) | func checkAndCreateDiskAlert(alert dto.AlertDTO, path string) error { function calculateUsedTotal (line 922) | func calculateUsedTotal(cycle uint, usageStat *disk.UsageStat) (float64,... function calculateDaysDifference (line 929) | func calculateDaysDifference(expirationTime time.Time) int { function calculateMinutesDifference (line 941) | func calculateMinutesDifference(newDate time.Time) int { FILE: agent/app/service/alert_sender.go type AlertSender (line 12) | type AlertSender struct method Send (line 24) | func (s *AlertSender) Send(quota string, params []dto.Param) { method ResourceSend (line 39) | func (s *AlertSender) ResourceSend(quota string, params []dto.Param) { method sendSMS (line 54) | func (s *AlertSender) sendSMS(quota string, params []dto.Param) { method sendEmail (line 79) | func (s *AlertSender) sendEmail(quota string, params []dto.Param) { method sendWebhook (line 104) | func (s *AlertSender) sendWebhook(quota string, params []dto.Param, me... method sendResourceSMS (line 126) | func (s *AlertSender) sendResourceSMS(quota string, params []dto.Param) { method sendResourceEmail (line 150) | func (s *AlertSender) sendResourceEmail(quota string, params []dto.Par... method sendResourceWebhook (line 174) | func (s *AlertSender) sendResourceWebhook(quota string, params []dto.P... method canSendAlert (line 195) | func (s *AlertSender) canSendAlert(method string) (uint, bool) { method canResourceSendAlert (line 208) | func (s *AlertSender) canResourceSendAlert(method string) (uint, bool) { function NewAlertSender (line 17) | func NewAlertSender(alert dto.AlertDTO, quotaType string) *AlertSender { FILE: agent/app/service/app.go type AppService (line 43) | type AppService struct method PageApp (line 68) | func (a AppService) PageApp(ctx *gin.Context, req request.AppSearch) (... method GetAppTags (line 173) | func (a AppService) GetAppTags(ctx *gin.Context) ([]response.TagDTO, e... method GetApp (line 195) | func (a AppService) GetApp(ctx *gin.Context, key string) (*response.Ap... method GetAppDetailByKey (line 219) | func (a AppService) GetAppDetailByKey(appKey, version string) (respons... method GetAppDetail (line 233) | func (a AppService) GetAppDetail(appID uint, version, appType string) ... method GetAppDetailByID (line 330) | func (a AppService) GetAppDetailByID(id uint) (*response.AppDetailDTO,... method Install (line 346) | func (a AppService) Install(req request.AppInstallCreate, executeScrip... method installWithHooks (line 350) | func (a AppService) installWithHooks(req request.AppInstallCreate, exe... method SyncAppListFromLocal (line 595) | func (a AppService) SyncAppListFromLocal(TaskID string) { method GetAppUpdate (line 827) | func (a AppService) GetAppUpdate() (*response.AppUpdateRes, error) { method SyncAppListFromRemote (line 967) | func (a AppService) SyncAppListFromRemote(taskID string) (err error) { method GetAppIcon (line 1022) | func (a AppService) GetAppIcon(key string) ([]byte, string, string, er... type IAppService (line 46) | type IAppService interface type appInstallHooks (line 60) | type appInstallHooks struct function NewIAppService (line 64) | func NewIAppService() IAppService { function getAppFromRepo (line 889) | func getAppFromRepo(downloadPath string) error { function getAppList (line 907) | func getAppList() (*dto.AppList, error) { function deleteCustomApp (line 931) | func deleteCustomApp() { FILE: agent/app/service/app_ingore_upgrade.go type AppIgnoreUpgradeService (line 12) | type AppIgnoreUpgradeService struct method List (line 25) | func (a AppIgnoreUpgradeService) List() ([]response.AppIgnoreUpgradeDT... method CreateAppIgnore (line 57) | func (a AppIgnoreUpgradeService) CreateAppIgnore(req request.AppIgnore... method Delete (line 74) | func (a AppIgnoreUpgradeService) Delete(req request.ReqWithID) error { type IAppIgnoreUpgradeService (line 15) | type IAppIgnoreUpgradeService interface function NewIAppIgnoreUpgradeService (line 21) | func NewIAppIgnoreUpgradeService() IAppIgnoreUpgradeService { FILE: agent/app/service/app_install.go type AppInstallService (line 38) | type AppInstallService struct method GetInstallList (line 67) | func (a *AppInstallService) GetInstallList() ([]dto.AppInstallInfo, er... method Page (line 79) | func (a *AppInstallService) Page(req request.AppInstalledSearch) (int6... method CheckExist (line 133) | func (a *AppInstallService) CheckExist(req request.AppInstalledInfo) (... method LoadPort (line 177) | func (a *AppInstallService) LoadPort(req dto.OperationWithNameAndType)... method LoadConnInfo (line 185) | func (a *AppInstallService) LoadConnInfo(req dto.OperationWithNameAndT... method SearchForWebsite (line 200) | func (a *AppInstallService) SearchForWebsite(req request.AppInstalledS... method Operate (line 246) | func (a *AppInstallService) Operate(req request.AppInstalledOperate) e... method UpdateAppConfig (line 314) | func (a *AppInstallService) UpdateAppConfig(req request.AppConfigUpdat... method UpdateSort (line 326) | func (a *AppInstallService) UpdateSort(req request.AppInstallSort) err... method Update (line 335) | func (a *AppInstallService) Update(req request.AppInstalledUpdate) err... method SyncAll (line 471) | func (a *AppInstallService) SyncAll(systemInit bool) error { method GetServices (line 501) | func (a *AppInstallService) GetServices(key string) ([]response.AppSer... method GetUpdateVersions (line 570) | func (a *AppInstallService) GetUpdateVersions(req request.AppUpdateVer... method ChangeAppPort (line 630) | func (a *AppInstallService) ChangeAppPort(req request.PortUpdate) error { method DeleteCheck (line 658) | func (a *AppInstallService) DeleteCheck(installID uint) ([]dto.AppReso... method GetDefaultConfigByKey (line 686) | func (a *AppInstallService) GetDefaultConfigByKey(key, name string) (s... method GetParams (line 717) | func (a *AppInstallService) GetParams(id uint) (*response.AppConfig, e... method GetAppInstallInfo (line 948) | func (a *AppInstallService) GetAppInstallInfo(installID uint) (*respon... type IAppInstallService (line 41) | type IAppInstallService interface function NewIAppInstalledService (line 63) | func NewIAppInstalledService() IAppInstallService { function syncAppInstallStatus (line 829) | func syncAppInstallStatus(appInstall *model.AppInstall, force bool) error { function updateInstallInfoInDB (line 856) | func updateInstallInfoInDB(appKey, appName, param string, value interfac... FILE: agent/app/service/app_sync_task.go type appSyncContext (line 26) | type appSyncContext struct method processOneApp (line 147) | func (c *appSyncContext) processOneApp(item appWorkItem) appWorkResult { method syncAppIconsAndDetails (line 222) | func (c *appSyncContext) syncAppIconsAndDetails() error { method downloadAppIcon (line 331) | func (c *appSyncContext) downloadAppIcon(iconUrl, appKey, oldIcon stri... method classifyAndPersistApps (line 425) | func (c *appSyncContext) classifyAndPersistApps() (err error) { method classifyAndPersistAppsWithStats (line 430) | func (c *appSyncContext) classifyAndPersistAppsWithStats(addCount, upd... method createSyncAppStoreTask (line 40) | func (a AppService) createSyncAppStoreTask(sharedCtx **appSyncContext) f... type appWorkItem (line 132) | type appWorkItem struct type appWorkResult (line 139) | type appWorkResult struct method createSyncAppStoreMetaTask (line 382) | func (a AppService) createSyncAppStoreMetaTask(sharedCtx **appSyncContex... FILE: agent/app/service/app_utils.go type DatabaseOp (line 51) | type DatabaseOp function checkPort (line 58) | func checkPort(key string, params map[string]interface{}) (int, error) { function checkPortExist (line 92) | func checkPortExist(port int) error { function CreateDB (line 136) | func CreateDB(ctx context.Context, app model.App, appInstall *model.AppI... function createLink (line 206) | func createLink(ctx context.Context, installTask *task.Task, app model.A... function deleteAppInstall (line 332) | func deleteAppInstall(deleteReq request.AppInstallDelete) error { function deleteLink (line 469) | func deleteLink(del dto.DelAppLink) error { function handleUpgradeCompose (line 512) | func handleUpgradeCompose(install model.AppInstall, detail model.AppDeta... function getUpgradeCompose (line 570) | func getUpgradeCompose(install model.AppInstall, detail model.AppDetail)... function buildNginx (line 603) | func buildNginx(parentTask *task.Task) error { function upgradeInstall (line 673) | func upgradeInstall(req request.AppInstallUpgrade) error { function skipCheckStatus (line 903) | func skipCheckStatus(service types.ServiceConfig) bool { function getContainerNames (line 912) | func getContainerNames(install model.AppInstall) ([]string, error) { function coverEnvJsonToStr (line 938) | func coverEnvJsonToStr(envJson string) (string, error) { function checkLimit (line 950) | func checkLimit(app model.App) error { function checkRequiredAndLimit (line 963) | func checkRequiredAndLimit(app model.App) error { function handleMap (line 970) | func handleMap(params map[string]interface{}, envParams map[string]strin... function downloadApp (line 993) | func downloadApp(app model.App, appDetail model.AppDetail, appInstall *m... function copyData (line 1049) | func copyData(task *task.Task, app model.App, appDetail model.AppDetail,... function runScript (line 1110) | func runScript(task *task.Task, appInstall *model.AppInstall, operate st... function checkContainerNameIsExist (line 1138) | func checkContainerNameIsExist(containerName, appDir string) (bool, erro... function upApp (line 1164) | func upApp(task *task.Task, appInstall *model.AppInstall, pullImages boo... function rebuildApp (line 1255) | func rebuildApp(appInstall model.AppInstall) error { function getAppDetails (line 1283) | func getAppDetails(details []model.AppDetail, versions []dto.AppConfigVe... function getApps (line 1305) | func getApps(oldApps []model.App, items []dto.AppDefine, systemVersion s... function handleLocalAppDetail (line 1356) | func handleLocalAppDetail(versionDir string, appDetail *model.AppDetail)... function handleLocalApp (line 1420) | func handleLocalApp(appDir string) (app *model.App, err error) { function handleErr (line 1481) | func handleErr(install model.AppInstall, err error, out string) error { function doNotNeedSync (line 1493) | func doNotNeedSync(installed model.AppInstall) bool { function synAppInstall (line 1498) | func synAppInstall(containers map[string]container.Summary, appInstall *... function handleInstalled (line 1569) | func handleInstalled(appInstallList []model.AppInstall, updated, sync, c... function getAppInstallByKey (line 1702) | func getAppInstallByKey(key string) (model.AppInstall, error) { function getAppInstallPort (line 1714) | func getAppInstallPort(key string) (httpPort, httpsPort int, err error) { function updateToolApp (line 1724) | func updateToolApp(installed *model.AppInstall) { function addDockerComposeCommonParam (line 1774) | func addDockerComposeCommonParam(composeMap map[string]interface{}, serv... function getAppCommonConfig (line 1873) | func getAppCommonConfig(envs map[string]interface{}) request.AppContaine... function isHostModel (line 1920) | func isHostModel(dockerCompose string) bool { function getRestartPolicy (line 1936) | func getRestartPolicy(yml string) string { function getMajorVersion (line 1947) | func getMajorVersion(version string) string { function ignoreUpdate (line 1955) | func ignoreUpdate(installed model.AppInstall) bool { function RequestDownloadCallBack (line 1981) | func RequestDownloadCallBack(downloadCallBackUrl string) { function getAppTags (line 1988) | func getAppTags(appID uint, lang string) ([]response.TagDTO, error) { function handleSiteDir (line 2017) | func handleSiteDir(app model.App, appDetail model.AppDetail, req request... function handleOpenrestyFile (line 2067) | func handleOpenrestyFile(appInstall *model.AppInstall) error { function handleDefaultServer (line 2090) | func handleDefaultServer(appInstall *model.AppInstall) error { function handleSSLConfig (line 2105) | func handleSSLConfig(appInstall *model.AppInstall, hasDefaultWebsite boo... function SyncTags (line 2161) | func SyncTags(remoteProperties dto.ExtraProperties) (err error) { function needsUpdate (line 2221) | func needsUpdate(localTag *model.Tag, remoteTag dto.Tag, translations st... function hasLinkDB (line 2227) | func hasLinkDB(installID uint) bool { function isEditCompose (line 2243) | func isEditCompose(installed model.AppInstall) bool { function getAppVersions (line 2255) | func getAppVersions(key string, details []model.AppDetail) []string { FILE: agent/app/service/backup.go type BackupService (line 29) | type BackupService struct method GetLocalDir (line 71) | func (u *BackupService) GetLocalDir() (string, error) { method SearchWithPage (line 79) | func (u *BackupService) SearchWithPage(req dto.SearchPageWithType) (in... method CheckConn (line 132) | func (u *BackupService) CheckConn(req dto.BackupOperate) dto.BackupChe... method Create (line 169) | func (u *BackupService) Create(req dto.BackupOperate) error { method GetBuckets (line 207) | func (u *BackupService) GetBuckets(req dto.ForBuckets) ([]interface{},... method Delete (line 238) | func (u *BackupService) Delete(id uint) error { method Update (line 252) | func (u *BackupService) Update(req dto.BackupOperate) error { method RefreshToken (line 301) | func (u *BackupService) RefreshToken(req dto.OperateByID) error { method UploadForRecover (line 334) | func (u *BackupService) UploadForRecover(req dto.UploadForRecover) err... method checkBackupConn (line 344) | func (u *BackupService) checkBackupConn(backup *model.BackupAccount) (... method LoadBackupOptions (line 379) | func (u *BackupService) LoadBackupOptions() ([]dto.BackupOption, error) { method CheckUsed (line 395) | func (u *BackupService) CheckUsed(name string, isPublic bool) error { type IBackupService (line 31) | type IBackupService interface function NewIBackupService (line 67) | func NewIBackupService() IBackupService { function NewBackupClientWithID (line 415) | func NewBackupClientWithID(id uint) (*model.BackupAccount, cloud_storage... type backupClientHelper (line 424) | type backupClientHelper struct function NewBackupClientMap (line 436) | func NewBackupClientMap(ids []string) map[string]backupClientHelper { function uploadWithMap (line 463) | func uploadWithMap(taskItem task.Task, accountMap map[string]backupClien... function newClient (line 506) | func newClient(account *model.BackupAccount, isEncrypt bool) (cloud_stor... function loadRefreshTokenByCode (line 538) | func loadRefreshTokenByCode(backup *model.BackupAccount) (string, error) { function loadBackupNamesByID (line 568) | func loadBackupNamesByID(accountIDs string, downloadID uint) ([]string, ... function changeLocalBackup (line 592) | func changeLocalBackup(oldPath, newPath string) error { FILE: agent/app/service/backup_app.go method AppBackup (line 31) | func (u *BackupService) AppBackup(req dto.CommonBackup) (*model.BackupRe... method AppRecover (line 74) | func (u *BackupService) AppRecover(req dto.CommonRecover) error { function backupDatabaseWithTask (line 97) | func backupDatabaseWithTask(parentTask *task.Task, resourceKey, tmpDir, ... function handleAppBackup (line 125) | func handleAppBackup(install *model.AppInstall, parentTask *task.Task, r... function handleAppRecover (line 155) | func handleAppRecover(install *model.AppInstall, parentTask *task.Task, ... function doAppBackup (line 354) | func doAppBackup(install *model.AppInstall, parentTask *task.Task, backu... function reCreateDB (line 392) | func reCreateDB(dbID uint, database model.Database, envMap map[string]in... function reCreatePostgresqlDB (line 414) | func reCreatePostgresqlDB(dbID uint, database model.Database, envMap map... type dbRecreateInfo (line 441) | type dbRecreateInfo struct function getDBCreateInfoFromEnv (line 448) | func getDBCreateInfoFromEnv(envMap map[string]interface{}, defaultFormat... function updateCronjobsDBRef (line 464) | func updateCronjobsDBRef(oldDBID, newDBID uint) { function buildRecoverEnv (line 471) | func buildRecoverEnv(appEnv string, backupEnvMap, installedEnvMap map[st... function getEnvMapByPath (line 495) | func getEnvMapByPath(envPath string) (map[string]interface{}, error) { FILE: agent/app/service/backup_compose.go type composeBackupFile (line 32) | type composeBackupFile struct type composeBackupMeta (line 39) | type composeBackupMeta struct type composeBackupContext (line 47) | type composeBackupContext struct method close (line 413) | func (c *composeBackupContext) close() { type composeRecoverContext (line 63) | type composeRecoverContext struct method close (line 538) | func (c *composeRecoverContext) close() { method ComposeBackup (line 74) | func (u *BackupService) ComposeBackup(req dto.CommonBackup) error { method ComposeRecover (line 107) | func (u *BackupService) ComposeRecover(req dto.CommonRecover) error { function handleComposeBackup (line 111) | func handleComposeBackup(req dto.CommonBackup, parentTask *task.Task, re... function loadComposeContainerNames (line 174) | func loadComposeContainerNames(composeCtx *composeBackupContext) ([]stri... function handleComposeRecover (line 192) | func handleComposeRecover(req dto.CommonRecover, parentTask *task.Task) ... function newComposeBackupContext (line 308) | func newComposeBackupContext(req dto.CommonBackup, backupDir, fileName s... function loadComposePathAndFiles (line 346) | func loadComposePathAndFiles(composeName string, dockerClient *client.Cl... function normalizeComposeFiles (line 387) | func normalizeComposeFiles(composePath string) []string { function stepPrepareComposeBackup (line 424) | func stepPrepareComposeBackup(composeCtx *composeBackupContext) error { function stepStopComposeForBackup (line 438) | func stepStopComposeForBackup(composeCtx *composeBackupContext) error { function stepStartComposeAfterBackup (line 458) | func stepStartComposeAfterBackup(composeCtx *composeBackupContext) error { function stepBackupComposeFiles (line 469) | func stepBackupComposeFiles(composeCtx *composeBackupContext) error { function stepWriteComposeBackupMeta (line 512) | func stepWriteComposeBackupMeta(composeCtx *composeBackupContext) error { function stepPackComposeBackup (line 520) | func stepPackComposeBackup(composeCtx *composeBackupContext) error { function newComposeRecoverContext (line 524) | func newComposeRecoverContext(req dto.CommonRecover) (*composeRecoverCon... function stepPrepareComposeRecover (line 544) | func stepPrepareComposeRecover(recoverCtx *composeRecoverContext) error { function stepExtractComposeRecover (line 552) | func stepExtractComposeRecover(recoverCtx *composeRecoverContext) error { function stepLoadComposeRecoverMeta (line 556) | func stepLoadComposeRecoverMeta(recoverCtx *composeRecoverContext) error { function resolveComposeRecoverTargetDir (line 579) | func resolveComposeRecoverTargetDir(meta composeBackupMeta, composeName ... function safeJoinWithinBase (line 598) | func safeJoinWithinBase(baseDir, name string) (string, error) { function stepRestoreComposeFiles (line 623) | func stepRestoreComposeFiles(recoverCtx *composeRecoverContext) error { function stepSaveComposeRecord (line 687) | func stepSaveComposeRecord(recoverCtx *composeRecoverContext) error { function sanitizeComposeFileName (line 699) | func sanitizeComposeFileName(in string) string { FILE: agent/app/service/backup_container.go type containerBackupMeta (line 31) | type containerBackupMeta struct type containerMountBackup (line 41) | type containerMountBackup struct type containerBackupContext (line 54) | type containerBackupContext struct method close (line 310) | func (c *containerBackupContext) close() { type containerRecoverContext (line 69) | type containerRecoverContext struct method close (line 316) | func (c *containerRecoverContext) close() { method ContainerBackup (line 81) | func (u *BackupService) ContainerBackup(req dto.CommonBackup) error { method ContainerRecover (line 114) | func (u *BackupService) ContainerRecover(req dto.CommonRecover) error { function handleContainerBackup (line 118) | func handleContainerBackup(containerName string, parentTask *task.Task, ... function handleContainerRecover (line 168) | func handleContainerRecover(req dto.CommonRecover, parentTask *task.Task... function loadRecoverTimeout (line 238) | func loadRecoverTimeout(timeout int) time.Duration { function isImportRecover (line 249) | func isImportRecover(req dto.CommonRecover) bool { function newContainerBackupContext (line 253) | func newContainerBackupContext(containerName, backupDir, fileName, secre... function newContainerRecoverContext (line 291) | func newContainerRecoverContext(req dto.CommonRecover) (*containerRecove... function stepPrepareContainerBackup (line 325) | func stepPrepareContainerBackup(backupCtx *containerBackupContext) error { function stepStopContainerForBackup (line 336) | func stepStopContainerForBackup(backupCtx *containerBackupContext) error { function stepStartContainerAfterBackup (line 354) | func stepStartContainerAfterBackup(backupCtx *containerBackupContext) er... function stepBackupContainerInspect (line 372) | func stepBackupContainerInspect(backupCtx *containerBackupContext) error { function stepBackupContainerMounts (line 392) | func stepBackupContainerMounts(backupCtx *containerBackupContext) error { function stepWriteContainerMeta (line 475) | func stepWriteContainerMeta(backupCtx *containerBackupContext) error { function stepPackContainerBackup (line 486) | func stepPackContainerBackup(backupCtx *containerBackupContext) error { function stepPrepareContainerRecover (line 493) | func stepPrepareContainerRecover(recoverCtx *containerRecoverContext) er... function stepExtractContainerRecover (line 501) | func stepExtractContainerRecover(recoverCtx *containerRecoverContext) er... function stepLoadContainerRecoverData (line 505) | func stepLoadContainerRecoverData(recoverCtx *containerRecoverContext) e... function loadContainerRecoverMeta (line 537) | func loadContainerRecoverMeta(recoverCtx *containerRecoverContext) error { function loadContainerRecoverInspect (line 552) | func loadContainerRecoverInspect(recoverCtx *containerRecoverContext) er... function stepRecreateContainer (line 567) | func stepRecreateContainer(recoverCtx *containerRecoverContext, taskItem... function removeBridgeDriverIPAM (line 619) | func removeBridgeDriverIPAM(cli *client.Client, primary *network.Network... function removeBridgeDriverIPAMFromEndpoints (line 626) | func removeBridgeDriverIPAMFromEndpoints(cli *client.Client, endpoints m... function ensureContainerRecoverNetworks (line 641) | func ensureContainerRecoverNetworks(recoverCtx *containerRecoverContext)... function ensureContainerRecoverVolumes (line 661) | func ensureContainerRecoverVolumes(recoverCtx *containerRecoverContext) ... function buildContainerRecoverNetworkConfig (line 701) | func buildContainerRecoverNetworkConfig(networkSettings *container.Netwo... function cloneContainerConfig (line 766) | func cloneContainerConfig(config *container.Config) *container.Config { function cloneContainerHostConfig (line 797) | func cloneContainerHostConfig(hostConfig *container.HostConfig) *contain... function stepRestoreContainerMounts (line 817) | func stepRestoreContainerMounts(recoverCtx *containerRecoverContext) err... function restoreContainerMountData (line 865) | func restoreContainerMountData(fileOp files.FileOp, backupPath, sourcePa... function stepStartRecoveredContainer (line 894) | func stepStartRecoveredContainer(recoverCtx *containerRecoverContext) er... function sanitizeContainerMountName (line 905) | func sanitizeContainerMountName(in string) string { FILE: agent/app/service/backup_mysql.go method MysqlBackup (line 24) | func (u *BackupService) MysqlBackup(req dto.CommonBackup) error { method MysqlRecover (line 55) | func (u *BackupService) MysqlRecover(req dto.CommonRecover) error { method MysqlRecoverByUpload (line 59) | func (u *BackupService) MysqlRecoverByUpload(req dto.CommonRecover) error { function handleMysqlBackup (line 72) | func handleMysqlBackup(db DatabaseHelper, parentTask *task.Task, recordI... function handleMysqlRecover (line 110) | func handleMysqlRecover(req dto.CommonRecover, parentTask *task.Task, is... function doMysqlBackup (line 217) | func doMysqlBackup(db DatabaseHelper, targetDir, fileName, secret string... function loadSqlFile (line 244) | func loadSqlFile(file string) (string, error) { FILE: agent/app/service/backup_postgresql.go method PostgresqlBackup (line 22) | func (u *BackupService) PostgresqlBackup(req dto.CommonBackup) error { method PostgresqlRecover (line 50) | func (u *BackupService) PostgresqlRecover(req dto.CommonRecover) error { method PostgresqlRecoverByUpload (line 57) | func (u *BackupService) PostgresqlRecoverByUpload(req dto.CommonRecover)... function handlePostgresqlBackup (line 70) | func handlePostgresqlBackup(db DatabaseHelper, parentTask *task.Task, re... function handlePostgresqlRecover (line 99) | func handlePostgresqlRecover(req dto.CommonRecover, parentTask *task.Tas... function doPostgresqlBackup (line 206) | func doPostgresqlBackup(db DatabaseHelper, targetDir, fileName, secret s... FILE: agent/app/service/backup_record.go type BackupRecordService (line 19) | type BackupRecordService struct method SearchRecordsWithPage (line 38) | func (u *BackupRecordService) SearchRecordsWithPage(search dto.RecordS... method SearchRecordsByCronjobWithPage (line 69) | func (u *BackupRecordService) SearchRecordsByCronjobWithPage(search dt... method DownloadRecord (line 98) | func (u *BackupRecordService) DownloadRecord(info dto.DownloadRecord) ... method DeleteRecordByName (line 125) | func (u *BackupRecordService) DeleteRecordByName(backupType, name, det... method BatchDeleteRecord (line 149) | func (u *BackupRecordService) BatchDeleteRecord(ids []uint) error { method ListAppRecords (line 167) | func (u *BackupRecordService) ListAppRecords(name, detailName, fileNam... method ListFiles (line 181) | func (u *BackupRecordService) ListFiles(req dto.OperateByID) []string { method LoadRecordSize (line 212) | func (u *BackupRecordService) LoadRecordSize(req dto.SearchForSize) ([... method UpdateDescription (line 290) | func (u *BackupRecordService) UpdateDescription(req dto.UpdateDescript... type IBackupRecordService (line 21) | type IBackupRecordService interface function NewIBackupRecordService (line 34) | func NewIBackupRecordService() IBackupRecordService { type backupSizeHelper (line 205) | type backupSizeHelper struct FILE: agent/app/service/backup_redis.go method RedisBackup (line 24) | func (u *BackupService) RedisBackup(req dto.CommonBackup) error { method RedisRecover (line 67) | func (u *BackupService) RedisRecover(req dto.CommonRecover) error { function handleRedisBackup (line 79) | func handleRedisBackup(redisInfo *repo.RootInfo, parentTask *task.Task, ... function handleRedisRecover (line 139) | func handleRedisRecover(redisInfo *repo.RootInfo, parentTask *task.Task,... FILE: agent/app/service/backup_runtime.go function handleRuntimeBackup (line 19) | func handleRuntimeBackup(runtime *model.Runtime, backupDir, fileName str... function handleRuntimeRecover (line 47) | func handleRuntimeRecover(runtime *model.Runtime, recoverFile string, is... FILE: agent/app/service/backup_website.go method WebsiteBackup (line 29) | func (u *BackupService) WebsiteBackup(req dto.CommonBackup) error { method WebsiteRecover (line 63) | func (u *BackupService) WebsiteRecover(req dto.CommonRecover) error { function handleWebsiteRecover (line 74) | func handleWebsiteRecover(website *model.Website, parentTask *task.Task,... function handleWebsiteBackup (line 219) | func handleWebsiteBackup(website *model.Website, parentTask *task.Task, ... function doWebsiteBackup (line 246) | func doWebsiteBackup(website *model.Website, parentTask *task.Task, back... function checkValidOfWebsite (line 314) | func checkValidOfWebsite(oldWebsite, website *model.Website) error { function recoverWebsiteDatabase (line 337) | func recoverWebsiteDatabase(t *task.Task, dbID uint, dbType, tmpPath, we... FILE: agent/app/service/clam.go type ClamService (line 30) | type ClamService struct method LoadBaseInfo (line 56) | func (c *ClamService) LoadBaseInfo() (dto.ClamBaseInfo, error) { method Operate (line 114) | func (c *ClamService) Operate(operate string) error { method SearchWithPage (line 131) | func (c *ClamService) SearchWithPage(req dto.SearchClamWithPage) (int6... method Create (line 167) | func (c *ClamService) Create(req dto.ClamCreate) error { method Update (line 209) | func (c *ClamService) Update(req dto.ClamUpdate) error { method UpdateStatus (line 269) | func (c *ClamService) UpdateStatus(id uint, status string) error { method Delete (line 291) | func (c *ClamService) Delete(req dto.ClamDelete) error { method HandleOnce (line 315) | func (c *ClamService) HandleOnce(id uint) error { method SearchRecords (line 347) | func (c *ClamService) SearchRecords(req dto.ClamLogSearch) (int64, int... method CleanRecord (line 371) | func (c *ClamService) CleanRecord(id uint) error { method LoadFile (line 385) | func (c *ClamService) LoadFile(req dto.ClamFileReq) (string, error) { method UpdateFile (line 416) | func (c *ClamService) UpdateFile(req dto.UpdateByNameAndFile) error { method loadLogPath (line 439) | func (c *ClamService) loadLogPath(name string) string { method loadConfigPath (line 477) | func (c *ClamService) loadConfigPath(confType string) string { type IClamService (line 35) | type IClamService interface function NewIClamService (line 52) | func NewIClamService() IClamService { function handleAlert (line 494) | func handleAlert(infectedFiles, clamName string, clamId uint) { FILE: agent/app/service/compose_template.go type ComposeTemplateService (line 11) | type ComposeTemplateService struct method List (line 26) | func (u *ComposeTemplateService) List() ([]dto.ComposeTemplateInfo, er... method SearchWithPage (line 42) | func (u *ComposeTemplateService) SearchWithPage(req dto.SearchWithPage... method Create (line 55) | func (u *ComposeTemplateService) Create(composeDto dto.ComposeTemplate... method Batch (line 69) | func (u *ComposeTemplateService) Batch(req dto.ComposeTemplateBatch) e... method Delete (line 85) | func (u *ComposeTemplateService) Delete(ids []uint) error { method Update (line 96) | func (u *ComposeTemplateService) Update(id uint, upMap map[string]inte... type IComposeTemplateService (line 13) | type IComposeTemplateService interface function NewIComposeTemplateService (line 22) | func NewIComposeTemplateService() IComposeTemplateService { FILE: agent/app/service/container.go type ContainerService (line 54) | type ContainerService struct method Page (line 110) | func (u *ContainerService) Page(req dto.PageContainer) (int64, interfa... method List (line 153) | func (u *ContainerService) List() []dto.ContainerOptions { method ListByImage (line 177) | func (u *ContainerService) ListByImage(imageName string) []dto.Contain... method LoadStatus (line 204) | func (u *ContainerService) LoadStatus() (dto.ContainerStatus, error) { method ContainerItemStats (line 246) | func (u *ContainerService) ContainerItemStats(req dto.OperationWithNam... method ContainerListStats (line 290) | func (u *ContainerService) ContainerListStats() ([]dto.ContainerListSt... method Inspect (line 313) | func (u *ContainerService) Inspect(req dto.InspectReq) (string, error) { method Prune (line 380) | func (u *ContainerService) Prune(req dto.ContainerPrune) error { method LoadResourceLimit (line 464) | func (u *ContainerService) LoadResourceLimit() (*dto.ResourceLimit, er... method ContainerCreate (line 481) | func (u *ContainerService) ContainerCreate(req dto.ContainerOperate, i... method ContainerInfo (line 557) | func (u *ContainerService) ContainerInfo(req dto.OperationWithName) (*... method ContainerUpdate (line 634) | func (u *ContainerService) ContainerUpdate(req dto.ContainerOperate) e... method ContainerUpgrade (line 701) | func (u *ContainerService) ContainerUpgrade(req dto.ContainerUpgrade) ... method ContainerRename (line 777) | func (u *ContainerService) ContainerRename(req dto.ContainerRename) er... method ContainerCommit (line 792) | func (u *ContainerService) ContainerCommit(req dto.ContainerCommit) er... method ContainerOperation (line 827) | func (u *ContainerService) ContainerOperation(req dto.ContainerOperati... method ContainerLogClean (line 868) | func (u *ContainerService) ContainerLogClean(req dto.OperationWithName... method StreamLogs (line 903) | func (u *ContainerService) StreamLogs(ctx *gin.Context, params dto.Str... method DownloadContainerLogs (line 1040) | func (u *ContainerService) DownloadContainerLogs(containerType, contai... method ContainerStats (line 1132) | func (u *ContainerService) ContainerStats(id string) (*dto.ContainerSt... method LoadUsers (line 1164) | func (u *ContainerService) LoadUsers(req dto.OperationWithName) []stri... method ListContainerFiles (line 1179) | func (u *ContainerService) ListContainerFiles(req dto.ContainerFileReq... method DeleteContainerFile (line 1245) | func (u *ContainerService) DeleteContainerFile(req dto.ContainerFileBa... method UploadContainerFile (line 1263) | func (u *ContainerService) UploadContainerFile(req dto.ContainerFileRe... method GetContainerFileContent (line 1339) | func (u *ContainerService) GetContainerFileContent(req dto.ContainerFi... method GetContainerFileSize (line 1386) | func (u *ContainerService) GetContainerFileSize(req dto.ContainerFileR... method DownloadContainerFile (line 1418) | func (u *ContainerService) DownloadContainerFile(req dto.ContainerFile... type IContainerService (line 56) | type IContainerService interface function NewIContainerService (line 106) | func NewIContainerService() IContainerService { function collectLogs (line 933) | func collectLogs(done <-chan struct{}, params dto.StreamLog, messageChan... function runContainerCommand (line 1477) | func runContainerCommand(cli *client.Client, containerID string, command... type closeHookReader (line 1485) | type closeHookReader struct method Close (line 1490) | func (r *closeHookReader) Close() error { function runContainerCommandRaw (line 1503) | func runContainerCommandRaw(cli *client.Client, containerID string, comm... function runContainerCommandStream (line 1546) | func runContainerCommandStream(cli *client.Client, containerID string, c... function toContainerFileInfo (line 1588) | func toContainerFileInfo(filePath string, stat container.PathStat, isDir... function isContainerDir (line 1607) | func isContainerDir(cli *client.Client, containerID, targetPath string) ... function stringsToMap (line 1617) | func stringsToMap(list []string) map[string]string { function stringsToMap2 (line 1627) | func stringsToMap2(list []string) map[string]*string { function calculateCPUPercentUnix (line 1638) | func calculateCPUPercentUnix(stats *container.StatsResponse) float64 { function calculateMemPercentUnix (line 1651) | func calculateMemPercentUnix(memStats container.MemoryStats) float64 { function calculateMemUsageUnixNoCache (line 1660) | func calculateMemUsageUnixNoCache(mem container.MemoryStats) uint64 { function calculateBlockIO (line 1669) | func calculateBlockIO(blkio container.BlkioStats) (blkRead float64, blkW... function calculateNetwork (line 1680) | func calculateNetwork(network map[string]container.NetworkStats) (float6... function checkImageExist (line 1690) | func checkImageExist(client *client.Client, imageItem string) bool { function checkImageLike (line 1713) | func checkImageLike(client *client.Client, imageName string) bool { function pullImages (line 1739) | func pullImages(task *task.Task, client *client.Client, imageName string... function loadCpuAndMem (line 1767) | func loadCpuAndMem(client *client.Client, containerItem string) dto.Cont... function checkPortStats (line 1799) | func checkPortStats(ports []dto.PortHelper) (nat.PortMap, error) { function loadConfigInfo (line 1845) | func loadConfigInfo(isCreate bool, req dto.ContainerOperate, oldContaine... function reCreateAfterUpdate (line 1937) | func reCreateAfterUpdate(name string, client *client.Client, config *con... function loadVolumeBinds (line 1959) | func loadVolumeBinds(binds []container.MountPoint) []dto.VolumeHelper { function loadPortByInspect (line 1980) | func loadPortByInspect(id string, client *client.Client) ([]container.Po... function transPortToStr (line 2000) | func transPortToStr(ports []container.Port) []string { function simplifyPort (line 2016) | func simplifyPort(ports []container.Port) []string { function loadComposeCount (line 2087) | func loadComposeCount(client *client.Client) int { function loadContainerPortForInfo (line 2112) | func loadContainerPortForInfo(itemPorts []container.Port) []dto.PortHelp... function searchWithFilter (line 2149) | func searchWithFilter(req dto.PageContainer, containers []container.Summ... FILE: agent/app/service/container_compose.go constant composeProjectLabel (line 30) | composeProjectLabel = "com.docker.compose.project" constant composeConfigLabel (line 31) | composeConfigLabel = "com.docker.compose.project.config_files" constant composeWorkdirLabel (line 32) | composeWorkdirLabel = "com.docker.compose.project.working_dir" constant composeCreatedBy (line 33) | composeCreatedBy = "createdBy" method PageCompose (line 35) | func (u *ContainerService) PageCompose(req dto.SearchWithPage) (int64, i... method TestCompose (line 167) | func (u *ContainerService) TestCompose(req dto.ComposeCreate) (bool, err... method CreateCompose (line 189) | func (u *ContainerService) CreateCompose(req dto.ComposeCreate) error { method ComposeOperation (line 223) | func (u *ContainerService) ComposeOperation(req dto.ComposeOperation) er... method ComposeUpdate (line 257) | func (u *ContainerService) ComposeUpdate(req dto.ComposeUpdate) error { method ComposeLogClean (line 302) | func (u *ContainerService) ComposeLogClean(req dto.ComposeLogClean) error { method LoadComposeEnv (line 353) | func (u *ContainerService) LoadComposeEnv(name string) (string, error) { method loadPath (line 362) | func (u *ContainerService) loadPath(req *dto.ComposeCreate) error { function removeContainerForCompose (line 385) | func removeContainerForCompose(composeName, composePath string) error { function recreateCompose (line 409) | func recreateCompose(content, path string) error { function loadEnv (line 425) | func loadEnv(list []dto.ComposeInfo) []dto.ComposeInfo { function newComposeEnv (line 441) | func newComposeEnv(pathItem string, env string) error { FILE: agent/app/service/container_network.go method PageNetwork (line 15) | func (u *ContainerService) PageNetwork(req dto.SearchWithPage) (int64, i... method ListNetwork (line 78) | func (u *ContainerService) ListNetwork() ([]dto.Options, error) { method DeleteNetwork (line 98) | func (u *ContainerService) DeleteNetwork(req dto.BatchDelete) error { method CreateNetwork (line 114) | func (u *ContainerService) CreateNetwork(req dto.NetworkCreate) error { FILE: agent/app/service/container_volume.go method PageVolume (line 17) | func (u *ContainerService) PageVolume(req dto.SearchWithPage) (int64, in... method ListVolume (line 82) | func (u *ContainerService) ListVolume() ([]dto.Options, error) { method DeleteVolume (line 103) | func (u *ContainerService) DeleteVolume(req dto.BatchDelete) error { method CreateVolume (line 119) | func (u *ContainerService) CreateVolume(req dto.VolumeCreate) error { FILE: agent/app/service/cronjob.go type CronjobService (line 25) | type CronjobService struct method SearchWithPage (line 53) | func (u *CronjobService) SearchWithPage(search dto.PageCronjob) (int64... method LoadInfo (line 91) | func (u *CronjobService) LoadInfo(req dto.OperateByID) (*dto.CronjobOp... method Export (line 117) | func (u *CronjobService) Export(req dto.OperateByIDs) (string, error) { method Import (line 215) | func (u *CronjobService) Import(req []dto.CronjobTrans) error { method LoadScriptOptions (line 405) | func (u *CronjobService) LoadScriptOptions() []dto.ScriptOptions { method SearchRecords (line 430) | func (u *CronjobService) SearchRecords(search dto.SearchRecord) (int64... method LoadNextHandle (line 449) | func (u *CronjobService) LoadNextHandle(specStr string) ([]string, err... method LoadRecordLog (line 484) | func (u *CronjobService) LoadRecordLog(req dto.OperateByID) string { method CleanRecord (line 499) | func (u *CronjobService) CleanRecord(req dto.CronjobClean) error { method HandleOnce (line 540) | func (u *CronjobService) HandleOnce(id uint) error { method Create (line 552) | func (u *CronjobService) Create(req dto.CronjobOperate) error { method StartJob (line 609) | func (u *CronjobService) StartJob(cronjob *model.Cronjob, isUpdate boo... method HandleStop (line 630) | func (u *CronjobService) HandleStop(id uint) error { method Delete (line 644) | func (u *CronjobService) Delete(req dto.CronjobBatchDelete) error { method Update (line 672) | func (u *CronjobService) Update(id uint, req dto.CronjobOperate) error { method UpdateStatus (line 757) | func (u *CronjobService) UpdateStatus(id uint, status string) error { method UpdateGroup (line 783) | func (u *CronjobService) UpdateGroup(req dto.ChangeGroup) error { method AddCronJob (line 791) | func (u *CronjobService) AddCronJob(cronjob *model.Cronjob) (int, erro... type ICronjobService (line 27) | type ICronjobService interface function NewICronjobService (line 49) | func NewICronjobService() ICronjobService { FILE: agent/app/service/cronjob_backup.go method handleApp (line 27) | func (u *CronjobService) handleApp(cronjob model.Cronjob, startTime time... method handleWebsite (line 85) | func (u *CronjobService) handleWebsite(cronjob model.Cronjob, startTime ... method handleDatabase (line 144) | func (u *CronjobService) handleDatabase(cronjob model.Cronjob, startTime... method handleDirectory (line 217) | func (u *CronjobService) handleDirectory(cronjob model.Cronjob, startTim... method handleSystemLog (line 267) | func (u *CronjobService) handleSystemLog(cronjob model.Cronjob, startTim... method handleSnapshot (line 303) | func (u *CronjobService) handleSnapshot(cronjob model.Cronjob, jobRecord... function loadAppsForJob (line 360) | func loadAppsForJob(cronjob model.Cronjob) []model.AppInstall { type DatabaseHelper (line 377) | type DatabaseHelper struct function addSkipTask (line 385) | func addSkipTask(source string, taskItem *task.Task) { function loadDbsForJob (line 392) | func loadDbsForJob(cronjob model.Cronjob) []DatabaseHelper { function loadWebsForJob (line 447) | func loadWebsForJob(cronjob model.Cronjob) []model.Website { function handleBackupLogs (line 463) | func handleBackupLogs(taskItem *task.Task, targetDir, fileName string, s... function loadSnapWithRule (line 543) | func loadSnapWithRule(cronjob model.Cronjob) (dto.SnapshotData, error) { function loadFileName (line 592) | func loadFileName(src string) string { function simplifiedFileName (line 603) | func simplifiedFileName(name string) string { function cleanAccountMap (line 615) | func cleanAccountMap(accountMap map[string]backupClientHelper) { FILE: agent/app/service/cronjob_helper.go method HandleJob (line 31) | func (u *CronjobService) HandleJob(cronjob *model.Cronjob) { method loadTask (line 90) | func (u *CronjobService) loadTask(cronjob *model.Cronjob, record *model.... method handleShell (line 142) | func (u *CronjobService) handleShell(cronjob model.Cronjob, taskItem *ta... method handleCurl (line 196) | func (u *CronjobService) handleCurl(cronjob model.Cronjob, taskItem *tas... method handleNtpSync (line 210) | func (u *CronjobService) handleNtpSync(cronjob model.Cronjob, taskItem *... method handleCleanLog (line 228) | func (u *CronjobService) handleCleanLog(cronjob model.Cronjob, taskItem ... method handleSyncIpGroup (line 270) | func (u *CronjobService) handleSyncIpGroup(cronjob model.Cronjob, taskIt... method handleCutWebsiteLog (line 342) | func (u *CronjobService) handleCutWebsiteLog(cronjob *model.Cronjob, sta... function backupLogFile (line 392) | func backupLogFile(dstFilePath, websiteLogDir string, fileOp files.FileO... method handleSystemClean (line 412) | func (u *CronjobService) handleSystemClean(cronjob model.Cronjob, taskIt... method removeExpiredBackup (line 417) | func (u *CronjobService) removeExpiredBackup(cronjob model.Cronjob, acco... method removeExpiredLog (line 463) | func (u *CronjobService) removeExpiredLog(cronjob model.Cronjob) { function hasBackup (line 481) | func hasBackup(cronjobType string) bool { function handleCronJobAlert (line 485) | func handleCronJobAlert(cronjob *model.Cronjob) { function GetCleanLogConfig (line 495) | func GetCleanLogConfig(cronJob model.Cronjob) dto.CleanLogConfig { FILE: agent/app/service/dashboard.go type DashboardService (line 35) | type DashboardService struct method Restart (line 58) | func (u *DashboardService) Restart(operation string) error { method LoadOsInfo (line 80) | func (u *DashboardService) LoadOsInfo() (*dto.OsInfo, error) { method LoadCurrentInfoForNode (line 107) | func (u *DashboardService) LoadCurrentInfoForNode() *dto.NodeCurrent { method LoadBaseInfo (line 143) | func (u *DashboardService) LoadBaseInfo(ioOption string, netOption str... method LoadCurrentInfo (line 183) | func (u *DashboardService) LoadCurrentInfo(ioOption string, netOption ... method LoadTopCPU (line 268) | func (u *DashboardService) LoadTopCPU() []dto.Process { method LoadTopMem (line 272) | func (u *DashboardService) LoadTopMem() []dto.Process { method LoadAppLauncher (line 276) | func (u *DashboardService) LoadAppLauncher(ctx *gin.Context) ([]dto.Ap... method ChangeShow (line 341) | func (u *DashboardService) ChangeShow(req dto.SettingUpdate) error { method LoadQuickOptions (line 356) | func (u *DashboardService) LoadQuickOptions() []dto.QuickJump { method ChangeQuick (line 369) | func (u *DashboardService) ChangeQuick(req dto.ChangeQuicks) error { method ListLauncherOption (line 392) | func (u *DashboardService) ListLauncherOption(filter string) ([]dto.La... type IDashboardService (line 37) | type IDashboardService interface function NewIDashboardService (line 54) | func NewIDashboardService() IDashboardService { type diskInfo (line 423) | type diskInfo struct function loadDiskInfo (line 429) | func loadDiskInfo() []dto.DiskInfo { function loadGPUInfo (line 535) | func loadGPUInfo() []dto.GPUInfo { type AppLauncher (line 563) | type AppLauncher struct function ArryContains (line 567) | func ArryContains(arr []string, element string) bool { function loadXpuInfo (line 576) | func loadXpuInfo() []dto.XPUInfo { function loadOutboundIP (line 602) | func loadOutboundIP() string { function loadQuickJump (line 614) | func loadQuickJump(base *dto.DashboardBase) { FILE: agent/app/service/database.go type DatabaseService (line 24) | type DatabaseService struct method SearchWithPage (line 42) | func (u *DatabaseService) SearchWithPage(search dto.DatabaseSearch) (i... method Get (line 60) | func (u *DatabaseService) Get(name string) (dto.DatabaseInfo, error) { method List (line 72) | func (u *DatabaseService) List(dbType string) ([]dto.DatabaseOption, e... method LoadItems (line 89) | func (u *DatabaseService) LoadItems(dbType string) ([]dto.DatabaseItem... method CheckDatabase (line 118) | func (u *DatabaseService) CheckDatabase(req dto.DatabaseCreate) bool { method Create (line 165) | func (u *DatabaseService) Create(req dto.DatabaseCreate) error { method DeleteCheck (line 228) | func (u *DatabaseService) DeleteCheck(id uint) ([]string, error) { method Delete (line 241) | func (u *DatabaseService) Delete(req dto.DatabaseDelete) error { method Update (line 277) | func (u *DatabaseService) Update(req dto.DatabaseUpdate) error { type IDatabaseService (line 26) | type IDatabaseService interface function NewIDatabaseService (line 38) | func NewIDatabaseService() IDatabaseService { FILE: agent/app/service/database_common.go type DBCommonService (line 19) | type DBCommonService struct method LoadBaseInfo (line 32) | func (u *DBCommonService) LoadBaseInfo(req dto.OperationWithNameAndTyp... method LoadDatabaseFile (line 45) | func (u *DBCommonService) LoadDatabaseFile(req dto.OperationWithNameAn... method UpdateConfByFile (line 84) | func (u *DBCommonService) UpdateConfByFile(req dto.DBConfUpdateByFile)... type IDBCommonService (line 21) | type IDBCommonService interface function NewIDBCommonService (line 28) | func NewIDBCommonService() IDBCommonService { FILE: agent/app/service/database_mysql.go type MysqlService (line 33) | type MysqlService struct method SearchWithPage (line 58) | func (u *MysqlService) SearchWithPage(search dto.MysqlDBSearch) (int64... method ListDBOption (line 75) | func (u *MysqlService) ListDBOption() ([]dto.MysqlOption, error) { method Create (line 102) | func (u *MysqlService) Create(ctx context.Context, req dto.MysqlDBCrea... method BindUser (line 147) | func (u *MysqlService) BindUser(req dto.BindUser) error { method LoadFromRemote (line 187) | func (u *MysqlService) LoadFromRemote(req dto.MysqlLoadDB) error { method UpdateDescription (line 230) | func (u *MysqlService) UpdateDescription(req dto.UpdateDescription) er... method DeleteCheck (line 234) | func (u *MysqlService) DeleteCheck(req dto.MysqlDBDeleteCheck) ([]dto.... method Delete (line 287) | func (u *MysqlService) Delete(ctx context.Context, req dto.MysqlDBDele... method ChangePassword (line 324) | func (u *MysqlService) ChangePassword(req dto.ChangeDBInfo) error { method ChangeAccess (line 408) | func (u *MysqlService) ChangeAccess(req dto.ChangeDBInfo) error { method UpdateVariables (line 448) | func (u *MysqlService) UpdateVariables(req dto.MysqlVariablesUpdate) e... method LoadRemoteAccess (line 504) | func (u *MysqlService) LoadRemoteAccess(req dto.OperationWithNameAndTy... method LoadVariables (line 522) | func (u *MysqlService) LoadVariables(req dto.OperationWithNameAndType)... method LoadStatus (line 540) | func (u *MysqlService) LoadStatus(req dto.OperationWithNameAndType) (*... method LoadFormatOption (line 589) | func (u *MysqlService) LoadFormatOption(req dto.OperationWithName) []d... type IMysqlService (line 35) | type IMysqlService interface function NewIMysqlService (line 54) | func NewIMysqlService() IMysqlService { function executeSqlForMaps (line 602) | func executeSqlForMaps(containerName, dbType, password, command string) ... function executeSqlForRows (line 624) | func executeSqlForRows(containerName, dbType, password, command string) ... function updateMyCnf (line 637) | func updateMyCnf(oldFiles []string, group string, param string, value in... function LoadMysqlClientByFrom (line 678) | func LoadMysqlClientByFrom(database string) (mysql.MysqlClient, string, ... FILE: agent/app/service/database_postgresql.go type PostgresqlService (line 26) | type PostgresqlService struct method SearchWithPage (line 45) | func (u *PostgresqlService) SearchWithPage(search dto.PostgresqlDBSear... method ListDBOption (line 62) | func (u *PostgresqlService) ListDBOption() ([]dto.PostgresqlOption, er... method BindUser (line 89) | func (u *PostgresqlService) BindUser(req dto.PostgresqlBindUser) error { method Create (line 125) | func (u *PostgresqlService) Create(ctx context.Context, req dto.Postgr... method LoadFromRemote (line 203) | func (u *PostgresqlService) LoadFromRemote(database string) error { method UpdateDescription (line 247) | func (u *PostgresqlService) UpdateDescription(req dto.UpdateDescriptio... method DeleteCheck (line 251) | func (u *PostgresqlService) DeleteCheck(req dto.PostgresqlDBDeleteChec... method Delete (line 304) | func (u *PostgresqlService) Delete(ctx context.Context, req dto.Postgr... method ChangePrivileges (line 343) | func (u *PostgresqlService) ChangePrivileges(req dto.PostgresqlPrivile... method ChangePassword (line 368) | func (u *PostgresqlService) ChangePassword(req dto.ChangeDBInfo) error { type IPostgresqlService (line 28) | type IPostgresqlService interface function NewIPostgresqlService (line 41) | func NewIPostgresqlService() IPostgresqlService { function LoadPostgresqlClientByFrom (line 165) | func LoadPostgresqlClientByFrom(database string) (postgresql.PostgresqlC... FILE: agent/app/service/database_redis.go type RedisService (line 24) | type RedisService struct method UpdateConf (line 43) | func (u *RedisService) UpdateConf(req dto.RedisConfUpdate) error { method CheckHasCli (line 63) | func (u *RedisService) CheckHasCli() bool { method InstallCli (line 81) | func (u *RedisService) InstallCli() error { method ChangePassword (line 90) | func (u *RedisService) ChangePassword(req dto.ChangeRedisPass) error { method UpdatePersistenceConf (line 109) | func (u *RedisService) UpdatePersistenceConf(req dto.RedisConfPersiste... method LoadStatus (line 132) | func (u *RedisService) LoadStatus(req dto.LoadRedisStatus) (*dto.Redis... method LoadConf (line 160) | func (u *RedisService) LoadConf(req dto.LoadRedisStatus) (*dto.RedisCo... method LoadPersistenceConf (line 177) | func (u *RedisService) LoadPersistenceConf(req dto.LoadRedisStatus) (*... type IRedisService (line 26) | type IRedisService interface function NewIRedisService (line 39) | func NewIRedisService() IRedisService { function configGetStr (line 195) | func configGetStr(containerName, password, param string) (string, error) { type redisConfig (line 212) | type redisConfig struct function confSet (line 217) | func confSet(redisName string, redisType string, updateType string, chan... function redisExec (line 295) | func redisExec(containerName, password string) []string { FILE: agent/app/service/device.go constant defaultDNSPath (line 27) | defaultDNSPath = "/etc/resolv.conf" constant defaultHostPath (line 28) | defaultHostPath = "/etc/hosts" constant defaultFstab (line 29) | defaultFstab = "/etc/fstab" type DeviceService (line 31) | type DeviceService struct method LoadBaseInfo (line 53) | func (u *DeviceService) LoadBaseInfo() (dto.DeviceBaseInfo, error) { method LoadTimeZone (line 84) | func (u *DeviceService) LoadTimeZone() ([]string, error) { method CheckDNS (line 92) | func (u *DeviceService) CheckDNS(key, value string) (bool, error) { method Update (line 117) | func (u *DeviceService) Update(key, value string) error { method LoadUsers (line 169) | func (u *DeviceService) LoadUsers() ([]string, error) { method UpdateHosts (line 184) | func (u *DeviceService) UpdateHosts(req []dto.HostHelper) error { method UpdatePasswd (line 222) | func (u *DeviceService) UpdatePasswd(req dto.ChangePasswd) error { method UpdateSwap (line 235) | func (u *DeviceService) UpdateSwap(req dto.SwapHelper) error { method LoadConf (line 285) | func (u *DeviceService) LoadConf(name string) (string, error) { method UpdateByConf (line 305) | func (u *DeviceService) UpdateByConf(req dto.UpdateByNameAndFile) error { type IDeviceService (line 33) | type IDeviceService interface function NewIDeviceService (line 49) | func NewIDeviceService() IDeviceService { function loadDNS (line 324) | func loadDNS() []string { function updateDNS (line 338) | func updateDNS(list []string) error { function loadHosts (line 379) | func loadHosts() []dto.HostHelper { function loadHostname (line 395) | func loadHostname() string { function loadUser (line 403) | func loadUser() string { function loadSwap (line 411) | func loadSwap() []dto.SwapHelper { function operateSwapWithFile (line 432) | func operateSwapWithFile(delete bool, req dto.SwapHelper) error { FILE: agent/app/service/device_clean.go constant rollbackPath (line 31) | rollbackPath = "1panel/tmp" constant upgradePath (line 32) | upgradePath = "1panel/tmp/upgrade" constant uploadPath (line 33) | uploadPath = "1panel/uploads" constant downloadPath (line 34) | downloadPath = "1panel/download" method Scan (line 37) | func (u *DeviceService) Scan() dto.CleanData { method Clean (line 91) | func (u *DeviceService) Clean(req []dto.Clean) { function doSystemClean (line 195) | func doSystemClean(taskItem *task.Task) func(t *task.Task) error { function loadUpgradeTree (line 263) | func loadUpgradeTree(fileOp fileUtils.FileOp) dto.CleanTree { function loadAgentPackage (line 298) | func loadAgentPackage(fileOp fileUtils.FileOp) dto.CleanTree { function loadBackupTree (line 346) | func loadBackupTree(fileOp fileUtils.FileOp) []dto.CleanTree { function loadUnknownApps (line 377) | func loadUnknownApps(fileOp fileUtils.FileOp, recordMap map[string][]str... function loadUnknownDbs (line 400) | func loadUnknownDbs(fileOp fileUtils.FileOp, recordMap map[string][]stri... function loadUnknownWebsites (line 427) | func loadUnknownWebsites(fileOp fileUtils.FileOp, recordMap map[string][... function loadUnknownSnapshot (line 450) | func loadUnknownSnapshot(fileOp fileUtils.FileOp) dto.CleanTree { function loadUnknownWebsiteLog (line 496) | func loadUnknownWebsiteLog(fileOp fileUtils.FileOp) dto.CleanTree { function loadFileOrDirWithExclude (line 539) | func loadFileOrDirWithExclude(fileOp fileUtils.FileOp, index uint, dir s... function isExactPathMatch (line 584) | func isExactPathMatch(path string, excludePaths []string) bool { function loadRollBackTree (line 597) | func loadRollBackTree(fileOp fileUtils.FileOp) []dto.CleanTree { function loadUploadTree (line 606) | func loadUploadTree(fileOp fileUtils.FileOp) []dto.CleanTree { function loadDownloadTree (line 619) | func loadDownloadTree(fileOp fileUtils.FileOp) []dto.CleanTree { function loadLogTree (line 648) | func loadLogTree(fileOp fileUtils.FileOp) []dto.CleanTree { function loadWebsiteLogTree (line 673) | func loadWebsiteLogTree(fileOp fileUtils.FileOp) []dto.CleanTree { function loadAppTmpDownloadTree (line 692) | func loadAppTmpDownloadTree(fileOp fileUtils.FileOp) []dto.CleanTree { function loadContainerTree (line 756) | func loadContainerTree() []dto.CleanTree { function loadTreeWithCheck (line 801) | func loadTreeWithCheck(treeData []dto.CleanTree, pathItem, treeType stri... function loadTreeWithDir (line 811) | func loadTreeWithDir(isCheck bool, treeType, pathItem string, fileOp fil... function loadTreeWithAllFile (line 841) | func loadTreeWithAllFile(isCheck bool, originalPath, treeType, pathItem ... function dropFileOrDir (line 890) | func dropFileOrDir(itemPath string) { function dropFile (line 895) | func dropFile(itemPath string) { function dropBuildCache (line 908) | func dropBuildCache() (int, int) { function dropImages (line 925) | func dropImages() (int, int) { function dropContainers (line 942) | func dropContainers() (int, int) { function dropVolumes (line 958) | func dropVolumes() (int, int) { function dropWebsiteLog (line 982) | func dropWebsiteLog(alias string) { function dropTaskLog (line 994) | func dropTaskLog(logDir string) { function dropWithExclude (line 1052) | func dropWithExclude(pathToDelete string, excludeSubDirs []string, taskI... function dropWithTask (line 1075) | func dropWithTask(itemPath string, taskItem *task.Task, size *int64, cou... function scanFile (line 1090) | func scanFile(pathItem string, size *int64, count *int) { function cleanEmptyDirs (line 1106) | func cleanEmptyDirs(root string) error { FILE: agent/app/service/disk.go type DiskService (line 18) | type DiskService struct method GetCompleteDiskInfo (line 31) | func (s *DiskService) GetCompleteDiskInfo() (*response.CompleteDiskInf... method PartitionDisk (line 53) | func (s *DiskService) PartitionDisk(req request.DiskPartitionRequest) ... method MountDisk (line 110) | func (s *DiskService) MountDisk(req request.DiskMountRequest) error { method UnmountDisk (line 153) | func (s *DiskService) UnmountDisk(req request.DiskUnmountRequest) error { type IDiskService (line 20) | type IDiskService interface function NewIDiskService (line 27) | func NewIDiskService() IDiskService { FILE: agent/app/service/disk_utils.go type LsblkRaw (line 19) | type LsblkRaw struct type LsblkDevice (line 23) | type LsblkDevice struct function parseDevice (line 36) | func parseDevice(dev LsblkDevice) []response.DiskBasicInfo { function parseLsblkJsonOutput (line 125) | func parseLsblkJsonOutput(output string) ([]response.DiskBasicInfo, erro... function organizeDiskInfo (line 143) | func organizeDiskInfo(diskInfos []response.DiskBasicInfo) response.Compl... function parseLsblkOutput (line 196) | func parseLsblkOutput(output string) ([]response.DiskBasicInfo, error) { function getDiskType (line 331) | func getDiskType(rota string) string { function parseKeyValuePairs (line 340) | func parseKeyValuePairs(line string) map[string]string { function isPartitionDevice (line 361) | func isPartitionDevice(device string) bool { function getParentDevice (line 376) | func getParentDevice(device string) string { function getDiskUsageInfo (line 388) | func getDiskUsageInfo(device string) (size, used, avail string, usePerce... function formatDisk (line 406) | func formatDisk(req dto.DiskFormatRequest) error { function deviceExists (line 426) | func deviceExists(device string) bool { function isDeviceMounted (line 431) | func isDeviceMounted(device string) bool { function isPointMounted (line 448) | func isPointMounted(mountPoint string) bool { function addToFstabWithOptions (line 465) | func addToFstabWithOptions(device, mountPoint, filesystem, options strin... function removeFromFstab (line 496) | func removeFromFstab(mountPoint string) error { function getFilesystemType (line 517) | func getFilesystemType(device string) (string, error) { function isSystemDisk (line 525) | func isSystemDisk(mountPoint string) bool { function parseSizeToBytes (line 544) | func parseSizeToBytes(sizeStr string) int64 { function getDeviceUUID (line 577) | func getDeviceUUID(device string) (string, error) { FILE: agent/app/service/docker.go type DockerService (line 20) | type DockerService struct method LoadDockerStatus (line 54) | func (u *DockerService) LoadDockerStatus() *dto.DockerStatus { method LoadDockerConf (line 78) | func (u *DockerService) LoadDockerConf() (*dto.DaemonJsonConf, error) { method UpdateConf (line 138) | func (u *DockerService) UpdateConf(req dto.SettingUpdate, withRestart ... method UpdateLogOption (line 258) | func (u *DockerService) UpdateLogOption(req dto.LogOption) error { method UpdateIpv6Option (line 289) | func (u *DockerService) UpdateIpv6Option(req dto.Ipv6Option) error { method UpdateConfByFile (line 328) | func (u *DockerService) UpdateConfByFile(req dto.DaemonJsonUpdateByFil... method OperateDocker (line 352) | func (u *DockerService) OperateDocker(req dto.DockerOperation) error { type IDockerService (line 22) | type IDockerService interface function NewIDockerService (line 32) | func NewIDockerService() IDockerService { type daemonJsonItem (line 36) | type daemonJsonItem struct type logOption (line 49) | type logOption struct function createIfNotExistDaemonJsonFile (line 243) | func createIfNotExistDaemonJsonFile() error { function changeLogOption (line 373) | func changeLogOption(daemonMap map[string]interface{}, logMaxFile, logMa... function validateDockerConfig (line 422) | func validateDockerConfig() error { FILE: agent/app/service/fail2ban.go constant defaultFail2BanPath (line 16) | defaultFail2BanPath = "/etc/fail2ban/jail.local" type Fail2BanService (line 18) | type Fail2BanService struct method LoadBaseInfo (line 33) | func (u *Fail2BanService) LoadBaseInfo() (dto.Fail2BanBaseInfo, error) { method Search (line 78) | func (u *Fail2BanService) Search(req dto.Fail2BanSearch) ([]string, er... method Operate (line 97) | func (u *Fail2BanService) Operate(operation string) error { method UpdateConf (line 105) | func (u *Fail2BanService) UpdateConf(req dto.Fail2BanUpdate) error { method UpdateConfByFile (line 183) | func (u *Fail2BanService) UpdateConfByFile(req dto.UpdateByFile) error { method OperateSSHD (line 203) | func (u *Fail2BanService) OperateSSHD(req dto.Fail2BanSet) error { type IFail2BanService (line 20) | type IFail2BanService interface function NewIFail2BanService (line 29) | func NewIFail2BanService() IFail2BanService { function loadFailValue (line 220) | func loadFailValue(line string, baseInfo *dto.Fail2BanBaseInfo) { FILE: agent/app/service/favorite.go type FavoriteService (line 14) | type FavoriteService struct method Page (line 27) | func (f *FavoriteService) Page(req dto.PageInfo) (int64, []response.Fa... method Create (line 41) | func (f *FavoriteService) Create(req request.FavoriteCreate) (*model.F... method Delete (line 78) | func (f *FavoriteService) Delete(id uint) error { type IFavoriteService (line 17) | type IFavoriteService interface function NewIFavoriteService (line 23) | func NewIFavoriteService() IFavoriteService { FILE: agent/app/service/file.go type FileService (line 47) | type FileService struct method GetFileList (line 96) | func (f *FileService) GetFileList(op request.FileOption) (response.Fil... method SearchUploadWithPage (line 113) | func (f *FileService) SearchUploadWithPage(req request.SearchUploadWit... method GetFileTree (line 149) | func (f *FileService) GetFileTree(op request.FileOption) ([]response.F... method buildFileTree (line 183) | func (f *FileService) buildFileTree(node *response.FileTree, items []*... method buildChildNode (line 207) | func (f *FileService) buildChildNode(childNode *response.FileTree, fil... method Create (line 222) | func (f *FileService) Create(op request.FileCreate) error { method Delete (line 263) | func (f *FileService) Delete(op request.FileDelete) error { method BatchDelete (line 293) | func (f *FileService) BatchDelete(op request.FileBatchDelete) error { method ChangeMode (line 311) | func (f *FileService) ChangeMode(op request.FileCreate) error { method BatchChangeModeAndOwner (line 316) | func (f *FileService) BatchChangeModeAndOwner(op request.FileRoleReq) ... method ChangeOwner (line 332) | func (f *FileService) ChangeOwner(req request.FileRoleUpdate) error { method Compress (line 337) | func (f *FileService) Compress(c request.FileCompress) error { method DeCompress (line 345) | func (f *FileService) DeCompress(c request.FileDeCompress) error { method GetContent (line 353) | func (f *FileService) GetContent(op request.FileContentReq) (response.... method GetPreviewContent (line 389) | func (f *FileService) GetPreviewContent(op request.FileContentReq) (re... method SaveContent (line 465) | func (f *FileService) SaveContent(edit request.FileEdit) error { method ChangeName (line 478) | func (f *FileService) ChangeName(req request.FileRename) error { method Wget (line 486) | func (f *FileService) Wget(w request.FileWget) (string, error) { method MvFile (line 492) | func (f *FileService) MvFile(m request.FileMove) error { method FileDownload (line 544) | func (f *FileService) FileDownload(d request.FileDownload) (string, er... method DirSize (line 560) | func (f *FileService) DirSize(req request.DirSizeReq) (response.DirSiz... method DepthDirSize (line 576) | func (f *FileService) DepthDirSize(req request.DirSizeReq) ([]response... method ReadLogByLine (line 592) | func (f *FileService) ReadLogByLine(req request.FileReadByLineReq) (*r... method GetPathByType (line 721) | func (f *FileService) GetPathByType(pathType string) string { method BatchCheckFiles (line 732) | func (f *FileService) BatchCheckFiles(req request.FilePathsCheck) []re... method GetHostMount (line 748) | func (f *FileService) GetHostMount() []dto.DiskInfo { method GetUsersAndGroups (line 752) | func (f *FileService) GetUsersAndGroups() (*response.UserGroupResponse... method BatchGetRemarks (line 775) | func (f *FileService) BatchGetRemarks(req request.FileRemarkBatch) map... method SetRemark (line 794) | func (f *FileService) SetRemark(req request.FileRemarkUpdate) error { method Convert (line 923) | func (f *FileService) Convert(req request.FileConvertRequest) { method ConvertLog (line 950) | func (f *FileService) ConvertLog(req dto.PageInfo) (total int64, data ... type IFileService (line 50) | type IFileService interface constant fileRemarkXattr (line 88) | fileRemarkXattr = "user.1panel.remark" constant fileRemarkEncodedMaxLen (line 89) | fileRemarkEncodedMaxLen = 256 function NewIFileService (line 92) | func NewIFileService() IFileService { function shouldFilterPath (line 172) | func shouldFilterPath(path string) bool { function getValidGroups (line 821) | func getValidGroups() (map[string]bool, error) { function getFileRemark (line 847) | func getFileRemark(filePath string) (string, error) { function isXattrNotSupported (line 870) | func isXattrNotSupported(err error) bool { function isXattrNotFound (line 874) | func isXattrNotFound(err error) bool { function getValidUsers (line 878) | func getValidUsers(validGroups map[string]bool) ([]response.UserInfo, ma... FILE: agent/app/service/firewall.go type FirewallService (line 24) | type FirewallService struct method LoadBaseInfo (line 43) | func (u *FirewallService) LoadBaseInfo(tab string) (dto.FirewallBaseIn... method SearchWithPage (line 72) | func (u *FirewallService) SearchWithPage(req dto.RuleSearch) (int64, i... method OperateFirewall (line 164) | func (u *FirewallService) OperateFirewall(req dto.FirewallOperation) e... method OperatePortRule (line 213) | func (u *FirewallService) OperatePortRule(req dto.PortRuleOperate, rel... method OperateForwardRule (line 306) | func (u *FirewallService) OperateForwardRule(req dto.ForwardRuleOperat... method OperateAddressRule (line 396) | func (u *FirewallService) OperateAddressRule(req dto.AddrRuleOperate, ... method UpdatePortRule (line 430) | func (u *FirewallService) UpdatePortRule(req dto.PortRuleUpdate) error { method UpdateAddrRule (line 444) | func (u *FirewallService) UpdateAddrRule(req dto.AddrRuleUpdate) error { method UpdateDescription (line 458) | func (u *FirewallService) UpdateDescription(req dto.UpdateFirewallDesc... method BatchOperateRule (line 474) | func (u *FirewallService) BatchOperateRule(req dto.BatchRuleOperate) e... method operatePort (line 510) | func (u *FirewallService) operatePort(client firewall.FirewallClient, ... method loadPortByApp (line 535) | func (u *FirewallService) loadPortByApp() []portOfApp { method cleanUnUsedData (line 557) | func (u *FirewallService) cleanUnUsedData(client firewall.FirewallClie... method addPortsBeforeStart (line 581) | func (u *FirewallService) addPortsBeforeStart(client firewall.Firewall... method addPortRecord (line 611) | func (u *FirewallService) addPortRecord(req dto.PortRuleOperate) error { method addAddressRecord (line 637) | func (u *FirewallService) addAddressRecord(chain string, req dto.AddrR... type IFirewallService (line 26) | type IFirewallService interface function NewIFirewallService (line 39) | func NewIFirewallService() IFirewallService { function OperateFirewallPort (line 492) | func OperateFirewallPort(oldPorts, newPorts []int) error { type portOfApp (line 529) | type portOfApp struct function checkPortUsed (line 657) | func checkPortUsed(ports, proto string, apps []portOfApp) string { FILE: agent/app/service/ftp.go type FtpService (line 18) | type FtpService struct method LoadBaseInfo (line 35) | func (f *FtpService) LoadBaseInfo() (dto.FtpBaseInfo, error) { method LoadLog (line 45) | func (f *FtpService) LoadLog(req dto.FtpLogSearch) (int64, interface{}... method Operate (line 70) | func (u *FtpService) Operate(operation string) error { method SearchWithPage (line 78) | func (f *FtpService) SearchWithPage(req dto.SearchWithPage) (int64, in... method Sync (line 95) | func (f *FtpService) Sync() error { method Create (line 135) | func (f *FtpService) Create(req dto.FtpCreate) (uint, error) { method Delete (line 172) | func (f *FtpService) Delete(req dto.BatchDeleteReq) error { method Update (line 188) | func (f *FtpService) Update(req dto.FtpUpdate) error { type IFtpService (line 20) | type IFtpService interface function NewIFtpService (line 31) | func NewIFtpService() IFtpService { FILE: agent/app/service/group.go type GroupService (line 11) | type GroupService struct method List (line 25) | func (u *GroupService) List(req dto.OperateByType) ([]dto.GroupInfo, e... method Create (line 52) | func (u *GroupService) Create(req dto.GroupCreate) error { method Delete (line 66) | func (u *GroupService) Delete(id uint) error { method Update (line 83) | func (u *GroupService) Update(req dto.GroupUpdate) error { method GetDefault (line 95) | func (u *GroupService) GetDefault() (model.Group, error) { type IGroupService (line 13) | type IGroupService interface function NewIGroupService (line 21) | func NewIGroupService() IGroupService { FILE: agent/app/service/helper.go function getTxAndContext (line 11) | func getTxAndContext() (tx *gorm.DB, ctx context.Context) { FILE: agent/app/service/host.go type HostService (line 17) | type HostService struct method TestByInfo (line 36) | func (u *HostService) TestByInfo(req dto.HostConnTest) bool { method TestLocalConn (line 76) | func (u *HostService) TestLocalConn(id uint) bool { method SearchWithPage (line 114) | func (u *HostService) SearchWithPage(req dto.SearchPageWithGroup) (int... method SearchForTree (line 163) | func (u *HostService) SearchForTree(search dto.SearchForTree) ([]dto.H... method GetHostByID (line 193) | func (u *HostService) GetHostByID(id uint) (*dto.HostInfo, error) { method Create (line 230) | func (u *HostService) Create(req dto.HostOperate) (*dto.HostInfo, erro... method Delete (line 281) | func (u *HostService) Delete(ids []uint) error { method Update (line 294) | func (u *HostService) Update(id uint, upMap map[string]interface{}) (*... method EncryptHost (line 306) | func (u *HostService) EncryptHost(itemVal string) (string, error) { type IHostService (line 19) | type IHostService interface function NewIHostService (line 32) | func NewIHostService() IHostService { function GetHostInfo (line 315) | func GetHostInfo(id uint) (*model.Host, error) { FILE: agent/app/service/host_tool.go type HostToolService (line 27) | type HostToolService struct method GetToolStatus (line 43) | func (h *HostToolService) GetToolStatus(req request.HostToolReq) (*res... method CreateToolConfig (line 131) | func (h *HostToolService) CreateToolConfig(req request.HostToolCreate)... method OperateTool (line 204) | func (h *HostToolService) OperateTool(req request.HostToolReq) error { method OperateToolConfig (line 215) | func (h *HostToolService) OperateToolConfig(req request.HostToolConfig... method OperateSupervisorProcess (line 263) | func (h *HostToolService) OperateSupervisorProcess(req request.Supervi... method GetSupervisorProcessConfig (line 437) | func (h *HostToolService) GetSupervisorProcessConfig() ([]response.Sup... method OperateSupervisorProcessFile (line 447) | func (h *HostToolService) OperateSupervisorProcessFile(req request.Sup... type IHostToolService (line 29) | type IHostToolService interface function NewIHostToolService (line 39) | func NewIHostToolService() IHostToolService { function handleProcess (line 280) | func handleProcess(supervisordDir string, req request.SupervisorProcessC... function handleProcessConfig (line 382) | func handleProcessConfig(configDir, containerName string) ([]response.Su... function handleSupervisorFile (line 454) | func handleSupervisorFile(req request.SupervisorProcessFileReq, includeD... function operateSupervisorCtl (line 524) | func operateSupervisorCtl(operate, name, group, includeDir, containerNam... function getProcessName (line 566) | func getProcessName(name, numprocs string) []string { function getProcessStatus (line 588) | func getProcessStatus(config *response.SupervisorProcessConfig, containe... FILE: agent/app/service/image.go type ImageService (line 35) | type ImageService struct method Page (line 53) | func (u *ImageService) Page(req dto.PageImage) (int64, interface{}, er... method ListAll (line 156) | func (u *ImageService) ListAll() ([]dto.ImageInfo, error) { method List (line 180) | func (u *ImageService) List() ([]dto.Options, error) { method ImageBuild (line 204) | func (u *ImageService) ImageBuild(req dto.ImageBuild) error { method ImagePull (line 266) | func (u *ImageService) ImagePull(req dto.ImagePull) error { method ImageLoad (line 323) | func (u *ImageService) ImageLoad(req dto.ImageLoad) error { method ImageSave (line 367) | func (u *ImageService) ImageSave(req dto.ImageSave) error { method ImageTag (line 401) | func (u *ImageService) ImageTag(req dto.ImageTag) error { method ImagePush (line 444) | func (u *ImageService) ImagePush(req dto.ImagePush) error { method ImageRemove (line 499) | func (u *ImageService) ImageRemove(req dto.BatchDelete) error { type IImageService (line 37) | type IImageService interface function NewIImageService (line 50) | func NewIImageService() IImageService { function checkUsed (line 542) | func checkUsed(imageID string, containers []container.Summary) bool { function loadAuthInfo (line 551) | func loadAuthInfo(image string) (bool, string) { type dockerConfig (line 590) | type dockerConfig struct type authConfig (line 593) | type authConfig struct FILE: agent/app/service/image_repo.go type ImageRepoService (line 24) | type ImageRepoService struct method Page (line 39) | func (u *ImageRepoService) Page(req dto.SearchWithPage) (int64, interf... method Login (line 52) | func (u *ImageRepoService) Login(req dto.OperateByID) error { method List (line 67) | func (u *ImageRepoService) List() ([]dto.ImageRepoOption, error) { method Create (line 82) | func (u *ImageRepoService) Create(req dto.ImageRepoCreate) error { method Delete (line 114) | func (u *ImageRepoService) Delete(req dto.OperateByID) error { method Update (line 143) | func (u *ImageRepoService) Update(req dto.ImageRepoUpdate) error { method CheckConn (line 200) | func (u *ImageRepoService) CheckConn(host, user, password string) error { method handleRegistries (line 212) | func (u *ImageRepoService) handleRegistries(newHost, delHost, handle s... type IImageRepoService (line 26) | type IImageRepoService interface function NewIImageRepoService (line 35) | func NewIImageRepoService() IImageRepoService { function stopBeforeUpdateRepo (line 262) | func stopBeforeUpdateRepo() error { FILE: agent/app/service/iptables.go type IIptablesService (line 18) | type IIptablesService interface type IptablesService (line 27) | type IptablesService struct method Search (line 33) | func (s *IptablesService) Search(req dto.SearchPageWithType) (int64, i... method OperateRule (line 67) | func (s *IptablesService) OperateRule(req dto.IptablesRuleOp, withSave... method BatchOperate (line 135) | func (s *IptablesService) BatchOperate(req dto.IptablesBatchOperate) e... method Operate (line 156) | func (s *IptablesService) Operate(req dto.IptablesOp) error { method LoadChainStatus (line 283) | func (s *IptablesService) LoadChainStatus(req dto.OperationWithName) d... method validateRuleInput (line 301) | func (s *IptablesService) validateRuleInput(req *dto.IptablesRuleOp) e... method validateIPOrCIDR (line 331) | func (s *IptablesService) validateIPOrCIDR(ipStr string) error { function NewIIptablesService (line 29) | func NewIIptablesService() IIptablesService { function loadBindNumber (line 347) | func loadBindNumber(chain string) int { function initPreRules (line 361) | func initPreRules() error { function LoadPanelPort (line 390) | func LoadPanelPort() string { FILE: agent/app/service/logs.go type LogService (line 12) | type LogService struct method ListSystemLogFile (line 22) | func (u *LogService) ListSystemLogFile() ([]string, error) { type ILogService (line 14) | type ILogService interface function NewILogService (line 18) | func NewILogService() ILogService { FILE: agent/app/service/mcp_server.go type McpServerService (line 32) | type McpServerService struct method Page (line 49) | func (m McpServerService) Page(req request.McpServerSearch) response.M... method Update (line 93) | func (m McpServerService) Update(req request.McpServerUpdate) error { method Create (line 144) | func (m McpServerService) Create(create request.McpServerCreate) error { method Delete (line 212) | func (m McpServerService) Delete(id uint) error { method Operate (line 233) | func (m McpServerService) Operate(req request.McpServerOperate) error { method GetBindDomain (line 258) | func (m McpServerService) GetBindDomain() (response.McpBindDomainRes, ... method BindDomain (line 281) | func (m McpServerService) BindDomain(req request.McpBindDomain) error { method UpdateBindDomain (line 349) | func (m McpServerService) UpdateBindDomain(req request.McpBindDomainUp... type IMcpServerService (line 34) | type IMcpServerService interface function NewIMcpServerService (line 45) | func NewIMcpServerService() IMcpServerService { function updateMcpConfig (line 406) | func updateMcpConfig(websiteID uint) { function addProxy (line 431) | func addProxy(server *model.McpServer) { function addMCPProxy (line 475) | func addMCPProxy(websiteID uint) error { function updateMcpServer (line 536) | func updateMcpServer(mcpServer *model.McpServer) error { function handleEnv (line 551) | func handleEnv(mcpServer *model.McpServer) gotenv.Env { function handleCreateParams (line 566) | func handleCreateParams(mcpServer *model.McpServer, environments []reque... function startMcp (line 626) | func startMcp(mcpServer *model.McpServer) { function syncMcpServerContainerStatus (line 641) | func syncMcpServerContainerStatus(mcpServer *model.McpServer) error { function GetWebsiteID (line 674) | func GetWebsiteID() uint { function pullImage (line 683) | func pullImage(imageType string) { FILE: agent/app/service/monitor.go type MonitorService (line 32) | type MonitorService struct method LoadMonitorData (line 59) | func (m *MonitorService) LoadMonitorData(req dto.MonitorSearch) ([]dto... method LoadGPUOptions (line 122) | func (m *MonitorService) LoadGPUOptions() dto.MonitorGPUOptions { method LoadGPUMonitorData (line 183) | func (m *MonitorService) LoadGPUMonitorData(req dto.MonitorGPUSearch) ... method LoadSetting (line 225) | func (m *MonitorService) LoadSetting() (*dto.MonitorSetting, error) { method UpdateSetting (line 245) | func (m *MonitorService) UpdateSetting(key, value string) error { method CleanData (line 276) | func (m *MonitorService) CleanData() error { method Run (line 290) | func (m *MonitorService) Run() { method loadDiskIO (line 340) | func (m *MonitorService) loadDiskIO() { method loadNetIO (line 358) | func (m *MonitorService) loadNetIO() { method saveIODataToDB (line 367) | func (m *MonitorService) saveIODataToDB(ctx context.Context, interval ... method saveNetDataToDB (line 424) | func (m *MonitorService) saveNetDataToDB(ctx context.Context, interval... type IMonitorService (line 39) | type IMonitorService interface function NewIMonitorService (line 52) | func NewIMonitorService() IMonitorService { function loadTopCPU (line 461) | func loadTopCPU() []dto.Process { function loadTopMem (line 511) | func loadTopMem() []dto.Process { function StartMonitor (line 563) | func StartMonitor(removeBefore bool, interval string) error { function saveGPUDataToDB (line 594) | func saveGPUDataToDB() { function saveXPUDataToDB (line 626) | func saveXPUDataToDB() { function loadGPUInfoInt (line 666) | func loadGPUInfoInt(val string) int { function loadGPUInfoFloat (line 672) | func loadGPUInfoFloat(val string) float64 { FILE: agent/app/service/nginx.go type NginxService (line 33) | type NginxService struct method GetNginxConfig (line 55) | func (n NginxService) GetNginxConfig() (*response.NginxFile, error) { method GetConfigByScope (line 68) | func (n NginxService) GetConfigByScope(req request.NginxScopeReq) ([]r... method UpdateConfigByScope (line 76) | func (n NginxService) UpdateConfigByScope(req request.NginxConfigUpdat... method GetStatus (line 84) | func (n NginxService) GetStatus() (response.NginxStatus, error) { method UpdateConfigFile (line 135) | func (n NginxService) UpdateConfigFile(req request.NginxConfigFileUpda... method Build (line 175) | func (n NginxService) Build(req request.NginxBuildReq) error { method GetModules (line 257) | func (n NginxService) GetModules() (*response.NginxBuildConfig, error) { method UpdateModule (line 296) | func (n NginxService) UpdateModule(req request.NginxModuleUpdate) error { method OperateDefaultHTTPs (line 356) | func (n NginxService) OperateDefaultHTTPs(req request.NginxDefaultHTTP... method GetDefaultHttpsStatus (line 404) | func (n NginxService) GetDefaultHttpsStatus() (*response.NginxConfigRe... type INginxService (line 36) | type INginxService interface function NewINginxService (line 51) | func NewINginxService() INginxService { FILE: agent/app/service/nginx_utils.go function getNginxFull (line 23) | func getNginxFull(website *model.Website) (dto.NginxFull, error) { function getNginxParamsByKeys (line 73) | func getNginxParamsByKeys(scope string, keys []string, website *model.We... function updateDefaultServerConfig (line 105) | func updateDefaultServerConfig(enable bool) error { function updateNginxConfig (line 139) | func updateNginxConfig(scope string, params []dto.NginxParam, website *m... function deleteNginxConfig (line 170) | func deleteNginxConfig(scope string, params []dto.NginxParam, website *m... function getNginxParamsFromStaticFile (line 198) | func getNginxParamsFromStaticFile(scope dto.NginxKey, newParams []dto.Ng... function opNginx (line 241) | func opNginx(containerName, operate string) error { function nginxCheckAndReload (line 255) | func nginxCheckAndReload(oldContent string, filePath string, containerNa... function updateDefaultServer (line 267) | func updateDefaultServer(server *components.Server, httpPort int, httpsP... FILE: agent/app/service/php_extensions.go type PHPExtensionsService (line 11) | type PHPExtensionsService struct method Page (line 26) | func (p PHPExtensionsService) Page(req request.PHPExtensionsSearch) (i... method List (line 45) | func (p PHPExtensionsService) List() ([]response.PHPExtensionsDTO, err... method Create (line 63) | func (p PHPExtensionsService) Create(req request.PHPExtensionsCreate) ... method Update (line 75) | func (p PHPExtensionsService) Update(req request.PHPExtensionsUpdate) ... method Delete (line 84) | func (p PHPExtensionsService) Delete(req request.PHPExtensionsDelete) ... type IPHPExtensionsService (line 14) | type IPHPExtensionsService interface function NewIPHPExtensionsService (line 22) | func NewIPHPExtensionsService() IPHPExtensionsService { FILE: agent/app/service/process.go type ProcessService (line 20) | type ProcessService struct method StopProcess (line 32) | func (ps *ProcessService) StopProcess(req request.ProcessReq) error { method GetListeningProcess (line 50) | func (ps *ProcessService) GetListeningProcess(c context.Context) ([]Li... method GetProcessInfoByPID (line 92) | func (ps *ProcessService) GetProcessInfoByPID(pid int32) (*websocket.P... type IProcessService (line 22) | type IProcessService interface function NewIProcessService (line 28) | func NewIProcessService() IProcessService { type ListeningProcess (line 43) | type ListeningProcess struct type MemoryDetail (line 191) | type MemoryDetail struct function getMemoryDetail (line 207) | func getMemoryDetail(pid int32) (*MemoryDetail, error) { function readStatus (line 222) | func readStatus(pid int32, mem *MemoryDetail) error { function readSmapsRollup (line 268) | func readSmapsRollup(pid int32, mem *MemoryDetail) error { function readSmaps (line 304) | func readSmaps(pid int32, mem *MemoryDetail) error { FILE: agent/app/service/recycle_bin.go type RecycleBinService (line 23) | type RecycleBinService struct method Page (line 37) | func (r RecycleBinService) Page(search dto.PageInfo) (int64, []respons... method Create (line 78) | func (r RecycleBinService) Create(create request.RecycleBinCreate) err... method Reduce (line 116) | func (r RecycleBinService) Reduce(reduce request.RecycleBinReduce) err... method Clear (line 137) | func (r RecycleBinService) Clear() error { type IRecycleBinService (line 26) | type IRecycleBinService interface function NewIRecycleBinService (line 33) | func NewIRecycleBinService() IRecycleBinService { function getClashDir (line 159) | func getClashDir(realPath string) (string, error) { function createClashDir (line 179) | func createClashDir(clashDir string) error { function getRecycleBinDTOFromName (line 189) | func getRecycleBinDTOFromName(filename string) (*response.RecycleBinDTO,... FILE: agent/app/service/runtime.go type RuntimeService (line 42) | type RuntimeService struct method Create (line 85) | func (r *RuntimeService) Create(create request.RuntimeCreate) (*model.... method Page (line 197) | func (r *RuntimeService) Page(req request.RuntimeSearch) (int64, []res... method DeleteCheck (line 273) | func (r *RuntimeService) DeleteCheck(runTimeId uint) ([]dto.AppResourc... method Delete (line 285) | func (r *RuntimeService) Delete(runtimeDelete request.RuntimeDelete) e... method Get (line 326) | func (r *RuntimeService) Get(id uint) (*response.RuntimeDTO, error) { method Update (line 419) | func (r *RuntimeService) Update(req request.RuntimeUpdate) error { method GetNodePackageRunScript (line 523) | func (r *RuntimeService) GetNodePackageRunScript(req request.NodePacka... method OperateRuntime (line 554) | func (r *RuntimeService) OperateRuntime(req request.RuntimeOperate) er... method GetNodeModules (line 590) | func (r *RuntimeService) GetNodeModules(req request.NodeModuleReq) ([]... method OperateNodeModules (line 623) | func (r *RuntimeService) OperateNodeModules(req request.NodeModuleOper... method SyncForRestart (line 645) | func (r *RuntimeService) SyncForRestart() error { method SyncRuntimeStatus (line 660) | func (r *RuntimeService) SyncRuntimeStatus() error { method GetPHPExtensions (line 673) | func (r *RuntimeService) GetPHPExtensions(runtimeID uint) (response.PH... method InstallPHPExtension (line 711) | func (r *RuntimeService) InstallPHPExtension(req request.PHPExtensionI... method UnInstallPHPExtension (line 798) | func (r *RuntimeService) UnInstallPHPExtension(req request.PHPExtensio... method GetPHPConfig (line 812) | func (r *RuntimeService) GetPHPConfig(id uint) (*response.PHPConfig, e... method UpdatePHPConfig (line 866) | func (r *RuntimeService) UpdatePHPConfig(req request.PHPConfigUpdate) ... method GetPHPConfigFile (line 933) | func (r *RuntimeService) GetPHPConfigFile(req request.PHPFileReq) (*re... method UpdatePHPConfigFile (line 966) | func (r *RuntimeService) UpdatePHPConfigFile(req request.PHPFileUpdate... method UpdateFPMConfig (line 986) | func (r *RuntimeService) UpdateFPMConfig(req request.FPMConfig) error { method GetFPMConfig (line 1027) | func (r *RuntimeService) GetFPMConfig(id uint) (*request.FPMConfig, er... method UpdatePHPContainer (line 1050) | func (r *RuntimeService) UpdatePHPContainer(req request.PHPContainerCo... method GetPHPContainerConfig (line 1128) | func (r *RuntimeService) GetPHPContainerConfig(id uint) (*request.PHPC... method GetSupervisorProcess (line 1148) | func (r *RuntimeService) GetSupervisorProcess(id uint) ([]response.Sup... method OperateSupervisorProcess (line 1157) | func (r *RuntimeService) OperateSupervisorProcess(req request.PHPSuper... method OperateSupervisorProcessFile (line 1166) | func (r *RuntimeService) OperateSupervisorProcessFile(req request.PHPS... method UpdateRemark (line 1177) | func (r *RuntimeService) UpdateRemark(req request.RuntimeRemark) error { method GetFPMStatus (line 1186) | func (r *RuntimeService) GetFPMStatus(runtimeID uint) ([]response.FpmS... type IRuntimeService (line 45) | type IRuntimeService interface function NewRuntimeService (line 81) | func NewRuntimeService() IRuntimeService { function phpConfigLineMatchesKey (line 955) | func phpConfigLineMatchesKey(line, key string) bool { FILE: agent/app/service/runtime_utils.go function handleRuntime (line 42) | func handleRuntime(create request.RuntimeCreate, runtime *model.Runtime,... function handlePHP (line 79) | func handlePHP(create request.RuntimeCreate, runtime *model.Runtime, fil... function startRuntime (line 117) | func startRuntime(runtime *model.Runtime) { function reCreateRuntime (line 133) | func reCreateRuntime(runtime *model.Runtime) { function getComposeCmd (line 153) | func getComposeCmd(composePath, operate string) *exec.Cmd { function runComposeCmdWithLog (line 172) | func runComposeCmdWithLog(operate string, composePath string, logPath st... function SyncRuntimesStatus (line 193) | func SyncRuntimesStatus(runtimes []model.Runtime) error { function SyncRuntimeContainerStatus (line 237) | func SyncRuntimeContainerStatus(runtime *model.Runtime) error { function getRuntimeEnv (line 278) | func getRuntimeEnv(envStr, key string) string { function deleteImageByID (line 289) | func deleteImageByID(oldImageID, imageName string, client docker.Client) { function buildRuntime (line 301) | func buildRuntime(runtime *model.Runtime, oldImageID string, oldEnv stri... function handleParams (line 423) | func handleParams(create request.RuntimeCreate, projectDir string) (comp... function handleEnvironments (line 539) | func handleEnvironments(composeContent []byte, create request.RuntimeCre... function handleCompose (line 575) | func handleCompose(env gotenv.Env, composeContent []byte, create request... function checkContainerName (line 670) | func checkContainerName(name string) error { function checkContainerStatus (line 686) | func checkContainerStatus(name string) (string, error) { function delPHPExtensions (line 702) | func delPHPExtensions(dir, phpExtensionDir, fileName, extName string) { function unInstallPHPExtension (line 709) | func unInstallPHPExtension(runtime *model.Runtime, delExtensions []strin... function removePHPIniExt (line 762) | func removePHPIniExt(filePath, extensionName string) error { function restartRuntime (line 797) | func restartRuntime(runtime *model.Runtime) (err error) { function getDockerComposeEnvironments (line 807) | func getDockerComposeEnvironments(yml []byte) ([]request.Environment, er... function getDockerComposeVolumes (line 828) | func getDockerComposeVolumes(yml []byte) ([]request.Volume, error) { function getDockerComposeExtraHosts (line 855) | func getDockerComposeExtraHosts(yml []byte) ([]request.ExtraHost, error) { function checkRuntimePortExist (line 882) | func checkRuntimePortExist(port int, scanPort bool, runtimeID uint) error { function getExtensionDir (line 913) | func getExtensionDir(version string) string { function RestartPHPRuntime (line 950) | func RestartPHPRuntime() { function handleRuntimeDTO (line 973) | func handleRuntimeDTO(res *response.RuntimeDTO, runtime model.Runtime) e... function handlePHPDir (line 1050) | func handlePHPDir(runtime model.Runtime) { function HandleOldPHPRuntime (line 1064) | func HandleOldPHPRuntime() { function getOperation (line 1090) | func getOperation(operate, pkgManager string) string { function handleRuntimeDetailID (line 1104) | func handleRuntimeDetailID(runtime model.Runtime) (uint, uint) { FILE: agent/app/service/setting.go type SettingService (line 21) | type SettingService struct method GetSettingInfo (line 43) | func (u *SettingService) GetSettingInfo() (*dto.SettingInfo, error) { method GetTerminalAIInfo (line 65) | func (u *SettingService) GetTerminalAIInfo() (*dto.TerminalAIInfo, err... method Update (line 89) | func (u *SettingService) Update(key, value string) error { method UpdateTerminalAI (line 93) | func (u *SettingService) UpdateTerminalAI(req dto.TerminalAIInfo) error { method TestConnByInfo (line 121) | func (u *SettingService) TestConnByInfo(req dto.SSHConnData) bool { method SaveConnInfo (line 151) | func (u *SettingService) SaveConnInfo(req dto.SSHConnData) error { method SetDefaultIsConn (line 187) | func (u *SettingService) SetDefaultIsConn(req dto.SSHDefaultConn) error { method GetSystemProxy (line 196) | func (u *SettingService) GetSystemProxy() (*dto.SystemProxy, error) { method GetLocalConn (line 207) | func (u *SettingService) GetLocalConn() dto.SSHConnData { method GetSettingByKey (line 231) | func (u *SettingService) GetSettingByKey(key string) string { method SaveDescription (line 246) | func (u *SettingService) SaveDescription(req dto.CommonDescription) er... type ISettingService (line 23) | type ISettingService interface function NewISettingService (line 39) | func NewISettingService() ISettingService { FILE: agent/app/service/snapshot.go type SnapshotService (line 27) | type SnapshotService struct method SearchWithPage (line 48) | func (u *SnapshotService) SearchWithPage(req dto.PageSnapshot) (int64,... method SnapshotImport (line 65) | func (u *SnapshotService) SnapshotImport(req dto.SnapshotImport) error { method LoadSnapshotData (line 103) | func (u *SnapshotService) LoadSnapshotData() (dto.SnapshotData, error) { method UpdateDescription (line 134) | func (u *SnapshotService) UpdateDescription(req dto.UpdateDescription)... method Delete (line 145) | func (u *SnapshotService) Delete(req dto.SnapshotBatchDelete) error { type ISnapshotService (line 31) | type ISnapshotService interface function NewISnapshotService (line 44) | func NewISnapshotService() ISnapshotService { type SnapshotJson (line 138) | type SnapshotJson struct function hasOs (line 169) | func hasOs(name string) bool { function loadOs (line 178) | func loadOs() string { function loadApps (line 190) | func loadApps(fileOp fileUtils.FileOp) ([]dto.DataTree, error) { function loadAppBackup (line 271) | func loadAppBackup(list []dto.DataTree, fileOp fileUtils.FileOp) []dto.D... function loadAppImage (line 287) | func loadAppImage(list []dto.DataTree) []dto.DataTree { function loadPanelFile (line 325) | func loadPanelFile(fileOp fileUtils.FileOp) ([]dto.DataTree, error) { function loadFile (line 399) | func loadFile(pathItem string, index int, fileOp fileUtils.FileOp) ([]dt... function checkSnapshotIsOk (line 434) | func checkSnapshotIsOk(name string) bool { FILE: agent/app/service/snapshot_create.go method SnapshotCreate (line 33) | func (u *SnapshotService) SnapshotCreate(parentTask *task.Task, req dto.... method SnapshotReCreate (line 94) | func (u *SnapshotService) SnapshotReCreate(id uint) error { function handleSnapshot (line 125) | func handleSnapshot(req dto.SnapshotCreate, taskItem *task.Task, jobID, ... type snapHelper (line 213) | type snapHelper struct function loadDbConn (line 226) | func loadDbConn(snap *snapHelper, targetDir string, req dto.SnapshotCrea... function snapBaseData (line 290) | func snapBaseData(snap snapHelper, targetDir string, withDockerConf bool... function snapAppImage (line 359) | func snapAppImage(snap snapHelper, req dto.SnapshotCreate, targetDir str... function snapBackupData (line 419) | func snapBackupData(snap snapHelper, req dto.SnapshotCreate, targetDir s... function loadBackupExcludes (line 439) | func loadBackupExcludes(snap snapHelper, req []dto.DataTree) []string { function loadAppBackupExcludes (line 457) | func loadAppBackupExcludes(req []dto.DataTree) []string { function snapPanelData (line 472) | func snapPanelData(snap snapHelper, req dto.SnapshotCreate, targetDir st... function loadPanelExcludes (line 519) | func loadPanelExcludes(req []dto.DataTree) []string { function snapCompress (line 534) | func snapCompress(snap snapHelper, rootDir string, secret string) error { function snapUpload (line 558) | func snapUpload(snap snapHelper, accounts string, downloadID, retry uint... FILE: agent/app/service/snapshot_recover.go type snapRecoverHelper (line 35) | type snapRecoverHelper struct method SnapshotRecover (line 40) | func (u *SnapshotService) SnapshotRecover(req dto.SnapshotRecover) error { function handleDownloadSnapshot (line 247) | func handleDownloadSnapshot(itemHelper *snapRecoverHelper, snap model.Sn... function backupBeforeRecover (line 266) | func backupBeforeRecover(name string, itemHelper *snapRecoverHelper) err... function readFromJson (line 347) | func readFromJson(rootDir string, itemHelper *snapRecoverHelper) (Snapsh... function recoverAppData (line 371) | func recoverAppData(src string, itemHelper *snapRecoverHelper) error { function recoverBaseData (line 387) | func recoverBaseData(src string, itemHelper *snapRecoverHelper) error { function restartCompose (line 445) | func restartCompose(composePath string, itemHelper *snapRecoverHelper) e... function recoverDBData (line 470) | func recoverDBData(src string, itemHelper *snapRecoverHelper) error { function cleanOrphanSQLiteSidecars (line 493) | func cleanOrphanSQLiteSidecars(dbDir string) error { FILE: agent/app/service/snapshot_rollback.go method SnapshotRollback (line 19) | func (u *SnapshotService) SnapshotRollback(req dto.SnapshotRecover) error { FILE: agent/app/service/ssh.go constant sshPath (line 35) | sshPath = "/etc/ssh/sshd_config" type SSHService (line 37) | type SSHService struct method GetSSHInfo (line 60) | func (u *SSHService) GetSSHInfo() (*dto.SSHInfo, error) { method OperateSSH (line 134) | func (u *SSHService) OperateSSH(operation string) error { method Update (line 157) | func (u *SSHService) Update(req dto.SSHUpdate) error { method SyncRootCert (line 215) | func (u *SSHService) SyncRootCert() error { method CreateRootCert (line 252) | func (u *SSHService) CreateRootCert(req dto.RootCertOperate) error { method EditRootCert (line 350) | func (u *SSHService) EditRootCert(req dto.RootCertOperate) error { method SearchRootCerts (line 401) | func (u *SSHService) SearchRootCerts(req dto.SearchWithPage) (int64, i... method DeleteRootCerts (line 433) | func (u *SSHService) DeleteRootCerts(req dto.ForceDelete) error { method LoadLog (line 475) | func (u *SSHService) LoadLog(ctx *gin.Context, req dto.SearchSSHLog) (... method ExportLog (line 556) | func (u *SSHService) ExportLog(ctx *gin.Context, req dto.SearchSSHLog)... method LoadSSHFile (line 574) | func (u *SSHService) LoadSSHFile(name string) (string, error) { method UpdateByFile (line 598) | func (u *SSHService) UpdateByFile(req dto.SettingUpdate) error { type ISSHService (line 39) | type ISSHService interface function NewISSHService (line 56) | func NewISSHService() ISSHService { type sshFileItem (line 470) | type sshFileItem struct function sortFileList (line 631) | func sortFileList(fileNames []sshFileItem) []sshFileItem { function updateSSHConf (line 650) | func updateSSHConf(oldFiles []string, param string, value string) []stri... function loadSSHData (line 681) | func loadSSHData(ctx *gin.Context, command string, showCountFrom, showCo... function loadSuccessDatas (line 734) | func loadSuccessDatas(line string) dto.SSHHistory { function loadFailedAuthDatas (line 749) | func loadFailedAuthDatas(line string) dto.SSHHistory { function loadFailedSecureDatas (line 774) | func loadFailedSecureDatas(line string) dto.SSHHistory { function checkIsStandard (line 798) | func checkIsStandard(item dto.SSHHistory) bool { function handleGunzip (line 806) | func handleGunzip(path string) error { function loadServiceName (line 813) | func loadServiceName() (string, error) { function loadDate (line 822) | func loadDate(currentYear int, DateStr string, nyc *time.Location) time.... function analyzeDateStr (line 830) | func analyzeDateStr(parts []string) (int, string) { function loadEncryptioMode (line 852) | func loadEncryptioMode(content string) string { function updateLocalConn (line 868) | func updateLocalConn(newPort uint) error { function updateSSHSocketFile (line 893) | func updateSSHSocketFile(newPort string) error { function loadSSHPort (line 930) | func loadSSHPort() string { FILE: agent/app/service/system.go type SystemService (line 8) | type SystemService struct method IsComponentExist (line 18) | func (s *SystemService) IsComponentExist(name string) response.Compone... type ISystemService (line 10) | type ISystemService interface function NewISystemService (line 14) | func NewISystemService() ISystemService { FILE: agent/app/service/task.go type TaskLogService (line 8) | type TaskLogService struct method Page (line 20) | func (u *TaskLogService) Page(req dto.SearchTaskLogReq) (int64, []dto.... method SyncForRestart (line 46) | func (u *TaskLogService) SyncForRestart() error { method CountExecutingTask (line 50) | func (u *TaskLogService) CountExecutingTask() (int64, error) { type ITaskLogService (line 10) | type ITaskLogService interface function NewITaskService (line 16) | func NewITaskService() ITaskLogService { FILE: agent/app/service/tensorrt_llm.go type TensorRTLLMService (line 29) | type TensorRTLLMService struct method Page (line 43) | func (t TensorRTLLMService) Page(req request.TensorRTLLMSearch) respon... method Create (line 211) | func (t TensorRTLLMService) Create(create request.TensorRTLLMCreate) e... method Update (line 270) | func (t TensorRTLLMService) Update(req request.TensorRTLLMUpdate) error { method Delete (line 308) | func (t TensorRTLLMService) Delete(id uint) error { method Operate (line 319) | func (t TensorRTLLMService) Operate(req request.TensorRTLLMOperate) er... type ITensorRTLLMService (line 31) | type ITensorRTLLMService interface function NewITensorRTLLMService (line 39) | func NewITensorRTLLMService() ITensorRTLLMService { function handleLLMParams (line 119) | func handleLLMParams(llm *model.TensorRTLLM, create request.TensorRTLLMC... function handleLLMEnv (line 190) | func handleLLMEnv(llm *model.TensorRTLLM, create request.TensorRTLLMCrea... function startTensorRTLLM (line 344) | func startTensorRTLLM(tensorrtLLM *model.TensorRTLLM) { function syncTensorRTLLMContainerStatus (line 359) | func syncTensorRTLLMContainerStatus(tensorrtLLM *model.TensorRTLLM) error { function findModelArchive (line 395) | func findModelArchive(modelType string) (string, error) { function handleModelArchive (line 417) | func handleModelArchive(modelType string, modelDir string) error { function getCommand (line 432) | func getCommand(envStr string) string { FILE: agent/app/service/website.go type WebsiteService (line 46) | type WebsiteService struct method PageWebsite (line 139) | func (w WebsiteService) PageWebsite(req request.WebsiteSearch) (int64,... method GetWebsites (line 229) | func (w WebsiteService) GetWebsites() ([]response.WebsiteDTO, error) { method CreateWebsite (line 241) | func (w WebsiteService) CreateWebsite(create request.WebsiteCreate) (e... method OpWebsite (line 544) | func (w WebsiteService) OpWebsite(req request.WebsiteOp) error { method GetWebsiteOptions (line 555) | func (w WebsiteService) GetWebsiteOptions(req request.WebsiteOptionReq... method UpdateWebsite (line 572) | func (w WebsiteService) UpdateWebsite(req request.WebsiteUpdate) error { method GetWebsite (line 601) | func (w WebsiteService) GetWebsite(id uint) (response.WebsiteDTO, erro... method DeleteWebsite (line 656) | func (w WebsiteService) DeleteWebsite(req request.WebsiteDelete) error { method UpdateWebsiteDomain (line 748) | func (w WebsiteService) UpdateWebsiteDomain(req request.WebsiteDomainU... method GetNginxConfigByScope (line 780) | func (w WebsiteService) GetNginxConfigByScope(req request.NginxScopeRe... method UpdateNginxConfigByScope (line 801) | func (w WebsiteService) UpdateNginxConfigByScope(req request.NginxConf... method GetWebsiteNginxConfig (line 828) | func (w WebsiteService) GetWebsiteNginxConfig(websiteID uint, configTy... method GetWebsiteHTTPS (line 848) | func (w WebsiteService) GetWebsiteHTTPS(websiteId uint) (response.Webs... method OpWebsiteHTTPS (line 907) | func (w WebsiteService) OpWebsiteHTTPS(ctx context.Context, req reques... method PreInstallCheck (line 1021) | func (w WebsiteService) PreInstallCheck(req request.WebsiteInstallChec... method UpdateNginxConfigFile (line 1067) | func (w WebsiteService) UpdateNginxConfigFile(req request.WebsiteNginx... method OpWebsiteLog (line 1084) | func (w WebsiteService) OpWebsiteLog(req request.WebsiteLogReq) (*resp... method ChangeDefaultServer (line 1168) | func (w WebsiteService) ChangeDefaultServer(id uint) error { method ChangePHPVersion (line 1227) | func (w WebsiteService) ChangePHPVersion(req request.WebsitePHPVersion... method UpdateSiteDir (line 1310) | func (w WebsiteService) UpdateSiteDir(req request.WebsiteUpdateDir) er... method UpdateSitePermission (line 1327) | func (w WebsiteService) UpdateSitePermission(req request.WebsiteUpdate... method UpdateCors (line 1342) | func (w WebsiteService) UpdateCors(req request.CorsConfigReq) error { method GetCors (line 1378) | func (w WebsiteService) GetCors(websiteID uint) (*request.CorsConfig, ... method UpdateAntiLeech (line 1401) | func (w WebsiteService) UpdateAntiLeech(req request.NginxAntiLeechUpda... method GetAntiLeech (line 1528) | func (w WebsiteService) GetAntiLeech(id uint) (*response.NginxAntiLeec... method OperateRedirect (line 1605) | func (w WebsiteService) OperateRedirect(req request.NginxRedirectReq) ... method GetRedirect (line 1754) | func (w WebsiteService) GetRedirect(id uint) (res []response.NginxRedi... method UpdateRedirectFile (line 1894) | func (w WebsiteService) UpdateRedirectFile(req request.NginxRedirectUp... method LoadWebsiteDirConfig (line 1924) | func (w WebsiteService) LoadWebsiteDirConfig(req request.WebsiteCommon... method GetDefaultHtml (line 1984) | func (w WebsiteService) GetDefaultHtml(resourceType string) (*response... method UpdateDefaultHtml (line 2043) | func (w WebsiteService) UpdateDefaultHtml(req request.WebsiteHtmlUpdat... method ChangeGroup (line 2081) | func (w WebsiteService) ChangeGroup(group, newGroup uint) error { method SetRealIPConfig (line 2085) | func (w WebsiteService) SetRealIPConfig(req request.WebsiteRealIP) err... method GetRealIPConfig (line 2128) | func (w WebsiteService) GetRealIPConfig(websiteID uint) (*response.Web... method GetWebsiteResource (line 2165) | func (w WebsiteService) GetWebsiteResource(websiteID uint) ([]response... method ListDatabases (line 2238) | func (w WebsiteService) ListDatabases() ([]response.Database, error) { method ChangeDatabase (line 2269) | func (w WebsiteService) ChangeDatabase(req request.ChangeDatabase) err... method OperateCrossSiteAccess (line 2282) | func (w WebsiteService) OperateCrossSiteAccess(req request.CrossSiteAc... method ExecComposer (line 2297) | func (w WebsiteService) ExecComposer(req request.ExecComposerReq) error { method UpdateStream (line 2363) | func (w WebsiteService) UpdateStream(req request.StreamUpdate) error { type IWebsiteService (line 49) | type IWebsiteService interface function NewIWebsiteService (line 135) | func NewIWebsiteService() IWebsiteService { FILE: agent/app/service/website_acme_account.go type WebsiteAcmeAccountService (line 13) | type WebsiteAcmeAccountService struct method Page (line 27) | func (w WebsiteAcmeAccountService) Page(search dto.PageInfo) (int64, [... method Create (line 38) | func (w WebsiteAcmeAccountService) Create(create request.WebsiteAcmeAc... method Delete (line 79) | func (w WebsiteAcmeAccountService) Delete(id uint) error { method Update (line 86) | func (w WebsiteAcmeAccountService) Update(update request.WebsiteAcmeAc... type IWebsiteAcmeAccountService (line 16) | type IWebsiteAcmeAccountService interface function NewIWebsiteAcmeAccountService (line 23) | func NewIWebsiteAcmeAccountService() IWebsiteAcmeAccountService { FILE: agent/app/service/website_auth_basic.go method GetAuthBasics (line 25) | func (w WebsiteService) GetAuthBasics(req request.NginxAuthReq) (res res... method UpdateAuthBasic (line 63) | func (w WebsiteService) UpdateAuthBasic(req request.NginxAuthUpdate) (er... method GetPathAuthBasics (line 187) | func (w WebsiteService) GetPathAuthBasics(req request.NginxAuthReq) (res... method UpdatePathAuthBasic (line 250) | func (w WebsiteService) UpdatePathAuthBasic(req request.NginxPathAuthUpd... FILE: agent/app/service/website_ca.go type WebsiteCAService (line 37) | type WebsiteCAService struct method Page (line 53) | func (w WebsiteCAService) Page(search request.WebsiteCASearch) (int64,... method Create (line 67) | func (w WebsiteCAService) Create(create request.WebsiteCACreate) (*req... method GetCA (line 129) | func (w WebsiteCAService) GetCA(id uint) (*response.WebsiteCADTO, erro... method Delete (line 154) | func (w WebsiteCAService) Delete(id uint) error { method ObtainSSL (line 169) | func (w WebsiteCAService) ObtainSSL(req request.WebsiteCAObtain) (*mod... method DownloadFile (line 424) | func (w WebsiteCAService) DownloadFile(id uint) (*os.File, error) { type IWebsiteCAService (line 40) | type IWebsiteCAService interface function NewIWebsiteCAService (line 49) | func NewIWebsiteCAService() IWebsiteCAService { function createPrivateKey (line 392) | func createPrivateKey(keyType string) (privateKey any, publicKey any, pr... FILE: agent/app/service/website_dns_account.go type WebsiteDnsAccountService (line 15) | type WebsiteDnsAccountService struct method Page (line 29) | func (w WebsiteDnsAccountService) Page(search dto.PageInfo) (int64, []... method Create (line 43) | func (w WebsiteDnsAccountService) Create(create request.WebsiteDnsAcco... method Update (line 65) | func (w WebsiteDnsAccountService) Update(update request.WebsiteDnsAcco... method Delete (line 90) | func (w WebsiteDnsAccountService) Delete(id uint) error { type IWebsiteDnsAccountService (line 18) | type IWebsiteDnsAccountService interface function NewIWebsiteDnsAccountService (line 25) | func NewIWebsiteDnsAccountService() IWebsiteDnsAccountService { FILE: agent/app/service/website_domain.go method CreateWebsiteDomain (line 16) | func (w WebsiteService) CreateWebsiteDomain(create request.WebsiteDomain... method GetWebsiteDomain (line 90) | func (w WebsiteService) GetWebsiteDomain(websiteId uint) ([]model.Websit... method DeleteWebsiteDomain (line 94) | func (w WebsiteService) DeleteWebsiteDomain(domainId uint) error { FILE: agent/app/service/website_lb.go method GetLoadBalances (line 22) | func (w WebsiteService) GetLoadBalances(id uint) ([]dto.NginxUpstream, e... method CreateLoadBalance (line 81) | func (w WebsiteService) CreateLoadBalance(req request.WebsiteLBCreate) e... method UpdateLoadBalance (line 130) | func (w WebsiteService) UpdateLoadBalance(req request.WebsiteLBUpdate) e... method DeleteLoadBalance (line 183) | func (w WebsiteService) DeleteLoadBalance(req request.WebsiteLBDelete) e... method UpdateLoadBalanceFile (line 217) | func (w WebsiteService) UpdateLoadBalanceFile(req request.WebsiteLBUpdat... FILE: agent/app/service/website_op.go method BatchOpWebsite (line 14) | func (w WebsiteService) BatchOpWebsite(req request.BatchWebsiteOp) error { method BatchSetGroup (line 60) | func (w WebsiteService) BatchSetGroup(req request.BatchWebsiteGroup) err... method BatchSetHttps (line 71) | func (w WebsiteService) BatchSetHttps(ctx context.Context, req request.B... FILE: agent/app/service/website_proxy.go method OperateProxy (line 26) | func (w WebsiteService) OperateProxy(req request.WebsiteProxyConfig) (er... method UpdateProxyCache (line 184) | func (w WebsiteService) UpdateProxyCache(req request.NginxProxyCacheUpda... method GetProxyCache (line 201) | func (w WebsiteService) GetProxyCache(id uint) (res response.NginxProxyC... method GetProxies (line 255) | func (w WebsiteService) GetProxies(id uint) (res []request.WebsiteProxyC... method UpdateProxyFile (line 344) | func (w WebsiteService) UpdateProxyFile(req request.NginxProxyUpdate) (e... method ClearProxyCache (line 370) | func (w WebsiteService) ClearProxyCache(req request.NginxCommonReq) error { method DeleteProxy (line 392) | func (w WebsiteService) DeleteProxy(req request.WebsiteProxyDel) (err er... method UpdateProxyStatus (line 412) | func (w WebsiteService) UpdateProxyStatus(req request.WebsiteProxyStatus... FILE: agent/app/service/website_rewrite.go method UpdateRewriteConfig (line 21) | func (w WebsiteService) UpdateRewriteConfig(req request.NginxRewriteUpda... method GetRewriteConfig (line 57) | func (w WebsiteService) GetRewriteConfig(req request.NginxRewriteReq) (*... method OperateCustomRewrite (line 90) | func (w WebsiteService) OperateCustomRewrite(req request.CustomRewriteOp... method ListCustomRewrite (line 115) | func (w WebsiteService) ListCustomRewrite() ([]string, error) { FILE: agent/app/service/website_ssl.go type WebsiteSSLService (line 34) | type WebsiteSSLService struct method Page (line 57) | func (w WebsiteSSLService) Page(search request.WebsiteSSLSearch) (int6... method GetSSL (line 83) | func (w WebsiteSSLService) GetSSL(id uint) (*response.WebsiteSSLDTO, e... method Search (line 93) | func (w WebsiteSSLService) Search(search request.WebsiteSSLListReq) ([... method Create (line 118) | func (w WebsiteSSLService) Create(create request.WebsiteSSLCreate) (re... method ObtainSSL (line 246) | func (w WebsiteSSLService) ObtainSSL(apply request.WebsiteSSLApply) er... method GetDNSResolve (line 429) | func (w WebsiteSSLService) GetDNSResolve(req request.WebsiteDNSReq) ([... method GetWebsiteSSL (line 458) | func (w WebsiteSSLService) GetWebsiteSSL(websiteId uint) (response.Web... method Delete (line 472) | func (w WebsiteSSLService) Delete(ids []uint) error { method Update (line 531) | func (w WebsiteSSLService) Update(update request.WebsiteSSLUpdate) err... method Upload (line 602) | func (w WebsiteSSLService) Upload(req request.WebsiteSSLUpload) error { method DownloadFile (line 707) | func (w WebsiteSSLService) DownloadFile(id uint) (*os.File, error) { method SyncForRestart (line 735) | func (w WebsiteSSLService) SyncForRestart() error { method ImportMasterSSL (line 750) | func (w WebsiteSSLService) ImportMasterSSL(create model.WebsiteSSL) er... type IWebsiteSSLService (line 37) | type IWebsiteSSLService interface function NewIWebsiteSSLService (line 53) | func NewIWebsiteSSLService() IWebsiteSSLService { function printSSLLog (line 213) | func printSSLLog(logger *log.Logger, msgKey string, params map[string]in... function reloadSystemSSL (line 220) | func reloadSystemSSL(websiteSSL *model.WebsiteSSL, logger *log.Logger) { function handleError (line 418) | func handleError(websiteSSL *model.WebsiteSSL, err error) { FILE: agent/app/service/website_utils.go function handleChineseDomain (line 43) | func handleChineseDomain(domain string) (string, error) { function isHTTPSProxyPass (line 50) | func isHTTPSProxyPass(proxyPass string) bool { function normalizeProxyPass (line 54) | func normalizeProxyPass(proxyPass string) string { function getAppInstallProxyPass (line 65) | func getAppInstallProxyPass(appInstall *model.AppInstall) (string, error) { function getAppInstallProxyPassOrEmpty (line 78) | func getAppInstallProxyPassOrEmpty(appInstall *model.AppInstall) string { function hasAppInstallProxyPassChanged (line 86) | func hasAppInstallProxyPassChanged(before *model.AppInstall, after *mode... function getRootProxyDirectives (line 90) | func getRootProxyDirectives(proxyPass string) []components.IDirective { function applyLocationProxyPass (line 102) | func applyLocationProxyPass(location *components.Location, proxyPass str... function createIndexFile (line 122) | func createIndexFile(website *model.Website, runtime *model.Runtime) err... function createProxyFile (line 172) | func createProxyFile(website *model.Website) error { function createWebsiteFolder (line 205) | func createWebsiteFolder(website *model.Website, runtime *model.Runtime)... function configDefaultNginx (line 254) | func configDefaultNginx(website *model.Website, domains []model.WebsiteD... function moveDefaultWafConfig (line 402) | func moveDefaultWafConfig(websiteDir string, defaultConfigContent []byte... function createAllWebsitesWAFConfig (line 427) | func createAllWebsitesWAFConfig(websites []model.Website) error { function createOpenBasedirConfig (line 478) | func createOpenBasedirConfig(website *model.Website) { function createWafConfig (line 485) | func createWafConfig(website *model.Website, domains []model.WebsiteDoma... function delNginxConfig (line 557) | func delNginxConfig(website model.Website, force bool) error { function delWafConfig (line 599) | func delWafConfig(website model.Website, force bool) error { function isHttp3 (line 652) | func isHttp3(server *components.Server) bool { function addListenAndServerName (line 663) | func addListenAndServerName(website model.Website, domains []model.Websi... function deleteListenAndServerName (line 691) | func deleteListenAndServerName(website model.Website, binds []string, do... function setListen (line 713) | func setListen(server *components.Server, port string, ipv6, http3, defa... function removeSSLListen (line 731) | func removeSSLListen(website model.Website, binds []string) error { function createPemFile (line 753) | func createPemFile(website model.Website, websiteSSL model.WebsiteSSL) e... function getHttpsPort (line 786) | func getHttpsPort(websiteID uint) map[int]struct{} { function applySSL (line 815) | func applySSL(website *model.Website, websiteSSL model.WebsiteSSL, req r... function getParamArray (line 964) | func getParamArray(key string, param interface{}) []string { function handleParamMap (line 979) | func handleParamMap(paramMap map[string]string, keys []string) []dto.Ngi... function getNginxParams (line 995) | func getNginxParams(params interface{}, keys []string) []dto.NginxParam { function toMapStr (line 1011) | func toMapStr(m map[string]interface{}) map[string]string { function deleteWebsiteFolder (line 1019) | func deleteWebsiteFolder(website *model.Website) error { function opWebsite (line 1039) | func opWebsite(website *model.Website, operate string) error { function changeIPV6 (line 1169) | func changeIPV6(website model.Website, enable bool) error { function checkIsLinkApp (line 1207) | func checkIsLinkApp(website model.Website) bool { function chownRootDir (line 1218) | func chownRootDir(path string) error { function getWebsiteDomains (line 1226) | func getWebsiteDomains(domains []request.WebsiteDomain, defaultHTTPPort,... function checkWebsitePort (line 1287) | func checkWebsitePort(defaultHTTPsPort, port int, websiteType string) er... function saveCertificateFile (line 1324) | func saveCertificateFile(websiteSSL *model.WebsiteSSL, logger *log.Logge... function GetSystemSSL (line 1347) | func GetSystemSSL() (bool, uint) { function UpdateSSLConfig (line 1361) | func UpdateSSLConfig(websiteSSL model.WebsiteSSL) error { function ChangeHSTSConfig (line 1396) | func ChangeHSTSConfig(enable bool, includeSubDomains bool, http3Enable b... function checkSSLStatus (line 1453) | func checkSSLStatus(expireDate time.Time) string { function getResourceContent (line 1465) | func getResourceContent(fileOp files.FileOp, resourcePath string) (strin... function GetWebSiteRootDir (line 1476) | func GetWebSiteRootDir() string { function GetSiteDir (line 1485) | func GetSiteDir(alias string) string { constant SiteConf (line 1490) | SiteConf = "SiteConf" constant SiteAccessLog (line 1491) | SiteAccessLog = "access.log" constant SiteErrorLog (line 1492) | SiteErrorLog = "error.log" constant WebsiteRootDir (line 1493) | WebsiteRootDir = "WebsiteRootDir" constant SiteDir (line 1494) | SiteDir = "SiteDir" constant SiteIndexDir (line 1495) | SiteIndexDir = "SiteIndexDir" constant SiteProxyDir (line 1496) | SiteProxyDir = "SiteProxyDir" constant SiteSSLDir (line 1497) | SiteSSLDir = "SiteSSLDir" constant SiteReWritePath (line 1498) | SiteReWritePath = "SiteReWritePath" constant SiteRedirectDir (line 1499) | SiteRedirectDir = "SiteRedirectDir" constant SiteCacheDir (line 1500) | SiteCacheDir = "SiteCacheDir" constant SiteConfDir (line 1501) | SiteConfDir = "SiteConfDir" constant SitesRootDir (line 1502) | SitesRootDir = "SitesRootDir" constant DefaultDir (line 1503) | DefaultDir = "DefaultDir" constant DefaultRewriteDir (line 1504) | DefaultRewriteDir = "DefaultRewriteDir" constant SiteRootAuthBasicPath (line 1505) | SiteRootAuthBasicPath = "SiteRootAuthBasicPath" constant SitePathAuthBasicDir (line 1506) | SitePathAuthBasicDir = "SitePathAuthBasicDir" constant SiteUpstreamDir (line 1507) | SiteUpstreamDir = "SiteUpstreamDir" constant SiteCorsPath (line 1508) | SiteCorsPath = "SiteCorsPath" constant StreamDir (line 1509) | StreamDir = "StreamDir" constant StreamConf (line 1510) | StreamConf = "StreamConf" function GetWebsiteConfigPath (line 1513) | func GetWebsiteConfigPath(website model.Website) string { function GetSitePath (line 1520) | func GetSitePath(website model.Website, confType string) string { function GetConfDir (line 1556) | func GetConfDir(website model.Website) string { function GetOpenrestyDir (line 1563) | func GetOpenrestyDir(confType string) string { function openProxyCache (line 1581) | func openProxyCache(website model.Website) error { function ConfigAllowIPs (line 1598) | func ConfigAllowIPs(ips []string, website model.Website) error { function GetAllowIps (line 1617) | func GetAllowIps(website model.Website) []string { function ConfigAIProxy (line 1634) | func ConfigAIProxy(website model.Website) error { function handleDefaultOwn (line 1650) | func handleDefaultOwn(dir string) { function getSystemProxy (line 1664) | func getSystemProxy(useProxy bool) *dto.SystemProxy { function hasHttp3 (line 1673) | func hasHttp3(params []string) bool { function hasDefaultServer (line 1682) | func hasDefaultServer(params []string) bool { function ParseDomain (line 1691) | func ParseDomain(domain string) (*model.WebsiteDomain, error) { function updateWebsiteConfig (line 1710) | func updateWebsiteConfig(website model.Website, updateFunc func(server *... function getServer (line 1740) | func getServer(website model.Website) (*components.Server, error) { function parseTimeString (line 1760) | func parseTimeString(input string) (int, string, error) { function parseUpstreamServers (line 1781) | func parseUpstreamServers(reqServers []dto.NginxUpstreamServer) []*compo... function getNginxUpstreamServers (line 1809) | func getNginxUpstreamServers(upstreamServers []*components.UpstreamServe... function getManualWebsiteSSL (line 1845) | func getManualWebsiteSSL(req request.WebsiteHTTPSOp) (model.WebsiteSSL, ... FILE: agent/app/task/task.go type ActionFunc (line 24) | type ActionFunc type RollbackFunc (line 25) | type RollbackFunc type Task (line 27) | type Task struct method AddSubTask (line 195) | func (t *Task) AddSubTask(name string, action ActionFunc, rollback Rol... method AddSubTaskWithAlias (line 200) | func (t *Task) AddSubTaskWithAlias(key string, action ActionFunc, roll... method AddSubTaskWithOps (line 205) | func (t *Task) AddSubTaskWithOps(name string, action ActionFunc, rollb... method AddSubTaskWithAliasAndOps (line 210) | func (t *Task) AddSubTaskWithAliasAndOps(key string, action ActionFunc... method AddSubTaskWithIgnoreErr (line 215) | func (t *Task) AddSubTaskWithIgnoreErr(name string, action ActionFunc) { method updateTask (line 268) | func (t *Task) updateTask(task *model.Task) { method Execute (line 272) | func (t *Task) Execute() error { method DeleteLogFile (line 310) | func (t *Task) DeleteLogFile() { method LogWithStatus (line 314) | func (t *Task) LogWithStatus(msg string, err error) { method Log (line 322) | func (t *Task) Log(msg string) { method Logf (line 326) | func (t *Task) Logf(format string, v ...any) { method LogFailed (line 330) | func (t *Task) LogFailed(msg string) { method LogFailedWithErr (line 334) | func (t *Task) LogFailedWithErr(msg string, err error) { method LogSuccess (line 338) | func (t *Task) LogSuccess(msg string) { method LogSuccessF (line 341) | func (t *Task) LogSuccessF(format string, v ...any) { method LogStart (line 345) | func (t *Task) LogStart(msg string) { method LogWithOps (line 349) | func (t *Task) LogWithOps(operate, msg string) { method LogSuccessWithOps (line 353) | func (t *Task) LogSuccessWithOps(operate, msg string) { method LogFailedWithOps (line 357) | func (t *Task) LogFailedWithOps(operate, msg string, err error) { method LogWithProgress (line 361) | func (t *Task) LogWithProgress(msg string, current int, total int) { type SubTask (line 41) | type SubTask struct method Execute (line 220) | func (s *SubTask) Execute() error { constant TaskInstall (line 54) | TaskInstall = "TaskInstall" constant TaskUninstall (line 55) | TaskUninstall = "TaskUninstall" constant TaskCreate (line 56) | TaskCreate = "TaskCreate" constant TaskDelete (line 57) | TaskDelete = "TaskDelete" constant TaskUpgrade (line 58) | TaskUpgrade = "TaskUpgrade" constant TaskUpdate (line 59) | TaskUpdate = "TaskUpdate" constant TaskRestart (line 60) | TaskRestart = "TaskRestart" constant TaskBackup (line 61) | TaskBackup = "TaskBackup" constant TaskRecover (line 62) | TaskRecover = "TaskRecover" constant TaskRollback (line 63) | TaskRollback = "TaskRollback" constant TaskSync (line 64) | TaskSync = "TaskSync" constant TaskBuild (line 65) | TaskBuild = "TaskBuild" constant TaskPull (line 66) | TaskPull = "TaskPull" constant TaskImport (line 67) | TaskImport = "TaskImport" constant TaskExport (line 68) | TaskExport = "TaskExport" constant TaskCommit (line 69) | TaskCommit = "TaskCommit" constant TaskPush (line 70) | TaskPush = "TaskPush" constant TaskClean (line 71) | TaskClean = "TaskClean" constant TaskHandle (line 72) | TaskHandle = "TaskHandle" constant TaskScan (line 73) | TaskScan = "TaskScan" constant TaskExec (line 74) | TaskExec = "TaskExec" constant TaskBatch (line 75) | TaskBatch = "TaskBatch" constant TaskProtect (line 76) | TaskProtect = "TaskProtect" constant TaskConvert (line 77) | TaskConvert = "TaskConvert" constant TaskSwapSet (line 78) | TaskSwapSet = "TaskSwapSet" constant TaskScopeWebsite (line 82) | TaskScopeWebsite = "Website" constant TaskScopeAI (line 83) | TaskScopeAI = "AI" constant TaskScopeApp (line 84) | TaskScopeApp = "App" constant TaskScopeRuntime (line 85) | TaskScopeRuntime = "Runtime" constant TaskScopeDatabase (line 86) | TaskScopeDatabase = "Database" constant TaskScopeCronjob (line 87) | TaskScopeCronjob = "Cronjob" constant TaskScopeClam (line 88) | TaskScopeClam = "Clam" constant TaskScopeSystem (line 89) | TaskScopeSystem = "System" constant TaskScopeAppStore (line 90) | TaskScopeAppStore = "AppStore" constant TaskScopeSnapshot (line 91) | TaskScopeSnapshot = "Snapshot" constant TaskScopeContainer (line 92) | TaskScopeContainer = "Container" constant TaskScopeCompose (line 93) | TaskScopeCompose = "Compose" constant TaskScopeImage (line 94) | TaskScopeImage = "Image" constant TaskScopeBackup (line 95) | TaskScopeBackup = "Backup" constant TaskScopeRuntimeExtension (line 96) | TaskScopeRuntimeExtension = "RuntimeExtension" constant TaskScopeCustomAppstore (line 97) | TaskScopeCustomAppstore = "CustomAppstore" constant TaskScopeTamper (line 98) | TaskScopeTamper = "Tamper" constant TaskScopeFileConvert (line 99) | TaskScopeFileConvert = "Convert" constant TaskScopeTask (line 100) | TaskScopeTask = "Task" function GetTaskName (line 103) | func GetTaskName(resourceName, operate, scope string) string { function NewTaskWithOps (line 107) | func NewTaskWithOps(resourceName, operate, scope, taskID string, resourc... function CheckTaskIsExecuting (line 111) | func CheckTaskIsExecuting(name string) error { function CheckResourceTaskIsExecuting (line 120) | func CheckResourceTaskIsExecuting(operate, scope string, resourceID uint... function NewTask (line 130) | func NewTask(name, operate, taskScope, taskID string, resourceID uint) (... function ReNewTaskWithOps (line 164) | func ReNewTaskWithOps(resourceName, operate, scope, taskID string, resou... function ReNewTask (line 167) | func ReNewTask(name, operate, taskScope, taskID string, resourceID uint)... type SimpleFormatter (line 374) | type SimpleFormatter struct method Format (line 376) | func (f *SimpleFormatter) Format(entry *logrus.Entry) ([]byte, error) { FILE: agent/buserr/errors.go type BusinessError (line 8) | type BusinessError struct method Error (line 15) | func (e BusinessError) Error() string { function New (line 33) | func New(Key string) BusinessError { function WithDetail (line 41) | func WithDetail(Key string, detail interface{}, err error) BusinessError { function WithErr (line 49) | func WithErr(Key string, err error) BusinessError { function WithMap (line 61) | func WithMap(Key string, maps map[string]interface{}, err error) Busines... function WithNameAndErr (line 69) | func WithNameAndErr(Key string, name string, err error) BusinessError { function WithName (line 84) | func WithName(Key string, name string) BusinessError { FILE: agent/buserr/multi_err.go type MultiErr (line 9) | type MultiErr method Error (line 11) | func (e MultiErr) Error() string { FILE: agent/cmd/server/main.go function main (line 36) | func main() { FILE: agent/cmd/server/nginx_conf/index.php function printExtensions (line 18) | function printExtensions() FILE: agent/cmd/server/nginx_conf/nginx_conf.go function GetWebsiteFile (line 50) | func GetWebsiteFile(filename string) []byte { FILE: agent/constant/alert.go constant AlertEnable (line 4) | AlertEnable = "Enable" constant AlertDisable (line 5) | AlertDisable = "Disable" constant AlertSuccess (line 6) | AlertSuccess = "Success" constant AlertPushing (line 7) | AlertPushing = "Pushing" constant AlertError (line 8) | AlertError = "Error" constant AlertSyncError (line 9) | AlertSyncError = "SyncError" constant AlertPushError (line 10) | AlertPushError = "PushError" constant AlertPushSuccess (line 11) | AlertPushSuccess = "PushSuccess" constant CommonConfig (line 15) | CommonConfig = "common" constant SMSConfig (line 16) | SMSConfig = "sms" constant EmailConfig (line 17) | EmailConfig = "email" constant WeChat (line 21) | WeChat = "wechat" constant SMS (line 22) | SMS = "sms" constant Email (line 23) | Email = "mail" constant WeCom (line 24) | WeCom = "weCom" constant DingTalk (line 25) | DingTalk = "dingTalk" constant FeiShu (line 26) | FeiShu = "feiShu" constant Custom (line 27) | Custom = "custom" FILE: agent/constant/app.go constant ContainerPrefix (line 4) | ContainerPrefix = "1Panel-" constant AppNormal (line 6) | AppNormal = "Normal" constant AppTakeDown (line 7) | AppTakeDown = "TakeDown" constant AppOpenresty (line 9) | AppOpenresty = "openresty" constant AppOpenclaw (line 10) | AppOpenclaw = "openclaw" constant AppCopaw (line 11) | AppCopaw = "copaw" constant AppMysql (line 12) | AppMysql = "mysql" constant AppMariaDB (line 13) | AppMariaDB = "mariadb" constant AppPostgresql (line 14) | AppPostgresql = "postgresql" constant AppRedis (line 15) | AppRedis = "redis" constant AppPostgres (line 16) | AppPostgres = "postgres" constant AppMongodb (line 17) | AppMongodb = "mongodb" constant AppMemcached (line 18) | AppMemcached = "memcached" constant AppMysqlCluster (line 19) | AppMysqlCluster = "mysql-cluster" constant AppPostgresqlCluster (line 20) | AppPostgresqlCluster = "postgresql-cluster" constant AppRedisCluster (line 21) | AppRedisCluster = "redis-cluster" constant AppResourceLocal (line 23) | AppResourceLocal = "local" constant AppResourceRemote (line 24) | AppResourceRemote = "remote" constant AppResourceCustom (line 25) | AppResourceCustom = "custom" constant CPUS (line 27) | CPUS = "CPUS" constant MemoryLimit (line 28) | MemoryLimit = "MEMORY_LIMIT" constant HostIP (line 29) | HostIP = "HOST_IP" constant ContainerName (line 30) | ContainerName = "CONTAINER_NAME" type AppOperate (line 33) | type AppOperate FILE: agent/constant/backup.go constant Valid (line 4) | Valid = "VALID" constant DisConnect (line 5) | DisConnect = "DISCONNECT" constant VerifyFailed (line 6) | VerifyFailed = "VERIFYFAILED" constant S3 (line 7) | S3 = "S3" constant OSS (line 8) | OSS = "OSS" constant Sftp (line 9) | Sftp = "SFTP" constant OneDrive (line 10) | OneDrive = "OneDrive" constant MinIo (line 11) | MinIo = "MINIO" constant Cos (line 12) | Cos = "COS" constant Kodo (line 13) | Kodo = "KODO" constant WebDAV (line 14) | WebDAV = "WebDAV" constant Local (line 15) | Local = "LOCAL" constant UPYUN (line 16) | UPYUN = "UPYUN" constant ALIYUN (line 17) | ALIYUN = "ALIYUN" constant GoogleDrive (line 18) | GoogleDrive = "GoogleDrive" FILE: agent/constant/common.go type DBContext (line 3) | type DBContext constant DB (line 6) | DB DBContext = "db" constant SystemRestart (line 8) | SystemRestart = "systemRestart" constant TypeWebsite (line 10) | TypeWebsite = "website" constant TypePhp (line 11) | TypePhp = "php" constant TypeSSL (line 12) | TypeSSL = "ssl" constant TypeSystem (line 13) | TypeSystem = "system" constant TypeTask (line 14) | TypeTask = "task" constant TypeApp (line 15) | TypeApp = "app" constant TypeImagePull (line 16) | TypeImagePull = "image-pull" constant TypeImagePush (line 17) | TypeImagePush = "image-push" constant TypeImageBuild (line 18) | TypeImageBuild = "image-build" constant TypeComposeCreate (line 19) | TypeComposeCreate = "compose-create" constant InterruptedMsg (line 21) | InterruptedMsg = "the task was interrupted due to the restart of the 1pa... constant TimeOut5s (line 25) | TimeOut5s = 5 constant TimeOut20s (line 26) | TimeOut20s = 20 constant TimeOut5m (line 27) | TimeOut5m = 300 constant DateLayout (line 29) | DateLayout = "2006-01-02" constant DateTimeLayout (line 30) | DateTimeLayout = "2006-01-02 15:04:05" constant DateTimeSlimLayout (line 31) | DateTimeSlimLayout = "20060102150405" constant WebsiteDefaultExpireDate (line 32) | WebsiteDefaultExpireDate = "9999-12-31" constant DirPerm (line 36) | DirPerm = 0755 constant FilePerm (line 37) | FilePerm = 0644 FILE: agent/constant/container.go constant ContainerOpStart (line 4) | ContainerOpStart = "start" constant ContainerOpStop (line 5) | ContainerOpStop = "stop" constant ContainerOpRestart (line 6) | ContainerOpRestart = "restart" constant ContainerOpKill (line 7) | ContainerOpKill = "kill" constant ContainerOpPause (line 8) | ContainerOpPause = "pause" constant ContainerOpUnpause (line 9) | ContainerOpUnpause = "unpause" constant ContainerOpRename (line 10) | ContainerOpRename = "rename" constant ContainerOpRemove (line 11) | ContainerOpRemove = "remove" constant ComposeOpStop (line 13) | ComposeOpStop = "stop" constant ComposeOpRestart (line 14) | ComposeOpRestart = "restart" constant ComposeOpRemove (line 15) | ComposeOpRemove = "remove" FILE: agent/constant/host_tool.go constant Supervisord (line 4) | Supervisord = "supervisord" constant Supervisor (line 5) | Supervisor = "supervisor" constant SupervisorConfigPath (line 6) | SupervisorConfigPath = "SupervisorConfigPath" constant SupervisorServiceName (line 7) | SupervisorServiceName = "SupervisorServiceName" FILE: agent/constant/nginx.go constant NginxScopeServer (line 4) | NginxScopeServer = "server" constant NginxScopeHttp (line 5) | NginxScopeHttp = "http" constant NginxScopeOut (line 6) | NginxScopeOut = "out" constant NginxReload (line 8) | NginxReload = "reload" constant NginxCheck (line 9) | NginxCheck = "check" constant NginxRestart (line 10) | NginxRestart = "restart" constant ConfigNew (line 12) | ConfigNew = "add" constant ConfigUpdate (line 13) | ConfigUpdate = "update" constant ConfigDel (line 14) | ConfigDel = "delete" FILE: agent/constant/runtime.go constant ResourceLocal (line 4) | ResourceLocal = "local" constant ResourceAppstore (line 5) | ResourceAppstore = "appstore" constant RuntimePHP (line 7) | RuntimePHP = "php" constant RuntimeNode (line 8) | RuntimeNode = "node" constant RuntimeJava (line 9) | RuntimeJava = "java" constant RuntimeGo (line 10) | RuntimeGo = "go" constant RuntimePython (line 11) | RuntimePython = "python" constant RuntimeDotNet (line 12) | RuntimeDotNet = "dotnet" constant RuntimeProxyUnix (line 14) | RuntimeProxyUnix = "unix" constant RuntimeProxyTcp (line 15) | RuntimeProxyTcp = "tcp" constant RuntimeUp (line 17) | RuntimeUp = "up" constant RuntimeDown (line 18) | RuntimeDown = "down" constant RuntimeRestart (line 19) | RuntimeRestart = "restart" constant RuntimeInstall (line 21) | RuntimeInstall = "install" constant RuntimeUninstall (line 22) | RuntimeUninstall = "uninstall" constant RuntimeUpdate (line 23) | RuntimeUpdate = "update" constant RuntimeNpm (line 25) | RuntimeNpm = "npm" constant RuntimeYarn (line 26) | RuntimeYarn = "yarn" FILE: agent/constant/status.go constant StatusRunning (line 4) | StatusRunning = "Running" constant StatusCanceled (line 5) | StatusCanceled = "Canceled" constant StatusDone (line 6) | StatusDone = "Done" constant StatusWaiting (line 7) | StatusWaiting = "Waiting" constant StatusPending (line 8) | StatusPending = "Pending" constant StatusSuccess (line 9) | StatusSuccess = "Success" constant StatusFailed (line 10) | StatusFailed = "Failed" constant StatusUploading (line 11) | StatusUploading = "Uploading" constant StatusEnable (line 12) | StatusEnable = "Enable" constant StatusDisable (line 13) | StatusDisable = "Disable" constant StatusNone (line 14) | StatusNone = "None" constant StatusDeleted (line 15) | StatusDeleted = "Deleted" constant StatusExecuting (line 16) | StatusExecuting = "Executing" constant StatusBuilding (line 17) | StatusBuilding = "Building" constant StatusReCreating (line 18) | StatusReCreating = "Recreating" constant StatusStopped (line 19) | StatusStopped = "Stopped" constant StatusCreating (line 20) | StatusCreating = "Creating" constant StatusStartErr (line 21) | StatusStartErr = "StartErr" constant StatusNormal (line 22) | StatusNormal = "Normal" constant StatusError (line 23) | StatusError = "Error" constant StatusStarting (line 24) | StatusStarting = "Starting" constant StatusRestarting (line 25) | StatusRestarting = "ReStarting" constant StatusUnHealthy (line 26) | StatusUnHealthy = "UnHealthy" constant StatusInstalling (line 27) | StatusInstalling = "Installing" constant StatusDownloadErr (line 28) | StatusDownloadErr = "DownloadErr" constant StatusUpgrading (line 29) | StatusUpgrading = "Upgrading" constant StatusUpgradeErr (line 30) | StatusUpgradeErr = "UpgradeErr" constant StatusRebuilding (line 31) | StatusRebuilding = "Rebuilding" constant StatusSyncing (line 32) | StatusSyncing = "Syncing" constant StatusSyncSuccess (line 33) | StatusSyncSuccess = "SyncSuccess" constant StatusPaused (line 34) | StatusPaused = "Paused" constant StatusUpErr (line 35) | StatusUpErr = "UpErr" constant StatusInstallErr (line 36) | StatusInstallErr = "InstallErr" constant StatusUninstalling (line 37) | StatusUninstalling = "Uninstalling" constant StatusWaitingRestart (line 38) | StatusWaitingRestart = "WaitingRestart" constant StatusUnexecuted (line 39) | StatusUnexecuted = "Unexecuted" constant OrderDesc (line 41) | OrderDesc = "descending" constant OrderAsc (line 42) | OrderAsc = "ascending" constant Desc (line 43) | Desc = "desc" constant Asc (line 44) | Asc = "asc" FILE: agent/constant/task.go constant TaskInstall (line 4) | TaskInstall = "installApp" constant TaskCreateWebsite (line 5) | TaskCreateWebsite = "createWebsite" FILE: agent/constant/website.go constant WebRunning (line 4) | WebRunning = "Running" constant WebStopped (line 5) | WebStopped = "Stopped" constant ProtocolHTTP (line 7) | ProtocolHTTP = "HTTP" constant ProtocolHTTPS (line 8) | ProtocolHTTPS = "HTTPS" constant ProtocolStream (line 9) | ProtocolStream = "TCP/UDP" constant NewApp (line 11) | NewApp = "new" constant InstalledApp (line 12) | InstalledApp = "installed" constant Deployment (line 14) | Deployment = "deployment" constant Static (line 15) | Static = "static" constant Proxy (line 16) | Proxy = "proxy" constant Runtime (line 17) | Runtime = "runtime" constant Subsite (line 18) | Subsite = "subsite" constant Stream (line 19) | Stream = "stream" constant SSLExisted (line 21) | SSLExisted = "existed" constant SSLAuto (line 22) | SSLAuto = "auto" constant SSLManual (line 23) | SSLManual = "manual" constant DNSAccount (line 25) | DNSAccount = "dnsAccount" constant DnsManual (line 26) | DnsManual = "dnsManual" constant Http (line 27) | Http = "http" constant Manual (line 28) | Manual = "manual" constant SelfSigned (line 29) | SelfSigned = "selfSigned" constant FromMaster (line 30) | FromMaster = "fromMaster" constant StartWeb (line 32) | StartWeb = "start" constant StopWeb (line 33) | StopWeb = "stop" constant SetHttps (line 34) | SetHttps = "setHttps" constant HTTPSOnly (line 36) | HTTPSOnly = "HTTPSOnly" constant HTTPAlso (line 37) | HTTPAlso = "HTTPAlso" constant HTTPToHTTPS (line 38) | HTTPToHTTPS = "HTTPToHTTPS" constant GetLog (line 40) | GetLog = "get" constant DisableLog (line 41) | DisableLog = "disable" constant EnableLog (line 42) | EnableLog = "enable" constant DeleteLog (line 43) | DeleteLog = "delete" constant AccessLog (line 45) | AccessLog = "access.log" constant ErrorLog (line 46) | ErrorLog = "error.log" constant ConfigPHP (line 48) | ConfigPHP = "php" constant ConfigFPM (line 49) | ConfigFPM = "fpm" constant SSLInit (line 51) | SSLInit = "init" constant SSLError (line 52) | SSLError = "error" constant SSLReady (line 53) | SSLReady = "ready" constant SSLApply (line 54) | SSLApply = "applying" constant SSLApplyError (line 55) | SSLApplyError = "applyError" FILE: agent/cron/cron.go function Run (line 20) | func Run() { function syncBeforeStart (line 89) | func syncBeforeStart() { FILE: agent/cron/job/app.go type app (line 8) | type app struct method Run (line 14) | func (a *app) Run() { function NewAppStoreJob (line 10) | func NewAppStoreJob() *app { FILE: agent/cron/job/backup.go type backup (line 13) | type backup struct method Run (line 19) | func (b *backup) Run() { function NewBackupJob (line 15) | func NewBackupJob() *backup { FILE: agent/cron/job/ssl.go type ssl (line 14) | type ssl struct method Run (line 21) | func (ssl *ssl) Run() { function NewSSLJob (line 17) | func NewSSLJob() *ssl { FILE: agent/cron/job/website.go type website (line 16) | type website struct method Run (line 22) | func (w *website) Run() { function NewWebsiteJob (line 18) | func NewWebsiteJob() *website { function stopWebsite (line 51) | func stopWebsite(websiteId uint, websiteName string, wg *sync.WaitGroup) { FILE: agent/global/config.go type ServerConfig (line 3) | type ServerConfig struct type Base (line 9) | type Base struct type SystemDir (line 20) | type SystemDir struct type LogConfig (line 48) | type LogConfig struct type DockerConfig (line 56) | type DockerConfig struct FILE: agent/global/global.go function RepoURL (line 44) | func RepoURL() string { function ResourceURL (line 50) | func ResourceURL() string { function AppRepoURL (line 56) | func AppRepoURL() string { FILE: agent/i18n/i18n.go function GetMsgWithMap (line 29) | func GetMsgWithMap(key string, maps map[string]interface{}) string { function GetMsgWithDetail (line 49) | func GetMsgWithDetail(key string, detail string) string { function GetErrMsg (line 65) | func GetErrMsg(key string, maps map[string]interface{}) string { function GetMsgByKey (line 80) | func GetMsgByKey(key string) string { function Get (line 87) | func Get(key string) string { function GetWithName (line 97) | func GetWithName(key string, name string) string { function GetWithNameAndErr (line 109) | func GetWithNameAndErr(key string, name string, err error) string { function UseI18n (line 126) | func UseI18n() gin.HandlerFunc { function Init (line 136) | func Init() { function GetLanguageFromDB (line 154) | func GetLanguageFromDB() string { FILE: agent/init/app/app.go function Init (line 7) | func Init() { FILE: agent/init/business/business.go function Init (line 12) | func Init() { function syncApp (line 22) | func syncApp() { function syncInstalledApp (line 36) | func syncInstalledApp() { function syncRuntime (line 42) | func syncRuntime() { function syncSSL (line 48) | func syncSSL() { function syncTask (line 54) | func syncTask() { function initAcmeAccount (line 60) | func initAcmeAccount() { function checkDockerCompose (line 83) | func checkDockerCompose() { FILE: agent/init/cache/cache.go function Init (line 8) | func Init() { FILE: agent/init/cache/db/db.go type Cache (line 9) | type Cache struct method Set (line 20) | func (c *Cache) Set(key string, value interface{}) { method SetWithTTL (line 24) | func (c *Cache) SetWithTTL(key string, value interface{}, d time.Durat... method Del (line 27) | func (c *Cache) Del(key string) { method Clean (line 31) | func (c *Cache) Clean() error { method Get (line 35) | func (c *Cache) Get(key string) string { method PrefixScanKey (line 43) | func (c *Cache) PrefixScanKey(prefixStr string) []string { function NewCacheDB (line 13) | func NewCacheDB() *Cache { FILE: agent/init/db/db.go function Init (line 11) | func Init() { FILE: agent/init/dir/dir.go function Init (line 10) | func Init() { FILE: agent/init/firewall/firewall.go function Init (line 17) | func Init() { function needInit (line 113) | func needInit() bool { function InitPingStatus (line 127) | func InitPingStatus() { FILE: agent/init/hook/hook.go function Init (line 18) | func Init() { function initGlobalData (line 33) | func initGlobalData() { function handleSnapStatus (line 50) | func handleSnapStatus() { function handleCronjobStatus (line 73) | func handleCronjobStatus() { function handleClamStatus (line 95) | func handleClamStatus() { function handleRecordStatus (line 103) | func handleRecordStatus() { function handleOllamaModelStatus (line 110) | func handleOllamaModelStatus() { function handleCronJobAlert (line 117) | func handleCronJobAlert(cronjob *model.Cronjob) { function loadLocalDir (line 127) | func loadLocalDir() { function initDockerConf (line 142) | func initDockerConf() { function initAlertTask (line 153) | func initAlertTask() { function initMonitorDB (line 157) | func initMonitorDB() { FILE: agent/init/lang/lang.go function Init (line 15) | func Init() { function initLang (line 19) | func initLang() { function loadRestorePath (line 84) | func loadRestorePath(upgradeDir string) (string, error) { function downloadLangFromRemote (line 107) | func downloadLangFromRemote(fileOp files.FileOp) { function downloadGeoFromRemote (line 124) | func downloadGeoFromRemote(fileOp files.FileOp, targetPath string) { FILE: agent/init/log/log.go constant TimeFormat (line 18) | TimeFormat = "2006-01-02 15:04:05" constant FileTImeFormat (line 19) | FileTImeFormat = "2006-01-02" constant RollingTimePattern (line 20) | RollingTimePattern = "0 0 * * *" function Init (line 23) | func Init() { function setOutput (line 30) | func setOutput(logger *logrus.Logger, config global.LogConfig) { type MineFormatter (line 53) | type MineFormatter struct method Format (line 55) | func (s *MineFormatter) Format(entry *logrus.Entry) ([]byte, error) { FILE: agent/init/migration/migrate.go function Init (line 10) | func Init() { function InitAgentDB (line 16) | func InitAgentDB() { function InitTaskDB (line 87) | func InitTaskDB() { FILE: agent/init/migration/migrations/utils/agent_account_model_pool.go type legacyAgentAccountModelPoolSource (line 14) | type legacyAgentAccountModelPoolSource struct function MigrateAgentAccountModelPool (line 20) | func MigrateAgentAccountModelPool(tx *gorm.DB) error { function buildMigratedAgentAccountModels (line 63) | func buildMigratedAgentAccountModels(tx *gorm.DB, account *legacyAgentAc... FILE: agent/init/migration/migrations/utils/openclaw_agent.go type OpenclawMeta (line 11) | type OpenclawMeta struct function GetEnvStr (line 19) | func GetEnvStr(envMap map[string]interface{}, key string) string { function ParseOpenclawMeta (line 34) | func ParseOpenclawMeta(fileData []byte) OpenclawMeta { function NormalizeOpenclawProvider (line 79) | func NormalizeOpenclawProvider(provider, baseURL string) string { function DefaultBaseURL (line 95) | func DefaultBaseURL(provider string) (string, bool) { function getNestedMap (line 99) | func getNestedMap(data map[string]interface{}, keys ...string) map[strin... function getNestedString (line 111) | func getNestedString(data map[string]interface{}, keys ...string) string { function getString (line 135) | func getString(data map[string]interface{}, key string) string { function getProviderFirstModelID (line 151) | func getProviderFirstModelID(data map[string]interface{}) string { FILE: agent/init/migration/migrations/utils/openclaw_caddyfile.go constant openclawVersionWithBundledCaddyMigration (line 14) | openclawVersionWithBundledCaddyMigration = "2026.3.13" function RewriteOpenclawCaddyfileForVersion (line 17) | func RewriteOpenclawCaddyfileForVersion(tx *gorm.DB, version string) err... function RewriteOpenclawBundledCaddyfile (line 40) | func RewriteOpenclawBundledCaddyfile(tx *gorm.DB) error { FILE: agent/init/router/router.go function Routers (line 16) | func Routers() *gin.Engine { FILE: agent/init/validator/validator.go function Init (line 12) | func Init() { function checkNamePattern (line 26) | func checkNamePattern(fl validator.FieldLevel) bool { function checkIpPattern (line 31) | func checkIpPattern(fl validator.FieldLevel) bool { function checkPasswordPattern (line 36) | func checkPasswordPattern(fl validator.FieldLevel) bool { FILE: agent/init/viper/viper.go function Init (line 17) | func Init() { function initBaseInfo (line 58) | func initBaseInfo() { FILE: agent/log/config.go type Config (line 20) | type Config struct type Manager (line 29) | type Manager interface type RollingWriter (line 34) | type RollingWriter interface function FilePath (line 39) | func FilePath(c *Config) (filepath string) { FILE: agent/log/dup_write_darwin.go function dupWrite (line 11) | func dupWrite(file *os.File) error { FILE: agent/log/dup_write_linux.go function dupWrite (line 11) | func dupWrite(file *os.File) error { FILE: agent/log/dup_write_windows.go function dupWrite (line 7) | func dupWrite(file *os.File) error { FILE: agent/log/manager.go type manager (line 10) | type manager struct method Fire (line 19) | func (m *manager) Fire() chan string { method Close (line 23) | func (m *manager) Close() { method GenLogFileName (line 47) | func (m *manager) GenLogFileName(c *Config) (filename string) { function NewManager (line 28) | func NewManager(c *Config) (Manager, error) { FILE: agent/log/writer.go type Writer (line 18) | type Writer struct method DoRemove (line 193) | func (w *Writer) DoRemove() { method Write (line 200) | func (w *Writer) Write(b []byte) (int, error) { method Reopen (line 218) | func (w *Writer) Reopen(file string) error { type AsynchronousWriter (line 27) | type AsynchronousWriter struct method Close (line 36) | func (w *AsynchronousWriter) Close() error { method onClose (line 54) | func (w *AsynchronousWriter) onClose() { method writer (line 173) | func (w *AsynchronousWriter) writer() { function NewWriterFromConfig (line 80) | func NewWriterFromConfig(c *Config) (RollingWriter, error) { FILE: agent/middleware/certificate.go function Certificate (line 16) | func Certificate() gin.HandlerFunc { function CloseDirectly (line 41) | func CloseDirectly(c *gin.Context) { FILE: agent/middleware/operation.go constant headerNeedOperationResolve (line 26) | headerNeedOperationResolve = "X-Need-Op-Resolve" constant headerOperationResolved (line 27) | headerOperationResolved = "X-Op-Resolved" type operationMeta (line 36) | type operationMeta struct type functionInfo (line 41) | type functionInfo struct function OperationResolveMeta (line 50) | func OperationResolveMeta() gin.HandlerFunc { function loadOperationMeta (line 100) | func loadOperationMeta() (map[string]operationMeta, error) { function parseMultipart (line 108) | func parseMultipart(formData []byte, contentType string) (map[string]int... function resolveOperationValues (line 137) | func resolveOperationValues(pathItem string, values map[string]interface... function newResolveDB (line 170) | func newResolveDB(pathItem string) (*gorm.DB, error) { function closeResolveDB (line 198) | func closeResolveDB(db *gorm.DB) { function isSafeIdentifier (line 206) | func isSafeIdentifier(val string) bool { FILE: agent/router/backup.go type BackupRouter (line 8) | type BackupRouter struct method InitRouter (line 10) | func (s *BackupRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/common.go function commonGroups (line 3) | func commonGroups() []CommonRouter { FILE: agent/router/entry.go function RouterGroups (line 5) | func RouterGroups() []CommonRouter { FILE: agent/router/ro_ai.go type AIToolsRouter (line 8) | type AIToolsRouter struct method InitRouter (line 11) | func (a *AIToolsRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_alert.go type AlertRouter (line 8) | type AlertRouter struct method InitRouter (line 11) | func (a *AlertRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_app.go type AppRouter (line 8) | type AppRouter struct method InitRouter (line 11) | func (a *AppRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_container.go type ContainerRouter (line 8) | type ContainerRouter struct method InitRouter (line 10) | func (s *ContainerRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_cronjob.go type CronjobRouter (line 8) | type CronjobRouter struct method InitRouter (line 10) | func (s *CronjobRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_dashboard.go type DashboardRouter (line 8) | type DashboardRouter struct method InitRouter (line 10) | func (s *DashboardRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_database.go type DatabaseRouter (line 8) | type DatabaseRouter struct method InitRouter (line 10) | func (s *DatabaseRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_file.go type FileRouter (line 8) | type FileRouter struct method InitRouter (line 11) | func (f *FileRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_group.go type GroupRouter (line 8) | type GroupRouter struct method InitRouter (line 11) | func (a *GroupRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_host.go type HostRouter (line 8) | type HostRouter struct method InitRouter (line 10) | func (s *HostRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_log.go type LogRouter (line 8) | type LogRouter struct method InitRouter (line 10) | func (s *LogRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_nginx.go type NginxRouter (line 8) | type NginxRouter struct method InitRouter (line 11) | func (a *NginxRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_process.go type ProcessRouter (line 8) | type ProcessRouter struct method InitRouter (line 11) | func (f *ProcessRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_router.go type CommonRouter (line 5) | type CommonRouter interface FILE: agent/router/ro_runtime.go type RuntimeRouter (line 8) | type RuntimeRouter struct method InitRouter (line 11) | func (r *RuntimeRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_setting.go type SettingRouter (line 8) | type SettingRouter struct method InitRouter (line 10) | func (s *SettingRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_toolbox.go type ToolboxRouter (line 8) | type ToolboxRouter struct method InitRouter (line 10) | func (s *ToolboxRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_website.go type WebsiteRouter (line 8) | type WebsiteRouter struct method InitRouter (line 11) | func (a *WebsiteRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_website_acme_account.go type WebsiteAcmeAccountRouter (line 8) | type WebsiteAcmeAccountRouter struct method InitRouter (line 11) | func (a *WebsiteAcmeAccountRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_website_ca.go type WebsiteCARouter (line 8) | type WebsiteCARouter struct method InitRouter (line 11) | func (a *WebsiteCARouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_website_dns_account.go type WebsiteDnsAccountRouter (line 8) | type WebsiteDnsAccountRouter struct method InitRouter (line 11) | func (a *WebsiteDnsAccountRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/router/ro_website_ssl.go type WebsiteSSLRouter (line 8) | type WebsiteSSLRouter struct method InitRouter (line 11) | func (a *WebsiteSSLRouter) InitRouter(Router *gin.RouterGroup) { FILE: agent/server/init.go function InitOthers (line 5) | func InitOthers() { FILE: agent/server/server.go function Start (line 35) | func Start() { FILE: agent/utils/ai_tools/gpu/common/gpu_info.go type GpuInfo (line 3) | type GpuInfo struct type GPU (line 11) | type GPU struct type Process (line 32) | type Process struct FILE: agent/utils/ai_tools/gpu/gpu.go type NvidiaSMI (line 19) | type NvidiaSMI struct method LoadGpuInfo (line 25) | func (n NvidiaSMI) LoadGpuInfo() (*common.GpuInfo, error) { function New (line 21) | func New() (bool, NvidiaSMI) { FILE: agent/utils/ai_tools/gpu/schema/parser.go function Parse (line 9) | func Parse(buf []byte, version string) (*common.GpuInfo, error) { FILE: agent/utils/ai_tools/gpu/schema/types.go type smi (line 3) | type smi struct FILE: agent/utils/ai_tools/xpu/types.go type DeviceUtilByProc (line 3) | type DeviceUtilByProc struct type DeviceUtilByProcList (line 11) | type DeviceUtilByProcList struct type Device (line 15) | type Device struct type DeviceInfo (line 31) | type DeviceInfo struct type DeviceLevelMetric (line 35) | type DeviceLevelMetric struct type DeviceStats (line 40) | type DeviceStats struct FILE: agent/utils/ai_tools/xpu/xpu.go type XpuSMI (line 15) | type XpuSMI struct method loadDeviceData (line 21) | func (x XpuSMI) loadDeviceData(device Device, wg *sync.WaitGroup, res ... method LoadDashData (line 94) | func (x XpuSMI) LoadDashData() ([]XPUSimpleInfo, error) { method LoadGpuInfo (line 123) | func (x XpuSMI) LoadGpuInfo() (*XpuInfo, error) { method loadDeviceInfo (line 176) | func (x XpuSMI) loadDeviceInfo(device Device, wg *sync.WaitGroup, res ... function New (line 17) | func New() (bool, XpuSMI) { FILE: agent/utils/ai_tools/xpu/xpu_info.go type XpuInfo (line 3) | type XpuInfo struct type Xpu (line 10) | type Xpu struct type Basic (line 16) | type Basic struct type Stats (line 26) | type Stats struct type Process (line 34) | type Process struct type XPUSimpleInfo (line 41) | type XPUSimpleInfo struct FILE: agent/utils/alert/alert.go function CreateTaskScanEmailAlertLog (line 31) | func CreateTaskScanEmailAlertLog(alert dto.AlertDTO, create dto.AlertLog... function CreateEmailAlertLog (line 40) | func CreateEmailAlertLog(create dto.AlertLogCreate, alert dto.AlertDTO, ... function SaveAlertLog (line 106) | func SaveAlertLog(create dto.AlertLogCreate, alertLog *model.AlertLog) e... function CreateNewAlertTask (line 120) | func CreateNewAlertTask(quota, alertType, quotaType, method string) { function ProcessAlertDetail (line 135) | func ProcessAlertDetail(alert dto.AlertDTO, project string, params []dto... function ProcessAlertRule (line 152) | func ProcessAlertRule(alert dto.AlertDTO) string { function GetCronJobType (line 161) | func GetCronJobType(alertType string) string { function GetCronJobTypeName (line 170) | func GetCronJobTypeName(cronJobType string) string { function CreateAlertParams (line 200) | func CreateAlertParams(param string) []dto.Param { function CheckSMSSendLimit (line 212) | func CheckSMSSendLimit(method string) bool { type Settings (line 241) | type Settings struct type Category (line 246) | type Category struct function CheckSendTimeRange (line 251) | func CheckSendTimeRange(alertType string) bool { function contains (line 279) | func contains(arr []string, target string) bool { function isWithinTimeRange (line 288) | func isWithinTimeRange(savedTimeString string) bool { function GetSendContent (line 311) | func GetSendContent(alertType string, params []dto.Param, agentInfo *dto... function getValueByIndex (line 352) | func getValueByIndex(params []dto.Param, index string) string { function CountRecentFailedLoginLogs (line 361) | func CountRecentFailedLoginLogs(minutes uint, failCount uint) (int, bool... function FindRecentSuccessLoginsNotInWhitelist (line 374) | func FindRecentSuccessLoginsNotInWhitelist(minutes int, whitelist []stri... function CountRecentFailedSSHLog (line 400) | func CountRecentFailedSSHLog(minutes uint, maxAllowed uint) (int, bool, ... function FindRecentSuccessLoginNotInWhitelist (line 425) | func FindRecentSuccessLoginNotInWhitelist(minutes int, whitelist []strin... function findGrepPath (line 464) | func findGrepPath() (string, error) { function grepSSHLog (line 472) | func grepSSHLog(keywords []string) ([]string, error) { function parseLogTime (line 515) | func parseLogTime(line string) (time.Time, error) { function getNodeName (line 527) | func getNodeName(agentInfo *dto.AgentInfo) string { function getNodeIp (line 536) | func getNodeIp(agentInfo *dto.AgentInfo) string { function formatWithFallback (line 545) | func formatWithFallback(value string, fallback func() string) string { function getFallbackHostname (line 558) | func getFallbackHostname() string { function getFallbackIP (line 566) | func getFallbackIP() string { function loadOutboundIP (line 573) | func loadOutboundIP() string { function ParseAlertSmsConfig (line 584) | func ParseAlertSmsConfig(configJSON string) (dto.AlertSmsConfig, error) { FILE: agent/utils/alert_push/alert_push.go function PushAlert (line 15) | func PushAlert(pushAlert dto.PushAlert) error { FILE: agent/utils/appicon/appicon.go constant IconPrefix (line 14) | IconPrefix = "app_" function IsIconFile (line 16) | func IsIconFile(icon string) bool { function ParseIconField (line 20) | func ParseIconField(icon string) (fileName, etag string) { function BuildIconField (line 35) | func BuildIconField(fileName, etag string) string { function GetIconFilePath (line 42) | func GetIconFilePath(fileName string) string { function BuildIconFileName (line 46) | func BuildIconFileName(appKey, ext string) string { constant ContentTypePNG (line 50) | ContentTypePNG = "image/png" function WriteIconFile (line 52) | func WriteIconFile(appKey string, data []byte) (fileName string, err err... function CleanOldIconFiles (line 62) | func CleanOldIconFiles(appKey string) error { function ReadIconFile (line 79) | func ReadIconFile(fileName string) ([]byte, error) { function IconFileExists (line 84) | func IconFileExists(fileName string) bool { function GetETagFromIconField (line 90) | func GetETagFromIconField(icon string) string { FILE: agent/utils/clam/clam.go function AddScanTask (line 21) | func AddScanTask(taskItem *task.Task, clam model.Clam, timeNow string) { function AnalysisFromLog (line 44) | func AnalysisFromLog(pathItem string, record *model.ClamRecord) { function CheckWithStopAll (line 66) | func CheckWithStopAll(withCheck bool, clamRepo repo.IClamRepo) bool { FILE: agent/utils/cloud_storage/client/ali.go type aliClient (line 17) | type aliClient struct method ListBuckets (line 33) | func (a aliClient) ListBuckets() ([]interface{}, error) { method Exist (line 37) | func (a aliClient) Exist(pathItem string) (bool, error) { method Size (line 45) | func (a aliClient) Size(pathItem string) (int64, error) { method Delete (line 54) | func (a aliClient) Delete(pathItem string) (bool, error) { method Upload (line 82) | func (a aliClient) Upload(src, target string) (bool, error) { method Download (line 141) | func (a aliClient) Download(src, target string) (bool, error) { method ListObjects (line 179) | func (a *aliClient) ListObjects(src string) ([]string, error) { method loadFileWithName (line 196) | func (a aliClient) loadFileWithName(pathItem string) (fileInfo, error) { method loadDirWithPath (line 234) | func (a aliClient) loadDirWithPath(path string) ([]fileInfo, error) { method loadFileWithParentID (line 266) | func (a aliClient) loadFileWithParentID(parentID string) ([]fileInfo, ... method mkdirWithPath (line 295) | func (a aliClient) mkdirWithPath(target string) (string, error) { method mkdir (line 338) | func (a aliClient) mkdir(parentID, name string) (string, error) { method uploadPart (line 416) | func (a aliClient) uploadPart(uri string, reader io.Reader) error { method handleDownload (line 439) | func (a aliClient) handleDownload(uri string, target string) error { method completeUpload (line 472) | func (a *aliClient) completeUpload(uploadID, fileID string) error { function NewALIClient (line 22) | func NewALIClient(vars map[string]interface{}) (*aliClient, error) { type fileResp (line 368) | type fileResp struct type fileInfo (line 371) | type fileInfo struct type mkdirResp (line 377) | type mkdirResp struct type partInfo (line 381) | type partInfo struct function makePartInfoList (line 388) | func makePartInfoList(size int64) []*partInfo { type createFileResp (line 403) | type createFileResp struct type downloadResp (line 435) | type downloadResp struct type tokenResp (line 498) | type tokenResp struct function loadToken (line 503) | func loadToken(refresh_token string) (string, error) { function RefreshALIToken (line 531) | func RefreshALIToken(varMap map[string]interface{}) (string, error) { FILE: agent/utils/cloud_storage/client/cos.go type cosClient (line 15) | type cosClient struct method ListBuckets (line 63) | func (c cosClient) ListBuckets() ([]interface{}, error) { method Exist (line 75) | func (c cosClient) Exist(path string) (bool, error) { method Size (line 83) | func (c cosClient) Size(path string) (int64, error) { method Delete (line 94) | func (c cosClient) Delete(path string) (bool, error) { method Upload (line 101) | func (c cosClient) Upload(src, target string) (bool, error) { method Download (line 134) | func (c cosClient) Download(src, target string) (bool, error) { method ListObjects (line 141) | func (c cosClient) ListObjects(prefix string) ([]string, error) { function NewCosClient (line 21) | func NewCosClient(vars map[string]interface{}) (*cosClient, error) { FILE: agent/utils/cloud_storage/client/google_drive.go type googleDriveClient (line 17) | type googleDriveClient struct method ListBuckets (line 29) | func (g *googleDriveClient) ListBuckets() ([]interface{}, error) { method Exist (line 33) | func (g *googleDriveClient) Exist(pathItem string) (bool, error) { method Size (line 41) | func (g *googleDriveClient) Size(pathItem string) (int64, error) { method Delete (line 51) | func (g *googleDriveClient) Delete(pathItem string) (bool, error) { method Upload (line 66) | func (g *googleDriveClient) Upload(src, target string) (bool, error) { method Download (line 145) | func (g *googleDriveClient) Download(src, target string) (bool, error) { method ListObjects (line 158) | func (g *googleDriveClient) ListObjects(src string) ([]string, error) { method mkdirWithPath (line 184) | func (g *googleDriveClient) mkdirWithPath(target string) (string, erro... method mkdir (line 231) | func (g *googleDriveClient) mkdir(parentID, name string) (string, erro... method handleDownload (line 250) | func (g *googleDriveClient) handleDownload(urlItem string, target stri... method loadFileWithName (line 281) | func (g *googleDriveClient) loadFileWithName(pathItem string) (googleF... method loadFileWithParentID (line 319) | func (g *googleDriveClient) loadFileWithParentID(parentID string) ([]g... method loadDirWithPath (line 338) | func (g googleDriveClient) loadDirWithPath(path string) ([]googleFile,... method googleRequest (line 372) | func (g *googleDriveClient) googleRequest(urlItem, method string, call... function NewGoogleDriveClient (line 21) | func NewGoogleDriveClient(vars map[string]interface{}) (*googleDriveClie... function uploadChunk (line 125) | func uploadChunk(client *resty.Client, uploadURL string, chunk []byte, s... type googleFileResp (line 175) | type googleFileResp struct type googleFile (line 178) | type googleFile struct type googleMkdirRes (line 227) | type googleMkdirRes struct type reqCallback (line 370) | type reqCallback type googleTokenRes (line 397) | type googleTokenRes struct function RefreshGoogleToken (line 402) | func RefreshGoogleToken(grantType string, tokenType string, varMap map[s... FILE: agent/utils/cloud_storage/client/helper.go function loadParamFromVars (line 9) | func loadParamFromVars(key string, vars map[string]interface{}) string { FILE: agent/utils/cloud_storage/client/helper/webdav/auth.go type AuthFactory (line 12) | type AuthFactory type Authorizer (line 14) | type Authorizer interface type Authenticator (line 19) | type Authenticator interface type authfactory (line 26) | type authfactory struct type authorizer (line 31) | type authorizer struct method NewAuthenticator (line 71) | func (a *authorizer) NewAuthenticator(body io.Reader) (Authenticator, ... method AddAuthenticator (line 89) | func (a *authorizer) AddAuthenticator(key string, fn AuthFactory) { method factory (line 99) | func (a *authorizer) factory(c *http.Client, rs *http.Response, path s... method setDefaultAuthenticator (line 133) | func (a *authorizer) setDefaultAuthenticator(auth Authenticator) { type authShim (line 37) | type authShim struct method Authorize (line 140) | func (s *authShim) Authorize(c *http.Client, rq *http.Request, path st... method Verify (line 159) | func (s *authShim) Verify(c *http.Client, rs *http.Response, path stri... method Close (line 173) | func (s *authShim) Close() error { method Clone (line 184) | func (s *authShim) Clone() Authenticator { method String (line 188) | func (s *authShim) String() string { type negoAuth (line 43) | type negoAuth struct method Authorize (line 192) | func (n *negoAuth) Authorize(c *http.Client, rq *http.Request, path st... method Verify (line 199) | func (n *negoAuth) Verify(c *http.Client, rs *http.Response, path stri... method Close (line 222) | func (n *negoAuth) Close() error { method Clone (line 230) | func (n *negoAuth) Clone() Authenticator { method String (line 238) | func (n *negoAuth) String() string { type nullAuth (line 48) | type nullAuth struct method Authorize (line 265) | func (n *nullAuth) Authorize(c *http.Client, rq *http.Request, path st... method Verify (line 270) | func (n *nullAuth) Verify(c *http.Client, rs *http.Response, path stri... method Close (line 274) | func (n *nullAuth) Close() error { method Clone (line 278) | func (n *nullAuth) Clone() Authenticator { method String (line 282) | func (n *nullAuth) String() string { type noAuth (line 50) | type noAuth struct method Authorize (line 242) | func (n *noAuth) Authorize(c *http.Client, rq *http.Request, path stri... method Verify (line 246) | func (n *noAuth) Verify(c *http.Client, rs *http.Response, path string... method Close (line 253) | func (n *noAuth) Close() error { method Clone (line 257) | func (n *noAuth) Clone() Authenticator { method String (line 261) | func (n *noAuth) String() string { function NewAutoAuth (line 52) | func NewAutoAuth(login string, secret string) Authorizer { FILE: agent/utils/cloud_storage/client/helper/webdav/auth_basic.go type BasicAuth (line 8) | type BasicAuth struct method Authorize (line 13) | func (b *BasicAuth) Authorize(c *http.Client, rq *http.Request, path s... method Verify (line 18) | func (b *BasicAuth) Verify(c *http.Client, rs *http.Response, path str... method Close (line 25) | func (b *BasicAuth) Close() error { method Clone (line 29) | func (b *BasicAuth) Clone() Authenticator { method String (line 34) | func (b *BasicAuth) String() string { FILE: agent/utils/cloud_storage/client/helper/webdav/auth_digest.go type DigestAuth (line 14) | type DigestAuth struct method Authorize (line 24) | func (d *DigestAuth) Authorize(c *http.Client, rq *http.Request, path ... method Verify (line 33) | func (d *DigestAuth) Verify(c *http.Client, rs *http.Response, path st... method Close (line 45) | func (d *DigestAuth) Close() error { method Clone (line 49) | func (d *DigestAuth) Clone() Authenticator { method String (line 57) | func (d *DigestAuth) String() string { function NewDigestAuth (line 20) | func NewDigestAuth(login, secret string, rs *http.Response) (Authenticat... function digestParts (line 61) | func digestParts(resp *http.Response) map[string]string { function getMD5 (line 80) | func getMD5(text string) string { function getCnonce (line 86) | func getCnonce() string { function getDigestAuthorization (line 92) | func getDigestAuthorization(digestParts map[string]string) string { function isStaled (line 161) | func isStaled(rs *http.Response) bool { FILE: agent/utils/cloud_storage/client/helper/webdav/auth_passport.go type PassportAuth (line 11) | type PassportAuth struct method Authorize (line 28) | func (p *PassportAuth) Authorize(c *http.Client, rq *http.Request, pat... method Verify (line 40) | func (p *PassportAuth) Verify(c *http.Client, rs *http.Response, path ... method Close (line 55) | func (p *PassportAuth) Close() error { method Clone (line 59) | func (p *PassportAuth) Clone() Authenticator { method String (line 71) | func (p *PassportAuth) String() string { method genCookies (line 75) | func (p *PassportAuth) genCookies(c *http.Client, partnerUrl string, h... function NewPassportAuth (line 18) | func NewPassportAuth(c *http.Client, user, pw, partnerURL string, header... FILE: agent/utils/cloud_storage/client/helper/webdav/errors.go type StatusError (line 13) | type StatusError struct method Error (line 17) | func (se StatusError) Error() string { function NewPathError (line 21) | func NewPathError(op string, path string, statusCode int) error { function NewPathErrorErr (line 29) | func NewPathErrorErr(op string, path string, err error) error { FILE: agent/utils/cloud_storage/client/helper/webdav/file.go type File (line 9) | type File struct method Name (line 19) | func (f File) Name() string { method ContentType (line 23) | func (f File) ContentType() string { method Size (line 27) | func (f File) Size() int64 { method Mode (line 31) | func (f File) Mode() os.FileMode { method ModTime (line 39) | func (f File) ModTime() time.Time { method ETag (line 43) | func (f File) ETag() string { method IsDir (line 47) | func (f File) IsDir() bool { method Sys (line 51) | func (f File) Sys() interface{} { method String (line 55) | func (f File) String() string { FILE: agent/utils/cloud_storage/client/helper/webdav/reques.go method req (line 10) | func (c *Client) req(method, path string, body io.Reader, intercept func... method propfind (line 59) | func (c *Client) propfind(path string, self bool, body string, resp inte... method put (line 84) | func (c *Client) put(path string, stream io.Reader, contentLength int64)... FILE: agent/utils/cloud_storage/client/helper/webdav/utils.go function PathEscape (line 12) | func PathEscape(path string) string { function FixSlash (line 20) | func FixSlash(s string) string { function SplitPathToHierarchy (line 27) | func SplitPathToHierarchy(fullPath string) []string { function FixSlashes (line 53) | func FixSlashes(s string) string { function Join (line 61) | func Join(path0 string, path1 string) string { function parseInt64 (line 65) | func parseInt64(s *string) int64 { function parseXML (line 72) | func parseXML(data io.Reader, resp interface{}, parse func(resp interfac... FILE: agent/utils/cloud_storage/client/helper/webdav/webdav.go constant XInhibitRedirect (line 15) | XInhibitRedirect = "X-Gowebdav-Inhibit-Redirect" constant template (line 16) | template = ` type Client (line 24) | type Client struct method SetTransport (line 50) | func (c *Client) SetTransport(transport http.RoundTripper) { method Connect (line 54) | func (c *Client) Connect() error { method ReadDir (line 89) | func (c *Client) ReadDir(path string) ([]os.FileInfo, error) { method Stat (line 137) | func (c *Client) Stat(path string) (os.FileInfo, error) { method RemoveAll (line 171) | func (c *Client) RemoveAll(path string) error { method MkdirAll (line 183) | func (c *Client) MkdirAll(path string, _ os.FileMode) (err error) { method ReadStream (line 207) | func (c *Client) ReadStream(path string) (io.ReadCloser, error) { method WriteStream (line 221) | func (c *Client) WriteStream(path string, stream io.Reader, _ os.FileM... function NewClient (line 31) | func NewClient(uri, user, pw string) *Client { function NewAuthClient (line 35) | func NewAuthClient(uri string, auth Authorizer) *Client { type props (line 68) | type props struct type response (line 75) | type response struct function getProps (line 80) | func getProps(r *response, status string) *props { FILE: agent/utils/cloud_storage/client/kodo.go type kodoClient (line 13) | type kodoClient struct method ListBuckets (line 39) | func (k kodoClient) ListBuckets() ([]interface{}, error) { method Exist (line 51) | func (k kodoClient) Exist(path string) (bool, error) { method Size (line 58) | func (k kodoClient) Size(path string) (int64, error) { method Delete (line 66) | func (k kodoClient) Delete(path string) (bool, error) { method Upload (line 73) | func (k kodoClient) Upload(src, target string) (bool, error) { method Download (line 93) | func (k kodoClient) Download(src, target string) (bool, error) { method ListObjects (line 104) | func (k kodoClient) ListObjects(prefix string) ([]string, error) { function NewKodoClient (line 21) | func NewKodoClient(vars map[string]interface{}) (*kodoClient, error) { FILE: agent/utils/cloud_storage/client/local.go type localClient (line 11) | type localClient struct method ListBuckets (line 17) | func (c localClient) ListBuckets() ([]interface{}, error) { method Exist (line 21) | func (c localClient) Exist(file string) (bool, error) { method Size (line 26) | func (c localClient) Size(file string) (int64, error) { method Delete (line 34) | func (c localClient) Delete(file string) (bool, error) { method Upload (line 41) | func (c localClient) Upload(src, target string) (bool, error) { method Download (line 59) | func (c localClient) Download(src, target string) (bool, error) { method ListObjects (line 77) | func (c localClient) ListObjects(prefix string) ([]string, error) { function NewLocalClient (line 13) | func NewLocalClient(vars map[string]interface{}) (*localClient, error) { FILE: agent/utils/cloud_storage/client/minio.go type minIoClient (line 17) | type minIoClient struct method ListBuckets (line 52) | func (m minIoClient) ListBuckets() ([]interface{}, error) { method Exist (line 64) | func (m minIoClient) Exist(path string) (bool, error) { method Size (line 71) | func (m minIoClient) Size(path string) (int64, error) { method Delete (line 83) | func (m minIoClient) Delete(path string) (bool, error) { method Upload (line 101) | func (m minIoClient) Upload(src, target string) (bool, error) { method Download (line 119) | func (m minIoClient) Download(src, target string) (bool, error) { method ListObjects (line 136) | func (m minIoClient) ListObjects(prefix string) ([]string, error) { function NewMinIoClient (line 22) | func NewMinIoClient(vars map[string]interface{}) (*minIoClient, error) { FILE: agent/utils/cloud_storage/client/onedrive.go type oneDriveClient (line 25) | type oneDriveClient struct method ListBuckets (line 48) | func (o oneDriveClient) ListBuckets() ([]interface{}, error) { method Exist (line 52) | func (o oneDriveClient) Exist(path string) (bool, error) { method Size (line 62) | func (o oneDriveClient) Size(path string) (int64, error) { method Delete (line 86) | func (o oneDriveClient) Delete(path string) (bool, error) { method Upload (line 99) | func (o oneDriveClient) Upload(src, target string) (bool, error) { method Download (line 131) | func (o oneDriveClient) Download(src, target string) (bool, error) { method ListObjects (line 163) | func (o *oneDriveClient) ListObjects(prefix string) ([]string, error) { method loadIDByPath (line 186) | func (o *oneDriveClient) loadIDByPath(path string) (string, error) { method createFolder (line 256) | func (o *oneDriveClient) createFolder(parent string) error { method NewSessionFileUploadRequest (line 294) | func (o *oneDriveClient) NewSessionFileUploadRequest(absoluteUrl strin... method upSmall (line 314) | func (o *oneDriveClient) upSmall(srcPath, folderID string, fileSize in... method upBig (line 338) | func (o *oneDriveClient) upBig(ctx context.Context, srcPath, folderID ... function NewOneDriveClient (line 29) | func NewOneDriveClient(vars map[string]interface{}) (*oneDriveClient, er... type myDriverItem (line 80) | type myDriverItem struct function RefreshToken (line 202) | func RefreshToken(grantType string, tokenType string, varMap map[string]... type NewUploadSessionCreationRequest (line 273) | type NewUploadSessionCreationRequest struct type NewUploadSessionCreationResponse (line 276) | type NewUploadSessionCreationResponse struct type UploadSessionUploadResponse (line 280) | type UploadSessionUploadResponse struct type DriveItem (line 285) | type DriveItem struct FILE: agent/utils/cloud_storage/client/oss.go type ossClient (line 9) | type ossClient struct method ListBuckets (line 32) | func (o ossClient) ListBuckets() ([]interface{}, error) { method Exist (line 44) | func (o ossClient) Exist(path string) (bool, error) { method Size (line 52) | func (o ossClient) Size(path string) (int64, error) { method Delete (line 67) | func (o ossClient) Delete(path string) (bool, error) { method Upload (line 78) | func (o ossClient) Upload(src, target string) (bool, error) { method Download (line 93) | func (o ossClient) Download(src, target string) (bool, error) { method ListObjects (line 104) | func (o *ossClient) ListObjects(prefix string) ([]string, error) { function NewOssClient (line 15) | func NewOssClient(vars map[string]interface{}) (*ossClient, error) { FILE: agent/utils/cloud_storage/client/s3.go type s3Client (line 14) | type s3Client struct method ListBuckets (line 46) | func (s s3Client) ListBuckets() ([]interface{}, error) { method Exist (line 59) | func (s s3Client) Exist(path string) (bool, error) { method Size (line 76) | func (s *s3Client) Size(path string) (int64, error) { method Delete (line 88) | func (s s3Client) Delete(path string) (bool, error) { method Upload (line 102) | func (s s3Client) Upload(src, target string) (bool, error) { method Download (line 128) | func (s s3Client) Download(src, target string) (bool, error) { method ListObjects (line 148) | func (s *s3Client) ListObjects(prefix string) ([]string, error) { function NewS3Client (line 20) | func NewS3Client(vars map[string]interface{}) (*s3Client, error) { FILE: agent/utils/cloud_storage/client/sftp.go type sftpClient (line 15) | type sftpClient struct method Upload (line 63) | func (s sftpClient) Upload(src, target string) (bool, error) { method ListBuckets (line 105) | func (s sftpClient) ListBuckets() ([]interface{}, error) { method Download (line 110) | func (s sftpClient) Download(src, target string) (bool, error) { method Exist (line 140) | func (s sftpClient) Exist(filePath string) (bool, error) { method Size (line 164) | func (s sftpClient) Size(filePath string) (int64, error) { method Delete (line 183) | func (s sftpClient) Delete(filePath string) (bool, error) { method ListObjects (line 201) | func (s sftpClient) ListObjects(prefix string) ([]string, error) { function NewSftpClient (line 20) | func NewSftpClient(vars map[string]interface{}) (*sftpClient, error) { FILE: agent/utils/cloud_storage/client/up.go type upClient (line 9) | type upClient struct method ListBuckets (line 27) | func (o upClient) ListBuckets() ([]interface{}, error) { method Upload (line 32) | func (s upClient) Upload(src, target string) (bool, error) { method Size (line 46) | func (s upClient) Size(path string) (int64, error) { method Delete (line 54) | func (s upClient) Delete(path string) (bool, error) { method Exist (line 63) | func (s upClient) Exist(filePath string) (bool, error) { method Download (line 70) | func (s upClient) Download(src, target string) (bool, error) { method ListObjects (line 80) | func (s *upClient) ListObjects(prefix string) ([]string, error) { function NewUpClient (line 14) | func NewUpClient(vars map[string]interface{}) (*upClient, error) { FILE: agent/utils/cloud_storage/client/webdav.go type webDAVClient (line 16) | type webDAVClient struct method Upload (line 47) | func (s webDAVClient) Upload(src, target string) (bool, error) { method ListBuckets (line 61) | func (s webDAVClient) ListBuckets() ([]interface{}, error) { method Download (line 66) | func (s webDAVClient) Download(src, target string) (bool, error) { method Exist (line 90) | func (s webDAVClient) Exist(pathItem string) (bool, error) { method Size (line 97) | func (s webDAVClient) Size(pathItem string) (int64, error) { method Delete (line 105) | func (s webDAVClient) Delete(pathItem string) (bool, error) { method ListObjects (line 112) | func (s webDAVClient) ListObjects(prefix string) ([]string, error) { function NewWebDAVClient (line 21) | func NewWebDAVClient(vars map[string]interface{}) (*webDAVClient, error) { FILE: agent/utils/cloud_storage/cloud_storage_client.go type CloudStorageClient (line 9) | type CloudStorageClient interface function NewCloudStorageClient (line 20) | func NewCloudStorageClient(backupType string, vars map[string]interface{... FILE: agent/utils/cmd/cmd.go function CheckIllegal (line 8) | func CheckIllegal(args ...string) bool { function SudoHandleCmd (line 23) | func SudoHandleCmd() string { function Which (line 31) | func Which(name string) bool { FILE: agent/utils/cmd/cmdx.go type CommandHelper (line 20) | type CommandHelper struct method Run (line 62) | func (c *CommandHelper) Run(name string, arg ...string) error { method RunBashCWithArgs (line 66) | func (c *CommandHelper) RunBashCWithArgs(arg ...string) error { method RunBashC (line 72) | func (c *CommandHelper) RunBashC(command string) error { method RunBashCf (line 78) | func (c *CommandHelper) RunBashCf(command string, arg ...interface{}) ... method RunWithStdout (line 85) | func (c *CommandHelper) RunWithStdout(name string, arg ...string) (str... method RunWithStdoutBashC (line 88) | func (c *CommandHelper) RunWithStdoutBashC(command string) (string, er... method RunWithStdoutBashCf (line 91) | func (c *CommandHelper) RunWithStdoutBashCf(command string, arg ...int... method run (line 95) | func (c *CommandHelper) run(name string, arg ...string) (string, error) { type Option (line 31) | type Option function NewCommandMgr (line 33) | func NewCommandMgr(opts ...Option) *CommandHelper { function RunDefaultBashC (line 41) | func RunDefaultBashC(command string) error { function RunDefaultBashCf (line 45) | func RunDefaultBashCf(command string, arg ...interface{}) error { function RunDefaultWithStdoutBashC (line 49) | func RunDefaultWithStdoutBashC(command string) (string, error) { function RunDefaultWithStdoutBashCf (line 53) | func RunDefaultWithStdoutBashCf(command string, arg ...interface{}) (str... function RunDefaultWithStdoutBashCfAndTimeOut (line 57) | func RunDefaultWithStdoutBashCfAndTimeOut(command string, timeout time.D... function WithContext (line 187) | func WithContext(ctx context.Context) Option { function WithOutputFile (line 192) | func WithOutputFile(outputFile string) Option { function WithTimeout (line 197) | func WithTimeout(timeout time.Duration) Option { function WithLogger (line 202) | func WithLogger(logger *log.Logger) Option { function WithTask (line 207) | func WithTask(taskItem task.Task) Option { function WithWorkDir (line 212) | func WithWorkDir(workDir string) Option { function WithScriptPath (line 217) | func WithScriptPath(scriptPath string) Option { function WithIgnoreExist1 (line 222) | func WithIgnoreExist1() Option { type CustomWriter (line 228) | type CustomWriter struct method Write (line 233) | func (cw *CustomWriter) Write(p []byte) (n int, err error) { method Flush (line 245) | func (cw *CustomWriter) Flush() { function handleErr (line 252) | func handleErr(stdout, stderr bytes.Buffer, ignoreExist1 bool, err error... FILE: agent/utils/common/common.go function CompareVersion (line 25) | func CompareVersion(version1, version2 string) bool { function CompareAppVersion (line 49) | func CompareAppVersion(version1, version2 string) bool { function ComparePanelVersion (line 76) | func ComparePanelVersion(version1, version2 string) bool { function extractNumbers (line 113) | func extractNumbers(version string) []string { function isDigit (line 134) | func isDigit(r rune) bool { function GetSortedVersions (line 138) | func GetSortedVersions(versions []string) []string { function IsCrossVersion (line 145) | func IsCrossVersion(version1, version2 string) bool { function GetUuid (line 153) | func GetUuid() string { function RandStr (line 163) | func RandStr(n int) string { function RandStrAndNum (line 176) | func RandStrAndNum(n int) string { function ScanPort (line 190) | func ScanPort(port int) bool { function ScanUDPPort (line 199) | func ScanUDPPort(port int) bool { function ScanPortWithProto (line 208) | func ScanPortWithProto(port int, proto string) bool { function ScanPortWithIP (line 215) | func ScanPortWithIP(ip string, port int) bool { function IsNum (line 233) | func IsNum(s string) bool { function RemoveRepeatElement (line 238) | func RemoveRepeatElement(a interface{}) (ret []interface{}) { function RemoveRepeatStr (line 249) | func RemoveRepeatStr(list []string) (ret []string) { function LoadSizeUnit (line 260) | func LoadSizeUnit(value float64) string { function LoadSizeUnit2F (line 274) | func LoadSizeUnit2F(value float64) string { function LoadTimeZoneByCmd (line 287) | func LoadTimeZoneByCmd() string { function IsValidDomain (line 306) | func IsValidDomain(domain string) bool { function IsValidNginxServerName (line 310) | func IsValidNginxServerName(serverName string) bool { function ContainsChinese (line 314) | func ContainsChinese(text string) bool { function PunycodeEncode (line 323) | func PunycodeEncode(text string) (string, error) { function SplitStr (line 332) | func SplitStr(str string, spi ...string) []string { function IsValidIP (line 345) | func IsValidIP(ip string) bool { constant b (line 350) | b = uint64(1) constant kb (line 351) | kb = 1024 * b constant mb (line 352) | mb = 1024 * kb constant gb (line 353) | gb = 1024 * mb function FormatBytes (line 356) | func FormatBytes(bytes uint64) string { function FormatPercent (line 369) | func FormatPercent(percent float64) string { function GetLang (line 373) | func GetLang(c *gin.Context) string { function HandleIPList (line 381) | func HandleIPList(content string) ([]string, error) { function GetSystemVersion (line 400) | func GetSystemVersion(versionString string) string { function isCommandAvailable (line 408) | func isCommandAvailable(name string, args ...string) bool { function GetDockerComposeCommand (line 414) | func GetDockerComposeCommand() string { function LoadParams (line 424) | func LoadParams(param string) string { function LoadParamsWithoutPanic (line 435) | func LoadParamsWithoutPanic(param string) string { FILE: agent/utils/common/sqlite.go function LoadDBConnByPath (line 16) | func LoadDBConnByPath(fullPath, dbName string) *gorm.DB { function LoadDBConnByPathWithErr (line 35) | func LoadDBConnByPathWithErr(fullPath, dbName string) (*gorm.DB, error) { function CloseDB (line 54) | func CloseDB(db *gorm.DB) { function GetDBWithPath (line 62) | func GetDBWithPath(dbPath string) (*gorm.DB, error) { function newLogger (line 96) | func newLogger() logger.Interface { function createDirWhenNotExist (line 108) | func createDirWhenNotExist(isDir bool, pathItem string) (string, error) { FILE: agent/utils/compose/compose.go function checkCmd (line 21) | func checkCmd() error { function getComposeBaseCmd (line 32) | func getComposeBaseCmd() (string, []string) { function Up (line 41) | func Up(filePath string) (string, error) { function UpWithTask (line 51) | func UpWithTask(filePath string, task *task.Task, forcePull bool) error { function pullComposeImages (line 61) | func pullComposeImages(filePath string, forcePull bool, task *task.Task)... function GetComposeImages (line 119) | func GetComposeImages(filePath string) ([]string, error) { function getComposeImagesByCommand (line 137) | func getComposeImagesByCommand(filePath string) ([]string, error) { function Down (line 178) | func Down(filePath string) (string, error) { function Stop (line 188) | func Stop(filePath string) (string, error) { function Restart (line 198) | func Restart(filePath string) (string, error) { function Operate (line 208) | func Operate(filePath, operation string) (string, error) { function DownAndUp (line 218) | func DownAndUp(filePath string) (string, error) { function loadFiles (line 236) | func loadFiles(filePath string) string { FILE: agent/utils/controller/controller.go type Controller (line 14) | type Controller interface function New (line 26) | func New() (Controller, error) { function Handle (line 44) | func Handle(operate, serviceName string) error { function HandleStart (line 55) | func HandleStart(serviceName string) error { function HandleStop (line 62) | func HandleStop(serviceName string) error { function HandleRestart (line 69) | func HandleRestart(serviceName string) error { function CheckExist (line 77) | func CheckExist(serviceName string) (bool, error) { function CheckActive (line 89) | func CheckActive(serviceName string) (bool, error) { function CheckEnable (line 100) | func CheckEnable(serviceName string) (bool, error) { function Reload (line 112) | func Reload() error { function RestartPanel (line 120) | func RestartPanel(core, agent, reload bool) { function LoadServiceName (line 146) | func LoadServiceName(keyword string) (string, error) { function loadProcessedName (line 164) | func loadProcessedName(mgr, keyword string) string { function loadFromPredefined (line 179) | func loadFromPredefined(mgr Controller, keyword string) string { function GetServicePath (line 210) | func GetServicePath(serviceName string) (string, error) { function SelectInitScript (line 251) | func SelectInitScript(keyword string) (string, error) { function GetScriptName (line 273) | func GetScriptName(keyword string) (string, error) { FILE: agent/utils/controller/manager/common.go function handlerErr (line 11) | func handlerErr(out string, err error) error { function run (line 21) | func run(name string, args ...string) (string, error) { FILE: agent/utils/controller/manager/openrc.go type Openrc (line 11) | type Openrc struct method Name (line 17) | func (s *Openrc) Name() string { method IsActive (line 20) | func (s *Openrc) IsActive(serviceName string) (bool, error) { method IsEnable (line 27) | func (s *Openrc) IsEnable(serviceName string) (bool, error) { method IsExist (line 34) | func (s *Openrc) IsExist(serviceName string) (bool, error) { method Status (line 44) | func (s *Openrc) Status(serviceName string) (string, error) { method Operate (line 48) | func (s *Openrc) Operate(operate, serviceName string) error { method Reload (line 59) | func (s *Openrc) Reload() error { function NewOpenrc (line 13) | func NewOpenrc() *Openrc { FILE: agent/utils/controller/manager/snap.go type Snap (line 7) | type Snap struct method IsExist (line 13) | func (s *Snap) IsExist(serviceName string) bool { method IsActive (line 21) | func (s *Snap) IsActive(serviceName string) bool { method IsEnable (line 35) | func (s *Snap) IsEnable(serviceName string) bool { method Operate (line 49) | func (s *Snap) Operate(operate, serviceName string) error { function NewSnap (line 9) | func NewSnap() *Snap { FILE: agent/utils/controller/manager/systemd.go type Systemd (line 7) | type Systemd struct method Name (line 13) | func (s *Systemd) Name() string { method IsActive (line 16) | func (s *Systemd) IsActive(serviceName string) (bool, error) { method IsEnable (line 27) | func (s *Systemd) IsEnable(serviceName string) (bool, error) { method IsExist (line 41) | func (s *Systemd) IsExist(serviceName string) (bool, error) { method Status (line 55) | func (s *Systemd) Status(serviceName string) (string, error) { method Operate (line 58) | func (s *Systemd) Operate(operate, serviceName string) error { method Reload (line 72) | func (s *Systemd) Reload() error { function NewSystemd (line 9) | func NewSystemd() *Systemd { FILE: agent/utils/controller/manager/sysvinit.go type Sysvinit (line 11) | type Sysvinit struct method Name (line 17) | func (s *Sysvinit) Name() string { method IsActive (line 20) | func (s *Sysvinit) IsActive(serviceName string) (bool, error) { method IsEnable (line 27) | func (s *Sysvinit) IsEnable(serviceName string) (bool, error) { method IsExist (line 34) | func (s *Sysvinit) IsExist(serviceName string) (bool, error) { method Status (line 44) | func (s *Sysvinit) Status(serviceName string) (string, error) { method Operate (line 48) | func (s *Sysvinit) Operate(operate, serviceName string) error { method Reload (line 52) | func (s *Sysvinit) Reload() error { function NewSysvinit (line 13) | func NewSysvinit() *Sysvinit { FILE: agent/utils/convert/convert.go type FormatOption (line 17) | type FormatOption struct function hasFfmpeg (line 45) | func hasFfmpeg() (string, bool) { function MediaFile (line 50) | func MediaFile(inputFile, outputFile, outputFormat string, deleteSource ... function buildFFmpegArgs (line 112) | func buildFFmpegArgs(inputFile, outputFile, outputFormat string) ([]stri... function appendLog (line 142) | func appendLog(f *os.File, content string) error { function appendJSONLog (line 147) | func appendJSONLog(f *os.File, entry response.FileConvertLog) error { function extractFFmpegError (line 158) | func extractFFmpegError(logStr string) string { FILE: agent/utils/copier/copier.go function Copy (line 9) | func Copy(to, from interface{}) error { FILE: agent/utils/csv_export/ssh_log.go function ExportSSHLogs (line 12) | func ExportSSHLogs(filename string, logs []dto.SSHHistory) error { FILE: agent/utils/docker/compose.go type ComposeService (line 20) | type ComposeService struct function GetComposeProject (line 24) | func GetComposeProject(projectName, workDir string, yml []byte, env []by... type ComposeProject (line 53) | type ComposeProject struct type Service (line 58) | type Service struct type Environment (line 66) | type Environment struct method UnmarshalYAML (line 70) | func (e *Environment) UnmarshalYAML(value *yaml.Node) error { function GetImagesFromDockerCompose (line 98) | func GetImagesFromDockerCompose(env, yml []byte) ([]string, error) { function loadEnvFile (line 120) | func loadEnvFile(env []byte) (map[string]string, error) { function replaceEnvVars (line 143) | func replaceEnvVars(input string, envVars map[string]string) string { FILE: agent/utils/docker/docker.go function NewDockerClient (line 25) | func NewDockerClient() (*client.Client, error) { function NewClient (line 38) | func NewClient() (Client, error) { function NewClientWithExist (line 54) | func NewClientWithExist(cli *client.Client) Client { type Client (line 60) | type Client struct method Close (line 64) | func (c Client) Close() { method ListContainersByName (line 68) | func (c Client) ListContainersByName(names []string) ([]container.Summ... method ListAllContainers (line 94) | func (c Client) ListAllContainers() ([]container.Summary, error) { method CreateNetwork (line 106) | func (c Client) CreateNetwork(name string) error { method DeleteImage (line 114) | func (c Client) DeleteImage(imageID string) error { method ImageExists (line 120) | func (c Client) ImageExists(imageID string) (bool, error) { method GetImageIDByName (line 128) | func (c Client) GetImageIDByName(imageName string) (string, error) { method NetworkExist (line 143) | func (c Client) NetworkExist(name string) bool { method PullImageWithProcessAndOptions (line 196) | func (c Client) PullImageWithProcessAndOptions(task *task.Task, imageN... method PushImageWithProcessAndOptions (line 224) | func (c Client) PushImageWithProcessAndOptions(task *task.Task, imageN... method BuildImageWithProcessAndOptions (line 261) | func (c Client) BuildImageWithProcessAndOptions(task *task.Task, tar i... method PullImageWithProcess (line 305) | func (c Client) PullImageWithProcess(task *task.Task, imageName string... function CreateDefaultDockerNetwork (line 153) | func CreateDefaultDockerNetwork() error { function setLog (line 170) | func setLog(id, newLastLine string, task *task.Task) error { function logProcess (line 313) | func logProcess(progress map[string]interface{}, task *task.Task) { function PullImage (line 322) | func PullImage(imageName string) error { function loadRegistryAuthFromDockerConfig (line 338) | func loadRegistryAuthFromDockerConfig(imageName string) (string, bool) { function isDockerHubRegistry (line 389) | func isDockerHubRegistry(host string) bool { function extractRegistryHost (line 398) | func extractRegistryHost(imageName string) (string, bool) { function normalizeRegistryHost (line 410) | func normalizeRegistryHost(registryKey string) string { FILE: agent/utils/email/smtp_sender.go type SMTPConfig (line 15) | type SMTPConfig struct type EmailMessage (line 26) | type EmailMessage struct type loginAuth (line 32) | type loginAuth struct method Start (line 40) | func (a *loginAuth) Start(server *smtp.ServerInfo) (string, []byte, er... method Next (line 44) | func (a *loginAuth) Next(fromServer []byte, more bool) ([]byte, error) { function LoginAuth (line 36) | func LoginAuth(username, password string) smtp.Auth { function SendMail (line 58) | func SendMail(config SMTPConfig, message EmailMessage, transport *http.T... function validateConfig (line 83) | func validateConfig(config SMTPConfig) error { function isValidEncryption (line 108) | func isValidEncryption(enc string) bool { function parseRecipients (line 113) | func parseRecipients(recipient string) []string { function buildMessage (line 121) | func buildMessage(config SMTPConfig, message EmailMessage, toList []stri... function isValidHeader (line 148) | func isValidHeader(key, value string) bool { function sendWithSSL (line 152) | func sendWithSSL(config SMTPConfig, addr string, toList []string, msg st... function sendWithStartTLS (line 183) | func sendWithStartTLS(config SMTPConfig, addr string, toList []string, m... function sendPlaintext (line 211) | func sendPlaintext(config SMTPConfig, addr string, toList []string, msg ... function sendEmailWithClient (line 232) | func sendEmailWithClient(client *smtp.Client, config SMTPConfig, toList ... function tryAuth (line 254) | func tryAuth(client *smtp.Client, username, password, host string) error { FILE: agent/utils/encrypt/encrypt.go function StringEncryptWithBase64 (line 16) | func StringEncryptWithBase64(text string) (string, error) { function StringEncryptWithKey (line 28) | func StringEncryptWithKey(text, key string) (string, error) { function StringEncrypt (line 48) | func StringEncrypt(text string) (string, error) { function StringDecryptWithBase64 (line 63) | func StringDecryptWithBase64(text string) (string, error) { function StringDecryptWithKey (line 71) | func StringDecryptWithKey(text, key string) (string, error) { function StringDecrypt (line 100) | func StringDecrypt(text string) (string, error) { function padding (line 115) | func padding(plaintext []byte, blockSize int) []byte { function unPadding (line 121) | func unPadding(origData []byte) ([]byte, error) { function aesEncryptWithSalt (line 141) | func aesEncryptWithSalt(key, plaintext []byte) ([]byte, error) { function aesDecryptWithSalt (line 156) | func aesDecryptWithSalt(key, ciphertext []byte) ([]byte, error) { FILE: agent/utils/env/env.go function Write (line 12) | func Write(envMap map[string]string, filename string) error { function Marshal (line 29) | func Marshal(envMap map[string]string) (string, error) { function WriteWithOrder (line 43) | func WriteWithOrder(envMap map[string]string, filename string, orders []... function MarshalWithOrder (line 60) | func MarshalWithOrder(envMap map[string]string, orders []string) (string... function formatEnvLine (line 88) | func formatEnvLine(k, v string) string { function GetEnvValueByKey (line 98) | func GetEnvValueByKey(envPath, key string) (string, error) { function isStartWithZero (line 110) | func isStartWithZero(value string) bool { function hasEvenDoubleQuotes (line 117) | func hasEvenDoubleQuotes(s string) bool { function shouldUseSingleQuotes (line 127) | func shouldUseSingleQuotes(s string) bool { function escapeDoubleQuotedEnvValue (line 131) | func escapeDoubleQuotedEnvValue(s string) string { FILE: agent/utils/files/archiver.go type ShellArchiver (line 8) | type ShellArchiver interface function NewShellArchiver (line 13) | func NewShellArchiver(compressType CompressType) (ShellArchiver, error) { function checkCmdAvailability (line 42) | func checkCmdAvailability(cmdStr string) error { FILE: agent/utils/files/file_op.go constant cmdDefaultTimeout (line 37) | cmdDefaultTimeout = 10 * time.Second constant cmdRecursiveTimeout (line 38) | cmdRecursiveTimeout = 5 * time.Minute function IsProtected (line 56) | func IsProtected(path string) bool { type FileOp (line 75) | type FileOp struct method OpenFile (line 85) | func (f FileOp) OpenFile(dst string) (fs.File, error) { method GetContent (line 89) | func (f FileOp) GetContent(dst string) ([]byte, error) { method CreateDir (line 98) | func (f FileOp) CreateDir(dst string, mode fs.FileMode) error { method CreateDirWithMode (line 102) | func (f FileOp) CreateDirWithMode(dst string, mode fs.FileMode) error { method CreateDirWithPath (line 108) | func (f FileOp) CreateDirWithPath(isDir bool, pathItem string) (string... method CreateFile (line 121) | func (f FileOp) CreateFile(dst string) error { method CreateFileWithMode (line 128) | func (f FileOp) CreateFileWithMode(dst string, mode fs.FileMode) error { method LinkFile (line 136) | func (f FileOp) LinkFile(source string, dst string, isSymlink bool) er... method DeleteDir (line 145) | func (f FileOp) DeleteDir(dst string) error { method Stat (line 152) | func (f FileOp) Stat(dst string) bool { method DeleteFile (line 157) | func (f FileOp) DeleteFile(dst string) error { method CleanDir (line 164) | func (f FileOp) CleanDir(dst string) error { method RmRf (line 171) | func (f FileOp) RmRf(dst string) error { method WriteFile (line 178) | func (f FileOp) WriteFile(dst string, in io.Reader, mode fs.FileMode) ... method SaveFile (line 195) | func (f FileOp) SaveFile(dst string, content string, mode fs.FileMode)... method SaveFileWithByte (line 210) | func (f FileOp) SaveFileWithByte(dst string, content []byte, mode fs.F... method ChownR (line 225) | func (f FileOp) ChownR(dst string, uid string, gid string, sub bool) e... method ChmodR (line 241) | func (f FileOp) ChmodR(dst string, mode int64, sub bool) error { method ChmodRWithMode (line 257) | func (f FileOp) ChmodRWithMode(dst string, mode fs.FileMode, sub bool)... method ChownRPaths (line 273) | func (f FileOp) ChownRPaths(paths []string, uid string, gid string, su... method ChmodRPaths (line 302) | func (f FileOp) ChmodRPaths(paths []string, mode int64, sub bool) error { method Rename (line 332) | func (f FileOp) Rename(oldName string, newName string) error { method DownloadFileWithProcess (line 377) | func (f FileOp) DownloadFileWithProcess(url, dst, key string, ignoreCe... method DownloadFile (line 425) | func (f FileOp) DownloadFile(url, dst string) error { method Cut (line 444) | func (f FileOp) Cut(oldPaths []string, dst, name string, cover bool) e... method Mv (line 473) | func (f FileOp) Mv(oldPath, dstPath string) error { method Copy (line 480) | func (f FileOp) Copy(src, dst string) error { method CopyAndReName (line 503) | func (f FileOp) CopyAndReName(src, dst, name string, cover bool) error { method CopyDirWithNewName (line 540) | func (f FileOp) CopyDirWithNewName(src, dst, newName string) error { method CopyDir (line 548) | func (f FileOp) CopyDir(src, dst string) error { method CopyDirWithExclude (line 560) | func (f FileOp) CopyDirWithExclude(src, dst string, excludeNames []str... method CopyFile (line 601) | func (f FileOp) CopyFile(src, dst string) error { method GetDirSize (line 606) | func (f FileOp) GetDirSize(path string) (int64, error) { method GetDepthDirSize (line 641) | func (f FileOp) GetDepthDirSize(path string) ([]DirSize, error) { method Compress (line 726) | func (f FileOp) Compress(srcRiles []string, dst string, name string, c... method decompressWithSDK (line 797) | func (f FileOp) decompressWithSDK(srcFile string, dst string, cType Co... method Decompress (line 872) | func (f FileOp) Decompress(srcFile string, dst string, cType CompressT... method DecompressGzFile (line 942) | func (f FileOp) DecompressGzFile(srcFile, dst string) error { method TarGzCompressPro (line 981) | func (f FileOp) TarGzCompressPro(withDir bool, src, dst, secret, exclu... method TarGzFilesWithCompressPro (line 1023) | func (f FileOp) TarGzFilesWithCompressPro(list []string, dst, secret s... method TarGzExtractPro (line 1046) | func (f FileOp) TarGzExtractPro(src, dst string, secret string) error { function NewFileOp (line 79) | func NewFileOp() FileOp { type WriteCounter (line 336) | type WriteCounter struct method Write (line 350) | func (w *WriteCounter) Write(p []byte) (n int, err error) { method SaveProcess (line 357) | func (w *WriteCounter) SaveProcess() { type Process (line 343) | type Process struct type DirSize (line 636) | type DirSize struct function parseDUOutput (line 662) | func parseDUOutput(output []byte, sizeMap map[string]int64) { function calculateDirSizeFallback (line 678) | func calculateDirSizeFallback(path string, sizeMap map[string]int64) { function getFormat (line 701) | func getFormat(cType CompressType) archiver.CompressedArchive { function isIgnoreFile (line 784) | func isIgnoreFile(name string) bool { function decodeGBK (line 788) | func decodeGBK(input string) (string, error) { function ZipFile (line 899) | func ZipFile(files []archiver.File, dst afero.File) error { function CopyCustomAppFile (line 1064) | func CopyCustomAppFile(srcPath, dstPath string) error { function OpensslEncrypt (line 1100) | func OpensslEncrypt(filePath, secret string) error { function OpensslDecrypt (line 1109) | func OpensslDecrypt(filePath, secret string) error { FILE: agent/utils/files/fileinfo.go type FileInfo (line 24) | type FileInfo struct method search (line 148) | func (f *FileInfo) search(search string, count int) (files []FileSearc... method listChildren (line 219) | func (f *FileInfo) listChildren(option FileOption) error { method getFiles (line 263) | func (f *FileInfo) getFiles(option FileOption) ([]FileSearchInfo, erro... method processFiles (line 295) | func (f *FileInfo) processFiles(files []FileSearchInfo, option FileOpt... method getFilePathAndName (line 384) | func (f *FileInfo) getFilePathAndName(option FileOption, df FileSearch... method checkSymlink (line 396) | func (f *FileInfo) checkSymlink(df FileSearchInfo) (bool, bool) { method getContent (line 413) | func (f *FileInfo) getContent() error { type FileOption (line 51) | type FileOption struct type FileSearchInfo (line 65) | type FileSearchInfo struct function NewFileInfo (line 70) | func NewFileInfo(op FileOption) (*FileInfo, error) { function handleExpansion (line 136) | func handleExpansion(file *FileInfo, op FileOption) error { function sortFileList (line 184) | func sortFileList(list []FileSearchInfo, sortBy, sortOrder string) { function shouldSkipFile (line 368) | func shouldSkipFile(df FileSearchInfo, option FileOption) bool { function DetectBinary (line 432) | func DetectBinary(buf []byte) bool { function min (line 450) | func min(x, y int) int { type CompressType (line 457) | type CompressType constant Zip (line 460) | Zip CompressType = "zip" constant Gz (line 461) | Gz CompressType = "gz" constant Bz2 (line 462) | Bz2 CompressType = "bz2" constant TarBz2 (line 463) | TarBz2 CompressType = "tar.bz2" constant Tar (line 464) | Tar CompressType = "tar" constant TarGz (line 465) | TarGz CompressType = "tar.gz" constant Tgz (line 466) | Tgz CompressType = "tgz" constant Xz (line 467) | Xz CompressType = "xz" constant TarXz (line 468) | TarXz CompressType = "tar.xz" constant SdkZip (line 469) | SdkZip CompressType = "sdkZip" constant SdkTarGz (line 470) | SdkTarGz CompressType = "sdkTarGz" constant Rar (line 471) | Rar CompressType = "rar" constant X7z (line 472) | X7z CompressType = "7z" FILE: agent/utils/files/rar.go type RarArchiver (line 14) | type RarArchiver struct method Extract (line 21) | func (z RarArchiver) Extract(filePath, dstDir string, _ string) error { method Compress (line 28) | func (z RarArchiver) Compress(sourcePaths []string, dstFile string, _ ... function NewRarArchiver (line 17) | func NewRarArchiver() ShellArchiver { FILE: agent/utils/files/tar.go type TarArchiver (line 7) | type TarArchiver struct method Extract (line 19) | func (t TarArchiver) Extract(FilePath string, dstDir string, secret st... method Compress (line 23) | func (t TarArchiver) Compress(sourcePaths []string, dstFile string, se... method getOptionStr (line 27) | func (t TarArchiver) getOptionStr(Option string) string { function NewTarArchiver (line 12) | func NewTarArchiver(compressType CompressType) ShellArchiver { FILE: agent/utils/files/tar_gz.go type TarGzArchiver (line 13) | type TarGzArchiver struct method Extract (line 20) | func (t TarGzArchiver) Extract(filePath, dstDir string, secret string)... method Compress (line 40) | func (t TarGzArchiver) Compress(sourcePaths []string, dstFile string, ... function NewTarGzArchiver (line 16) | func NewTarGzArchiver() ShellArchiver { FILE: agent/utils/files/utils.go constant MaxReadFileSize (line 29) | MaxReadFileSize = 512 * 1024 * 1024 constant tailBufSize (line 30) | tailBufSize = int64(32768) function IsSymlink (line 33) | func IsSymlink(mode os.FileMode) bool { function IsBlockDevice (line 37) | func IsBlockDevice(mode os.FileMode) bool { function GetMimeType (line 41) | func GetMimeType(path string) string { function GetSymlink (line 57) | func GetSymlink(path string) string { function GetUsername (line 65) | func GetUsername(uid uint32) string { function GetGroup (line 73) | func GetGroup(gid uint32) string { constant dotCharacter (line 81) | dotCharacter = 46 function IsHidden (line 83) | func IsHidden(path string) bool { function readLineTrimmed (line 101) | func readLineTrimmed(reader *bufio.Reader) (string, error) { function TailFromEnd (line 117) | func TailFromEnd(filename string, lines int) ([]string, error) { function ReadFileByLine (line 187) | func ReadFileByLine(filename string, page, pageSize int, latest bool) (r... function GetParentMode (line 295) | func GetParentMode(path string) (os.FileMode, error) { function IsInvalidChar (line 318) | func IsInvalidChar(name string) bool { function IsEmptyDir (line 322) | func IsEmptyDir(dir string) bool { function DownloadFileWithProxy (line 332) | func DownloadFileWithProxy(url, dst string) error { function GetDecoderByName (line 352) | func GetDecoderByName(name string) encoding.Encoding { FILE: agent/utils/files/x7z.go type X7zArchiver (line 14) | type X7zArchiver struct method Extract (line 21) | func (z X7zArchiver) Extract(filePath, dstDir string, _ string) error { method Compress (line 28) | func (z X7zArchiver) Compress(sourcePaths []string, dstFile string, _ ... function NewX7zArchiver (line 17) | func NewX7zArchiver() ShellArchiver { FILE: agent/utils/files/zip.go type ZipArchiver (line 15) | type ZipArchiver struct method Extract (line 22) | func (z ZipArchiver) Extract(filePath, dstDir string, secret string) e... method Compress (line 29) | func (z ZipArchiver) Compress(sourcePaths []string, dstFile string, _ ... function NewZipArchiver (line 18) | func NewZipArchiver() ShellArchiver { FILE: agent/utils/firewall/client.go type FirewallClient (line 15) | type FirewallClient interface function NewFirewallClient (line 35) | func NewFirewallClient() (FirewallClient, error) { function LoadPingStatus (line 56) | func LoadPingStatus() string { function UpdatePingStatus (line 75) | func UpdatePingStatus(enable string) error { FILE: agent/utils/firewall/client/firewalld.go type Firewall (line 14) | type Firewall struct method Name (line 20) | func (f *Firewall) Name() string { method Status (line 24) | func (f *Firewall) Status() (bool, error) { method Version (line 29) | func (f *Firewall) Version() (string, error) { method Start (line 37) | func (f *Firewall) Start() error { method Stop (line 44) | func (f *Firewall) Stop() error { method Restart (line 51) | func (f *Firewall) Restart() error { method Reload (line 58) | func (f *Firewall) Reload() error { method ListPort (line 65) | func (f *Firewall) ListPort() ([]FireInfo, error) { method ListForward (line 111) | func (f *Firewall) ListForward() ([]FireInfo, error) { method ListAddress (line 139) | func (f *Firewall) ListAddress() ([]FireInfo, error) { method Port (line 158) | func (f *Firewall) Port(port FireInfo, operation string) error { method RichRules (line 169) | func (f *Firewall) RichRules(rule FireInfo, operation string) error { method PortForward (line 198) | func (f *Firewall) PortForward(info Forward, operation string) error { method loadInfo (line 216) | func (f *Firewall) loadInfo(line string) FireInfo { method EnableForward (line 238) | func (f *Firewall) EnableForward() error { function NewFirewalld (line 16) | func NewFirewalld() (*Firewall, error) { FILE: agent/utils/firewall/client/info.go type FireInfo (line 3) | type FireInfo struct type Forward (line 21) | type Forward struct FILE: agent/utils/firewall/client/iptables.go type Iptables (line 14) | type Iptables struct method Name (line 20) | func (i *Iptables) Name() string { method Status (line 24) | func (i *Iptables) Status() (bool, error) { method Start (line 32) | func (i *Iptables) Start() error { method Stop (line 36) | func (i *Iptables) Stop() error { method Restart (line 40) | func (i *Iptables) Restart() error { method Reload (line 44) | func (i *Iptables) Reload() error { method Version (line 48) | func (i *Iptables) Version() (string, error) { method ListPort (line 60) | func (i *Iptables) ListPort() ([]FireInfo, error) { method ListAddress (line 89) | func (i *Iptables) ListAddress() ([]FireInfo, error) { method Port (line 111) | func (i *Iptables) Port(port FireInfo, operation string) error { method RichRules (line 157) | func (i *Iptables) RichRules(rule FireInfo, operation string) error { method PortForward (line 222) | func (i *Iptables) PortForward(info Forward, operation string) error { method EnableForward (line 226) | func (i *Iptables) EnableForward() error { method ListForward (line 230) | func (i *Iptables) ListForward() ([]FireInfo, error) { function NewIptables (line 16) | func NewIptables() (*Iptables, error) { function EnableIptablesForward (line 234) | func EnableIptablesForward() error { function iptablesPortForward (line 254) | func iptablesPortForward(info Forward, operation string) error { function forwardPersistence (line 274) | func forwardPersistence() { function iptablesListForward (line 286) | func iptablesListForward() ([]FireInfo, error) { function parsePort (line 307) | func parsePort(portStr string) (int, error) { function normalizePortSpec (line 318) | func normalizePortSpec(port string) (string, error) { FILE: agent/utils/firewall/client/iptables/common.go constant Chain1PanelPreRouting (line 14) | Chain1PanelPreRouting = "1PANEL_PREROUTING" constant Chain1PanelPostRouting (line 15) | Chain1PanelPostRouting = "1PANEL_POSTROUTING" constant Chain1PanelForward (line 16) | Chain1PanelForward = "1PANEL_FORWARD" constant ChainInput (line 17) | ChainInput = "INPUT" constant ChainOutput (line 18) | ChainOutput = "OUTPUT" constant Chain1PanelInput (line 19) | Chain1PanelInput = "1PANEL_INPUT" constant Chain1PanelOutput (line 20) | Chain1PanelOutput = "1PANEL_OUTPUT" constant Chain1PanelBasicBefore (line 21) | Chain1PanelBasicBefore = "1PANEL_BASIC_BEFORE" constant Chain1PanelBasic (line 22) | Chain1PanelBasic = "1PANEL_BASIC" constant Chain1PanelBasicAfter (line 23) | Chain1PanelBasicAfter = "1PANEL_BASIC_AFTER" constant EstablishedRule (line 27) | EstablishedRule = "-m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT ... constant IoRuleIn (line 28) | IoRuleIn = "-i lo -j ACCEPT -m comment --comment 'Loopback Whitel... constant DropAllTcp (line 29) | DropAllTcp = "-p tcp -j DROP" constant DropAllUdp (line 30) | DropAllUdp = "-p udp -j DROP" constant AllowSSH (line 31) | AllowSSH = "-p tcp --dport ssh -j ACCEPT" constant ACCEPT (line 35) | ACCEPT = "ACCEPT" constant DROP (line 36) | DROP = "DROP" constant REJECT (line 37) | REJECT = "REJECT" constant ANYWHERE (line 38) | ANYWHERE = "anywhere" constant FilterTab (line 42) | FilterTab = "filter" constant NatTab (line 43) | NatTab = "nat" function RunWithStd (line 46) | func RunWithStd(tab, rule string) (string, error) { function RunWithoutIgnore (line 55) | func RunWithoutIgnore(tab, rule string) (string, error) { function Run (line 63) | func Run(tab, rule string) error { function NewChain (line 70) | func NewChain(tab, chain string) error { function ClearChain (line 74) | func ClearChain(tab, chain string) error { function AddRule (line 78) | func AddRule(tab, chain, rule string) error { function DeleteRule (line 84) | func DeleteRule(tab, chain, rule string) error { function CheckChainExist (line 88) | func CheckChainExist(tab, chain string) (bool, error) { function CheckChainBind (line 99) | func CheckChainBind(tab, parentChain, chain string) (bool, error) { function CheckRuleExist (line 110) | func CheckRuleExist(tab, chain, rule string) bool { function AddChain (line 115) | func AddChain(tab, chain string) error { function BindChain (line 127) | func BindChain(tab, targetChain, chain string, position int) error { function UnbindChain (line 139) | func UnbindChain(tab, targetChain, chain string) error { function FindChainNum (line 150) | func FindChainNum(tab, targetChain, chain string) (int, error) { function AddChainWithAppend (line 171) | func AddChainWithAppend(tab, parentChain, chain string) error { function AppendChain (line 192) | func AppendChain(tab string, parentChain, chain string) error { FILE: agent/utils/firewall/client/iptables/filter.go type FilterRules (line 13) | type FilterRules struct function AddFilterRule (line 25) | func AddFilterRule(chain string, policy FilterRules) error { function DeleteFilterRule (line 50) | func DeleteFilterRule(chain string, policy FilterRules) error { function ReadFilterRulesByChain (line 72) | func ReadFilterRulesByChain(chain string) ([]FilterRules, error) { function LoadDefaultStrategy (line 106) | func LoadDefaultStrategy(chain string) (string, error) { function LoadInitStatus (line 128) | func LoadInitStatus(clientName, tab string) (bool, bool) { function checkWithInitAndBind (line 212) | func checkWithInitAndBind(initRules, bindRules []string, lines []string)... function loadPort (line 242) | func loadPort(position string, portStr []string) string { function loadIP (line 264) | func loadIP(ipStr string) string { function loadProtocol (line 271) | func loadProtocol(protocol string) string { function validateRuleSafety (line 286) | func validateRuleSafety(rule FilterRules, chain string) error { FILE: agent/utils/firewall/client/iptables/forward.go function AddForward (line 8) | func AddForward(protocol, srcPort, dest, destPort, iface string, save bo... function DeleteForward (line 45) | func DeleteForward(num string, protocol, srcPort, dest, destPort, iface ... function ListForward (line 67) | func ListForward(chain ...string) ([]IptablesNatInfo, error) { function loadNatSrcPort (line 109) | func loadNatSrcPort(portStr string) string { type IptablesNatInfo (line 121) | type IptablesNatInfo struct FILE: agent/utils/firewall/client/iptables/persistence.go constant BasicBeforeFileName (line 14) | BasicBeforeFileName = "1panel_basic_before.rules" constant BasicFileName (line 15) | BasicFileName = "1panel_basic.rules" constant BasicAfterFileName (line 16) | BasicAfterFileName = "1panel_basic_after.rules" constant InputFileName (line 17) | InputFileName = "1panel_input.rules" constant OutputFileName (line 18) | OutputFileName = "1panel_out.rules" constant ForwardFileName (line 19) | ForwardFileName = "1panel_forward.rules" constant ForwardFileName1 (line 20) | ForwardFileName1 = "1panel_forward_pre.rules" constant ForwardFileName2 (line 21) | ForwardFileName2 = "1panel_forward_post.rules" function SaveRulesToFile (line 24) | func SaveRulesToFile(tab, chain, fileName string) error { function LoadRulesFromFile (line 62) | func LoadRulesFromFile(tab, chain, fileName string) error { FILE: agent/utils/firewall/client/ufw.go type Ufw (line 12) | type Ufw struct method Name (line 22) | func (f *Ufw) Name() string { method Status (line 26) | func (f *Ufw) Status() (bool, error) { method Version (line 38) | func (f *Ufw) Version() (string, error) { method Start (line 47) | func (f *Ufw) Start() error { method Stop (line 54) | func (f *Ufw) Stop() error { method Restart (line 61) | func (f *Ufw) Restart() error { method Reload (line 71) | func (f *Ufw) Reload() error { method ListPort (line 75) | func (f *Ufw) ListPort() ([]FireInfo, error) { method ListAddress (line 100) | func (f *Ufw) ListAddress() ([]FireInfo, error) { method Port (line 131) | func (f *Ufw) Port(port FireInfo, operation string) error { method RichRules (line 157) | func (f *Ufw) RichRules(rule FireInfo, operation string) error { method PortForward (line 201) | func (f *Ufw) PortForward(info Forward, operation string) error { method EnableForward (line 205) | func (f *Ufw) EnableForward() error { method ListForward (line 209) | func (f *Ufw) ListForward() ([]FireInfo, error) { method loadInfo (line 213) | func (f *Ufw) loadInfo(line string, fireType string) FireInfo { method loadInsertNum (line 258) | func (f *Ufw) loadInsertNum(rule FireInfo, operation string) int { function NewUfw (line 16) | func NewUfw() (*Ufw, error) { FILE: agent/utils/geo/geo.go type Location (line 11) | type Location struct type LocationRes (line 16) | type LocationRes struct function NewGeo (line 24) | func NewGeo() (*maxminddb.Reader, error) { function GetIPLocation (line 29) | func GetIPLocation(reader *maxminddb.Reader, ip, lang string) (string, e... FILE: agent/utils/ini_conf/ini.go function GetIniValue (line 5) | func GetIniValue(filePath, Group, Key string) (string, error) { FILE: agent/utils/mysql/client.go type MysqlClient (line 17) | type MysqlClient interface function NewMysqlClient (line 33) | func NewMysqlClient(conn client.DBInfo) (MysqlClient, error) { FILE: agent/utils/mysql/client/info.go type DBInfo (line 13) | type DBInfo struct type CreateInfo (line 31) | type CreateInfo struct type DeleteInfo (line 43) | type DeleteInfo struct type PasswordChangeInfo (line 53) | type PasswordChangeInfo struct type AccessChangeInfo (line 63) | type AccessChangeInfo struct type BackupInfo (line 74) | type BackupInfo struct type FormatCollation (line 86) | type FormatCollation struct type RecoverInfo (line 91) | type RecoverInfo struct type SyncDBInfo (line 101) | type SyncDBInfo struct function ConnWithSSL (line 112) | func ConnWithSSL(ssl, skipVerify bool, clientKey, clientCert, rootCert s... FILE: agent/utils/mysql/client/local.go type Local (line 23) | type Local struct method Create (line 35) | func (r *Local) Create(info CreateInfo) error { method CreateUser (line 55) | func (r *Local) CreateUser(info CreateInfo, withDeleteDB bool) error { method Delete (line 109) | func (r *Local) Delete(info DeleteInfo) error { method ChangePassword (line 145) | func (r *Local) ChangePassword(info PasswordChangeInfo) error { method ChangeAccess (line 190) | func (r *Local) ChangeAccess(info AccessChangeInfo) error { method Backup (line 225) | func (r *Local) Backup(info BackupInfo) error { method Recover (line 269) | func (r *Local) Recover(info RecoverInfo) error { method SyncDB (line 302) | func (r *Local) SyncDB(version string) ([]SyncDBInfo, error) { method Close (line 369) | func (r *Local) Close() {} method ExecSQL (line 371) | func (r *Local) ExecSQL(command string, timeout uint) error { method ExecSQLForRows (line 388) | func (r *Local) ExecSQLForRows(command string, timeout uint) ([]string... method LoadFormatCollation (line 405) | func (r *Local) LoadFormatCollation(timeout uint) ([]dto.MysqlFormatCo... function NewLocal (line 31) | func NewLocal(command []string, dbType, containerName, password, databas... FILE: agent/utils/mysql/client/remote.go type Remote (line 27) | type Remote struct method Create (line 47) | func (r *Remote) Create(info CreateInfo) error { method CreateUser (line 67) | func (r *Remote) CreateUser(info CreateInfo, withDeleteDB bool) error { method Delete (line 121) | func (r *Remote) Delete(info DeleteInfo) error { method ChangePassword (line 157) | func (r *Remote) ChangePassword(info PasswordChangeInfo) error { method ChangeAccess (line 202) | func (r *Remote) ChangeAccess(info AccessChangeInfo) error { method Backup (line 237) | func (r *Remote) Backup(info BackupInfo) error { method Recover (line 291) | func (r *Remote) Recover(info RecoverInfo) error { method SyncDB (line 333) | func (r *Remote) SyncDB(version string) ([]SyncDBInfo, error) { method Close (line 405) | func (r *Remote) Close() { method ExecSQL (line 409) | func (r *Remote) ExecSQL(command string, timeout uint) error { method LoadFormatCollation (line 423) | func (r *Remote) LoadFormatCollation(timeout uint) ([]dto.MysqlFormatC... method ExecSQLForHosts (line 462) | func (r *Remote) ExecSQLForHosts(timeout uint) ([]string, error) { function NewRemote (line 43) | func NewRemote(db Remote) *Remote { function loadImage (line 485) | func loadImage(dbType, version string) (string, error) { function loadVersion (line 517) | func loadVersion(dbType string, version string) string { function sslSkip (line 530) | func sslSkip(version, dbType string) string { FILE: agent/utils/nginx/components/block.go type Block (line 3) | type Block struct method GetDirectives (line 11) | func (b *Block) GetDirectives() []IDirective { method GetComment (line 15) | func (b *Block) GetComment() string { method GetLine (line 19) | func (b *Block) GetLine() int { method GetCodeBlock (line 23) | func (b *Block) GetCodeBlock() string { method FindDirectives (line 27) | func (b *Block) FindDirectives(directiveName string) []IDirective { method AppendDirectives (line 41) | func (b *Block) AppendDirectives(directives ...IDirective) { method UpdateDirective (line 45) | func (b *Block) UpdateDirective(key string, params []string) { method RemoveDirective (line 75) | func (b *Block) RemoveDirective(key string, params []string) { FILE: agent/utils/nginx/components/comment.go type Comment (line 3) | type Comment struct method GetName (line 8) | func (c *Comment) GetName() string { method GetParameters (line 12) | func (c *Comment) GetParameters() []string { method GetBlock (line 16) | func (c *Comment) GetBlock() IBlock { method GetComment (line 20) | func (c *Comment) GetComment() string { method GetLine (line 24) | func (c *Comment) GetLine() int { FILE: agent/utils/nginx/components/config.go type Config (line 3) | type Config struct method FindServers (line 8) | func (c *Config) FindServers() []*Server { method FindHttp (line 17) | func (c *Config) FindHttp() *Http { method FindUpstreams (line 27) | func (c *Config) FindUpstreams() []*Upstream { function IsRepeatKey (line 51) | func IsRepeatKey(key string) bool { FILE: agent/utils/nginx/components/directive.go type Directive (line 3) | type Directive struct method GetComment (line 11) | func (d *Directive) GetComment() string { method GetName (line 15) | func (d *Directive) GetName() string { method GetParameters (line 19) | func (d *Directive) GetParameters() []string { method GetBlock (line 23) | func (d *Directive) GetBlock() IBlock { method GetLine (line 27) | func (d *Directive) GetLine() int { FILE: agent/utils/nginx/components/http.go type Http (line 7) | type Http struct method GetCodeBlock (line 14) | func (h *Http) GetCodeBlock() string { method GetComment (line 18) | func (h *Http) GetComment() string { method GetName (line 43) | func (h *Http) GetName() string { method GetParameters (line 47) | func (h *Http) GetParameters() []string { method GetDirectives (line 51) | func (h *Http) GetDirectives() []IDirective { method FindDirectives (line 60) | func (h *Http) FindDirectives(directiveName string) []IDirective { method UpdateDirective (line 74) | func (h *Http) UpdateDirective(key string, params []string) { method RemoveDirective (line 104) | func (h *Http) RemoveDirective(key string, params []string) { method GetBlock (line 123) | func (h *Http) GetBlock() IBlock { method GetLine (line 127) | func (h *Http) GetLine() int { function NewHttp (line 22) | func NewHttp(directive IDirective) (*Http, error) { FILE: agent/utils/nginx/components/location.go type Location (line 11) | type Location struct method GetCodeBlock (line 34) | func (l *Location) GetCodeBlock() string { method GetName (line 138) | func (l *Location) GetName() string { method GetParameters (line 142) | func (l *Location) GetParameters() []string { method GetBlock (line 146) | func (l *Location) GetBlock() IBlock { method GetComment (line 150) | func (l *Location) GetComment() string { method GetLine (line 154) | func (l *Location) GetLine() int { method GetDirectives (line 158) | func (l *Location) GetDirectives() []IDirective { method FindDirectives (line 162) | func (l *Location) FindDirectives(directiveName string) []IDirective { method UpdateDirective (line 175) | func (l *Location) UpdateDirective(key string, params []string) { method RemoveDirective (line 206) | func (l *Location) RemoveDirective(key string, params []string) { method RemoveDirectiveByFullParams (line 226) | func (l *Location) RemoveDirectiveByFullParams(key string, params []st... method ChangePath (line 250) | func (l *Location) ChangePath(Modifier string, Match string) { method AddBrowserCache (line 261) | func (l *Location) AddBrowserCache(cacheTime int, cacheUint string) { method AddBroswerNoCache (line 283) | func (l *Location) AddBroswerNoCache() { method AddServerCache (line 305) | func (l *Location) AddServerCache(cacheKey string, serverCacheTime int... method RemoveBrowserCache (line 315) | func (l *Location) RemoveBrowserCache() { method RemoveServerCache (line 323) | func (l *Location) RemoveServerCache(cacheKey string) { method AddSubFilter (line 333) | func (l *Location) AddSubFilter(subFilters map[string]string) { method RemoveSubFilter (line 344) | func (l *Location) RemoveSubFilter() { method AddCorsOption (line 352) | func (l *Location) AddCorsOption() { method RemoveCorsOption (line 382) | func (l *Location) RemoveCorsOption() { function NewLocation (line 38) | func NewLocation(directive IDirective) *Location { FILE: agent/utils/nginx/components/lua_block.go type LuaBlock (line 7) | type LuaBlock struct method GetName (line 29) | func (lb *LuaBlock) GetName() string { method GetParameters (line 33) | func (lb *LuaBlock) GetParameters() []string { method GetDirectives (line 37) | func (lb *LuaBlock) GetDirectives() []IDirective { method FindDirectives (line 43) | func (lb *LuaBlock) FindDirectives(directiveName string) []IDirective { method GetCodeBlock (line 57) | func (lb *LuaBlock) GetCodeBlock() string { method GetBlock (line 61) | func (lb *LuaBlock) GetBlock() IBlock { method GetComment (line 65) | func (lb *LuaBlock) GetComment() string { method RemoveDirective (line 69) | func (lb *LuaBlock) RemoveDirective(key string, params []string) { method UpdateDirective (line 88) | func (lb *LuaBlock) UpdateDirective(key string, params []string) { method GetLine (line 118) | func (lb *LuaBlock) GetLine() int { function NewLuaBlock (line 15) | func NewLuaBlock(directive IDirective) (*LuaBlock, error) { FILE: agent/utils/nginx/components/server.go type Server (line 9) | type Server struct method GetCodeBlock (line 22) | func (s *Server) GetCodeBlock() string { method GetName (line 67) | func (s *Server) GetName() string { method GetParameters (line 71) | func (s *Server) GetParameters() []string { method GetBlock (line 75) | func (s *Server) GetBlock() IBlock { method GetComment (line 79) | func (s *Server) GetComment() string { method GetDirectives (line 83) | func (s *Server) GetDirectives() []IDirective { method FindDirectives (line 92) | func (s *Server) FindDirectives(directiveName string) []IDirective { method UpdateDirective (line 118) | func (s *Server) UpdateDirective(key string, params []string) { method RemoveDirective (line 159) | func (s *Server) RemoveDirective(key string, params []string) { method GetLine (line 192) | func (s *Server) GetLine() int { method AddListen (line 196) | func (s *Server) AddListen(bind string, defaultServer bool, params ...... method UpdateListen (line 220) | func (s *Server) UpdateListen(bind string, defaultServer bool, params ... method DeleteListen (line 245) | func (s *Server) DeleteListen(bind string) { method RemoveListen (line 255) | func (s *Server) RemoveListen(bind string, params ...string) { method DeleteServerName (line 266) | func (s *Server) DeleteServerName(name string) { method AddServerName (line 278) | func (s *Server) AddServerName(name string) { method UpdateServerName (line 285) | func (s *Server) UpdateServerName(names []string) { method UpdateRoot (line 289) | func (s *Server) UpdateRoot(path string) { method UpdateRootProxyForAi (line 293) | func (s *Server) UpdateRootProxyForAi(proxy []string) { method UpdateRootLocation (line 341) | func (s *Server) UpdateRootLocation() { method UpdateRootProxy (line 355) | func (s *Server) UpdateRootProxy(proxy []string) { method UpdatePHPProxy (line 415) | func (s *Server) UpdatePHPProxy(proxy []string, localPath string) { method UpdateDirectiveBySecondKey (line 482) | func (s *Server) UpdateDirectiveBySecondKey(name string, key string, d... method RemoveListenByBind (line 499) | func (s *Server) RemoveListenByBind(bind string) { method AddHTTP2HTTPS (line 509) | func (s *Server) AddHTTP2HTTPS(httpsPort int) { method UpdateAllowIPs (line 532) | func (s *Server) UpdateAllowIPs(ips []string) { method AddCorsOption (line 559) | func (s *Server) AddCorsOption() { function NewServer (line 26) | func NewServer(directive IDirective) (*Server, error) { function isSameArray (line 207) | func isSameArray(arr1, arr2 []string) bool { FILE: agent/utils/nginx/components/server_listen.go constant DefaultServer (line 9) | DefaultServer = "default_server" type ServerListen (line 11) | type ServerListen struct method GetName (line 46) | func (sl *ServerListen) GetName() string { method GetBlock (line 50) | func (sl *ServerListen) GetBlock() IBlock { method GetParameters (line 54) | func (sl *ServerListen) GetParameters() []string { method GetComment (line 61) | func (sl *ServerListen) GetComment() string { method AddDefaultServer (line 65) | func (sl *ServerListen) AddDefaultServer() { method RemoveDefaultServe (line 69) | func (sl *ServerListen) RemoveDefaultServe() { method GetLine (line 73) | func (sl *ServerListen) GetLine() int { function NewServerListen (line 19) | func NewServerListen(params []string, line int) *ServerListen { function isBind (line 36) | func isBind(param string) bool { FILE: agent/utils/nginx/components/statement.go type IBlock (line 3) | type IBlock interface type IDirective (line 13) | type IDirective interface FILE: agent/utils/nginx/components/upstream.go type Upstream (line 7) | type Upstream struct method GetCodeBlock (line 15) | func (us *Upstream) GetCodeBlock() string { method GetName (line 19) | func (us *Upstream) GetName() string { method GetParameters (line 23) | func (us *Upstream) GetParameters() []string { method GetBlock (line 27) | func (us *Upstream) GetBlock() IBlock { method GetComment (line 31) | func (us *Upstream) GetComment() string { method GetDirectives (line 35) | func (us *Upstream) GetDirectives() []IDirective { method AddServer (line 66) | func (us *Upstream) AddServer(server *UpstreamServer) { method FindDirectives (line 70) | func (us *Upstream) FindDirectives(directiveName string) []IDirective { method UpdateDirective (line 84) | func (us *Upstream) UpdateDirective(key string, params []string) { method RemoveDirective (line 114) | func (us *Upstream) RemoveDirective(key string, params []string) { method GetLine (line 133) | func (us *Upstream) GetLine() int { function NewUpstream (line 44) | func NewUpstream(directive IDirective) (*Upstream, error) { FILE: agent/utils/nginx/components/upstream_server.go type UpstreamServer (line 9) | type UpstreamServer struct method GetName (line 17) | func (uss *UpstreamServer) GetName() string { method GetBlock (line 21) | func (uss *UpstreamServer) GetBlock() IBlock { method GetParameters (line 25) | func (uss *UpstreamServer) GetParameters() []string { method GetComment (line 29) | func (uss *UpstreamServer) GetComment() string { method GetDirective (line 33) | func (uss *UpstreamServer) GetDirective() *Directive { method GetLine (line 81) | func (uss *UpstreamServer) GetLine() int { function NewUpstreamServer (line 57) | func NewUpstreamServer(directive IDirective) *UpstreamServer { FILE: agent/utils/nginx/dumper.go type Style (line 21) | type Style struct method Iterate (line 27) | func (s *Style) Iterate() *Style { function DumpDirective (line 36) | func DumpDirective(d components.IDirective, style *Style) string { function DumpBlock (line 67) | func DumpBlock(b components.IBlock, style *Style, startLine int) string { function DumpConfig (line 122) | func DumpConfig(c *components.Config, style *Style) string { function WriteConfig (line 126) | func WriteConfig(c *components.Config, style *Style) error { FILE: agent/utils/nginx/parser/flag/flag.go type Type (line 3) | type Type method String (line 35) | func (tt Type) String() string { constant EOF (line 6) | EOF Type = iota constant Eol (line 7) | Eol constant Keyword (line 8) | Keyword constant QuotedString (line 9) | QuotedString constant Variable (line 10) | Variable constant BlockStart (line 11) | BlockStart constant BlockEnd (line 12) | BlockEnd constant Semicolon (line 13) | Semicolon constant Comment (line 14) | Comment constant Illegal (line 15) | Illegal constant Regex (line 16) | Regex constant LuaCode (line 17) | LuaCode type Flag (line 39) | type Flag struct method Lit (line 46) | func (t Flag) Lit(literal string) Flag { method Is (line 53) | func (t Flag) Is(typ Type) bool { method IsParameterEligible (line 57) | func (t Flag) IsParameterEligible() bool { type Flags (line 51) | type Flags FILE: agent/utils/nginx/parser/lexer.go type lexer (line 12) | type lexer struct method scan (line 32) | func (s *lexer) scan() flag.Flag { method getNextFlag (line 49) | func (s *lexer) getNextFlag() flag.Flag { method scanLuaCode (line 83) | func (s *lexer) scanLuaCode() flag.Flag { method peek (line 112) | func (s *lexer) peek() rune { method readUntil (line 120) | func (s *lexer) readUntil(until runeCheck) string { method NewToken (line 137) | func (s *lexer) NewToken(tokenType flag.Type) flag.Flag { method readWhile (line 145) | func (s *lexer) readWhile(while runeCheck) string { method skipWhitespace (line 159) | func (s *lexer) skipWhitespace() { method scanComment (line 163) | func (s *lexer) scanComment() flag.Flag { method scanQuotedString (line 167) | func (s *lexer) scanQuotedString(delimiter rune) flag.Flag { method scanKeyword (line 193) | func (s *lexer) scanKeyword() flag.Flag { method scanVariable (line 221) | func (s *lexer) scanVariable() flag.Flag { method read (line 225) | func (s *lexer) read() rune { function lex (line 21) | func lex(content string) *lexer { function newLexer (line 25) | func newLexer(r io.Reader) *lexer { type runeCheck (line 118) | type runeCheck function isQuote (line 240) | func isQuote(ch rune) bool { function isKeywordTerminator (line 244) | func isKeywordTerminator(ch rune) bool { function isSpace (line 248) | func isSpace(ch rune) bool { function isEOF (line 252) | func isEOF(ch rune) bool { function isEndOfLine (line 256) | func isEndOfLine(ch rune) bool { function isLuaBlock (line 260) | func isLuaBlock(t flag.Flag) bool { FILE: agent/utils/nginx/parser/parser.go type Parser (line 14) | type Parser struct method nextToken (line 73) | func (p *Parser) nextToken() { method curTokenIs (line 78) | func (p *Parser) curTokenIs(t flag.Type) bool { method followingTokenIs (line 82) | func (p *Parser) followingTokenIs(t flag.Type) bool { method Parse (line 86) | func (p *Parser) Parse() (*components.Config, error) { method parseBlock (line 98) | func (p *Parser) parseBlock(inBlock bool) (*components.Block, error) { method parseStatement (line 136) | func (p *Parser) parseStatement() (components.IDirective, error) { method wrapLocation (line 185) | func (p *Parser) wrapLocation(directive *components.Directive) *compon... method wrapServer (line 189) | func (p *Parser) wrapServer(directive *components.Directive) *componen... method wrapUpstream (line 194) | func (p *Parser) wrapUpstream(directive *components.Directive) *compon... method wrapHttp (line 199) | func (p *Parser) wrapHttp(directive *components.Directive) *components... method wrapLuaBlock (line 204) | func (p *Parser) wrapLuaBlock(directive *components.Directive) (*compo... method parseUpstreamServer (line 208) | func (p *Parser) parseUpstreamServer(directive *components.Directive) ... function NewStringParser (line 22) | func NewStringParser(str string) *Parser { function NewParser (line 26) | func NewParser(filePath string) (*Parser, error) { function NewParserFromLexer (line 38) | func NewParserFromLexer(lexer *lexer) *Parser { FILE: agent/utils/ntp/ntp.go constant ntpEpochOffset (line 13) | ntpEpochOffset = 2208988800 type packet (line 15) | type packet struct function GetRemoteTime (line 33) | func GetRemoteTime(site string) (time.Time, error) { function UpdateSystemTime (line 62) | func UpdateSystemTime(dateTime string) error { function UpdateSystemTimeZone (line 73) | func UpdateSystemTimeZone(timezone string) error { FILE: agent/utils/openclaw/caddyfile.go constant gatewayPort (line 12) | gatewayPort = 18789 constant caddyPort (line 13) | caddyPort = 8443 constant caddyDataPerm (line 14) | caddyDataPerm = 0o777 function BuildCatchAllCaddyfile (line 17) | func BuildCatchAllCaddyfile() string { function WriteCatchAllCaddyfile (line 37) | func WriteCatchAllCaddyfile(installPath string) error { FILE: agent/utils/postgresql/client.go type PostgresqlClient (line 16) | type PostgresqlClient interface function NewPostgresqlClient (line 29) | func NewPostgresqlClient(conn client.DBInfo) (PostgresqlClient, error) { FILE: agent/utils/postgresql/client/info.go type DBInfo (line 8) | type DBInfo struct type CreateInfo (line 21) | type CreateInfo struct type Privileges (line 30) | type Privileges struct type DeleteInfo (line 37) | type DeleteInfo struct type PasswordChangeInfo (line 45) | type PasswordChangeInfo struct type BackupInfo (line 52) | type BackupInfo struct type RecoverInfo (line 62) | type RecoverInfo struct type SyncDBInfo (line 72) | type SyncDBInfo struct type Status (line 77) | type Status struct FILE: agent/utils/postgresql/client/local.go type Local (line 22) | type Local struct method Create (line 34) | func (r *Local) Create(info CreateInfo) error { method ChangePrivileges (line 51) | func (r *Local) ChangePrivileges(info Privileges) error { method CreateUser (line 60) | func (r *Local) CreateUser(info CreateInfo, withDeleteDB bool) error { method Delete (line 101) | func (r *Local) Delete(info DeleteInfo) error { method ChangePassword (line 122) | func (r *Local) ChangePassword(info PasswordChangeInfo) error { method Backup (line 131) | func (r *Local) Backup(info BackupInfo) error { method Recover (line 164) | func (r *Local) Recover(info RecoverInfo) error { method SyncDB (line 196) | func (r *Local) SyncDB() ([]SyncDBInfo, error) { method Close (line 212) | func (r *Local) Close() {} method isDatabaseInUse (line 214) | func (r *Local) isDatabaseInUse(name string, timeout uint) (bool, erro... method ExecSQL (line 238) | func (r *Local) ExecSQL(command string, timeout uint) error { method ExecSQLForRows (line 254) | func (r *Local) ExecSQLForRows(command string, timeout uint) ([]string... function NewLocal (line 30) | func NewLocal(command []string, containerName, username, password, datab... FILE: agent/utils/postgresql/client/remote.go type Remote (line 27) | type Remote struct method Create (line 40) | func (r *Remote) Create(info CreateInfo) error { method CreateUser (line 54) | func (r *Remote) CreateUser(info CreateInfo, withDeleteDB bool) error { method Delete (line 96) | func (r *Remote) Delete(info DeleteInfo) error { method isDatabaseInUse (line 117) | func (r *Remote) isDatabaseInUse(name string, timeout uint) (bool, err... method ChangePrivileges (line 135) | func (r *Remote) ChangePrivileges(info Privileges) error { method ChangePassword (line 143) | func (r *Remote) ChangePassword(info PasswordChangeInfo) error { method Backup (line 147) | func (r *Remote) Backup(info BackupInfo) error { method Recover (line 188) | func (r *Remote) Recover(info RecoverInfo) error { method SyncDB (line 237) | func (r *Remote) SyncDB() ([]SyncDBInfo, error) { method Close (line 263) | func (r *Remote) Close() { method ExecSQL (line 267) | func (r *Remote) ExecSQL(command string, timeout uint) error { function NewRemote (line 37) | func NewRemote(db Remote) *Remote { function loadImageTag (line 281) | func loadImageTag(database string) (string, error) { FILE: agent/utils/psutil/cpu.go constant resetInterval (line 14) | resetInterval = 1 * time.Minute constant fastInterval (line 15) | fastInterval = 3 * time.Second type CPUStat (line 18) | type CPUStat struct type CPUDetailedStat (line 23) | type CPUDetailedStat struct type CPUDetailedPercent (line 37) | type CPUDetailedPercent struct method GetCPUDetailedPercent (line 48) | func (c *CPUDetailedPercent) GetCPUDetailedPercent() []float64 { type CPUUsageState (line 52) | type CPUUsageState struct method GetCPUUsage (line 72) | func (c *CPUUsageState) GetCPUUsage() (float64, []float64, []float64) { method NumCPU (line 139) | func (c *CPUUsageState) NumCPU() int { type CPUInfoState (line 64) | type CPUInfoState struct method GetCPUInfo (line 146) | func (c *CPUInfoState) GetCPUInfo(forceRefresh bool) ([]cpu.InfoStat, ... method GetPhysicalCores (line 167) | func (c *CPUInfoState) GetPhysicalCores(forceRefresh bool) (int, error) { method GetLogicalCores (line 188) | func (c *CPUInfoState) GetLogicalCores(forceRefresh bool) (int, error) { function readProcStat (line 209) | func readProcStat() ([]byte, error) { function parseCPUFields (line 213) | func parseCPUFields(line string) []uint64 { function calcIdleAndTotal (line 228) | func calcIdleAndTotal(nums []uint64) (idle, total uint64) { function readAllCPUStat (line 239) | func readAllCPUStat() (CPUStat, CPUDetailedStat, []CPUStat) { function calcCPUPercent (line 293) | func calcCPUPercent(prev, cur CPUStat) float64 { function calcCPUDetailedPercent (line 302) | func calcCPUDetailedPercent(prev, cur CPUDetailedStat) CPUDetailedPercent { FILE: agent/utils/psutil/disk.go constant diskUsageCacheInterval (line 11) | diskUsageCacheInterval = 30 * time.Second constant diskPartitionCacheInterval (line 12) | diskPartitionCacheInterval = 10 * time.Minute type DiskUsageEntry (line 15) | type DiskUsageEntry struct type DiskState (line 20) | type DiskState struct method GetUsage (line 29) | func (d *DiskState) GetUsage(path string, forceRefresh bool) (*disk.Us... method GetPartitions (line 57) | func (d *DiskState) GetPartitions(all bool, forceRefresh bool) ([]disk... method ClearUsageCache (line 78) | func (d *DiskState) ClearUsageCache(path string) { method ClearAllCache (line 84) | func (d *DiskState) ClearAllCache() { FILE: agent/utils/psutil/host.go constant hostRefreshInterval (line 13) | hostRefreshInterval = 4 * time.Hour type HostInfoState (line 15) | type HostInfoState struct method GetHostInfo (line 23) | func (h *HostInfoState) GetHostInfo(forceRefresh bool) (*host.InfoStat... method GetDistro (line 44) | func (h *HostInfoState) GetDistro() string { function detectLinuxDistro (line 51) | func detectLinuxDistro() string { FILE: agent/utils/re/re.go constant NumberAlphaPattern (line 9) | NumberAlphaPattern = `(\d+)([A-Za-z]+)` constant ComposeDisallowedCharsPattern (line 10) | ComposeDisallowedCharsPattern = `[^a-z0-9_-]+` constant ComposeEnvVarPattern (line 11) | ComposeEnvVarPattern = `\$\{([^}]+)\}` constant DiskKeyValuePattern (line 12) | DiskKeyValuePattern = `([A-Za-z0-9_]+)=("([^"\\]|\\.)*"|[... constant ValidatorNamePattern (line 13) | ValidatorNamePattern = `^[a-zA-Z\p{Han}]{1}[a-zA-Z0-9_\p{H... constant ValidatorIPPattern (line 14) | ValidatorIPPattern = `^((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2... constant DomainPattern (line 15) | DomainPattern = `^([\w\p{Han}\-\*]{1,100}\.){1,10}(... constant NginxServerNamePattern (line 16) | NginxServerNamePattern = `^(?:\*|[\w\p{Han}-]{1,63})(?:\.(?:... constant ProxyCacheZonePattern (line 17) | ProxyCacheZonePattern = `keys_zone=proxy_cache_zone_of_[\w.... constant ProxyCacheMaxSizePattern (line 18) | ProxyCacheMaxSizePattern = `max_size=([0-9.]+)([kmgt]?)` constant ProxyCacheMaxSizeValidationPattern (line 19) | ProxyCacheMaxSizeValidationPattern = `max_size=\d+(\.\d+)?[kmgt]?` constant ProxyCacheInactivePattern (line 20) | ProxyCacheInactivePattern = `inactive=(\d+)([smhd])` constant NumberWordPattern (line 21) | NumberWordPattern = `^(\d+)(\w+)$` constant TrailingDigitsPattern (line 22) | TrailingDigitsPattern = `_(\d+)$` constant AlertIPPattern (line 23) | AlertIPPattern = `from\s+([0-9.]+)\s+port\s+(\d+)` constant CosDualStackPattern (line 24) | CosDualStackPattern = `.*cos-dualstack\..*` constant VersionPattern (line 25) | VersionPattern = `v(\d+\.\d+\.\d+)` constant PhpAssignmentPattern (line 26) | PhpAssignmentPattern = `^\s*([a-z_]+)\s*=\s*(.*)$` constant DurationWithOptionalUnitPattern (line 27) | DurationWithOptionalUnitPattern = `^(\d+)([smhdw]?)$` constant MysqlGroupPattern (line 28) | MysqlGroupPattern = `\[*\]` constant AnsiEscapePattern (line 29) | AnsiEscapePattern = "\x1b\\[[0-9;?]*[A-Za-z]|\x1b=|\x1b>" constant RecycleBinFilePattern (line 30) | RecycleBinFilePattern = `_1p_file_1p_(.+)_p_(\d+)_(\d+)` constant OrderByValidationPattern (line 31) | OrderByValidationPattern = `^[a-zA-Z_][a-zA-Z0-9_]*$` constant SQLIdentifierPattern (line 32) | SQLIdentifierPattern = `^[A-Za-z_][A-Za-z0-9_]*$` constant NginxHostPattern (line 33) | NginxHostPattern = `^[a-zA-Z0-9.-]+(:[0-9]+)?$` constant NginxPathPattern (line 34) | NginxPathPattern = `^/[a-zA-Z0-9._/\-]*$` function Init (line 39) | func Init() { function GetRegex (line 74) | func GetRegex(pattern string) *regexp.Regexp { function RegisterRegex (line 82) | func RegisterRegex(pattern string) { FILE: agent/utils/redis/redis.go type DBInfo (line 11) | type DBInfo struct function NewRedisClient (line 18) | func NewRedisClient(conn DBInfo) (*redis.Client, error) { FILE: agent/utils/req_helper/core.go function PostLocalCore (line 12) | func PostLocalCore(url string) error { FILE: agent/utils/req_helper/request.go function HandleGet (line 19) | func HandleGet(url string) (*http.Response, error) { function HandleRequest (line 49) | func HandleRequest(url, method string, timeout int) (int, []byte, error) { function HandleRequestWithClient (line 55) | func HandleRequestWithClient(client *http.Client, url, method string, ti... type RequestResponse (line 86) | type RequestResponse struct function HandleRequestWithHeaders (line 92) | func HandleRequestWithHeaders(client *http.Client, url, method string, t... function RequestFile (line 126) | func RequestFile(url, method string, timeout int) (io.ReadCloser, contex... function loadRequestTransport (line 151) | func loadRequestTransport() *http.Transport { FILE: agent/utils/ssh/ssh.go type ConnInfo (line 12) | type ConnInfo struct type SSHClient (line 23) | type SSHClient struct method Close (line 59) | func (c *SSHClient) Close() { function NewClient (line 27) | func NewClient(c ConnInfo) (*SSHClient, error) { function makePrivateKeySigner (line 63) | func makePrivateKeySigner(privateKey []byte, passPhrase []byte) (gossh.S... FILE: agent/utils/ssl/acme.go type zeroSSLRes (line 33) | type zeroSSLRes struct constant KeyEC256 (line 42) | KeyEC256 = certcrypto.EC256 constant KeyEC384 (line 43) | KeyEC384 = certcrypto.EC384 constant KeyRSA2048 (line 44) | KeyRSA2048 = certcrypto.RSA2048 constant KeyRSA3072 (line 45) | KeyRSA3072 = certcrypto.RSA3072 constant KeyRSA4096 (line 46) | KeyRSA4096 = certcrypto.RSA4096 type AcmeUser (line 49) | type AcmeUser struct method GetEmail (line 55) | func (u *AcmeUser) GetEmail() string { method GetRegistration (line 59) | func (u *AcmeUser) GetRegistration() *registration.Resource { method GetPrivateKey (line 62) | func (u *AcmeUser) GetPrivateKey() crypto.PrivateKey { function GetPrivateKey (line 66) | func GetPrivateKey(priKey crypto.PrivateKey, keyType KeyType) ([]byte, e... function NewRegisterClient (line 96) | func NewRegisterClient(acmeAccount *model.WebsiteAcmeAccount, proxy *dto... function getCaDirURL (line 176) | func getCaDirURL(accountType, customCaURL string) string { function NewConfigWithProxy (line 195) | func NewConfigWithProxy(user registration.User, accountType, customCaURL... function initCertPool (line 220) | func initCertPool() *x509.CertPool { function createHTTPClientWithProxy (line 238) | func createHTTPClientWithProxy(proxyURL, username, password string) *htt... function getZeroSSLEabCredentials (line 276) | func getZeroSSLEabCredentials(email string) (*zeroSSLRes, error) { function GetPrivateKeyByType (line 315) | func GetPrivateKeyByType(keyType, sslPrivateKey string) (crypto.PrivateK... function getWebsiteSSLDomains (line 349) | func getWebsiteSSLDomains(websiteSSL *model.WebsiteSSL) []string { constant maxRetryAttempts (line 358) | maxRetryAttempts = 3 constant retryDelayOn503 (line 359) | retryDelayOn503 = 30 * time.Second function isHTTP503Error (line 363) | func isHTTP503Error(err error) bool { FILE: agent/utils/ssl/client.go type AcmeClientOption (line 22) | type AcmeClientOption type AcmeClientOptions (line 24) | type AcmeClientOptions struct type AcmeClient (line 28) | type AcmeClient struct method UseDns (line 47) | func (c *AcmeClient) UseDns(dnsType DnsType, params string, websiteSSL... method UseHTTP (line 74) | func (c *AcmeClient) UseHTTP(path string) error { method ObtainSSL (line 87) | func (c *AcmeClient) ObtainSSL(domains []string, privateKey crypto.Pri... method ObtainIPSSL (line 117) | func (c *AcmeClient) ObtainIPSSL(ipAddress string, privKey crypto.Priv... method RevokeSSL (line 165) | func (c *AcmeClient) RevokeSSL(pemSSL []byte) error { function NewAcmeClient (line 35) | func NewAcmeClient(acmeAccount *model.WebsiteAcmeAccount, systemProxy *d... FILE: agent/utils/ssl/dns_provider.go type DnsType (line 35) | type DnsType constant DnsPod (line 38) | DnsPod DnsType = "DnsPod" constant AliYun (line 39) | AliYun DnsType = "AliYun" constant AliESA (line 40) | AliESA DnsType = "AliESA" constant AWSRoute53 (line 41) | AWSRoute53 DnsType = "AWSRoute53" constant CloudFlare (line 42) | CloudFlare DnsType = "CloudFlare" constant CloudDns (line 43) | CloudDns DnsType = "CloudDns" constant NameSilo (line 44) | NameSilo DnsType = "NameSilo" constant NameCheap (line 45) | NameCheap DnsType = "NameCheap" constant NameCom (line 46) | NameCom DnsType = "NameCom" constant Godaddy (line 47) | Godaddy DnsType = "Godaddy" constant TencentCloud (line 48) | TencentCloud DnsType = "TencentCloud" constant RainYun (line 49) | RainYun DnsType = "RainYun" constant Volcengine (line 50) | Volcengine DnsType = "Volcengine" constant HuaweiCloud (line 51) | HuaweiCloud DnsType = "HuaweiCloud" constant FreeMyIP (line 52) | FreeMyIP DnsType = "FreeMyIP" constant Vercel (line 53) | Vercel DnsType = "Vercel" constant Spaceship (line 54) | Spaceship DnsType = "Spaceship" constant WestCN (line 55) | WestCN DnsType = "WestCN" constant ClouDNS (line 56) | ClouDNS DnsType = "ClouDNS" constant RegRu (line 57) | RegRu DnsType = "RegRu" constant Dynu (line 58) | Dynu DnsType = "Dynu" constant BaiduCloud (line 59) | BaiduCloud DnsType = "BaiduCloud" constant Ovh (line 60) | Ovh DnsType = "Ovh" constant AcmeDNS (line 61) | AcmeDNS DnsType = "AcmeDNS" constant PorkBun (line 62) | PorkBun DnsType = "PorkBun" constant Technitium (line 63) | Technitium DnsType = "Technitium" type DNSParam (line 66) | type DNSParam struct function getDNSProviderConfig (line 96) | func getDNSProviderConfig(dnsType DnsType, params string) (challenge.Pro... FILE: agent/utils/ssl/manual_client.go type ManualClient (line 23) | type ManualClient struct method GetDNSResolve (line 73) | func (c *ManualClient) GetDNSResolve(ctx context.Context, websiteSSL *... method extractDNSChallenges (line 106) | func (c *ManualClient) extractDNSChallenges(ctx context.Context, order... method handleAuthorization (line 161) | func (c *ManualClient) handleAuthorization(ctx context.Context, authzU... method createCSR (line 257) | func (c *ManualClient) createCSR(keyType string, privateKey string, do... method encodePrivateKey (line 275) | func (c *ManualClient) encodePrivateKey(key crypto.PrivateKey) (string... method RequestCertificate (line 303) | func (c *ManualClient) RequestCertificate(ctx context.Context, website... type RequestCertRequest (line 29) | type RequestCertRequest struct function NewCustomAcmeClient (line 33) | func NewCustomAcmeClient(acmeAccount *model.WebsiteAcmeAccount, logger *... type Resolve (line 67) | type Resolve struct function queryDNSRecords (line 148) | func queryDNSRecords(domain string) (map[string][]string, error) { function getNameservers (line 368) | func getNameservers(websiteSSL model.WebsiteSSL) []string { function handleNameserver (line 379) | func handleNameserver(nameserver string) string { function queryDNSRecordsWithResolver (line 386) | func queryDNSRecordsWithResolver(ctx context.Context, logger *log.Logger... function isNetworkError (line 431) | func isNetworkError(err error) bool { FILE: agent/utils/terminal/ai/client.go constant defaultTimeout (line 19) | defaultTimeout = 30 * time.Second constant defaultUserAgent (line 20) | defaultUserAgent = "1panel-terminal-ai/1.0" constant defaultAnthropicToken (line 21) | defaultAnthropicToken = 1024 type Client (line 24) | type Client interface type ClientConfig (line 28) | type ClientConfig struct type GeneratorConfig (line 39) | type GeneratorConfig struct type ChatMessage (line 48) | type ChatMessage struct type ChatCompletionRequest (line 53) | type ChatCompletionRequest struct type ChatCompletionResponse (line 60) | type ChatCompletionResponse struct type ResponseUsage (line 68) | type ResponseUsage struct type terminalAIClient (line 74) | type terminalAIClient struct method ChatCompletion (line 130) | func (c *terminalAIClient) ChatCompletion(ctx context.Context, req Cha... method chatCompletionOpenAI (line 146) | func (c *terminalAIClient) chatCompletionOpenAI(ctx context.Context, r... method chatCompletionOpenAIResponses (line 190) | func (c *terminalAIClient) chatCompletionOpenAIResponses(ctx context.C... method chatCompletionAnthropic (line 236) | func (c *terminalAIClient) chatCompletionAnthropic(ctx context.Context... method chatCompletionGemini (line 283) | func (c *terminalAIClient) chatCompletionGemini(ctx context.Context, r... method do (line 327) | func (c *terminalAIClient) do(httpReq *http.Request) ([]byte, error) { function NewClient (line 79) | func NewClient(cfg ClientConfig) (Client, error) { type ClientOption (line 110) | type ClientOption function WithBaseURL (line 112) | func WithBaseURL(baseURL string) ClientOption { function WithTimeout (line 118) | func WithTimeout(timeout time.Duration) ClientOption { function WithHTTPClient (line 124) | func WithHTTPClient(client *http.Client) ClientOption { type openAIChatCompletionRequest (line 344) | type openAIChatCompletionRequest struct type openAIChatCompletionResponse (line 352) | type openAIChatCompletionResponse struct type openAIResponsesRequest (line 366) | type openAIResponsesRequest struct type openAIResponsesInput (line 374) | type openAIResponsesInput struct type openAIResponsesInputPart (line 379) | type openAIResponsesInputPart struct type openAIResponsesResponse (line 384) | type openAIResponsesResponse struct type anthropicMessagesRequest (line 401) | type anthropicMessagesRequest struct type anthropicMessage (line 410) | type anthropicMessage struct type anthropicMessagesResponse (line 415) | type anthropicMessagesResponse struct type geminiGenerateContentRequest (line 428) | type geminiGenerateContentRequest struct type geminiContent (line 433) | type geminiContent struct type geminiContentPart (line 438) | type geminiContentPart struct type geminiGenerationConfig (line 442) | type geminiGenerationConfig struct type geminiGenerateContentResponse (line 448) | type geminiGenerateContentResponse struct type openAIErrorResponse (line 460) | type openAIErrorResponse struct function normalizeBaseURL (line 468) | func normalizeBaseURL(provider, rawBaseURL string) string { function buildChatCompletionsURL (line 479) | func buildChatCompletionsURL(baseURL string) string { function buildResponsesURL (line 499) | func buildResponsesURL(baseURL string) string { function buildAnthropicMessagesURL (line 516) | func buildAnthropicMessagesURL(baseURL string) string { function buildGeminiGenerateContentURL (line 533) | func buildGeminiGenerateContentURL(baseURL, model string) string { function normalizeModelID (line 554) | func normalizeModelID(model string) string { function normalizeClientAPIType (line 562) | func normalizeClientAPIType(provider, apiType string) string { function extractAssistantContent (line 583) | func extractAssistantContent(resp openAIChatCompletionResponse) string { function extractResponsesContent (line 593) | func extractResponsesContent(resp openAIResponsesResponse) string { function extractAnthropicContent (line 607) | func extractAnthropicContent(resp anthropicMessagesResponse) string { function extractGeminiContent (line 618) | func extractGeminiContent(resp geminiGenerateContentResponse) string { function toResponsesInput (line 632) | func toResponsesInput(messages []ChatMessage) []openAIResponsesInput { function toAnthropicMessages (line 649) | func toAnthropicMessages(messages []ChatMessage) (string, []anthropicMes... function toGeminiContents (line 679) | func toGeminiContents(messages []ChatMessage) []geminiContent { function normalizeRole (line 702) | func normalizeRole(role string) string { function parseProviderError (line 713) | func parseProviderError(statusCode int, body []byte) error { function extractErrorMessage (line 739) | func extractErrorMessage(value map[string]interface{}) string { function firstPositive (line 759) | func firstPositive(values ...int) int { function firstNonEmptyString (line 768) | func firstNonEmptyString(values ...string) string { FILE: agent/utils/terminal/ai/command_generator.go type CommandGenerator (line 9) | type CommandGenerator struct method Generate (line 52) | func (g *CommandGenerator) Generate(ctx context.Context, req CommandGe... type CommandGenerateRequest (line 13) | type CommandGenerateRequest struct type CommandGenerateResponse (line 22) | type CommandGenerateResponse struct function NewCommandGeneratorFromConfig (line 30) | func NewCommandGeneratorFromConfig(cfg GeneratorConfig) (*CommandGenerat... function NewCommandGenerator (line 45) | func NewCommandGenerator(client Client) (*CommandGenerator, error) { function buildCommandSystemPrompt (line 81) | func buildCommandSystemPrompt() string { function buildCommandUserPrompt (line 92) | func buildCommandUserPrompt(req CommandGenerateRequest) string { function formatBulletBlock (line 121) | func formatBulletBlock(values []string) string { function sanitizeCommand (line 133) | func sanitizeCommand(raw string) string { function providerNameFromModel (line 163) | func providerNameFromModel(model string) string { FILE: agent/utils/terminal/ai/config_runtime.go type TerminalRuntimeSettings (line 22) | type TerminalRuntimeSettings struct function ResolveGeneratorConfig (line 42) | func ResolveGeneratorConfig(accountID uint) (GeneratorConfig, time.Durat... function lookupProviderAPIKey (line 79) | func lookupProviderAPIKey(provider string) string { function defaultModelForProvider (line 87) | func defaultModelForProvider(provider string) (string, int) { function resolveAccountModelConfig (line 95) | func resolveAccountModelConfig(accountID uint, provider string) (string,... function ResolveGeneratorConfigFromAgentSettings (line 109) | func ResolveGeneratorConfigFromAgentSettings() (GeneratorConfig, uint, t... function LoadTerminalRuntimeSettings (line 129) | func LoadTerminalRuntimeSettings() (TerminalRuntimeSettings, GeneratorCo... function loadAgentAccount (line 152) | func loadAgentAccount(accountID uint) (*model.AgentAccount, error) { function loadAgentSettingValue (line 163) | func loadAgentSettingValue(key string) (string, error) { function loadRiskCommands (line 174) | func loadRiskCommands() ([]string, error) { function normalizeRiskCommands (line 192) | func normalizeRiskCommands(commands []string) []string { FILE: agent/utils/terminal/ai/validate.go constant validateTimeout (line 10) | validateTimeout = 15 * time.Second function ValidateTerminalAccount (line 12) | func ValidateTerminalAccount(accountID uint) error { FILE: agent/utils/terminal/ai_interceptor.go constant lineClearControl (line 18) | lineClearControl = 21 type aiInputInterceptor (line 20) | type aiInputInterceptor struct method refreshSettings (line 53) | func (i *aiInputInterceptor) refreshSettings() error { method HandleEnter (line 67) | func (i *aiInputInterceptor) HandleEnter() (string, bool) { method TrackInput (line 118) | func (i *aiInputInterceptor) TrackInput(data []byte) { method pushRecentCommand (line 150) | func (i *aiInputInterceptor) pushRecentCommand(command string) { method isRiskCommand (line 219) | func (i *aiInputInterceptor) isRiskCommand(command string) bool { function newAIInputInterceptor (line 33) | func newAIInputInterceptor(shell string) *aiInputInterceptor { function isEnterInput (line 166) | func isEnterInput(data []byte) bool { function firstNonEmpty (line 173) | func firstNonEmpty(values ...string) string { function sanitizeInputLine (line 182) | func sanitizeInputLine(raw string) string { function trimLastRuneBytes (line 204) | func trimLastRuneBytes(data []byte) []byte { function isEscapeSequenceTerminator (line 215) | func isEscapeSequenceTerminator(b byte) bool { FILE: agent/utils/terminal/local_cmd.go constant DefaultCloseSignal (line 16) | DefaultCloseSignal = syscall.SIGINT constant DefaultCloseTimeout (line 17) | DefaultCloseTimeout = 10 * time.Second type LocalCommand (line 20) | type LocalCommand struct method Read (line 54) | func (lcmd *LocalCommand) Read(p []byte) (n int, err error) { method Write (line 58) | func (lcmd *LocalCommand) Write(p []byte) (n int, err error) { method Close (line 62) | func (lcmd *LocalCommand) Close() error { method ResizeTerminal (line 85) | func (lcmd *LocalCommand) ResizeTerminal(width int, height int) error { method Wait (line 110) | func (lcmd *LocalCommand) Wait(quitChan chan bool) { function NewCommand (line 28) | func NewCommand(name string, arg ...string) (*LocalCommand, error) { FILE: agent/utils/terminal/ws_local_session.go type LocalWsSession (line 13) | type LocalWsSession struct method Start (line 36) | func (sws *LocalWsSession) Start(quitChan chan bool) { method handleSlaveEvent (line 41) | func (sws *LocalWsSession) handleSlaveEvent(exitCh chan bool) { method masterWrite (line 57) | func (sws *LocalWsSession) masterWrite(data []byte) error { method receiveWsMsg (line 79) | func (sws *LocalWsSession) receiveWsMsg(exitCh chan bool) { method sendWebsocketInputCommandToSshSessionStdinPipe (line 132) | func (sws *LocalWsSession) sendWebsocketInputCommandToSshSessionStdinP... function NewLocalWsSession (line 22) | func NewLocalWsSession(cols, rows int, wsConn *websocket.Conn, slave *Lo... FILE: agent/utils/terminal/ws_session.go type safeBuffer (line 16) | type safeBuffer struct method Write (line 21) | func (w *safeBuffer) Write(p []byte) (int, error) { method Bytes (line 26) | func (w *safeBuffer) Bytes() []byte { method Reset (line 31) | func (w *safeBuffer) Reset() { constant WsMsgCmd (line 38) | WsMsgCmd = "cmd" constant WsMsgResize (line 39) | WsMsgResize = "resize" constant WsMsgHeartbeat (line 40) | WsMsgHeartbeat = "heartbeat" type WsMsg (line 43) | type WsMsg struct type LogicSshWsSession (line 51) | type LogicSshWsSession struct method Close (line 108) | func (sws *LogicSshWsSession) Close() { method Start (line 120) | func (sws *LogicSshWsSession) Start(quitChan chan bool) { method receiveWsMsg (line 125) | func (sws *LogicSshWsSession) receiveWsMsg(exitCh chan bool) { method sendWebsocketInputCommandToSshSessionStdinPipe (line 175) | func (sws *LogicSshWsSession) sendWebsocketInputCommandToSshSessionStd... method sendComboOutput (line 181) | func (sws *LogicSshWsSession) sendComboOutput(exitCh chan bool) { method Wait (line 224) | func (sws *LogicSshWsSession) Wait(quitChan chan bool) { function NewLogicSshWsSession (line 63) | func NewLogicSshWsSession(cols, rows int, sshClient *ssh.Client, wsConn ... function setQuit (line 230) | func setQuit(ch chan bool) { FILE: agent/utils/toolbox/fail2ban.go type Fail2ban (line 14) | type Fail2ban struct method Status (line 41) | func (f *Fail2ban) Status() (bool, bool, bool) { method Version (line 49) | func (f *Fail2ban) Version() string { method Operate (line 58) | func (f *Fail2ban) Operate(operate string) error { method ReBanIPs (line 75) | func (f *Fail2ban) ReBanIPs(ips []string) error { method ListBanned (line 92) | func (f *Fail2ban) ListBanned() ([]string, error) { method ListIgnore (line 112) | func (f *Fail2ban) ListIgnore() ([]string, error) { constant defaultPath (line 16) | defaultPath = "/etc/fail2ban/jail.local" type FirewallClient (line 18) | type FirewallClient interface function NewFail2Ban (line 25) | func NewFail2Ban() (*Fail2ban, error) { function initLocalFile (line 131) | func initLocalFile() error { FILE: agent/utils/toolbox/helper/sha512_crypt.go constant SaltLenMin (line 12) | SaltLenMin = 1 constant SaltLenMax (line 13) | SaltLenMax = 16 constant RoundsMin (line 14) | RoundsMin = 1000 constant RoundsMax (line 15) | RoundsMax = 999999999 constant RoundsDefault (line 16) | RoundsDefault = 5000 function Generate (line 21) | func Generate(key []byte) (string, error) { function generateWRounds (line 176) | func generateWRounds() []byte { function base64_24Bit (line 187) | func base64_24Bit(src []byte) (hash []byte) { FILE: agent/utils/toolbox/pure-ftpd.go type Ftp (line 20) | type Ftp struct method Status (line 83) | func (f *Ftp) Status() (bool, bool) { method Operate (line 90) | func (f *Ftp) Operate(operate string) error { method UserAdd (line 102) | func (f *Ftp) UserAdd(username, passwd, path string) error { method UserDel (line 127) | func (f *Ftp) UserDel(username string) error { method SetPasswd (line 138) | func (f *Ftp) SetPasswd(username, passwd string) error { method SetPath (line 188) | func (f *Ftp) SetPath(username, path string) error { method SetStatus (line 201) | func (f *Ftp) SetStatus(username, status string) error { method LoadList (line 215) | func (f *Ftp) LoadList() ([]FtpList, error) { method Reload (line 242) | func (f *Ftp) Reload() error { method LoadLogs (line 249) | func (f *Ftp) LoadLogs(user, operation string) ([]FtpLog, error) { type FtpList (line 25) | type FtpList struct type FtpLog (line 31) | type FtpLog struct type FtpClient (line 40) | type FtpClient interface function NewFtpClient (line 51) | func NewFtpClient() (*Ftp, error) { function handleGunzip (line 300) | func handleGunzip(path string) error { function loadLogsByFiles (line 307) | func loadLogsByFiles(fileList []string, user, operation string) []FtpLog { function generatePureFtpEntrySimple (line 345) | func generatePureFtpEntrySimple(username, password, path string) (string... FILE: agent/utils/version/version.go function GetUpgradeVersionInfo (line 23) | func GetUpgradeVersionInfo() (*dto.UpgradeInfo, error) { function loadVersionByMode (line 62) | func loadVersionByMode(developer, currentVersion string) (string, string... function loadVersion (line 103) | func loadVersion(isLatest bool, currentVersion, mode string) string { function checkVersion (line 146) | func checkVersion(v2, v1 string) string { function loadReleaseNotes (line 164) | func loadReleaseNotes(path string) (string, error) { function HandleRequest (line 172) | func HandleRequest(url, method string, timeout int) (int, []byte, error) { function loadRequestTransport (line 205) | func loadRequestTransport() *http.Transport { FILE: agent/utils/websocket/client.go constant MaxMessageQuenue (line 9) | MaxMessageQuenue = 32 type Client (line 11) | type Client struct method Read (line 26) | func (c *Client) Read() { method Write (line 40) | func (c *Client) Write() { method Send (line 51) | func (c *Client) Send(res []byte) { function NewWsClient (line 18) | func NewWsClient(ID string, socket *websocket.Conn) *Client { FILE: agent/utils/websocket/process_data.go constant defaultTimeout (line 19) | defaultTimeout = 10 * time.Second type WsInput (line 21) | type WsInput struct type DownloadProgress (line 29) | type DownloadProgress struct type PsProcessConfig (line 33) | type PsProcessConfig struct type SSHSessionConfig (line 39) | type SSHSessionConfig struct type NetConfig (line 44) | type NetConfig struct type PsProcessData (line 50) | type PsProcessData struct type ProcessConnect (line 87) | type ProcessConnect struct type ProcessConnects (line 96) | type ProcessConnects type sshSession (line 98) | type sshSession struct function ProcessData (line 106) | func ProcessData(c *Client, inputMsg []byte) { function getDownloadProcess (line 142) | func getDownloadProcess(progress DownloadProgress) (res []byte, err erro... function handleProcessData (line 160) | func handleProcessData(proc *process.Process, processConfig *PsProcessCo... function getProcessData (line 209) | func getProcessData(processConfig PsProcessConfig) (res []byte, err erro... function getSSHSessions (line 244) | func getSSHSessions(config SSHSessionConfig) (res []byte, err error) { function getNetConnections (line 323) | func getNetConnections(config NetConfig) (res []byte, err error) { function getProcessNameWithContext (line 386) | func getProcessNameWithContext(ctx context.Context, pid int32) (string, ... function getConnectionType (line 398) | func getConnectionType(connType uint32, family uint32) string { FILE: agent/utils/xpack/community.go function RemoveTamper (line 19) | func RemoveTamper(website string) {} function StartClam (line 21) | func StartClam(startClam *model.Clam, isUpdate bool) (int, error) { function LoadNodeInfo (line 25) | func LoadNodeInfo(isBase bool) (model.NodeInfo, error) { function GetImagePrefix (line 34) | func GetImagePrefix() string { function IsUseCustomApp (line 38) | func IsUseCustomApp() bool { function IsXpack (line 42) | func IsXpack() bool { function CreateTaskScanSMSAlertLog (line 46) | func CreateTaskScanSMSAlertLog(alert dto.AlertDTO, alertType string, cre... function CreateSMSAlertLog (line 50) | func CreateSMSAlertLog(alertType string, info dto.AlertDTO, create dto.A... function CreateTaskScanWebhookAlertLog (line 54) | func CreateTaskScanWebhookAlertLog(alert dto.AlertDTO, alertType string,... function CreateWebhookAlertLog (line 58) | func CreateWebhookAlertLog(alertType string, info dto.AlertDTO, create d... function GetLicenseErrorAlert (line 62) | func GetLicenseErrorAlert() (uint, error) { function GetNodeErrorAlert (line 66) | func GetNodeErrorAlert() (uint, error) { function LoadRequestTransport (line 70) | func LoadRequestTransport() *http.Transport { function ValidateCertificate (line 83) | func ValidateCertificate(c *gin.Context) bool { function PushSSLToNode (line 87) | func PushSSLToNode(websiteSSL *model.WebsiteSSL) error { function GetAgentInfo (line 91) | func GetAgentInfo() (*dto.AgentInfo, error) { FILE: core/app/api/v2/auth.go type BaseApi (line 20) | type BaseApi struct method Login (line 29) | func (b *BaseApi) Login(c *gin.Context) { method MFALogin (line 83) | func (b *BaseApi) MFALogin(c *gin.Context) { method PasskeyBeginLogin (line 112) | func (b *BaseApi) PasskeyBeginLogin(c *gin.Context) { method PasskeyFinishLogin (line 138) | func (b *BaseApi) PasskeyFinishLogin(c *gin.Context) { method LogOut (line 169) | func (b *BaseApi) LogOut(c *gin.Context) { method Captcha (line 181) | func (b *BaseApi) Captcha(c *gin.Context) { method GetWelcomePage (line 190) | func (b *BaseApi) GetWelcomePage(c *gin.Context) { method GetLoginSetting (line 208) | func (b *BaseApi) GetLoginSetting(c *gin.Context) { function saveLoginLogs (line 231) | func saveLoginLogs(c *gin.Context, err error) { function wrapLoginErr (line 244) | func wrapLoginErr(msgKey string, err error) error { function loadEntranceFromRequest (line 254) | func loadEntranceFromRequest(c *gin.Context) string { FILE: core/app/api/v2/backup.go method CreateBackup (line 20) | func (b *BaseApi) CreateBackup(c *gin.Context) { method RefreshToken (line 41) | func (b *BaseApi) RefreshToken(c *gin.Context) { method LoadBackupClientInfo (line 60) | func (b *BaseApi) LoadBackupClientInfo(c *gin.Context) { method DeleteBackup (line 83) | func (b *BaseApi) DeleteBackup(c *gin.Context) { method UpdateBackup (line 105) | func (b *BaseApi) UpdateBackup(c *gin.Context) { FILE: core/app/api/v2/command.go method UploadCommandCsv (line 22) | func (b *BaseApi) UploadCommandCsv(c *gin.Context) { method ExportCommands (line 72) | func (b *BaseApi) ExportCommands(c *gin.Context) { method ImportCommands (line 88) | func (b *BaseApi) ImportCommands(c *gin.Context) { method CreateCommand (line 114) | func (b *BaseApi) CreateCommand(c *gin.Context) { method SearchCommand (line 135) | func (b *BaseApi) SearchCommand(c *gin.Context) { method SearchCommandTree (line 161) | func (b *BaseApi) SearchCommandTree(c *gin.Context) { method ListCommand (line 184) | func (b *BaseApi) ListCommand(c *gin.Context) { method DeleteCommand (line 208) | func (b *BaseApi) DeleteCommand(c *gin.Context) { method UpdateCommand (line 230) | func (b *BaseApi) UpdateCommand(c *gin.Context) { FILE: core/app/api/v2/entry.go type ApiGroup (line 5) | type ApiGroup struct FILE: core/app/api/v2/group.go method CreateGroup (line 18) | func (b *BaseApi) CreateGroup(c *gin.Context) { method DeleteGroup (line 40) | func (b *BaseApi) DeleteGroup(c *gin.Context) { method UpdateGroup (line 62) | func (b *BaseApi) UpdateGroup(c *gin.Context) { method ListGroup (line 83) | func (b *BaseApi) ListGroup(c *gin.Context) { FILE: core/app/api/v2/helper/helper.go function ErrorWithDetail (line 16) | func ErrorWithDetail(ctx *gin.Context, code int, msgKey string, err erro... function InternalServer (line 30) | func InternalServer(ctx *gin.Context, err error) { function BadRequest (line 34) | func BadRequest(ctx *gin.Context, err error) { function BadAuth (line 38) | func BadAuth(ctx *gin.Context, msgKey string, err error) { function SuccessWithData (line 42) | func SuccessWithData(ctx *gin.Context, data interface{}) { function Success (line 54) | func Success(ctx *gin.Context) { function CheckBindAndValidate (line 63) | func CheckBindAndValidate(req interface{}, c *gin.Context) error { function ErrWithHtml (line 75) | func ErrWithHtml(ctx *gin.Context, code int, scope string) { function GetParamID (line 95) | func GetParamID(c *gin.Context) (uint, error) { FILE: core/app/api/v2/logs.go method GetLoginLogs (line 17) | func (b *BaseApi) GetLoginLogs(c *gin.Context) { method GetOperationLogs (line 43) | func (b *BaseApi) GetOperationLogs(c *gin.Context) { method CleanLogs (line 70) | func (b *BaseApi) CleanLogs(c *gin.Context) { FILE: core/app/api/v2/script_library.go method CreateScript (line 33) | func (b *BaseApi) CreateScript(c *gin.Context) { method SearchScript (line 54) | func (b *BaseApi) SearchScript(c *gin.Context) { method DeleteScript (line 81) | func (b *BaseApi) DeleteScript(c *gin.Context) { method SyncScript (line 103) | func (b *BaseApi) SyncScript(c *gin.Context) { method UpdateScript (line 124) | func (b *BaseApi) UpdateScript(c *gin.Context) { method RunScript (line 137) | func (b *BaseApi) RunScript(c *gin.Context) { function wshandleError (line 242) | func wshandleError(ws *websocket.Conn, err error) bool { FILE: core/app/api/v2/setting.go method GetSettingInfo (line 29) | func (b *BaseApi) GetSettingInfo(c *gin.Context) { method GetSettingByKey (line 44) | func (b *BaseApi) GetSettingByKey(c *gin.Context) { method GetTerminalSettingInfo (line 63) | func (b *BaseApi) GetTerminalSettingInfo(c *gin.Context) { method GetSystemAvailable (line 78) | func (b *BaseApi) GetSystemAvailable(c *gin.Context) { method UpdateSetting (line 91) | func (b *BaseApi) UpdateSetting(c *gin.Context) { method UpdateTerminalSetting (line 131) | func (b *BaseApi) UpdateTerminalSetting(c *gin.Context) { method UpdateProxy (line 153) | func (b *BaseApi) UpdateProxy(c *gin.Context) { method UpdateMenu (line 184) | func (b *BaseApi) UpdateMenu(c *gin.Context) { method DefaultMenu (line 205) | func (b *BaseApi) DefaultMenu(c *gin.Context) { method UpdatePassword (line 222) | func (b *BaseApi) UpdatePassword(c *gin.Context) { method UpdateSSL (line 244) | func (b *BaseApi) UpdateSSL(c *gin.Context) { method LoadFromCert (line 263) | func (b *BaseApi) LoadFromCert(c *gin.Context) { method DownloadSSL (line 278) | func (b *BaseApi) DownloadSSL(c *gin.Context) { method LoadInterfaceAddr (line 295) | func (b *BaseApi) LoadInterfaceAddr(c *gin.Context) { method UpdateBindInfo (line 313) | func (b *BaseApi) UpdateBindInfo(c *gin.Context) { method UpdatePort (line 335) | func (b *BaseApi) UpdatePort(c *gin.Context) { method HandlePasswordExpired (line 357) | func (b *BaseApi) HandlePasswordExpired(c *gin.Context) { method LoadMFA (line 378) | func (b *BaseApi) LoadMFA(c *gin.Context) { method MFABind (line 402) | func (b *BaseApi) MFABind(c *gin.Context) { method PasskeyRegisterBegin (line 440) | func (b *BaseApi) PasskeyRegisterBegin(c *gin.Context) { method PasskeyRegisterFinish (line 464) | func (b *BaseApi) PasskeyRegisterFinish(c *gin.Context) { method PasskeyList (line 484) | func (b *BaseApi) PasskeyList(c *gin.Context) { method PasskeyDelete (line 499) | func (b *BaseApi) PasskeyDelete(c *gin.Context) { method ReloadSSL (line 512) | func (b *BaseApi) ReloadSSL(c *gin.Context) { method GenerateApiKey (line 533) | func (b *BaseApi) GenerateApiKey(c *gin.Context) { method UpdateApiConfig (line 556) | func (b *BaseApi) UpdateApiConfig(c *gin.Context) { method UpdateAppstoreConfig (line 582) | func (b *BaseApi) UpdateAppstoreConfig(c *gin.Context) { method GetAppstoreConfig (line 601) | func (b *BaseApi) GetAppstoreConfig(c *gin.Context) { method GetMemo (line 616) | func (b *BaseApi) GetMemo(c *gin.Context) { method UpdateMemo (line 634) | func (b *BaseApi) UpdateMemo(c *gin.Context) { function checkEntrancePattern (line 646) | func checkEntrancePattern(val string) bool { function normalizePasskeyTrustedProxies (line 679) | func normalizePasskeyTrustedProxies(value string) (string, error) { FILE: core/app/api/v2/upgrade.go method GetUpgradeInfo (line 15) | func (b *BaseApi) GetUpgradeInfo(c *gin.Context) { method LoadRelease (line 30) | func (b *BaseApi) LoadRelease(c *gin.Context) { method GetNotesByVersion (line 47) | func (b *BaseApi) GetNotesByVersion(c *gin.Context) { method Upgrade (line 70) | func (b *BaseApi) Upgrade(c *gin.Context) { FILE: core/app/dto/auth.go type CaptchaResponse (line 3) | type CaptchaResponse struct type UserLoginInfo (line 8) | type UserLoginInfo struct type PasskeyBeginResponse (line 14) | type PasskeyBeginResponse struct type MfaRequest (line 19) | type MfaRequest struct type MfaCredential (line 24) | type MfaCredential struct type Login (line 30) | type Login struct type MFALogin (line 38) | type MFALogin struct type SystemSetting (line 44) | type SystemSetting struct FILE: core/app/dto/backup.go type SyncToAgent (line 5) | type SyncToAgent struct type BackupOperate (line 11) | type BackupOperate struct type BackupInfo (line 25) | type BackupInfo struct type BackupClientInfo (line 40) | type BackupClientInfo struct type ForBuckets (line 46) | type ForBuckets struct FILE: core/app/dto/command.go type SearchCommandWithPage (line 3) | type SearchCommandWithPage struct type CommandImport (line 12) | type CommandImport struct type CommandOperate (line 16) | type CommandOperate struct type CommandInfo (line 25) | type CommandInfo struct type CommandTree (line 34) | type CommandTree struct type CommandDelete (line 40) | type CommandDelete struct FILE: core/app/dto/common.go type SearchWithPage (line 3) | type SearchWithPage struct type SearchPageWithType (line 8) | type SearchPageWithType struct type SearchPageWithGroup (line 14) | type SearchPageWithGroup struct type PageInfo (line 20) | type PageInfo struct type PageResult (line 25) | type PageResult struct type Response (line 30) | type Response struct type Options (line 36) | type Options struct type OperateByType (line 40) | type OperateByType struct type OperateByName (line 44) | type OperateByName struct type OperateByID (line 48) | type OperateByID struct type OperateByIDs (line 51) | type OperateByIDs struct type OperateByTaskID (line 54) | type OperateByTaskID struct FILE: core/app/dto/group.go type GroupCreate (line 3) | type GroupCreate struct type GroupSearch (line 9) | type GroupSearch struct type GroupUpdate (line 13) | type GroupUpdate struct type GroupInfo (line 20) | type GroupInfo struct FILE: core/app/dto/logs.go type OperationLog (line 7) | type OperationLog struct type SearchOpLogWithPage (line 25) | type SearchOpLogWithPage struct type SearchLgLogWithPage (line 33) | type SearchLgLogWithPage struct type LoginLog (line 39) | type LoginLog struct type CleanLog (line 49) | type CleanLog struct FILE: core/app/dto/script_library.go type ScriptInfo (line 5) | type ScriptInfo struct type ScriptOperate (line 18) | type ScriptOperate struct FILE: core/app/dto/setting.go type SettingInfo (line 7) | type SettingInfo struct type SettingKey (line 59) | type SettingKey struct type SettingUpdate (line 63) | type SettingUpdate struct type SSLUpdate (line 68) | type SSLUpdate struct type SSLInfo (line 76) | type SSLInfo struct type PasswordUpdate (line 85) | type PasswordUpdate struct type PortUpdate (line 90) | type PortUpdate struct type SnapshotCreate (line 94) | type SnapshotCreate struct type SnapshotRecover (line 101) | type SnapshotRecover struct type SnapshotBatchDelete (line 107) | type SnapshotBatchDelete struct type SnapshotImport (line 111) | type SnapshotImport struct type SnapshotInfo (line 116) | type SnapshotInfo struct type UpgradeInfo (line 137) | type UpgradeInfo struct type SyncTime (line 144) | type SyncTime struct type BindInfo (line 148) | type BindInfo struct type Upgrade (line 153) | type Upgrade struct type ReleasesNotes (line 157) | type ReleasesNotes struct type ProxyUpdate (line 166) | type ProxyUpdate struct type CleanData (line 177) | type CleanData struct type CleanTree (line 185) | type CleanTree struct type Clean (line 198) | type Clean struct type ShowMenu (line 204) | type ShowMenu struct type MenuLabelSort (line 215) | type MenuLabelSort struct type ApiInterfaceConfig (line 220) | type ApiInterfaceConfig struct type TerminalInfo (line 227) | type TerminalInfo struct type AppstoreUpdate (line 240) | type AppstoreUpdate struct type AppstoreConfig (line 244) | type AppstoreConfig struct type LoginSetting (line 250) | type LoginSetting struct type PasskeyRegisterRequest (line 263) | type PasskeyRegisterRequest struct type PasskeyInfo (line 267) | type PasskeyInfo struct type MemoUpdate (line 274) | type MemoUpdate struct FILE: core/app/model/agent.go type WebsiteSSL (line 7) | type WebsiteSSL struct method TableName (line 37) | func (w WebsiteSSL) TableName() string { type WebsiteCA (line 41) | type WebsiteCA struct FILE: core/app/model/alert.go type AlertConfig (line 3) | type AlertConfig struct FILE: core/app/model/backup.go type BackupAccount (line 3) | type BackupAccount struct FILE: core/app/model/base.go type BaseModel (line 5) | type BaseModel struct FILE: core/app/model/command.go type Command (line 3) | type Command struct FILE: core/app/model/group.go type Group (line 3) | type Group struct FILE: core/app/model/logs.go type OperationLog (line 7) | type OperationLog struct type LoginLog (line 24) | type LoginLog struct FILE: core/app/model/script_library.go type ScriptLibrary (line 3) | type ScriptLibrary struct FILE: core/app/model/setting.go type Setting (line 3) | type Setting struct FILE: core/app/model/task.go type Task (line 5) | type Task struct FILE: core/app/model/upgrade_log.go type UpgradeLog (line 3) | type UpgradeLog struct FILE: core/app/repo/agent.go type AgentRepo (line 8) | type AgentRepo struct method GetWebsiteSSL (line 19) | func (a *AgentRepo) GetWebsiteSSL(opts ...global.DBOption) (model.Webs... method GetCA (line 29) | func (a *AgentRepo) GetCA(opts ...global.DBOption) (model.WebsiteCA, e... type IAgentRepo (line 10) | type IAgentRepo interface function NewIAgentRepo (line 15) | func NewIAgentRepo() IAgentRepo { FILE: core/app/repo/backup.go type BackupRepo (line 8) | type BackupRepo struct method Get (line 23) | func (u *BackupRepo) Get(opts ...global.DBOption) (model.BackupAccount... method Page (line 33) | func (u *BackupRepo) Page(page, size int, opts ...global.DBOption) (in... method List (line 45) | func (u *BackupRepo) List(opts ...global.DBOption) ([]model.BackupAcco... method Create (line 55) | func (u *BackupRepo) Create(backup *model.BackupAccount) error { method Save (line 59) | func (u *BackupRepo) Save(backup *model.BackupAccount) error { method Delete (line 63) | func (u *BackupRepo) Delete(opts ...global.DBOption) error { type IBackupRepo (line 10) | type IBackupRepo interface function NewIBackupRepo (line 19) | func NewIBackupRepo() IBackupRepo { FILE: core/app/repo/command.go type CommandRepo (line 9) | type CommandRepo struct method Get (line 27) | func (u *CommandRepo) Get(opts ...global.DBOption) (model.Command, err... method Page (line 37) | func (u *CommandRepo) Page(page, size int, opts ...global.DBOption) (i... method List (line 49) | func (u *CommandRepo) List(opts ...global.DBOption) ([]model.Command, ... method Create (line 59) | func (u *CommandRepo) Create(command *model.Command) error { method Update (line 63) | func (u *CommandRepo) Update(id uint, vars map[string]interface{}) err... method UpdateGroup (line 66) | func (h *CommandRepo) UpdateGroup(group, newGroup uint) error { method Delete (line 70) | func (u *CommandRepo) Delete(opts ...global.DBOption) error { method WithByInfo (line 78) | func (c *CommandRepo) WithByInfo(info string) global.DBOption { type ICommandRepo (line 11) | type ICommandRepo interface function NewICommandRepo (line 23) | func NewICommandRepo() ICommandRepo { FILE: core/app/repo/common.go function WithByID (line 12) | func WithByID(id uint) global.DBOption { function WithByGroupID (line 17) | func WithByGroupID(id uint) global.DBOption { function WithByIDs (line 23) | func WithByIDs(ids []uint) global.DBOption { function WithByName (line 28) | func WithByName(name string) global.DBOption { function WithoutByName (line 33) | func WithoutByName(name string) global.DBOption { function WithByType (line 39) | func WithByType(ty string) global.DBOption { function WithByAddr (line 44) | func WithByAddr(addr string) global.DBOption { function WithByKey (line 49) | func WithByKey(key string) global.DBOption { function WithByStatus (line 54) | func WithByStatus(status string) global.DBOption { function WithByNode (line 59) | func WithByNode(node string) global.DBOption { function WithOrderDesc (line 65) | func WithOrderDesc(orderBy string) global.DBOption { function WithOrderAsc (line 69) | func WithOrderAsc(orderBy string) global.DBOption { function WithOrderRuleBy (line 73) | func WithOrderRuleBy(orderBy, order string) global.DBOption { FILE: core/app/repo/group.go type GroupRepo (line 9) | type GroupRepo struct method WithByDefault (line 26) | func (c *GroupRepo) WithByDefault(isDefault bool) global.DBOption { method Get (line 32) | func (u *GroupRepo) Get(opts ...global.DBOption) (model.Group, error) { method GetList (line 42) | func (u *GroupRepo) GetList(opts ...global.DBOption) ([]model.Group, e... method Create (line 52) | func (u *GroupRepo) Create(group *model.Group) error { method Update (line 56) | func (u *GroupRepo) Update(id uint, vars map[string]interface{}) error { method Delete (line 60) | func (u *GroupRepo) Delete(opts ...global.DBOption) error { method CancelDefault (line 68) | func (u *GroupRepo) CancelDefault(groupType string) error { type IGroupRepo (line 11) | type IGroupRepo interface function NewIGroupRepo (line 22) | func NewIGroupRepo() IGroupRepo { FILE: core/app/repo/logs.go type LogRepo (line 9) | type LogRepo struct method CleanLogin (line 29) | func (u *LogRepo) CleanLogin() error { method CreateLoginLog (line 33) | func (u *LogRepo) CreateLoginLog(log *model.LoginLog) error { method PageLoginLog (line 37) | func (u *LogRepo) PageLoginLog(page, size int, opts ...global.DBOption... method CleanOperation (line 49) | func (u *LogRepo) CleanOperation() error { method CreateOperationLog (line 53) | func (u *LogRepo) CreateOperationLog(log *model.OperationLog) error { method PageOperationLog (line 57) | func (u *LogRepo) PageOperationLog(page, size int, opts ...global.DBOp... method WithByStatus (line 69) | func (c *LogRepo) WithByStatus(status string) global.DBOption { method WithBySource (line 77) | func (c *LogRepo) WithBySource(source string) global.DBOption { method WithByIP (line 85) | func (c *LogRepo) WithByIP(ip string) global.DBOption { method WithByLikeOperation (line 91) | func (c *LogRepo) WithByLikeOperation(operation string) global.DBOption { type ILogRepo (line 11) | type ILogRepo interface function NewILogRepo (line 25) | func NewILogRepo() ILogRepo { FILE: core/app/repo/script_library.go type IScriptRepo (line 9) | type IScriptRepo interface function NewIScriptRepo (line 22) | func NewIScriptRepo() IScriptRepo { type ScriptRepo (line 26) | type ScriptRepo struct method Get (line 28) | func (u *ScriptRepo) Get(opts ...global.DBOption) (model.ScriptLibrary... method GetList (line 38) | func (u *ScriptRepo) GetList(opts ...global.DBOption) ([]model.ScriptL... method Page (line 48) | func (u *ScriptRepo) Page(page, size int, opts ...global.DBOption) (in... method Create (line 60) | func (u *ScriptRepo) Create(ScriptLibrary *model.ScriptLibrary) error { method Update (line 64) | func (u *ScriptRepo) Update(id uint, vars map[string]interface{}) error { method UpdateGroup (line 67) | func (u *ScriptRepo) UpdateGroup(group, newGroup uint) error { method Delete (line 71) | func (u *ScriptRepo) Delete(opts ...global.DBOption) error { method SyncAll (line 79) | func (u *ScriptRepo) SyncAll(scripts []model.ScriptLibrary) error { method WithByInfo (line 93) | func (u *ScriptRepo) WithByInfo(info string) global.DBOption { FILE: core/app/repo/setting.go type SettingRepo (line 14) | type SettingRepo struct method List (line 35) | func (u *SettingRepo) List(opts ...global.DBOption) ([]model.Setting, ... method Create (line 45) | func (u *SettingRepo) Create(key, value string) error { method Get (line 57) | func (u *SettingRepo) Get(opts ...global.DBOption) (model.Setting, err... method GetValueByKey (line 71) | func (u *SettingRepo) GetValueByKey(key string) (string, error) { method Update (line 84) | func (u *SettingRepo) Update(key, value string) error { method UpdateOrCreate (line 92) | func (u *SettingRepo) UpdateOrCreate(key, value string) error { method DefaultMenu (line 112) | func (u *SettingRepo) DefaultMenu() error { type ISettingRepo (line 21) | type ISettingRepo interface function NewISettingRepo (line 31) | func NewISettingRepo() ISettingRepo { FILE: core/app/repo/task.go type TaskRepo (line 11) | type TaskRepo struct method WithByID (line 48) | func (t TaskRepo) WithByID(id string) global.DBOption { method WithOperate (line 54) | func (t TaskRepo) WithOperate(taskOperate string) global.DBOption { method WithResourceID (line 60) | func (t TaskRepo) WithResourceID(id uint) global.DBOption { method Save (line 66) | func (t TaskRepo) Save(ctx context.Context, task *model.Task) error { method GetFirst (line 70) | func (t TaskRepo) GetFirst(opts ...global.DBOption) (model.Task, error) { method Page (line 79) | func (t TaskRepo) Page(page, size int, opts ...global.DBOption) (int64... method Update (line 88) | func (t TaskRepo) Update(ctx context.Context, task *model.Task) error { type ITaskRepo (line 14) | type ITaskRepo interface function NewITaskRepo (line 25) | func NewITaskRepo() ITaskRepo { function getTaskDb (line 29) | func getTaskDb(opts ...global.DBOption) *gorm.DB { function getTaskTx (line 37) | func getTaskTx(ctx context.Context, opts ...global.DBOption) *gorm.DB { FILE: core/app/repo/upgrade_log.go type UpgradeLogRepo (line 9) | type UpgradeLogRepo struct method Get (line 26) | func (u *UpgradeLogRepo) Get(opts ...global.DBOption) (model.UpgradeLo... method List (line 36) | func (u *UpgradeLogRepo) List(opts ...global.DBOption) ([]model.Upgrad... method Clean (line 46) | func (u *UpgradeLogRepo) Clean() error { method Create (line 50) | func (u *UpgradeLogRepo) Create(log *model.UpgradeLog) error { method Save (line 54) | func (u *UpgradeLogRepo) Save(log *model.UpgradeLog) error { method Delete (line 58) | func (u *UpgradeLogRepo) Delete(opts ...global.DBOption) error { method Page (line 66) | func (u *UpgradeLogRepo) Page(page, size int, opts ...global.DBOption)... method WithByNodeID (line 78) | func (c *UpgradeLogRepo) WithByNodeID(nodeID uint) global.DBOption { method WithByUpgradeVersion (line 84) | func (c *UpgradeLogRepo) WithByUpgradeVersion(oldVersion, newVersion s... type IUpgradeLogRepo (line 11) | type IUpgradeLogRepo interface function NewIUpgradeLogRepo (line 22) | func NewIUpgradeLogRepo() IUpgradeLogRepo { FILE: core/app/service/auth.go type AuthService (line 29) | type AuthService struct method Login (line 52) | func (u *AuthService) Login(c *gin.Context, info dto.Login, entrance s... method MFALogin (line 91) | func (u *AuthService) MFALogin(c *gin.Context, info dto.MFALogin, entr... method generateSession (line 132) | func (u *AuthService) generateSession(c *gin.Context, name string) (*d... method LogOut (line 161) | func (u *AuthService) LogOut(c *gin.Context) error { method VerifyCode (line 177) | func (u *AuthService) VerifyCode(code string) (bool, error) { method GetResponsePage (line 185) | func (u *AuthService) GetResponsePage() (string, error) { method GetSecurityEntrance (line 193) | func (u *AuthService) GetSecurityEntrance() string { method IsLogin (line 204) | func (u *AuthService) IsLogin(c *gin.Context) bool { method PasskeyStatus (line 209) | func (u *AuthService) PasskeyStatus(c *gin.Context) bool { method PasskeyBeginLogin (line 223) | func (u *AuthService) PasskeyBeginLogin(c *gin.Context, entrance strin... method PasskeyFinishLogin (line 259) | func (u *AuthService) PasskeyFinishLogin(c *gin.Context, sessionID, en... method PasskeyBeginRegister (line 324) | func (u *AuthService) PasskeyBeginRegister(c *gin.Context, name string... method PasskeyFinishRegister (line 359) | func (u *AuthService) PasskeyFinishRegister(c *gin.Context, sessionID ... method PasskeyList (line 422) | func (u *AuthService) PasskeyList() ([]dto.PasskeyInfo, error) { method PasskeyDelete (line 439) | func (u *AuthService) PasskeyDelete(id string) error { method passkeyEnabled (line 458) | func (u *AuthService) passkeyEnabled(c *gin.Context) (bool, error) { method passkeyConfigured (line 462) | func (u *AuthService) passkeyConfigured() (bool, error) { method passkeyUser (line 477) | func (u *AuthService) passkeyUser(records []passkey.PasskeyCredentialR... method passkeyUserID (line 498) | func (u *AuthService) passkeyUserID(allowCreate bool) ([]byte, error) { method passkeyConfig (line 524) | func (u *AuthService) passkeyConfig(c *gin.Context) (*webauthn.Config,... method checkEntrance (line 550) | func (u *AuthService) checkEntrance(entrance string) error { type IAuthService (line 31) | type IAuthService interface function NewIAuthService (line 48) | func NewIAuthService() IAuthService { function loadPasskeyCredentialRecords (line 561) | func loadPasskeyCredentialRecords() ([]passkey.PasskeyCredentialRecord, ... function savePasskeyCredentialRecords (line 583) | func savePasskeyCredentialRecords(records []passkey.PasskeyCredentialRec... function passkeyCredentialExists (line 601) | func passkeyCredentialExists(records []passkey.PasskeyCredentialRecord, ... function updatePasskeyCredentialRecord (line 611) | func updatePasskeyCredentialRecord(records []passkey.PasskeyCredentialRe... function credentialFlagsValue (line 624) | func credentialFlagsValue(flags webauthn.CredentialFlags) uint8 { function passkeyOriginAndRPID (line 641) | func passkeyOriginAndRPID(c *gin.Context) (string, string, error) { function passkeyRequestHost (line 665) | func passkeyRequestHost(c *gin.Context) string { function passkeyRequestScheme (line 673) | func passkeyRequestScheme(c *gin.Context) string { function passkeyIsFromTrustedProxy (line 689) | func passkeyIsFromTrustedProxy(c *gin.Context) bool { function passkeyRemoteIP (line 707) | func passkeyRemoteIP(remoteAddr string) net.IP { function loadPasskeyTrustedProxies (line 714) | func loadPasskeyTrustedProxies() ([]*net.IPNet, error) { function parsePasskeyTrustedProxies (line 725) | func parsePasskeyTrustedProxies(value string) ([]*net.IPNet, error) { function passkeyForwardedProto (line 752) | func passkeyForwardedProto(value string) string { function passkeyXForwardedProto (line 774) | func passkeyXForwardedProto(value string) string { function stripHostPort (line 785) | func stripHostPort(hostport string) string { function checkPassword (line 796) | func checkPassword(password string) error { FILE: core/app/service/backup.go type BackupService (line 24) | type BackupService struct method LoadBackupClientInfo (line 38) | func (u *BackupService) LoadBackupClientInfo(clientType string) (dto.B... method Create (line 65) | func (u *BackupService) Create(req dto.BackupOperate) error { method Delete (line 107) | func (u *BackupService) Delete(name string) error { method Update (line 136) | func (u *BackupService) Update(req dto.BackupOperate) error { method RefreshToken (line 185) | func (u *BackupService) RefreshToken(req dto.OperateByName) error { type IBackupService (line 26) | type IBackupService interface function NewIBackupService (line 34) | func NewIBackupService() IBackupService { FILE: core/app/service/command.go type CommandService (line 18) | type CommandService struct method List (line 35) | func (u *CommandService) List(req dto.OperateByType) ([]dto.CommandInf... method SearchForTree (line 51) | func (u *CommandService) SearchForTree(req dto.OperateByType) ([]dto.C... method SearchWithPage (line 77) | func (u *CommandService) SearchWithPage(req dto.SearchCommandWithPage)... method Export (line 110) | func (u *CommandService) Export() (string, error) { method Create (line 132) | func (u *CommandService) Create(req dto.CommandOperate) error { method Delete (line 146) | func (u *CommandService) Delete(ids []uint) error { method Update (line 157) | func (u *CommandService) Update(req dto.CommandOperate) error { type ICommandService (line 20) | type ICommandService interface function NewICommandService (line 31) | func NewICommandService() ICommandService { FILE: core/app/service/group.go type GroupService (line 20) | type GroupService struct method List (line 33) | func (u *GroupService) List(req dto.OperateByType) ([]dto.GroupInfo, e... method Create (line 60) | func (u *GroupService) Create(req dto.GroupCreate) error { method Delete (line 74) | func (u *GroupService) Delete(id uint) error { method Update (line 124) | func (u *GroupService) Update(req dto.GroupUpdate) error { type IGroupService (line 22) | type IGroupService interface function NewIGroupService (line 29) | func NewIGroupService() IGroupService { FILE: core/app/service/logs.go type LogService (line 17) | type LogService struct method CreateLoginLog (line 35) | func (u *LogService) CreateLoginLog(operation model.LoginLog) error { method PageLoginLog (line 39) | func (u *LogService) PageLoginLog(ctx *gin.Context, req dto.SearchLgLo... method CreateOperationLog (line 69) | func (u *LogService) CreateOperationLog(operation *model.OperationLog)... method PageOperationLog (line 73) | func (u *LogService) PageOperationLog(req dto.SearchOpLogWithPage) (in... method CleanLogs (line 104) | func (u *LogService) CleanLogs(logtype string) error { constant logs (line 19) | logs = "https://resource.fit2cloud.com/installation-log.sh" type ILogService (line 21) | type ILogService interface function NewILogService (line 31) | func NewILogService() ILogService { function writeLogs (line 111) | func writeLogs(version string) { FILE: core/app/service/script_library.go type ScriptService (line 31) | type ScriptService struct method Search (line 46) | func (u *ScriptService) Search(ctx *gin.Context, req dto.SearchPageWit... method Create (line 113) | func (u *ScriptService) Create(req dto.ScriptOperate) error { method Delete (line 133) | func (u *ScriptService) Delete(req dto.OperateByIDs) error { method Update (line 149) | func (u *ScriptService) Update(req dto.ScriptOperate) error { method Run (line 194) | func (u *ScriptService) Run() { method Sync (line 204) | func (u *ScriptService) Sync(req dto.OperateByTaskID) error { type IScriptService (line 33) | type IScriptService interface function NewIScriptService (line 42) | func NewIScriptService() IScriptService { function StartSync (line 169) | func StartSync() { function LoadScriptInfo (line 200) | func LoadScriptInfo(id uint) (model.ScriptLibrary, error) { type Scripts (line 291) | type Scripts struct type ScriptDetail (line 295) | type ScriptDetail struct type ScriptHelper (line 299) | type ScriptHelper struct FILE: core/app/service/setting.go type SettingService (line 42) | type SettingService struct method GetSettingInfo (line 77) | func (u *SettingService) GetSettingInfo() (*dto.SettingInfo, error) { method Update (line 130) | func (u *SettingService) Update(key, value string) error { method LoadInterfaceAddr (line 207) | func (u *SettingService) LoadInterfaceAddr() ([]string, error) { method UpdateBindInfo (line 226) | func (u *SettingService) UpdateBindInfo(req dto.BindInfo) error { method UpdateProxy (line 240) | func (u *SettingService) UpdateProxy(req dto.ProxyUpdate) error { method UpdatePort (line 279) | func (u *SettingService) UpdatePort(port uint) error { method UpdateSSL (line 307) | func (u *SettingService) UpdateSSL(c *gin.Context, req dto.SSLUpdate) ... method LoadFromCert (line 425) | func (u *SettingService) LoadFromCert() (*dto.SSLInfo, error) { method HandlePasswordExpired (line 477) | func (u *SettingService) HandlePasswordExpired(c *gin.Context, old, ne... method GetTerminalInfo (line 508) | func (u *SettingService) GetTerminalInfo() (*dto.TerminalInfo, error) { method UpdateTerminal (line 527) | func (u *SettingService) UpdateTerminal(req dto.TerminalInfo) error { method UpdatePassword (line 564) | func (u *SettingService) UpdatePassword(c *gin.Context, old, new strin... method clearPasskeySettings (line 572) | func (u *SettingService) clearPasskeySettings() error { method UpdateSystemSSL (line 582) | func (u *SettingService) UpdateSystemSSL() error { method GenerateApiKey (line 601) | func (u *SettingService) GenerateApiKey() (string, error) { method UpdateApiConfig (line 610) | func (u *SettingService) UpdateApiConfig(req dto.ApiInterfaceConfig) e... method GenerateRSAKey (line 687) | func (u *SettingService) GenerateRSAKey() error { method UpdateAppstoreConfig (line 713) | func (u *SettingService) UpdateAppstoreConfig(req dto.AppstoreUpdate) ... method GetAppstoreConfig (line 717) | func (u *SettingService) GetAppstoreConfig() (*dto.AppstoreConfig, err... method DefaultMenu (line 808) | func (u *SettingService) DefaultMenu() error { method GetMemo (line 812) | func (u *SettingService) GetMemo() (string, error) { method UpdateMemo (line 820) | func (u *SettingService) UpdateMemo(content string) error { type ISettingService (line 44) | type ISettingService interface function NewISettingService (line 73) | func NewISettingService() ISettingService { function sortShowMenus (line 116) | func sortShowMenus(menus []dto.ShowMenu) { function loadInfoFromCert (line 630) | func loadInfoFromCert() (dto.SSLInfo, error) { function checkCertValid (line 664) | func checkCertValid() error { function loadDockerProxy (line 734) | func loadDockerProxy(req dto.ProxyUpdate) string { function checkProxy (line 750) | func checkProxy(req dto.ProxyUpdate) error { FILE: core/app/service/upgrade.go type serviceInfo (line 28) | type serviceInfo struct function loadServiceInfo (line 36) | func loadServiceInfo() (serviceInfo, error) { type UpgradeService (line 71) | type UpgradeService struct method SearchUpgrade (line 85) | func (u *UpgradeService) SearchUpgrade() (*dto.UpgradeInfo, error) { method LoadNotes (line 128) | func (u *UpgradeService) LoadNotes(req dto.Upgrade) (string, error) { method Upgrade (line 140) | func (u *UpgradeService) Upgrade(req dto.Upgrade) error { method Rollback (line 266) | func (u *UpgradeService) Rollback(req dto.OperateByID) error { method LoadRelease (line 288) | func (u *UpgradeService) LoadRelease() ([]dto.ReleasesNotes, error) { method handleBackup (line 352) | func (u *UpgradeService) handleBackup(originalDir string, svcInfo serv... method handleRollback (line 380) | func (u *UpgradeService) handleRollback(originalDir string, errStep in... method loadVersionByMode (line 420) | func (u *UpgradeService) loadVersionByMode(developer, currentVersion s... method loadVersion (line 457) | func (u *UpgradeService) loadVersion(isLatest bool, currentVersion, mo... method checkVersion (line 500) | func (u *UpgradeService) checkVersion(v2, v1 string) string { method loadReleaseNotes (line 518) | func (u *UpgradeService) loadReleaseNotes(path string) (string, error) { type IUpgradeService (line 73) | type IUpgradeService interface function NewIUpgradeService (line 81) | func NewIUpgradeService() IUpgradeService { type noteHelper (line 279) | type noteHelper struct type noteDetailHelper (line 282) | type noteDetailHelper struct function analyzeDoc (line 329) | func analyzeDoc(version, content string) dto.ReleasesNotes { function loadArch (line 526) | func loadArch() (string, error) { function dropBackupCopies (line 552) | func dropBackupCopies() { FILE: core/app/task/task.go type ActionFunc (line 21) | type ActionFunc type RollbackFunc (line 22) | type RollbackFunc type Task (line 24) | type Task struct method AddSubTask (line 112) | func (t *Task) AddSubTask(name string, action ActionFunc, rollback Rol... method AddSubTaskWithAlias (line 117) | func (t *Task) AddSubTaskWithAlias(key string, action ActionFunc, roll... method AddSubTaskWithOps (line 122) | func (t *Task) AddSubTaskWithOps(name string, action ActionFunc, rollb... method AddSubTaskWithIgnoreErr (line 127) | func (t *Task) AddSubTaskWithIgnoreErr(name string, action ActionFunc) { method updateTask (line 176) | func (t *Task) updateTask(task *model.Task) { method Execute (line 180) | func (t *Task) Execute() error { method DeleteLogFile (line 221) | func (t *Task) DeleteLogFile() { method LogWithStatus (line 225) | func (t *Task) LogWithStatus(msg string, err error) { method Log (line 233) | func (t *Task) Log(msg string) { method Logf (line 237) | func (t *Task) Logf(format string, v ...any) { method LogFailed (line 241) | func (t *Task) LogFailed(msg string) { method LogFailedWithErr (line 245) | func (t *Task) LogFailedWithErr(msg string, err error) { method LogSuccess (line 249) | func (t *Task) LogSuccess(msg string) { method LogSuccessF (line 252) | func (t *Task) LogSuccessF(format string, v ...any) { method LogStart (line 256) | func (t *Task) LogStart(msg string) { method LogWithOps (line 260) | func (t *Task) LogWithOps(operate, msg string) { method LogSuccessWithOps (line 264) | func (t *Task) LogSuccessWithOps(operate, msg string) { method LogFailedWithOps (line 268) | func (t *Task) LogFailedWithOps(operate, msg string, err error) { type SubTask (line 37) | type SubTask struct method Execute (line 132) | func (s *SubTask) Execute() error { constant TaskUpgrade (line 51) | TaskUpgrade = "TaskUpgrade" constant TaskAddNode (line 52) | TaskAddNode = "TaskAddNode" constant TaskSync (line 53) | TaskSync = "TaskSync" constant TaskSyncForNode (line 54) | TaskSyncForNode = "TaskSyncForNode" constant TaskRsync (line 55) | TaskRsync = "TaskRsync" constant TaskInstallCluster (line 56) | TaskInstallCluster = "TaskInstallCluster" constant TaskCreateCluster (line 57) | TaskCreateCluster = "TaskCreateCluster" constant TaskBackup (line 58) | TaskBackup = "TaskBackup" constant TaskPush (line 59) | TaskPush = "TaskPush" constant TaskScopeSystem (line 63) | TaskScopeSystem = "System" constant TaskScopeScript (line 64) | TaskScopeScript = "ScriptLibrary" constant TaskScopeNodeFile (line 65) | TaskScopeNodeFile = "NodeFile" constant TaskScopeAppBackup (line 66) | TaskScopeAppBackup = "AppBackup" constant TaskScopeCluster (line 67) | TaskScopeCluster = "Cluster" constant TaskScopeAppInstall (line 68) | TaskScopeAppInstall = "AppInstallTask" function GetTaskName (line 71) | func GetTaskName(resourceName, operate, scope string) string { function NewTaskWithOps (line 75) | func NewTaskWithOps(resourceName, operate, scope, taskID string, resourc... function NewTask (line 79) | func NewTask(name, operate, taskScope, taskID string, resourceID uint) (... type SimpleFormatter (line 272) | type SimpleFormatter struct method Format (line 274) | func (f *SimpleFormatter) Format(entry *logrus.Entry) ([]byte, error) { FILE: core/buserr/errors.go type BusinessError (line 8) | type BusinessError struct method Error (line 15) | func (e BusinessError) Error() string { function New (line 33) | func New(key string, opts ...Option) BusinessError { function WithErr (line 45) | func WithErr(Key string, err error) BusinessError { function WithDetail (line 57) | func WithDetail(Key string, detail interface{}, err error) BusinessError { function WithMap (line 65) | func WithMap(Key string, maps map[string]interface{}, err error) Busines... function WithName (line 73) | func WithName(Key string, name string) BusinessError { type Option (line 84) | type Option function WithNameOption (line 86) | func WithNameOption(name string) Option { function WithErrOption (line 97) | func WithErrOption(err error) Option { FILE: core/buserr/multi_err.go type MultiErr (line 9) | type MultiErr method Error (line 11) | func (e MultiErr) Error() string { FILE: core/cmd/server/cmd/app.go function init (line 20) | func init() { function createFile (line 106) | func createFile(filePath string) error { function createFolder (line 119) | func createFolder(dirPath string) error { function writeFile (line 130) | func writeFile(filePath string, in io.Reader) error { function loadAppHelper (line 143) | func loadAppHelper() { function loadAppInitHelper (line 153) | func loadAppInitHelper() { FILE: core/cmd/server/cmd/listen-ip.go function init (line 11) | func init() { function updateBindInfo (line 46) | func updateBindInfo(protocol string) error { function loadListenIPHelper (line 73) | func loadListenIPHelper() { FILE: core/cmd/server/cmd/reset.go function init (line 12) | func init() { function loadResetHelper (line 145) | func loadResetHelper() { FILE: core/cmd/server/cmd/restore.go function init (line 20) | func init() { function loadRestorePath (line 116) | func loadRestorePath(upgradeDir string) (string, error) { function loadRollbackVersion (line 139) | func loadRollbackVersion(upgradeDir string) string { function cleanOrphanSQLiteSidecars (line 151) | func cleanOrphanSQLiteSidecars(dbDir string) error { FILE: core/cmd/server/cmd/root.go function init (line 19) | func init() { type setting (line 31) | type setting struct function loadDBConn (line 40) | func loadDBConn(dbName string) (*gorm.DB, error) { function getSettingByKey (line 60) | func getSettingByKey(db *gorm.DB, key string) string { type LoginLog (line 66) | type LoginLog struct function isDefault (line 68) | func isDefault(db *gorm.DB) bool { function setSettingByKey (line 74) | func setSettingByKey(db *gorm.DB, key, value string) error { function isRoot (line 78) | func isRoot() bool { FILE: core/cmd/server/cmd/update.go function init (line 22) | func init() { function username (line 111) | func username() { function password (line 144) | func password() { function port (line 212) | func port() { function isValidPassword (line 245) | func isValidPassword(password string) bool { function isSpecialChar (line 270) | func isSpecialChar(char rune) bool { function contains (line 275) | func contains(specialChars string, char rune) bool { function loadUpdateHelper (line 284) | func loadUpdateHelper() { FILE: core/cmd/server/cmd/user-info.go function init (line 13) | func init() { FILE: core/cmd/server/cmd/version.go function init (line 14) | func init() { FILE: core/cmd/server/docs/docs.go constant docTemplate (line 5) | docTemplate = `{ function init (line 37618) | func init() { FILE: core/cmd/server/docs/swagger_test.go function TestGenerateXlog (line 16) | func TestGenerateXlog(t *testing.T) { function TestGenerateSwaggerDoc (line 72) | func TestGenerateSwaggerDoc(t *testing.T) { type Swagger (line 154) | type Swagger struct function loadDefaultDocs (line 163) | func loadDefaultDocs() string { function replaceStr (line 188) | func replaceStr(val string, rep ...string) string { type operationJson (line 196) | type operationJson struct type functionInfo (line 203) | type functionInfo struct FILE: core/cmd/server/main.go function main (line 38) | func main() { FILE: core/constant/alert.go constant WeChat (line 4) | WeChat = "wechat" constant SMS (line 5) | SMS = "sms" constant Email (line 6) | Email = "mail" constant WeCom (line 7) | WeCom = "weCom" constant DingTalk (line 8) | DingTalk = "dingTalk" constant FeiShu (line 9) | FeiShu = "feiShu" constant Custom (line 10) | Custom = "custom" FILE: core/constant/common.go type DBContext (line 5) | type DBContext constant TimeOut5s (line 8) | TimeOut5s = 5 constant TimeOut20s (line 9) | TimeOut20s = 20 constant TimeOut5m (line 10) | TimeOut5m = 300 constant DateLayout (line 12) | DateLayout = "2006-01-02" constant DefaultDate (line 13) | DefaultDate = "1970-01-01" constant DateTimeLayout (line 14) | DateTimeLayout = "2006-01-02 15:04:05" constant DateTimeSlimLayout (line 15) | DateTimeSlimLayout = "20060102150405" constant OrderDesc (line 17) | OrderDesc = "descending" constant OrderAsc (line 18) | OrderAsc = "ascending" constant S3 (line 21) | S3 = "S3" constant OSS (line 22) | OSS = "OSS" constant Sftp (line 23) | Sftp = "SFTP" constant OneDrive (line 24) | OneDrive = "OneDrive" constant MinIo (line 25) | MinIo = "MINIO" constant Cos (line 26) | Cos = "COS" constant Kodo (line 27) | Kodo = "KODO" constant WebDAV (line 28) | WebDAV = "WebDAV" constant Local (line 29) | Local = "LOCAL" constant UPYUN (line 30) | UPYUN = "UPYUN" constant ALIYUN (line 31) | ALIYUN = "ALIYUN" constant GoogleDrive (line 32) | GoogleDrive = "GoogleDrive" constant OneDriveRedirectURI (line 34) | OneDriveRedirectURI = "http://localhost/login/authorized" constant DirPerm (line 38) | DirPerm = 0755 constant FilePerm (line 39) | FilePerm = 0644 constant SyncSystemProxy (line 43) | SyncSystemProxy = "SyncSystemProxy" constant SyncScripts (line 44) | SyncScripts = "SyncScripts" constant SyncBackupAccounts (line 45) | SyncBackupAccounts = "SyncBackupAccounts" constant SyncAlertSetting (line 46) | SyncAlertSetting = "SyncAlertSetting" constant SyncCustomApp (line 47) | SyncCustomApp = "SyncCustomApp" constant SyncLanguage (line 48) | SyncLanguage = "SyncLanguage" constant SyncEdition (line 49) | SyncEdition = "SyncEdition" constant SyncSystemProxyWithRestartDocker (line 50) | SyncSystemProxyWithRestartDocker = "SyncSystemProxyWithRestartDocker" constant RoleMaster (line 198) | RoleMaster = "master" constant RoleSlave (line 199) | RoleSlave = "slave" FILE: core/constant/session.go constant AuthMethodSession (line 4) | AuthMethodSession = "session" constant SessionName (line 5) | SessionName = "psession" constant PasswordExpiredName (line 7) | PasswordExpiredName = "expired" FILE: core/constant/status.go constant StatusSuccess (line 4) | StatusSuccess = "Success" constant StatusFailed (line 5) | StatusFailed = "Failed" constant StatusWaiting (line 8) | StatusWaiting = "Waiting" constant StatusHealthy (line 9) | StatusHealthy = "Healthy" constant StatusStarting (line 10) | StatusStarting = "Starting" constant StatusUnhealthy (line 11) | StatusUnhealthy = "Unhealthy" constant StatusWaitForUpgrade (line 12) | StatusWaitForUpgrade = "WaitForUpgrade" constant StatusUpgrading (line 13) | StatusUpgrading = "Upgrading" constant StatusRunning (line 14) | StatusRunning = "Running" constant StatusFree (line 15) | StatusFree = "Free" constant StatusBound (line 16) | StatusBound = "Bound" constant StatusExceptional (line 17) | StatusExceptional = "Exceptional" constant StatusRetrying (line 18) | StatusRetrying = "Retrying" constant StatusLost (line 19) | StatusLost = "Lost" constant StatusExecuting (line 20) | StatusExecuting = "Executing" constant StatusEnable (line 22) | StatusEnable = "Enable" constant StatusDisable (line 23) | StatusDisable = "Disable" constant StatusMux (line 24) | StatusMux = "Mux" constant StatusInstalling (line 26) | StatusInstalling = "Installing" constant StatusNormal (line 27) | StatusNormal = "Normal" constant StatusDeleted (line 28) | StatusDeleted = "Deleted" constant StatusLoading (line 29) | StatusLoading = "Loading" FILE: core/global/config.go type ServerConfig (line 3) | type ServerConfig struct type Base (line 9) | type Base struct type Conn (line 24) | type Conn struct type ApiInterface (line 32) | type ApiInterface struct type LogConfig (line 39) | type LogConfig struct FILE: core/global/global.go type DBOption (line 36) | type DBOption function RepoURL (line 38) | func RepoURL() string { function ResourceURL (line 44) | func ResourceURL() string { function AppRepoURL (line 50) | func AppRepoURL() string { FILE: core/i18n/i18n.go constant defaultLang (line 18) | defaultLang = "en" function GetMsgWithMap (line 33) | func GetMsgWithMap(key string, maps map[string]interface{}) string { function GetMsgWithDetail (line 53) | func GetMsgWithDetail(key string, detail string) string { function GetErrMsg (line 69) | func GetErrMsg(key string, maps map[string]interface{}) string { function GetMsgByKey (line 84) | func GetMsgByKey(key string) string { function Get (line 91) | func Get(key string) string { function GetWithName (line 101) | func GetWithName(key string, name string) string { function GetWithNameAndErr (line 113) | func GetWithNameAndErr(key string, name string, err error) string { function UseI18n (line 130) | func UseI18n() gin.HandlerFunc { function Init (line 140) | func Init() { function UseI18nForCmd (line 153) | func UseI18nForCmd(lang string) { function GetMsgByKeyForCmd (line 168) | func GetMsgByKeyForCmd(key string) string { function GetMsgWithMapForCmd (line 178) | func GetMsgWithMapForCmd(key string, maps map[string]interface{}) string { function getLanguageFromDBInternal (line 201) | func getLanguageFromDBInternal() string { function getLanguageFrom1pctl (line 211) | func getLanguageFrom1pctl() string { function GetLanguage (line 226) | func GetLanguage() string { function SetCachedDBLanguage (line 233) | func SetCachedDBLanguage(lang string) { function initBundle (line 240) | func initBundle() { FILE: core/init/auth/ip_tracker.go constant MaxIPCount (line 9) | MaxIPCount = 100 constant ExpireDuration (line 10) | ExpireDuration = 30 * time.Minute type IPRecord (line 13) | type IPRecord struct type IPTracker (line 18) | type IPTracker struct method NeedCaptcha (line 31) | func (t *IPTracker) NeedCaptcha(ip string) bool { method SetNeedCaptcha (line 48) | func (t *IPTracker) SetNeedCaptcha(ip string) { method Clear (line 73) | func (t *IPTracker) Clear(ip string) { method removeIPUnsafe (line 80) | func (t *IPTracker) removeIPUnsafe(ip string) { method removeOldestUnsafe (line 91) | func (t *IPTracker) removeOldestUnsafe() { function NewIPTracker (line 24) | func NewIPTracker() *IPTracker { FILE: core/init/cron/cron.go function Init (line 13) | func Init() { FILE: core/init/cron/job/backup.go type backup (line 14) | type backup struct method Run (line 20) | func (b *backup) Run() { function NewBackupJob (line 16) | func NewBackupJob() *backup { FILE: core/init/db/db.go function Init (line 10) | func Init() { FILE: core/init/geo/lang.go function Init (line 15) | func Init() { function initLang (line 19) | func initLang() { function loadRestorePath (line 83) | func loadRestorePath(upgradeDir string) (string, error) { function downloadLangFromRemote (line 106) | func downloadLangFromRemote() { function downloadGeoFromRemote (line 123) | func downloadGeoFromRemote(targetPath string) { FILE: core/init/hook/hook.go function Init (line 15) | func Init() { function handleUserInfo (line 39) | func handleUserInfo(tags string, settingRepo repo.ISettingRepo) { function generateKey (line 84) | func generateKey() { function initDockerConf (line 90) | func initDockerConf() { FILE: core/init/log/log.go constant TimeFormat (line 18) | TimeFormat = "2006-01-02 15:04:05" constant FileTImeFormat (line 19) | FileTImeFormat = "2006-01-02" constant RollingTimePattern (line 20) | RollingTimePattern = "0 0 * * *" function Init (line 23) | func Init() { function setOutput (line 30) | func setOutput(logger *logrus.Logger, config global.LogConfig) { type MineFormatter (line 53) | type MineFormatter struct method Format (line 55) | func (s *MineFormatter) Format(entry *logrus.Entry) ([]byte, error) { FILE: core/init/migration/helper/menu.go function LoadMenus (line 13) | func LoadMenus() string { function MenuSort (line 63) | func MenuSort() []dto.MenuLabelSort { function AddMenu (line 104) | func AddMenu(newMenu dto.ShowMenu, parentMenuID string, tx *gorm.DB) err... function RemoveMenuByID (line 142) | func RemoveMenuByID(menus []dto.ShowMenu, id string) []dto.ShowMenu { FILE: core/init/migration/migrate.go function Init (line 10) | func Init() { FILE: core/init/proxy/proxy.go constant SockPath (line 11) | SockPath = "/etc/1panel/agent.sock" function Init (line 17) | func Init() { FILE: core/init/router/proxy.go function Proxy (line 20) | func Proxy() gin.HandlerFunc { function checkSession (line 68) | func checkSession(c *gin.Context) bool { function isLocalAPI (line 87) | func isLocalAPI(urlPath string) bool { FILE: core/init/router/router.go function setWebStatic (line 28) | func setWebStatic(rootRouter *gin.RouterGroup) { function Routers (line 68) | func Routers() *gin.Engine { function RegisterImages (line 109) | func RegisterImages(rootRouter *gin.RouterGroup) { function setStaticResource (line 137) | func setStaticResource(rootRouter *gin.RouterGroup) { FILE: core/init/run/run.go function Init (line 11) | func Init() { FILE: core/init/session/psession/psession.go type SessionUser (line 20) | type SessionUser struct type PSession (line 25) | type PSession struct method Get (line 63) | func (p *PSession) Get(c *gin.Context) (SessionUser, error) { method Set (line 81) | func (p *PSession) Set(c *gin.Context, user SessionUser, secure bool, ... method Delete (line 100) | func (p *PSession) Delete(c *gin.Context) error { method Clean (line 111) | func (p *PSession) Clean() error { function NewPSession (line 30) | func NewPSession(dbPath string) *PSession { FILE: core/init/session/session.go function Init (line 10) | func Init() { FILE: core/init/swagger/swag.go constant swaggerDocFile (line 15) | swaggerDocFile = "doc.json" constant fileMatchPattern (line 17) | fileMatchPattern = `(.*)(index\.html|index\.css|swagger-initializer\.js|... constant CustomSwaggerInitializerJS (line 18) | CustomSwaggerInitializerJS = `window.onload = function() { function SwaggerHandler (line 38) | func SwaggerHandler() gin.HandlerFunc { FILE: core/init/validator/validator.go function Init (line 12) | func Init() { function checkNamePattern (line 26) | func checkNamePattern(fl validator.FieldLevel) bool { function checkIpPattern (line 35) | func checkIpPattern(fl validator.FieldLevel) bool { function checkPasswordPattern (line 44) | func checkPasswordPattern(fl validator.FieldLevel) bool { FILE: core/init/viper/viper.go function Init (line 19) | func Init() { function loadChangeInfo (line 108) | func loadChangeInfo() string { FILE: core/log/config.go type Config (line 22) | type Config struct type Manager (line 31) | type Manager interface type RollingWriter (line 36) | type RollingWriter interface function FilePath (line 41) | func FilePath(c *Config) (filepath string) { FILE: core/log/dup_write_darwin.go function dupWrite (line 11) | func dupWrite(file *os.File) error { FILE: core/log/dup_write_linux.go function dupWrite (line 11) | func dupWrite(file *os.File) error { FILE: core/log/dup_write_windows.go function dupWrite (line 7) | func dupWrite(file *os.File) error { FILE: core/log/manager.go type manager (line 10) | type manager struct method Fire (line 19) | func (m *manager) Fire() chan string { method Close (line 23) | func (m *manager) Close() { method GenLogFileName (line 47) | func (m *manager) GenLogFileName(c *Config) (filename string) { function NewManager (line 28) | func NewManager(c *Config) (Manager, error) { FILE: core/log/writer.go type Writer (line 18) | type Writer struct method DoRemove (line 192) | func (w *Writer) DoRemove() { method Write (line 199) | func (w *Writer) Write(b []byte) (int, error) { method Reopen (line 218) | func (w *Writer) Reopen(file string) error { type AsynchronousWriter (line 28) | type AsynchronousWriter struct method Close (line 36) | func (w *AsynchronousWriter) Close() error { method onClose (line 54) | func (w *AsynchronousWriter) onClose() { method writer (line 172) | func (w *AsynchronousWriter) writer() { function NewWriterFromConfig (line 80) | func NewWriterFromConfig(c *Config) (RollingWriter, error) { FILE: core/middleware/api_auth.go function ApiAuth (line 18) | func ApiAuth() gin.HandlerFunc { function isValid1PanelTimestamp (line 54) | func isValid1PanelTimestamp(panelTimestamp string) bool { function isValid1PanelToken (line 78) | func isValid1PanelToken(panelToken string, panelTimestamp string) bool { function isIPInWhiteList (line 83) | func isIPInWhiteList(clientIP string) bool { function GenerateMD5 (line 115) | func GenerateMD5(param string) string { FILE: core/middleware/bind_domain.go function BindDomain (line 11) | func BindDomain() gin.HandlerFunc { FILE: core/middleware/demo_handle.go function DemoHandle (line 57) | func DemoHandle() gin.HandlerFunc { FILE: core/middleware/helper.go function LoadErrCode (line 9) | func LoadErrCode() int { FILE: core/middleware/ip_limit.go function WhiteAllow (line 12) | func WhiteAllow() gin.HandlerFunc { FILE: core/middleware/loading.go function GlobalLoading (line 9) | func GlobalLoading() gin.HandlerFunc { FILE: core/middleware/operation.go constant headerNeedOperationResolve (line 30) | headerNeedOperationResolve = "X-Need-Op-Resolve" constant headerOperationResolved (line 31) | headerOperationResolved = "X-Op-Resolved" function OperationLog (line 34) | func OperationLog() gin.HandlerFunc { function fillOperationDetail (line 176) | func fillOperationDetail(operationDic *operationJson, formatMap map[stri... type operationJson (line 200) | type operationJson struct type functionInfo (line 209) | type functionInfo struct type response (line 218) | type response struct type responseBodyWriter (line 223) | type responseBodyWriter struct method sanitizeResolvedHeader (line 230) | func (r *responseBodyWriter) sanitizeResolvedHeader() { method WriteHeader (line 237) | func (r *responseBodyWriter) WriteHeader(code int) { method WriteHeaderNow (line 242) | func (r *responseBodyWriter) WriteHeaderNow() { method Write (line 247) | func (r *responseBodyWriter) Write(b []byte) (int, error) { function shouldCaptureResponseBody (line 255) | func shouldCaptureResponseBody(reqPath string) bool { function loadLogInfo (line 263) | func loadLogInfo(path string) string { function newDB (line 275) | func newDB(pathItem string) (*gorm.DB, error) { function closeDB (line 300) | func closeDB(db *gorm.DB) { function resolveByDB (line 308) | func resolveByDB(dbItem *gorm.DB, values map[string]interface{}, beforeF... function replaceStr (line 328) | func replaceStr(val string, rep ...string) string { function parseMultipart (line 335) | func parseMultipart(formData []byte, contentType string) (map[string]int... function mergeResolvedData (line 365) | func mergeResolvedData(headerVal string, values map[string]interface{}) { function hasAllResolvedData (line 382) | func hasAllResolvedData(values map[string]interface{}, beforeFunctions [... function willProxy (line 392) | func willProxy(reqPath, currentNode string) bool { FILE: core/middleware/password_expired.go function PasswordExpired (line 22) | func PasswordExpired() gin.HandlerFunc { function loadExpiredLocation (line 60) | func loadExpiredLocation() *time.Location { FILE: core/middleware/password_rsa.go function SetPasswordPublicKey (line 9) | func SetPasswordPublicKey() gin.HandlerFunc { FILE: core/middleware/session.go function SessionAuth (line 15) | func SessionAuth() gin.HandlerFunc { FILE: core/router/command.go type CommandRouter (line 9) | type CommandRouter struct method InitRouter (line 11) | func (s *CommandRouter) InitRouter(Router *gin.RouterGroup) { FILE: core/router/common.go function commonGroups (line 3) | func commonGroups() []CommonRouter { FILE: core/router/entry.go function RouterGroups (line 5) | func RouterGroups() []CommonRouter { FILE: core/router/ro_backup.go type BackupRouter (line 9) | type BackupRouter struct method InitRouter (line 11) | func (s *BackupRouter) InitRouter(Router *gin.RouterGroup) { FILE: core/router/ro_base.go type BaseRouter (line 8) | type BaseRouter struct method InitRouter (line 10) | func (s *BaseRouter) InitRouter(Router *gin.RouterGroup) { FILE: core/router/ro_group.go type GroupRouter (line 9) | type GroupRouter struct method InitRouter (line 12) | func (a *GroupRouter) InitRouter(Router *gin.RouterGroup) { FILE: core/router/ro_log.go type LogRouter (line 10) | type LogRouter struct method InitRouter (line 12) | func (s *LogRouter) InitRouter(Router *gin.RouterGroup) { FILE: core/router/ro_router.go type CommonRouter (line 5) | type CommonRouter interface FILE: core/router/ro_script_library.go type ScriptRouter (line 9) | type ScriptRouter struct method InitRouter (line 11) | func (s *ScriptRouter) InitRouter(Router *gin.RouterGroup) { FILE: core/router/ro_setting.go type SettingRouter (line 9) | type SettingRouter struct method InitRouter (line 11) | func (s *SettingRouter) InitRouter(Router *gin.RouterGroup) { FILE: core/server/init.go function InitOthers (line 5) | func InitOthers() { FILE: core/server/server.go function Start (line 38) | func Start() { function loadCert (line 157) | func loadCert() *tls.Certificate { function handleMuxHttpConn (line 175) | func handleMuxHttpConn(conn net.Conn) { FILE: core/utils/captcha/captcha.go function VerifyCode (line 12) | func VerifyCode(codeID string, code string) string { function CreateCaptcha (line 25) | func CreateCaptcha() (*dto.CaptchaResponse, error) { FILE: core/utils/cloud_storage/refresh_token.go function loadParamFromVars (line 17) | func loadParamFromVars(key string, vars map[string]interface{}) string { type aliTokenResp (line 28) | type aliTokenResp struct function RefreshALIToken (line 33) | func RefreshALIToken(varMap map[string]interface{}) (string, error) { function RefreshToken (line 65) | func RefreshToken(grantType string, tokenType string, varMap map[string]... FILE: core/utils/cmd/cmd.go function SudoHandleCmd (line 11) | func SudoHandleCmd() string { function Which (line 19) | func Which(name string) bool { function ExecWithStreamOutput (line 27) | func ExecWithStreamOutput(command string, outputCallback func(string)) e... function streamReader (line 53) | func streamReader(reader io.ReadCloser, callback func(string)) { FILE: core/utils/cmd/cmdx.go type CommandHelper (line 20) | type CommandHelper struct method Run (line 57) | func (c *CommandHelper) Run(name string, arg ...string) error { method RunBashCWithArgs (line 61) | func (c *CommandHelper) RunBashCWithArgs(arg ...string) error { method RunBashC (line 66) | func (c *CommandHelper) RunBashC(command string) error { method RunBashCf (line 70) | func (c *CommandHelper) RunBashCf(command string, arg ...interface{}) ... method RunWithStdout (line 75) | func (c *CommandHelper) RunWithStdout(name string, arg ...string) (str... method RunWithStdoutBashC (line 78) | func (c *CommandHelper) RunWithStdoutBashC(command string) (string, er... method RunWithStdoutBashCf (line 81) | func (c *CommandHelper) RunWithStdoutBashCf(command string, arg ...int... method run (line 85) | func (c *CommandHelper) run(name string, arg ...string) (string, error) { type Option (line 30) | type Option function NewCommandMgr (line 32) | func NewCommandMgr(opts ...Option) *CommandHelper { function RunDefaultBashC (line 40) | func RunDefaultBashC(command string) error { function RunDefaultBashCf (line 44) | func RunDefaultBashCf(command string, arg ...interface{}) error { function RunDefaultWithStdoutBashC (line 48) | func RunDefaultWithStdoutBashC(command string) (string, error) { function RunDefaultWithStdoutBashCf (line 52) | func RunDefaultWithStdoutBashCf(command string, arg ...interface{}) (str... function WithOutputFile (line 149) | func WithOutputFile(outputFile string) Option { function WithTimeout (line 154) | func WithTimeout(timeout time.Duration) Option { function WithLogger (line 159) | func WithLogger(logger *log.Logger) Option { function WithTask (line 164) | func WithTask(taskItem task.Task) Option { function WithWorkDir (line 169) | func WithWorkDir(workDir string) Option { function WithScriptPath (line 174) | func WithScriptPath(scriptPath string) Option { function WithIgnoreExist1 (line 179) | func WithIgnoreExist1() Option { type CustomWriter (line 185) | type CustomWriter struct method Write (line 190) | func (cw *CustomWriter) Write(p []byte) (n int, err error) { method Flush (line 202) | func (cw *CustomWriter) Flush() { function handleErr (line 209) | func handleErr(stdout, stderr bytes.Buffer, ignoreExist1 bool, err error... FILE: core/utils/common/common.go function RandStr (line 24) | func RandStr(n int) string { function RandStrAndNum (line 37) | func RandStrAndNum(n int) string { function Md5 (line 51) | func Md5(val string) string { function LoadTimeZoneByCmd (line 57) | func LoadTimeZoneByCmd() string { function ScanPort (line 76) | func ScanPort(port int) bool { function CheckPort (line 85) | func CheckPort(host string, port string, timeout time.Duration) bool { function ComparePanelVersion (line 98) | func ComparePanelVersion(version1, version2 string) bool { function SplitStr (line 135) | func SplitStr(str string, spi ...string) []string { function LoadArch (line 148) | func LoadArch() (string, error) { function LoadArchWithStdout (line 155) | func LoadArchWithStdout(std string) (string, error) { function Clean (line 177) | func Clean(str []byte) { function CreateDirWhenNotExist (line 183) | func CreateDirWhenNotExist(isDir bool, pathItem string) (string, error) { function GetLang (line 197) | func GetLang(c *gin.Context) string { function CheckIpInCidr (line 205) | func CheckIpInCidr(cidr, checkIP string) bool { function incIP (line 219) | func incIP(ip net.IP) { function HandleIPList (line 228) | func HandleIPList(content string) ([]string, error) { function LoadParams (line 247) | func LoadParams(param string) string { function LoadParamsWithoutPanic (line 258) | func LoadParamsWithoutPanic(param string) string { function GetRealClientIP (line 266) | func GetRealClientIP(c *gin.Context) string { function IsPrivateIP (line 274) | func IsPrivateIP(ipStr string) bool { FILE: core/utils/common/sqlite.go function LoadDBConnByPath (line 15) | func LoadDBConnByPath(fullPath, dbName string) *gorm.DB { function CloseDB (line 34) | func CloseDB(db *gorm.DB) { function GetDBWithPath (line 42) | func GetDBWithPath(dbPath string) (*gorm.DB, error) { function newLogger (line 76) | func newLogger() logger.Interface { FILE: core/utils/controller/controller.go type Controller (line 15) | type Controller interface function New (line 27) | func New() (Controller, error) { function NewWithClient (line 45) | func NewWithClient(client *ssh.SSHClient) (Controller, error) { function Handle (line 70) | func Handle(operate, serviceName string) error { function HandleStart (line 81) | func HandleStart(serviceName string) error { function HandleStop (line 88) | func HandleStop(serviceName string) error { function HandleRestart (line 95) | func HandleRestart(serviceName string) error { function CheckExist (line 103) | func CheckExist(serviceName string) (bool, error) { function CheckActive (line 115) | func CheckActive(serviceName string) (bool, error) { function CheckEnable (line 126) | func CheckEnable(serviceName string) (bool, error) { function Reload (line 138) | func Reload() error { function RestartPanel (line 146) | func RestartPanel(core, agent, reload bool) { function LoadServiceName (line 172) | func LoadServiceName(keyword string) (string, error) { function loadProcessedName (line 190) | func loadProcessedName(mgr, keyword string) string { function loadFromPredefined (line 205) | func loadFromPredefined(mgr Controller, keyword string) string { function GetServicePath (line 235) | func GetServicePath(serviceName string) (string, error) { function SelectInitScript (line 276) | func SelectInitScript(keyword string) (string, error) { function GetScriptName (line 298) | func GetScriptName(keyword string) (string, error) { FILE: core/utils/controller/manager/common.go function handlerErr (line 12) | func handlerErr(out string, err error) error { function run (line 22) | func run(client *ssh.SSHClient, name string, args ...string) (string, er... FILE: core/utils/controller/manager/openrc.go type Openrc (line 12) | type Openrc struct method Name (line 21) | func (s *Openrc) Name() string { method IsActive (line 24) | func (s *Openrc) IsActive(serviceName string) (bool, error) { method IsEnable (line 31) | func (s *Openrc) IsEnable(serviceName string) (bool, error) { method IsExist (line 38) | func (s *Openrc) IsExist(serviceName string) (bool, error) { method Status (line 47) | func (s *Openrc) Status(serviceName string) (string, error) { method Operate (line 51) | func (s *Openrc) Operate(operate, serviceName string) error { method Reload (line 62) | func (s *Openrc) Reload() error { function NewOpenrc (line 17) | func NewOpenrc() *Openrc { FILE: core/utils/controller/manager/snap.go type Snap (line 7) | type Snap struct method IsExist (line 13) | func (s *Snap) IsExist(serviceName string) bool { method IsActive (line 21) | func (s *Snap) IsActive(serviceName string) bool { method IsEnable (line 35) | func (s *Snap) IsEnable(serviceName string) bool { method Operate (line 49) | func (s *Snap) Operate(operate, serviceName string) error { function NewSnap (line 9) | func NewSnap() *Snap { FILE: core/utils/controller/manager/systemd.go type Systemd (line 9) | type Systemd struct method Name (line 18) | func (s *Systemd) Name() string { method IsActive (line 21) | func (s *Systemd) IsActive(serviceName string) (bool, error) { method IsEnable (line 32) | func (s *Systemd) IsEnable(serviceName string) (bool, error) { method IsExist (line 46) | func (s *Systemd) IsExist(serviceName string) (bool, error) { method Status (line 60) | func (s *Systemd) Status(serviceName string) (string, error) { method Operate (line 63) | func (s *Systemd) Operate(operate, serviceName string) error { method Reload (line 77) | func (s *Systemd) Reload() error { function NewSystemd (line 14) | func NewSystemd() *Systemd { FILE: core/utils/controller/manager/sysvinit.go type Sysvinit (line 12) | type Sysvinit struct method Name (line 21) | func (s *Sysvinit) Name() string { method IsActive (line 24) | func (s *Sysvinit) IsActive(serviceName string) (bool, error) { method IsEnable (line 31) | func (s *Sysvinit) IsEnable(serviceName string) (bool, error) { method IsExist (line 38) | func (s *Sysvinit) IsExist(serviceName string) (bool, error) { method Status (line 47) | func (s *Sysvinit) Status(serviceName string) (string, error) { method Operate (line 51) | func (s *Sysvinit) Operate(operate, serviceName string) error { method Reload (line 55) | func (s *Sysvinit) Reload() error { function NewSysvinit (line 17) | func NewSysvinit() *Sysvinit { FILE: core/utils/copier/copier.go function Copy (line 9) | func Copy(to, from interface{}) error { FILE: core/utils/csv/command.go type CommandTemplate (line 10) | type CommandTemplate struct function ExportCommands (line 15) | func ExportCommands(filename string, commands []CommandTemplate) error { FILE: core/utils/encrypt/encrypt.go function StringDecryptWithBase64 (line 21) | func StringDecryptWithBase64(text string) (string, error) { function StringEncrypt (line 29) | func StringEncrypt(text string) (string, error) { function StringEncryptWithKey (line 44) | func StringEncryptWithKey(text, key string) (string, error) { function StringDecrypt (line 57) | func StringDecrypt(text string) (string, error) { function StringDecryptWithKey (line 72) | func StringDecryptWithKey(text, key string) (string, error) { function padding (line 96) | func padding(plaintext []byte, blockSize int) []byte { function unPadding (line 102) | func unPadding(origData []byte) []byte { function aesEncryptWithSalt (line 108) | func aesEncryptWithSalt(key, plaintext []byte) ([]byte, error) { function aesDecryptWithSalt (line 123) | func aesDecryptWithSalt(key, ciphertext []byte) ([]byte, error) { function ParseRSAPrivateKey (line 140) | func ParseRSAPrivateKey(privateKeyPEM string) (*rsa.PrivateKey, error) { function aesDecrypt (line 152) | func aesDecrypt(ciphertext, key, iv []byte) ([]byte, error) { function pkcs7Unpad (line 173) | func pkcs7Unpad(data []byte) ([]byte, error) { function DecryptPassword (line 193) | func DecryptPassword(encryptedData string, privateKey *rsa.PrivateKey) (... function ExportPrivateKeyToPEM (line 228) | func ExportPrivateKeyToPEM(privateKey *rsa.PrivateKey) string { function ExportPublicKeyToPEM (line 237) | func ExportPublicKeyToPEM(publicKey *rsa.PublicKey) (string, error) { FILE: core/utils/files/files.go function CopyFile (line 21) | func CopyFile(src, dst string, withName bool) error { function CopyItem (line 51) | func CopyItem(isDir, withName bool, src, dst string) error { function CopyFileWithRename (line 75) | func CopyFileWithRename(src, dst string) error { function HandleTar (line 94) | func HandleTar(sourceDir, targetDir, name, exclusionRules string, secret... function HandleUnTar (line 147) | func HandleUnTar(sourceFile, targetDir string, secret string) error { function DownloadFile (line 172) | func DownloadFile(url, dst string) error { function DownloadFileWithProxyStream (line 191) | func DownloadFileWithProxyStream(url, dst string) error { function Stat (line 232) | func Stat(path string) bool { function GetFileMD5 (line 240) | func GetFileMD5(filePath string) (string, error) { FILE: core/utils/firewall/firewall.go function UpdatePort (line 9) | func UpdatePort(oldPort, newPort string) error { function firewallUpdatePort (line 31) | func firewallUpdatePort(oldPort, newPort string) error { function ufwUpdatePort (line 42) | func ufwUpdatePort(oldPort, newPort string) error { FILE: core/utils/geo/geo.go type Location (line 11) | type Location struct type LocationRes (line 16) | type LocationRes struct function NewGeo (line 24) | func NewGeo() (*maxminddb.Reader, error) { function GetIPLocation (line 29) | func GetIPLocation(reader *maxminddb.Reader, ip, lang string) (string, e... FILE: core/utils/mfa/mfa.go constant secretLength (line 14) | secretLength = 16 type Otp (line 16) | type Otp struct function GetOtp (line 21) | func GetOtp(username, title string, interval int) (otp Otp, err error) { function ValidCode (line 35) | func ValidCode(code, intervalStr, secret string) bool { FILE: core/utils/passkey/passkey_record.go type PasskeyCredentialRecord (line 5) | type PasskeyCredentialRecord struct FILE: core/utils/passkey/passkey_store.go constant PasskeyUserIDSettingKey (line 14) | PasskeyUserIDSettingKey = "PasskeyUserID" constant PasskeyCredentialSettingKey (line 15) | PasskeyCredentialSettingKey = "PasskeyCredentials" constant PasskeyMaxCredentials (line 16) | PasskeyMaxCredentials = 5 constant PasskeySessionTTL (line 17) | PasskeySessionTTL = 5 * time.Minute constant PasskeySessionKindLogin (line 18) | PasskeySessionKindLogin = "login" constant PasskeySessionKindRegister (line 19) | PasskeySessionKindRegister = "register" constant PasskeyCredentialNameDefault (line 20) | PasskeyCredentialNameDefault = "Passkey" constant PasskeySessionStoreMaxEntries (line 21) | PasskeySessionStoreMaxEntries = 1024 function GetPasskeySessionStore (line 26) | func GetPasskeySessionStore() *passkeySessionStore { type passkeySession (line 30) | type passkeySession struct type passkeySessionStore (line 37) | type passkeySessionStore struct method Set (line 46) | func (s *passkeySessionStore) Set(kind, name string, session webauthn.... method Get (line 65) | func (s *passkeySessionStore) Get(sessionID string) (passkeySession, b... method Delete (line 80) | func (s *passkeySessionStore) Delete(sessionID string) { method cleanupExpiredLocked (line 86) | func (s *passkeySessionStore) cleanupExpiredLocked() { method removeOldestLocked (line 95) | func (s *passkeySessionStore) removeOldestLocked() { function newPasskeySessionStore (line 42) | func newPasskeySessionStore() *passkeySessionStore { function generatePasskeySessionID (line 109) | func generatePasskeySessionID() string { FILE: core/utils/passkey/passkey_user.go type PasskeyUser (line 5) | type PasskeyUser struct method WebAuthnID (line 12) | func (u PasskeyUser) WebAuthnID() []byte { method WebAuthnName (line 16) | func (u PasskeyUser) WebAuthnName() string { method WebAuthnDisplayName (line 20) | func (u PasskeyUser) WebAuthnDisplayName() string { method WebAuthnCredentials (line 24) | func (u PasskeyUser) WebAuthnCredentials() []webauthn.Credential { FILE: core/utils/re/re.go constant OrderByValidationPattern (line 9) | OrderByValidationPattern = `^[a-zA-Z_][a-zA-Z0-9_]*$` function Init (line 14) | func Init() { function GetRegex (line 24) | func GetRegex(pattern string) *regexp.Regexp { function RegisterRegex (line 32) | func RegisterRegex(pattern string) { FILE: core/utils/req_helper/proxy_local/req_to_local.go function NewLocalClient (line 20) | func NewLocalClient(reqUrl, reqMethod string, body io.Reader, ctx *gin.C... FILE: core/utils/req_helper/requset.go function HandleRequest (line 18) | func HandleRequest(url, method string, timeout int) (int, []byte, error) { function HandleRequestWithProxy (line 32) | func HandleRequestWithProxy(url, method string, timeout int) (int, []byt... function handleRequestWithTransport (line 37) | func handleRequestWithTransport(url, method string, transport *http.Tran... function HandleGet (line 66) | func HandleGet(url string) (*http.Response, error) { function HandleGetWithProxy (line 80) | func HandleGetWithProxy(url string) (*http.Response, error) { function handleGetWithTransport (line 85) | func handleGetWithTransport(url string, transport *http.Transport) (*htt... FILE: core/utils/security/security.go function HandleNotRoute (line 21) | func HandleNotRoute(c *gin.Context) bool { function CheckSecurity (line 41) | func CheckSecurity(c *gin.Context) bool { function ToIndexHtml (line 57) | func ToIndexHtml(c *gin.Context) { function isEntrancePath (line 69) | func isEntrancePath(c *gin.Context) bool { function checkEntrance (line 77) | func checkEntrance(c *gin.Context) bool { function HandleNotSecurity (line 95) | func HandleNotSecurity(c *gin.Context, resType string) { function isFrontendPath (line 123) | func isFrontendPath(c *gin.Context) bool { function checkFrontendPath (line 136) | func checkFrontendPath(c *gin.Context) bool { function checkBindDomain (line 147) | func checkBindDomain(c *gin.Context) bool { function checkIPLimit (line 161) | func checkIPLimit(c *gin.Context) bool { function checkSession (line 183) | func checkSession(c *gin.Context) bool { function CloseDirectly (line 188) | func CloseDirectly(c *gin.Context) { FILE: core/utils/ssh/http.go type HTTPProxyDialer (line 15) | type HTTPProxyDialer struct function HTTPDial (line 22) | func HTTPDial(dialer HTTPProxyDialer, network, addr string) (net.Conn, e... FILE: core/utils/ssh/ssh.go type ConnInfo (line 18) | type ConnInfo struct type SSHClient (line 31) | type SSHClient struct method Run (line 74) | func (c *SSHClient) Run(shell string) (string, error) { method CpFileWithCheck (line 87) | func (c *SSHClient) CpFileWithCheck(src, dst string) error { method SudoHandleCmd (line 116) | func (c *SSHClient) SudoHandleCmd() string { method IsRoot (line 123) | func (c *SSHClient) IsRoot(user string) bool { method Runf (line 131) | func (c *SSHClient) Runf(shell string, args ...interface{}) (string, e... method Close (line 144) | func (c *SSHClient) Close() { method RunWithStreamOutput (line 157) | func (c *SSHClient) RunWithStreamOutput(command string, outputCallback... function NewClient (line 36) | func NewClient(c ConnInfo) (*SSHClient, error) { function makePrivateKeySigner (line 150) | func makePrivateKeySigner(privateKey []byte, passPhrase []byte) (gossh.S... function DialWithTimeout (line 248) | func DialWithTimeout(network, addr string, useProxy bool, config *gossh.... function loadSSHConnByProxy (line 271) | func loadSSHConnByProxy(network, addr string, timeout time.Duration) (ne... FILE: core/utils/terminal/local_cmd.go constant DefaultCloseSignal (line 16) | DefaultCloseSignal = syscall.SIGINT constant DefaultCloseTimeout (line 17) | DefaultCloseTimeout = 10 * time.Second type LocalCommand (line 20) | type LocalCommand struct method Read (line 56) | func (lcmd *LocalCommand) Read(p []byte) (n int, err error) { method Write (line 60) | func (lcmd *LocalCommand) Write(p []byte) (n int, err error) { method Close (line 64) | func (lcmd *LocalCommand) Close() error { method ResizeTerminal (line 72) | func (lcmd *LocalCommand) ResizeTerminal(width int, height int) error { method Wait (line 97) | func (lcmd *LocalCommand) Wait(quitChan chan bool) { function NewCommand (line 28) | func NewCommand(script string) (*LocalCommand, error) { FILE: core/utils/terminal/ws_local_session.go type LocalWsSession (line 13) | type LocalWsSession struct method Start (line 34) | func (sws *LocalWsSession) Start(quitChan chan bool) { method handleSlaveEvent (line 39) | func (sws *LocalWsSession) handleSlaveEvent(exitCh chan bool) { method masterWrite (line 55) | func (sws *LocalWsSession) masterWrite(data []byte) error { method receiveWsMsg (line 77) | func (sws *LocalWsSession) receiveWsMsg(exitCh chan bool) { method sendWebsocketInputCommandToSshSessionStdinPipe (line 124) | func (sws *LocalWsSession) sendWebsocketInputCommandToSshSessionStdinP... function NewLocalWsSession (line 21) | func NewLocalWsSession(cols, rows int, wsConn *websocket.Conn, slave *Lo... FILE: core/utils/terminal/ws_session.go type safeBuffer (line 16) | type safeBuffer struct method Write (line 21) | func (w *safeBuffer) Write(p []byte) (int, error) { method Bytes (line 26) | func (w *safeBuffer) Bytes() []byte { method Reset (line 31) | func (w *safeBuffer) Reset() { constant WsMsgCmd (line 38) | WsMsgCmd = "cmd" constant WsMsgResize (line 39) | WsMsgResize = "resize" constant WsMsgHeartbeat (line 40) | WsMsgHeartbeat = "heartbeat" type WsMsg (line 43) | type WsMsg struct type LogicSshWsSession (line 51) | type LogicSshWsSession struct method Close (line 106) | func (sws *LogicSshWsSession) Close() { method Start (line 118) | func (sws *LogicSshWsSession) Start(quitChan chan bool) { method receiveWsMsg (line 123) | func (sws *LogicSshWsSession) receiveWsMsg(exitCh chan bool) { method sendWebsocketInputCommandToSshSessionStdinPipe (line 166) | func (sws *LogicSshWsSession) sendWebsocketInputCommandToSshSessionStd... method sendComboOutput (line 172) | func (sws *LogicSshWsSession) sendComboOutput(exitCh chan bool) { method Wait (line 215) | func (sws *LogicSshWsSession) Wait(quitChan chan bool) { function NewLogicSshWsSession (line 62) | func NewLogicSshWsSession(cols, rows int, sshClient *ssh.Client, wsConn ... function setQuit (line 221) | func setQuit(ch chan bool) { FILE: core/utils/xpack/community.go function Proxy (line 15) | func Proxy(c *gin.Context, currentNode string) {} function ProxyDocker (line 17) | func ProxyDocker(proxyURL string) error { return nil } function UpdateGroup (line 19) | func UpdateGroup(name string, group, newGroup uint) error { return nil } function CheckBackupUsed (line 21) | func CheckBackupUsed(name string) error { return nil } function LoadRequestTransport (line 23) | func LoadRequestTransport() *http.Transport { function LoadNodeInfo (line 36) | func LoadNodeInfo(currentNode string) (*ssh.ConnInfo, string, error) { function Sync (line 40) | func Sync(dataType string) error { return nil } function AutoUpgradeWithMaster (line 42) | func AutoUpgradeWithMaster() {} FILE: frontend/src/api/config/service-port.ts constant PORT1 (line 2) | const PORT1 = '9999'; constant PORT2 (line 3) | const PORT2 = '/hooks'; FILE: frontend/src/api/helper/axios-cancel.ts class AxiosCanceler (line 12) | class AxiosCanceler { method addPending (line 18) | addPending(config: AxiosRequestConfig) { method removePending (line 36) | removePending(config: AxiosRequestConfig) { method removeAllPending (line 50) | removeAllPending() { method reset (line 60) | reset(): void { FILE: frontend/src/api/index.ts class RequestHttp (line 20) | class RequestHttp { method constructor (line 22) | public constructor(config: AxiosRequestConfig) { method get (line 129) | get(url: string, params?: object, _object = {}): Promise(url: string, params?: object, timeout?: number, headers?: obje... method postLocalNode (line 144) | postLocalNode(url: string, params?: object, timeout?: number): Prom... method put (line 154) | put(url: string, params?: object, _object = {}): Promise(url: string, params?: any, _object = {}): Promise(url: string, params?: object, _object = {}): Promis... method upload (line 163) | upload(url: string, params: object = {}, config?: AxiosRequestConfi... FILE: frontend/src/api/interface/ai.ts type OllamaModelInfo (line 4) | interface OllamaModelInfo { type OllamaModelDropInfo (line 14) | interface OllamaModelDropInfo { type OllamaModelSearch (line 18) | interface OllamaModelSearch extends ReqPage { type Info (line 22) | interface Info { type GPU (line 28) | interface GPU { type Process (line 48) | interface Process { type XpuInfo (line 55) | interface XpuInfo { type Xpu (line 61) | interface Xpu { type Basic (line 67) | interface Basic { type Stats (line 77) | interface Stats { type XpuProcess (line 85) | interface XpuProcess { type BindDomain (line 92) | interface BindDomain { type BindDomainReq (line 100) | interface BindDomainReq { type BindDomainRes (line 104) | interface BindDomainRes { type Environment (line 113) | interface Environment { type Volume (line 118) | interface Volume { type McpServer (line 123) | interface McpServer { type McpServerSearch (line 145) | interface McpServerSearch extends ReqPage { type McpServerDelete (line 149) | interface McpServerDelete { type McpServerOperate (line 153) | interface McpServerOperate { type McpBindDomain (line 158) | interface McpBindDomain { type McpDomainRes (line 164) | interface McpDomainRes { type McpBindDomainUpdate (line 173) | interface McpBindDomainUpdate { type ImportMcpServer (line 179) | interface ImportMcpServer { type ExposedPort (line 187) | interface ExposedPort { type Environment (line 193) | interface Environment { type Volume (line 197) | interface Volume { type ExtraHosts (line 202) | interface ExtraHosts { type TensorRTLLM (line 207) | interface TensorRTLLM { type TensorRTLLMDTO (line 222) | interface TensorRTLLMDTO extends TensorRTLLM { type TensorRTLLMSearch (line 226) | interface TensorRTLLMSearch extends ReqPage { type TensorRTLLMDelete (line 230) | interface TensorRTLLMDelete { type TensorRTLLMOperate (line 234) | interface TensorRTLLMOperate { type AgentCreateReq (line 239) | interface AgentCreateReq { type AgentItem (line 263) | interface AgentItem { type AgentDeleteReq (line 290) | interface AgentDeleteReq { type AgentTokenResetReq (line 296) | interface AgentTokenResetReq { type AgentModelConfigUpdateReq (line 300) | interface AgentModelConfigUpdateReq { type AgentAccountModel (line 306) | interface AgentAccountModel { type AgentAccountModelReq (line 316) | interface AgentAccountModelReq { type AgentAccountModelCreateReq (line 320) | interface AgentAccountModelCreateReq { type AgentAccountModelUpdateReq (line 325) | interface AgentAccountModelUpdateReq { type AgentAccountModelDeleteReq (line 330) | interface AgentAccountModelDeleteReq { type ProviderModelInfo (line 335) | interface ProviderModelInfo { type ProviderInfo (line 344) | interface ProviderInfo { type AgentAccountCreateReq (line 351) | interface AgentAccountCreateReq { type AgentAccountUpdateReq (line 362) | interface AgentAccountUpdateReq { type AgentAccountSearch (line 373) | interface AgentAccountSearch { type AgentAccountItem (line 380) | interface AgentAccountItem { type AgentAccountVerifyReq (line 395) | interface AgentAccountVerifyReq { type AgentAccountDeleteReq (line 401) | interface AgentAccountDeleteReq { type AgentFeishuConfigReq (line 405) | interface AgentFeishuConfigReq { type AgentFeishuConfig (line 409) | interface AgentFeishuConfig { type AgentFeishuConfigUpdateReq (line 417) | interface AgentFeishuConfigUpdateReq { type AgentFeishuPairingApproveReq (line 426) | interface AgentFeishuPairingApproveReq { type AgentTelegramConfigReq (line 431) | interface AgentTelegramConfigReq { type AgentTelegramConfig (line 435) | interface AgentTelegramConfig { type AgentTelegramConfigUpdateReq (line 442) | interface AgentTelegramConfigUpdateReq { type AgentChannelPairingApproveReq (line 450) | interface AgentChannelPairingApproveReq { type AgentWecomConfigReq (line 456) | interface AgentWecomConfigReq { type AgentWecomConfig (line 460) | interface AgentWecomConfig { type AgentWecomConfigUpdateReq (line 468) | interface AgentWecomConfigUpdateReq { type AgentDingTalkConfigReq (line 476) | interface AgentDingTalkConfigReq { type AgentDingTalkConfig (line 480) | interface AgentDingTalkConfig { type AgentDingTalkConfigUpdateReq (line 491) | interface AgentDingTalkConfigUpdateReq { type AgentQQBotConfigReq (line 502) | interface AgentQQBotConfigReq { type AgentQQBotConfig (line 506) | interface AgentQQBotConfig { type AgentQQBotConfigUpdateReq (line 513) | interface AgentQQBotConfigUpdateReq { type AgentPluginInstallReq (line 520) | interface AgentPluginInstallReq { type AgentPluginCheckReq (line 526) | interface AgentPluginCheckReq { type AgentPluginStatus (line 531) | interface AgentPluginStatus { type AgentDiscordConfigReq (line 535) | interface AgentDiscordConfigReq { type AgentDiscordConfig (line 539) | interface AgentDiscordConfig { type AgentDiscordConfigUpdateReq (line 547) | interface AgentDiscordConfigUpdateReq { type AgentSecurityConfigReq (line 556) | interface AgentSecurityConfigReq { type AgentSecurityConfig (line 560) | interface AgentSecurityConfig { type AgentSecurityConfigUpdateReq (line 564) | interface AgentSecurityConfigUpdateReq { type AgentOtherConfigReq (line 569) | interface AgentOtherConfigReq { type AgentOtherConfig (line 573) | interface AgentOtherConfig { type AgentOtherConfigUpdateReq (line 578) | interface AgentOtherConfigUpdateReq { FILE: frontend/src/api/interface/alert.ts type AlertInfo (line 4) | interface AlertInfo extends CommonModel { type AlertDetail (line 19) | interface AlertDetail { type AlertUpdateStatusReq (line 28) | interface AlertUpdateStatusReq { type AlertLog (line 33) | interface AlertLog extends CommonModel { type DisksDTO (line 43) | interface DisksDTO { type AlertSearch (line 57) | interface AlertSearch extends ReqPage { type AlertCreateReq (line 65) | interface AlertCreateReq { type AlertUpdateReq (line 77) | interface AlertUpdateReq extends CommonModel { type DelReq (line 89) | interface DelReq { type AlertLogSearch (line 93) | interface AlertLogSearch extends ReqPage { type AlertLogId (line 98) | interface AlertLogId { type ClamsDTO (line 102) | interface ClamsDTO { type CronJobDTO (line 111) | interface CronJobDTO { type CronJobReq (line 120) | interface CronJobReq { type AlertSmsReq (line 126) | interface AlertSmsReq { type AlertSmsDTO (line 130) | interface AlertSmsDTO { type AlertConfigInfo (line 136) | interface AlertConfigInfo extends CommonModel { type AlertConfigUpdateReq (line 143) | interface AlertConfigUpdateReq { type AlertConfigTest (line 151) | interface AlertConfigTest { type CommonAlertConfig (line 162) | interface CommonAlertConfig { type CommonConfig (line 170) | interface CommonConfig { type EmailConfig (line 176) | interface EmailConfig { type SmsConfig (line 194) | interface SmsConfig { type WebhookConfig (line 205) | interface WebhookConfig { FILE: frontend/src/api/interface/app.ts type App (line 4) | interface App extends CommonModel { type Locale (line 23) | interface Locale { type AppDTO (line 36) | interface AppDTO extends App { type Tag (line 42) | interface Tag { type AppItem (line 48) | interface AppItem { type AppResPage (line 62) | interface AppResPage { type AppUpdateRes (line 67) | interface AppUpdateRes { type AppDetail (line 72) | interface AppDetail extends CommonModel { type AppReq (line 86) | interface AppReq extends ReqPage { type AppParams (line 95) | interface AppParams { type FromField (line 99) | interface FromField { type FromFieldChild (line 116) | interface FromFieldChild extends FromField { type FromParam (line 120) | interface FromParam { type ServiceParam (line 127) | interface ServiceParam { type AppInstall (line 133) | interface AppInstall { type AppInstallSearch (line 140) | interface AppInstallSearch extends ReqPage { type ChangePort (line 147) | interface ChangePort { type AppInstalled (line 153) | interface AppInstalled extends CommonModel { type AppInstalledInfo (line 176) | interface AppInstalledInfo { type AppInstallDto (line 188) | interface AppInstallDto { type AppInstalledInfo (line 213) | interface AppInstalledInfo { type CheckInstalled (line 219) | interface CheckInstalled { type DatabaseConnInfo (line 235) | interface DatabaseConnInfo { type AppInstallResource (line 245) | interface AppInstallResource { type AppInstalledOp (line 250) | interface AppInstalledOp { type AppInstalledSearch (line 261) | interface AppInstalledSearch extends ReqPage { type AppService (line 267) | interface AppService { type VersionDetail (line 275) | interface VersionDetail { type InstallParams (line 280) | interface InstallParams { type AppConfig (line 296) | interface AppConfig { type IgnoredApp (line 312) | interface IgnoredApp { type AppUpdateVersionReq (line 319) | interface AppUpdateVersionReq { type AppIgnoreReq (line 324) | interface AppIgnoreReq { type CancelAppIgnore (line 330) | interface CancelAppIgnore { type AppStoreSync (line 334) | interface AppStoreSync { type AppConfigUpdate (line 338) | interface AppConfigUpdate { type AppStoreConfig (line 343) | interface AppStoreConfig { type AppStoreConfigUpdate (line 349) | interface AppStoreConfigUpdate { type CustomAppStoreConfig (line 354) | interface CustomAppStoreConfig { type InstallAppToNodes (line 359) | interface InstallAppToNodes extends AppInstall { FILE: frontend/src/api/interface/auth.ts type ReqLoginForm (line 2) | interface ReqLoginForm { type MFALoginForm (line 9) | interface MFALoginForm { type ResLogin (line 15) | interface ResLogin { type PasskeyBeginResponse (line 20) | interface PasskeyBeginResponse { type ResCaptcha (line 24) | interface ResCaptcha { type ResAuthButtons (line 29) | interface ResAuthButtons { type LoginSetting (line 33) | interface LoginSetting { FILE: frontend/src/api/interface/backup.ts type SearchWithType (line 4) | interface SearchWithType extends ReqPage { type BackupOption (line 8) | interface BackupOption { type BackupInfo (line 13) | interface BackupInfo { type CheckResult (line 28) | interface CheckResult { type ClientInfo (line 33) | interface ClientInfo { type BackupOperate (line 38) | interface BackupOperate { type RecordDownload (line 49) | interface RecordDownload { type RecordInfo (line 54) | interface RecordInfo { type ForBucket (line 64) | interface ForBucket { type SearchBackupRecord (line 71) | interface SearchBackupRecord extends ReqPage { type SearchForSize (line 76) | interface SearchForSize extends ReqPage { type RecordFileSize (line 83) | interface RecordFileSize extends ReqPage { type SearchBackupRecordByCronjob (line 87) | interface SearchBackupRecordByCronjob extends ReqPage { type Backup (line 90) | interface Backup { type Recover (line 98) | interface Recover { FILE: frontend/src/api/interface/command.ts type CommandInfo (line 2) | interface CommandInfo { type CommandOperate (line 9) | interface CommandOperate { FILE: frontend/src/api/interface/container.ts type ContainerOperate (line 4) | interface ContainerOperate { type ContainerRename (line 9) | interface ContainerRename { type ContainerCommit (line 13) | interface ContainerCommit { type ContainerSearch (line 22) | interface ContainerSearch extends ReqPage { type ContainerStatus (line 29) | interface ContainerStatus { type ContainerOption (line 55) | interface ContainerOption { type ContainerFileReq (line 59) | interface ContainerFileReq { type ContainerFileInfo (line 63) | interface ContainerFileInfo { type ContainerFileContent (line 73) | interface ContainerFileContent { type ResourceLimit (line 79) | interface ResourceLimit { type ContainerHelper (line 83) | interface ContainerHelper { type ExtraHost (line 115) | interface ExtraHost { type ContainerUpgrade (line 119) | interface ContainerUpgrade { type Port (line 125) | interface Port { type Volume (line 132) | interface Volume { type ContainerInfo (line 138) | interface ContainerInfo { type ContainerNetwork (line 154) | interface ContainerNetwork { type ContainerInfo (line 160) | interface ContainerInfo { type ContainerItemStats (line 164) | interface ContainerItemStats { type ContainerListStats (line 177) | interface ContainerListStats { type ContainerStats (line 188) | interface ContainerStats { type ContainerInspect (line 198) | interface ContainerInspect { type ContainerPrune (line 203) | interface ContainerPrune { type ContainerPruneReport (line 207) | interface ContainerPruneReport { type Options (line 211) | interface Options { type ImageSearch (line 215) | interface ImageSearch extends ReqPage { type ImageInfo (line 220) | interface ImageInfo { type ImageBuild (line 228) | interface ImageBuild { type ImagePull (line 236) | interface ImagePull { type ImageTag (line 241) | interface ImageTag { type ImagePush (line 245) | interface ImagePush { type ImageLoad (line 250) | interface ImageLoad { type ImageSave (line 254) | interface ImageSave { type NetworkInfo (line 261) | interface NetworkInfo { type NetworkCreate (line 274) | interface NetworkCreate { type VolumeInfo (line 284) | interface VolumeInfo { type VolumeCreate (line 291) | interface VolumeCreate { type RepoCreate (line 298) | interface RepoCreate { type RepoUpdate (line 306) | interface RepoUpdate { type RepoInfo (line 314) | interface RepoInfo { type RepoOptions (line 324) | interface RepoOptions { type ComposeInfo (line 330) | interface ComposeInfo { type ComposeContainer (line 343) | interface ComposeContainer { type ComposeCreate (line 349) | interface ComposeCreate { type ComposeOperation (line 359) | interface ComposeOperation { type ComposeUpdate (line 366) | interface ComposeUpdate { type TemplateCreate (line 376) | interface TemplateCreate { type TemplateUpdate (line 381) | interface TemplateUpdate { type TemplateInfo (line 386) | interface TemplateInfo { type BatchDelete (line 394) | interface BatchDelete { type DaemonJsonUpdateByFile (line 398) | interface DaemonJsonUpdateByFile { type DockerStatus (line 401) | interface DockerStatus { type DaemonJsonConf (line 405) | interface DaemonJsonConf { type ContainerLogInfo (line 425) | interface ContainerLogInfo { FILE: frontend/src/api/interface/cronjob.ts type Search (line 4) | interface Search extends ReqPage { type CronjobInfo (line 10) | interface CronjobInfo { type Item (line 73) | interface Item { type CronjobOperate (line 76) | interface CronjobOperate { type CronjobTrans (line 120) | interface CronjobTrans { type TransHelper (line 158) | interface TransHelper { type snapshotTransHelper (line 162) | interface snapshotTransHelper { type snapshotRule (line 166) | interface snapshotRule { type SpecObj (line 170) | interface SpecObj { type CronjobDelete (line 178) | interface CronjobDelete { type UpdateStatus (line 183) | interface UpdateStatus { type Download (line 187) | interface Download { type ScriptOptions (line 191) | interface ScriptOptions { type SearchRecord (line 196) | interface SearchRecord extends ReqPage { type Record (line 202) | interface Record { type ScriptInfo (line 214) | interface ScriptInfo { type ScriptOperate (line 225) | interface ScriptOperate { FILE: frontend/src/api/interface/dashboard.ts type OsInfo (line 2) | interface OsInfo { type QuickJump (line 11) | interface QuickJump { type AppLauncher (line 21) | interface AppLauncher { type AppLauncherOption (line 33) | interface AppLauncherOption { type InstallDetail (line 37) | interface InstallDetail { type BaseInfo (line 49) | interface BaseInfo { type CurrentInfo (line 70) | interface CurrentInfo { type Process (line 117) | interface Process { type DiskInfo (line 125) | interface DiskInfo { type GPUInfo (line 139) | interface GPUInfo { type XPUInfo (line 150) | interface XPUInfo { FILE: frontend/src/api/interface/database.ts type SearchDBWithPage (line 4) | interface SearchDBWithPage { type SearchBackupRecord (line 12) | interface SearchBackupRecord extends ReqPage { type MysqlDBInfo (line 16) | interface MysqlDBInfo { type BaseInfo (line 29) | interface BaseInfo { type DBConfUpdate (line 37) | interface DBConfUpdate { type MysqlDBCreate (line 42) | interface MysqlDBCreate { type BindUser (line 53) | interface BindUser { type MysqlLoadDB (line 61) | interface MysqlLoadDB { type MysqlDBDeleteCheck (line 66) | interface MysqlDBDeleteCheck { type MysqlDBDelete (line 72) | interface MysqlDBDelete { type MysqlVariables (line 79) | interface MysqlVariables { type VariablesUpdate (line 99) | interface VariablesUpdate { type VariablesUpdateHelper (line 104) | interface VariablesUpdateHelper { type MysqlStatus (line 108) | interface MysqlStatus { type FormatCollationOption (line 145) | interface FormatCollationOption { type PgLoadDB (line 149) | interface PgLoadDB { type PgBind (line 154) | interface PgBind { type PgChangePrivileges (line 161) | interface PgChangePrivileges { type PostgresqlDBDelete (line 167) | interface PostgresqlDBDelete { type PostgresqlDBDeleteCheck (line 174) | interface PostgresqlDBDeleteCheck { type PostgresqlDBInfo (line 179) | interface PostgresqlDBInfo { type PostgresqlConfUpdateByFile (line 190) | interface PostgresqlConfUpdateByFile { type PostgresqlDBCreate (line 195) | interface PostgresqlDBCreate { type PostgresqlDBInfo (line 205) | interface PostgresqlDBInfo { type ChangeInfo (line 218) | interface ChangeInfo { type RedisConfUpdate (line 227) | interface RedisConfUpdate { type RedisConfPersistenceUpdate (line 234) | interface RedisConfPersistenceUpdate { type RedisStatus (line 242) | interface RedisStatus { type RedisConf (line 257) | interface RedisConf { type RedisPersistenceConf (line 265) | interface RedisPersistenceConf { type DatabaseInfo (line 272) | interface DatabaseInfo { type SearchDatabasePage (line 295) | interface SearchDatabasePage { type DatabaseOption (line 303) | interface DatabaseOption { type DbItem (line 311) | interface DbItem { type DatabaseCreate (line 317) | interface DatabaseCreate { type DatabaseUpdate (line 335) | interface DatabaseUpdate { type DatabaseDelete (line 352) | interface DatabaseDelete { type DBResource (line 358) | interface DBResource { FILE: frontend/src/api/interface/file.ts type File (line 3) | interface File extends CommonModel { type ReqFile (line 29) | interface ReqFile extends ReqPage { type ReqNodeFile (line 41) | interface ReqNodeFile extends ReqFile { type PreviewContentReq (line 45) | interface PreviewContentReq { type SearchUploadInfo (line 50) | interface SearchUploadInfo extends ReqPage { type UploadInfo (line 53) | interface UploadInfo { type FileTree (line 59) | interface FileTree { type FileCreate (line 67) | interface FileCreate { type FileDelete (line 78) | interface FileDelete { type FileBatchDelete (line 84) | interface FileBatchDelete { type FileCompress (line 89) | interface FileCompress { type FileDeCompress (line 98) | interface FileDeCompress { type FileEdit (line 105) | interface FileEdit { type FileRename (line 110) | interface FileRename { type FileOwner (line 115) | interface FileOwner { type FileWget (line 122) | interface FileWget { type FileWgetRes (line 129) | interface FileWgetRes { type FileKeys (line 133) | interface FileKeys { type FileMove (line 137) | interface FileMove { type FileDownload (line 143) | interface FileDownload { type FileChunkDownload (line 149) | interface FileChunkDownload { type DirSizeReq (line 154) | interface DirSizeReq { type DirSizeRes (line 158) | interface DirSizeRes { type DepthDirSizeRes (line 162) | interface DepthDirSizeRes { type FilePath (line 167) | interface FilePath { type ExistFileInfo (line 171) | interface ExistFileInfo { type RecycleBin (line 180) | interface RecycleBin { type RecycleBinReduce (line 190) | interface RecycleBinReduce { type FileReadByLine (line 196) | interface FileReadByLine { type Favorite (line 208) | interface Favorite extends CommonModel { type FileRole (line 215) | interface FileRole { type FileRemarkUpdate (line 223) | interface FileRemarkUpdate { type FileRemarksRes (line 228) | interface FileRemarksRes { type UserGroupResponse (line 232) | interface UserGroupResponse { type UserInfo (line 236) | interface UserInfo { type ConvertFile (line 241) | interface ConvertFile { type ConvertFileRequest (line 249) | interface ConvertFileRequest { type ConvertLogResponse (line 256) | interface ConvertLogResponse { FILE: frontend/src/api/interface/group.ts type GroupInfo (line 2) | interface GroupInfo { type GroupCreate (line 9) | interface GroupCreate { type GroupUpdate (line 14) | interface GroupUpdate { FILE: frontend/src/api/interface/host-tool.ts type HostTool (line 2) | interface HostTool { type Supersivor (line 7) | interface Supersivor extends HostTool { type SupersivorConfig (line 20) | interface SupersivorConfig { type SupersivorConfigRes (line 26) | interface SupersivorConfigRes { type SupersivorInit (line 31) | interface SupersivorInit { type SupersivorProcess (line 37) | interface SupersivorProcess { type ProcessStatus (line 50) | interface ProcessStatus { type ProcessReq (line 57) | interface ProcessReq { type ProcessFileReq (line 62) | interface ProcessFileReq { FILE: frontend/src/api/interface/host.ts type HostTree (line 4) | interface HostTree { type TreeNode (line 9) | interface TreeNode { type Host (line 13) | interface Host extends CommonModel { type HostOperate (line 27) | interface HostOperate { type HostConnTest (line 43) | interface HostConnTest { type GroupChange (line 55) | interface GroupChange { type ReqSearch (line 59) | interface ReqSearch { type SearchWithPage (line 62) | interface SearchWithPage extends ReqPage { type FirewallBase (line 67) | interface FirewallBase { type RuleSearch (line 76) | interface RuleSearch extends ReqPage { type RuleInfo (line 81) | interface RuleInfo extends ReqPage { type UpdateDescription (line 96) | interface UpdateDescription { type RulePort (line 107) | interface RulePort { type RuleForward (line 116) | interface RuleForward { type RuleIP (line 124) | interface RuleIP { type UpdatePortRule (line 130) | interface UpdatePortRule { type UpdateAddrRule (line 134) | interface UpdateAddrRule { type BatchRule (line 138) | interface BatchRule { type MonitorSetting (line 143) | interface MonitorSetting { type MonitorData (line 150) | interface MonitorData { type MonitorSearch (line 155) | interface MonitorSearch { type MonitorGPUSearch (line 163) | interface MonitorGPUSearch { type MonitorGPUOptions (line 168) | interface MonitorGPUOptions { type ChartHide (line 173) | interface ChartHide { type MonitorGPUData (line 182) | interface MonitorGPUData { type GPUProcess (line 195) | interface GPUProcess { type SSHInfo (line 202) | interface SSHInfo { type SSHUpdate (line 216) | interface SSHUpdate { type RootCert (line 221) | interface RootCert { type RootCertInfo (line 230) | interface RootCertInfo { type searchSSHLog (line 241) | interface searchSSHLog extends ReqPage { type analysisSSHLog (line 245) | interface analysisSSHLog extends ReqPage { type sshHistory (line 248) | interface sshHistory { type DiskBasicInfo (line 259) | interface DiskBasicInfo { type DiskInfo (line 275) | interface DiskInfo extends DiskBasicInfo { type CompleteDiskInfo (line 279) | interface CompleteDiskInfo { type DiskPartition (line 287) | interface DiskPartition { type DiskMount (line 296) | interface DiskMount { type DiskUmount (line 302) | interface DiskUmount { type ComponentInfo (line 306) | interface ComponentInfo { type IptablesFilterRuleSearch (line 314) | interface IptablesFilterRuleSearch extends ReqPage { type IptablesData (line 318) | interface IptablesData { type IptablesRules (line 323) | interface IptablesRules { type ChainStatus (line 333) | interface ChainStatus { type IptablesFilterRuleOp (line 337) | interface IptablesFilterRuleOp { FILE: frontend/src/api/interface/index.ts type Result (line 1) | interface Result { type ResultData (line 6) | interface ResultData { type ResPage (line 12) | interface ResPage { type ReqPage (line 17) | interface ReqPage { type SearchWithPage (line 21) | interface SearchWithPage { type CommonModel (line 29) | interface CommonModel { type DescriptionUpdate (line 34) | interface DescriptionUpdate { type UpdateByFile (line 38) | interface UpdateByFile { FILE: frontend/src/api/interface/log.ts type OperationLog (line 5) | interface OperationLog { type SearchOpLog (line 23) | interface SearchOpLog extends ReqPage { type SearchLgLog (line 28) | interface SearchLgLog extends ReqPage { type LoginLogs (line 32) | interface LoginLogs { type CleanLog (line 40) | interface CleanLog { type SearchTaskReq (line 44) | interface SearchTaskReq extends ReqPage { type Task (line 49) | interface Task { FILE: frontend/src/api/interface/nginx.ts type NginxScopeReq (line 2) | interface NginxScopeReq { type NginxParam (line 5) | interface NginxParam { type NginxConfigReq (line 10) | interface NginxConfigReq { type NginxStatus (line 17) | interface NginxStatus { type NginxFileUpdate (line 27) | interface NginxFileUpdate { type NginxBuildReq (line 32) | interface NginxBuildReq { type NginxModule (line 37) | interface NginxModule { type NginxBuildConfig (line 45) | interface NginxBuildConfig { type NginxModuleUpdate (line 50) | interface NginxModuleUpdate extends NginxModule { type NginxHttpsStatus (line 54) | interface NginxHttpsStatus { type NginxOperateReq (line 59) | interface NginxOperateReq { type NginxHttpsOperateReq (line 63) | interface NginxHttpsOperateReq extends NginxOperateReq { FILE: frontend/src/api/interface/process.ts type StopReq (line 2) | interface StopReq { type PsProcessData (line 6) | interface PsProcessData { type ProcessConnect (line 43) | interface ProcessConnect { type ProcessConnects (line 52) | type ProcessConnects = ProcessConnect[]; type OpenFilesStat (line 54) | interface OpenFilesStat { type ListeningProcess (line 59) | interface ListeningProcess { FILE: frontend/src/api/interface/runtime.ts type Runtime (line 4) | interface Runtime extends CommonModel { type RuntimeReq (line 22) | interface RuntimeReq extends ReqPage { type NodeReq (line 28) | interface NodeReq { type NodeScripts (line 32) | interface NodeScripts { type RuntimeDTO (line 37) | interface RuntimeDTO extends Runtime { type RuntimeCreate (line 49) | interface RuntimeCreate { type ExposedPort (line 70) | interface ExposedPort { type Environment (line 75) | interface Environment { type Volume (line 79) | interface Volume { type ExtraHost (line 84) | interface ExtraHost { type RuntimeUpdate (line 89) | interface RuntimeUpdate { type RuntimeDelete (line 101) | interface RuntimeDelete { type RuntimeOperate (line 106) | interface RuntimeOperate { type NodeModule (line 111) | interface NodeModule { type NodeModuleReq (line 117) | interface NodeModuleReq { type PHPExtensions (line 124) | interface PHPExtensions extends CommonModel { type PHPExtensionsList (line 130) | interface PHPExtensionsList extends ReqPage { type PHPExtensionsCreate (line 134) | interface PHPExtensionsCreate { type PHPExtensionsUpdate (line 139) | interface PHPExtensionsUpdate { type PHPExtensionsDelete (line 145) | interface PHPExtensionsDelete { type PHPExtensionsRes (line 149) | interface PHPExtensionsRes { type SupportExtension (line 154) | interface SupportExtension { type PHPExtensionInstall (line 162) | interface PHPExtensionInstall { type PHPConfig (line 168) | interface PHPConfig { type PHPConfigUpdate (line 175) | interface PHPConfigUpdate { type PHPUpdate (line 184) | interface PHPUpdate { type PHPFileReq (line 190) | interface PHPFileReq { type FPMConfig (line 195) | interface FPMConfig { type ProcessReq (line 200) | interface ProcessReq { type ProcessFileReq (line 206) | interface ProcessFileReq { type SupersivorProcess (line 214) | interface SupersivorProcess { type PHPContainerConfig (line 225) | interface PHPContainerConfig { type RemarkUpdate (line 234) | interface RemarkUpdate { type FpmStatus (line 239) | interface FpmStatus { FILE: frontend/src/api/interface/setting.ts type SettingInfo (line 4) | interface SettingInfo { type TerminalInfo (line 73) | interface TerminalInfo { type TerminalAIInfo (line 85) | interface TerminalAIInfo { type SettingUpdate (line 91) | interface SettingUpdate { type ProxyUpdate (line 95) | interface ProxyUpdate { type ApiConfig (line 104) | interface ApiConfig { type SSLUpdate (line 110) | interface SSLUpdate { type SSLInfo (line 118) | interface SSLInfo { type PasswordUpdate (line 126) | interface PasswordUpdate { type PortUpdate (line 130) | interface PortUpdate { type MFARequest (line 133) | interface MFARequest { type MFAInfo (line 137) | interface MFAInfo { type MFABind (line 141) | interface MFABind { type PasskeyRegisterRequest (line 146) | interface PasskeyRegisterRequest { type PasskeyBeginResponse (line 149) | interface PasskeyBeginResponse { type PasskeyInfo (line 153) | interface PasskeyInfo { type CommonDescription (line 159) | interface CommonDescription { type SnapshotCreate (line 167) | interface SnapshotCreate { type SnapshotImport (line 183) | interface SnapshotImport { type SnapshotRecover (line 188) | interface SnapshotRecover { type SnapshotInfo (line 195) | interface SnapshotInfo { type SnapshotData (line 218) | interface SnapshotData { type DataTree (line 227) | interface DataTree { type UpgradeInfo (line 240) | interface UpgradeInfo { type License (line 247) | interface License { type LicenseOptions (line 258) | interface LicenseOptions { type LicenseStatus (line 265) | interface LicenseStatus { type NodeItem (line 271) | interface NodeItem { type SimpleNodeItem (line 280) | interface SimpleNodeItem { type ReleasesNotes (line 292) | interface ReleasesNotes { type LicenseBind (line 301) | interface LicenseBind { type LicenseUnbind (line 307) | interface LicenseUnbind { type SmsInfo (line 313) | interface SmsInfo { type NodeAppItem (line 319) | interface NodeAppItem { FILE: frontend/src/api/interface/terminal.ts type ReqTerminal (line 1) | interface ReqTerminal { FILE: frontend/src/api/interface/toolbox.ts type DeviceBaseInfo (line 5) | interface DeviceBaseInfo { type SwapHelper (line 21) | interface SwapHelper { type HostHelper (line 28) | interface HostHelper { type TimeZoneOptions (line 32) | interface TimeZoneOptions { type CleanData (line 37) | interface CleanData { type CleanTree (line 45) | interface CleanTree { type Fail2banBaseInfo (line 56) | interface Fail2banBaseInfo { type Fail2banSearch (line 70) | interface Fail2banSearch { type Fail2banUpdate (line 74) | interface Fail2banUpdate { type Fail2banSet (line 79) | interface Fail2banSet { type FtpBaseInfo (line 84) | interface FtpBaseInfo { type FtpInfo (line 88) | interface FtpInfo { type FtpCreate (line 96) | interface FtpCreate { type FtpUpdate (line 102) | interface FtpUpdate { type FtpSearchLog (line 109) | interface FtpSearchLog extends ReqPage { type FtpLog (line 113) | interface FtpLog { type ClamBaseInfo (line 122) | interface ClamBaseInfo { type ClamInfo (line 131) | interface ClamInfo { type ClamCreate (line 152) | interface ClamCreate { type ClamUpdate (line 162) | interface ClamUpdate { type ClamSearchLog (line 173) | interface ClamSearchLog extends ReqPage { type ClamRecordReq (line 178) | interface ClamRecordReq { type ClamRecord (line 183) | interface ClamRecord { FILE: frontend/src/api/interface/website.ts type Website (line 4) | interface Website extends CommonModel { type WebsiteDTO (line 34) | interface WebsiteDTO extends Website { type WebsiteStreamUpdate (line 46) | interface WebsiteStreamUpdate { type WebsiteRes (line 53) | interface WebsiteRes extends CommonModel { type NewAppInstall (line 67) | interface NewAppInstall { type WebSiteSearch (line 73) | interface WebSiteSearch extends ReqPage { type WebSiteDel (line 80) | interface WebSiteDel { type WebSiteCreateReq (line 87) | interface WebSiteCreateReq { type WebSiteUpdateReq (line 114) | interface WebSiteUpdateReq { type WebSiteOp (line 124) | interface WebSiteOp { type WebSiteOpLog (line 129) | interface WebSiteOpLog { type OptionReq (line 137) | interface OptionReq { type WebSiteLog (line 141) | interface WebSiteLog { type Domain (line 148) | interface Domain { type DomainCreate (line 156) | interface DomainCreate { type DomainUpdate (line 161) | interface DomainUpdate { type SubDomain (line 166) | interface SubDomain { type DomainDelete (line 172) | interface DomainDelete { type NginxConfigReq (line 176) | interface NginxConfigReq { type NginxScopeReq (line 183) | interface NginxScopeReq { type NginxParam (line 188) | interface NginxParam { type NginxScopeConfig (line 193) | interface NginxScopeConfig { type DnsAccount (line 198) | interface DnsAccount extends CommonModel { type DnsAccountCreate (line 204) | interface DnsAccountCreate { type DnsAccountUpdate (line 210) | interface DnsAccountUpdate { type SSL (line 217) | interface SSL extends CommonModel { type SSLDTO (line 251) | interface SSLDTO extends SSL { type SSLCreate (line 255) | interface SSLCreate { type SSLApply (line 266) | interface SSLApply { type SSLRenew (line 271) | interface SSLRenew { type SSLUpdate (line 275) | interface SSLUpdate { type AcmeAccount (line 289) | interface AcmeAccount extends CommonModel { type AcmeAccountCreate (line 296) | interface AcmeAccountCreate { type AcmeAccountUpdate (line 301) | interface AcmeAccountUpdate { type DNSResolveReq (line 306) | interface DNSResolveReq { type DNSResolve (line 311) | interface DNSResolve { type SSLReq (line 318) | interface SSLReq { type HTTPSReq (line 323) | interface HTTPSReq { type HTTPSConfig (line 336) | interface HTTPSConfig { type BatchSetHttps (line 348) | interface BatchSetHttps { type CheckReq (line 362) | interface CheckReq { type CheckRes (line 366) | interface CheckRes { type DelReq (line 373) | interface DelReq { type NginxUpdate (line 377) | interface NginxUpdate { type DefaultServerUpdate (line 382) | interface DefaultServerUpdate { type RewriteReq (line 385) | interface RewriteReq { type RewriteRes (line 390) | interface RewriteRes { type RewriteUpdate (line 394) | interface RewriteUpdate { type CustomRewirte (line 400) | interface CustomRewirte { type DirUpdate (line 406) | interface DirUpdate { type DirPermissionUpdate (line 411) | interface DirPermissionUpdate { type ProxyReq (line 417) | interface ProxyReq { type ProxyConfig (line 421) | interface ProxyConfig { type ProxyDel (line 451) | interface ProxyDel { type ProxyStatusUpdate (line 456) | interface ProxyStatusUpdate { type ProxReplace (line 462) | interface ProxReplace { type ProxyFileUpdate (line 466) | interface ProxyFileUpdate { type AuthReq (line 472) | interface AuthReq { type NginxAuth (line 476) | interface NginxAuth { type AuthConfig (line 481) | interface AuthConfig { type NginxAuthConfig (line 486) | interface NginxAuthConfig { type NginxPathAuthConfig (line 497) | interface NginxPathAuthConfig { type LeechConfig (line 506) | interface LeechConfig { type LeechReq (line 520) | interface LeechReq { type WebsiteReq (line 524) | interface WebsiteReq { type RedirectConfig (line 528) | interface RedirectConfig { type RedirectFileUpdate (line 544) | interface RedirectFileUpdate { type PHPVersionChange (line 550) | interface PHPVersionChange { type DirConfig (line 555) | interface DirConfig { type SSLUpload (line 562) | interface SSLUpload { type SSLObtain (line 571) | interface SSLObtain { type CA (line 575) | interface CA extends CommonModel { type CACreate (line 582) | interface CACreate { type CADTO (line 593) | interface CADTO extends CA { type SSLObtainByCA (line 602) | interface SSLObtainByCA { type RenewSSLByCA (line 613) | interface RenewSSLByCA { type SSLDownload (line 617) | interface SSLDownload { type WebsiteHtml (line 621) | interface WebsiteHtml { type WebsiteHtmlUpdate (line 624) | interface WebsiteHtmlUpdate { type NginxUpstream (line 630) | interface NginxUpstream { type NginxUpstreamFile (line 638) | interface NginxUpstreamFile { type LoadBalanceReq (line 644) | interface LoadBalanceReq { type NginxUpstreamServer (line 651) | interface NginxUpstreamServer { type LoadBalanceDel (line 661) | interface LoadBalanceDel { type WebsiteLBUpdateFile (line 666) | interface WebsiteLBUpdateFile { type WebsiteCacheConfig (line 672) | interface WebsiteCacheConfig { type WebsiteRealIPConfig (line 682) | interface WebsiteRealIPConfig { type WebsiteResource (line 689) | interface WebsiteResource { type WebsiteDatabase (line 696) | interface WebsiteDatabase { type ChangeDatabase (line 704) | interface ChangeDatabase { type CrossSiteAccessOp (line 710) | interface CrossSiteAccessOp { type ExecComposer (line 715) | interface ExecComposer { type BatchOperate (line 725) | interface BatchOperate { type CorsConfig (line 731) | interface CorsConfig { type CorsConfigReq (line 740) | interface CorsConfigReq extends CorsConfig { type BatchSetGroup (line 744) | interface BatchSetGroup { FILE: frontend/src/api/modules/app.ts function getAppIconUrl (line 138) | function getAppIconUrl(appKey: string, node?: string): string { FILE: frontend/src/assets/iconfont/iconfont.js function M (line 1) | function M(){v||(v=!0,z())} function d (line 1) | function d(){try{p.documentElement.doScroll("left")}catch(l){return void... FILE: frontend/src/components/codemirror-pro/nginx.ts function words (line 3) | function words(str) { function ret (line 24) | function ret(style, tp) { function tokenBase (line 29) | function tokenBase(stream, state) { function tokenSGMLComment (line 75) | function tokenSGMLComment(stream, state) { function tokenString (line 88) | function tokenString(quote) { type NgxState (line 101) | interface NgxState { FILE: frontend/src/components/index.ts method install (line 14) | install(app: App) { FILE: frontend/src/directives/modules/integer.ts method mounted (line 4) | mounted(el: HTMLElement, binding: DirectiveBinding) { FILE: frontend/src/enums/app.ts type DeviceType (line 1) | enum DeviceType { FILE: frontend/src/enums/files.ts type CompressType (line 1) | enum CompressType { type CompressExtension (line 15) | enum CompressExtension { FILE: frontend/src/enums/http-enum.ts type ResultEnum (line 1) | enum ResultEnum { type TimeoutEnum (line 20) | enum TimeoutEnum { FILE: frontend/src/global/form-rules.ts function checkNumberRange (line 478) | function checkNumberRange(min: number, max: number): FormItemRule { function checkFloatNumberRange (line 489) | function checkFloatNumberRange(min: number, max: number): FormItemRule { function checkMaxLength (line 613) | function checkMaxLength(maxLength: number): FormItemRule { type CommonRule (line 646) | interface CommonRule { FILE: frontend/src/lang/index.ts type LocaleMessage (line 3) | type LocaleMessage = Record; type LocaleLoader (line 4) | type LocaleLoader = () => Promise<{ default: LocaleMessage }>; constant DEFAULT_LOCALE (line 6) | const DEFAULT_LOCALE = 'en'; constant STORAGE_KEY (line 7) | const STORAGE_KEY = 'lang'; constant LOCALE_LOADERS (line 9) | const LOCALE_LOADERS: Record = { FILE: frontend/src/layout/hooks/useResize.ts constant WIDTH (line 6) | const WIDTH = 600; FILE: frontend/src/store/interface/index.ts type ThemeConfigProp (line 3) | interface ThemeConfigProp { type Watermark (line 20) | interface Watermark { type GlobalState (line 29) | interface GlobalState { type MenuState (line 66) | interface MenuState { type TerminalState (line 72) | interface TerminalState { FILE: frontend/src/store/modules/global.ts constant CN_DOCS_URL (line 7) | const CN_DOCS_URL = 'https://1panel.cn/docs/v2'; constant INTL_DOCS_URL (line 8) | const INTL_DOCS_URL = 'https://docs.1panel.pro/v2'; method setOpenMenuTabs (line 78) | setOpenMenuTabs(openMenuTabs: boolean) { method setScreenFull (line 81) | setScreenFull() { method setLogStatus (line 84) | setLogStatus(login: boolean) { method setGlobalLoading (line 87) | setGlobalLoading(loading: boolean) { method setLoadingText (line 90) | setLoadingText(text: string) { method setCsrfToken (line 93) | setCsrfToken(token: string) { method updateLanguage (line 96) | async updateLanguage(language: string) { method setThemeConfig (line 101) | setThemeConfig(themeConfig: ThemeConfigProp) { method setAgreeLicense (line 104) | setAgreeLicense(agree: boolean) { method toggleDevice (line 107) | toggleDevice(value: DeviceType) { method isMobile (line 110) | isMobile() { method getMasterAlias (line 113) | getMasterAlias() { method isMasterPro (line 116) | isMasterPro() { method setLastFilePath (line 119) | setLastFilePath(path: string) { method setCurrentDB (line 122) | setCurrentDB(name: string) { method setCurrentPgDB (line 125) | setCurrentPgDB(name: string) { method setCurrentRedisDB (line 128) | setCurrentRedisDB(name: string) { method setShowEntranceWarn (line 131) | setShowEntranceWarn(show: boolean) { method setDefaultNetwork (line 134) | setDefaultNetwork(net: string) { method setDefaultIO (line 137) | setDefaultIO(net: string) { FILE: frontend/src/store/modules/menu.ts method setCollapse (line 16) | async setCollapse() { method setMenuList (line 20) | async setMenuList(menuList: RouteRecordRaw[]) { method closeSidebar (line 26) | closeSidebar(withoutAnimation: boolean) { FILE: frontend/src/store/modules/process.ts type PsSearch (line 4) | interface PsSearch { type NetSearch (line 11) | interface NetSearch { FILE: frontend/src/store/modules/terminal.ts method setLineHeight (line 20) | setLineHeight(lineHeight: number) { method setLetterSpacing (line 23) | setLetterSpacing(letterSpacing: number) { method setFontSize (line 26) | setFontSize(fontSize: number) { method setFontFamily (line 29) | setFontFamily(fontFamily: string) { method setBackgroundColor (line 32) | setBackgroundColor(backgroundColor: string) { method setForegroundColor (line 35) | setForegroundColor(foregroundColor: string) { method setCursorBlink (line 38) | setCursorBlink(cursorBlink: string) { method setCursorStyle (line 41) | setCursorStyle(cursorStyle: string) { method setScrollback (line 44) | setScrollback(scrollback: number) { method setScrollSensitivity (line 47) | setScrollSensitivity(scrollSensitivity: number) { FILE: frontend/src/typings/global.d.ts type MenuOptions (line 2) | interface MenuOptions { type Recordable (line 12) | type Recordable = Record; type ViteEnv (line 14) | interface ViteEnv { type RouterButton (line 26) | interface RouterButton { FILE: frontend/src/typings/window.d.ts type Navigator (line 3) | interface Navigator { FILE: frontend/src/utils/bus.ts class Bus (line 1) | class Bus { method constructor (line 3) | constructor() { method on (line 7) | on(name: string, fn: Function) { method emit (line 12) | emit(name: string, data?: any) { method off (line 20) | off(name: string) { FILE: frontend/src/utils/dashboardCache.ts constant DASHBOARD_CACHE_KEY (line 1) | const DASHBOARD_CACHE_KEY = 'dashboardCache'; type CacheEntry (line 3) | type CacheEntry = { FILE: frontend/src/utils/docker.ts function formatImageStdout (line 3) | function formatImageStdout(stdout: string) { FILE: frontend/src/utils/get-env.ts function isDevFn (line 5) | function isDevFn(mode: string): boolean { function isProdFn (line 9) | function isProdFn(mode: string): boolean { function isReportMode (line 16) | function isReportMode(): boolean { function wrapperEnv (line 21) | function wrapperEnv(envConf: Recordable): ViteEnv { function getEnvConfig (line 47) | function getEnvConfig(match = 'VITE_GLOB_', confFiles = ['.env', '.env.p... function getRootPath (line 71) | function getRootPath(...dir: string[]) { FILE: frontend/src/utils/runtime.ts function disabledButton (line 3) | function disabledButton(row: Runtime.Runtime, type: string): boolean { FILE: frontend/src/utils/theme.ts function setPrimaryColor (line 1) | function setPrimaryColor(color: string) { FILE: frontend/src/utils/util.ts function deepCopy (line 12) | function deepCopy(obj: any): T { function randomNum (line 28) | function randomNum(min: number, max: number): number { function debounce (line 33) | function debounce(func: Function, wait: number) { function getBrowserLang (line 45) | function getBrowserLang() { function loadUpTime (line 60) | function loadUpTime(timeSince: string) { function getCurrentDateFormatted (line 108) | function getCurrentDateFormatted() { function dateFormat (line 120) | function dateFormat(row: any, col: any, dataStr: any) { function dateFormatSimple (line 137) | function dateFormatSimple(dataStr: any) { function dateFormatForName (line 148) | function dateFormatForName(dataStr: any) { function dateFormatWithoutYear (line 165) | function dateFormatWithoutYear(dataStr: any) { function dateFormatForSecond (line 181) | function dateFormatForSecond(dataStr: any) { function getRandomStr (line 192) | function getRandomStr(e: number): string { function getDBName (line 203) | function getDBName(e: number): string { function loadZero (line 214) | function loadZero(i: number) { function computeSize (line 218) | function computeSize(size: number): string { function computeSizeForDocker (line 227) | function computeSizeForDocker(size: number): string { function computeSize2 (line 236) | function computeSize2(size: number): string { function computeCPU (line 245) | function computeCPU(size: number): string { function splitSize (line 253) | function splitSize(size: number): any { function formattedNumber (line 264) | function formattedNumber(num: string) { function computeSizeFromMB (line 268) | function computeSizeFromMB(size: number): string { function computeSizeFromKB (line 275) | function computeSizeFromKB(size: number): string { function computeSizeFromByte (line 282) | function computeSizeFromByte(size: number): string { function computeSizeFromKBs (line 291) | function computeSizeFromKBs(size: number): string { function getIcon (line 347) | function getIcon(extension: string): string { function checkIp (line 356) | function checkIp(value: string): boolean { function checkDomain (line 369) | function checkDomain(value: string): boolean { function isDomain (line 381) | function isDomain(value: string): boolean { function checkIpV4V6 (line 393) | function checkIpV4V6(value: string): boolean { function checkIpV6 (line 420) | function checkIpV6(value: string): boolean { function checkCidr (line 447) | function checkCidr(value: string): boolean { function checkCidrV6 (line 459) | function checkCidrV6(value: string): boolean { function checkPort (line 473) | function checkPort(value: string): boolean { function getProvider (line 481) | function getProvider(provider: string): string { function transferTimeToSecond (line 498) | function transferTimeToSecond(item: string): any { function splitTime (line 513) | function splitTime(item: string): any { function transTimeUnit (line 531) | function transTimeUnit(val: string): any { function splitTimeFromSecond (line 549) | function splitTimeFromSecond(item: number): any { function splitHttp (line 555) | function splitHttp(url: string) { function spliceHttp (line 564) | function spliceHttp(proto: string, url: string) { function getAge (line 568) | function getAge(d1: string): string { function isJson (line 596) | function isJson(str: string) { function toLowerCase (line 606) | function toLowerCase(str: string) { function downloadFile (line 610) | function downloadFile(filePath: string, currentNode: string) { function downloadWithContent (line 616) | function downloadWithContent(content: string, fileName: string) { function getDateStr (line 625) | function getDateStr() { function getAccountName (line 642) | function getAccountName(type: string) { function getKeyName (line 651) | function getKeyName(type: string) { function getDNSName (line 660) | function getDNSName(type: string) { function copyText (line 669) | async function copyText(content: string) { function getAction (line 678) | function getAction(action: string) { function getLanguage (line 685) | function getLanguage() { function normalizeAppLocaleKey (line 689) | function normalizeAppLocaleKey(language: string) { function getLabel (line 699) | function getLabel(row: any) { function getDescription (line 712) | function getDescription(row: any) { function emptyLineFilter (line 721) | function emptyLineFilter(str: string, spilt: string) { function getRuntimeLabel (line 783) | function getRuntimeLabel(type: string) { function getCookie (line 793) | function getCookie(name: string) { function rsaEncrypt (line 799) | function rsaEncrypt(data: string, publicKey: string) { function aesEncrypt (line 808) | function aesEncrypt(data: string, key: string) { function urlDecode (line 819) | function urlDecode(value: string): string { function generateAESKey (line 823) | function generateAESKey(): string { function loadJson (line 850) | async function loadJson(lang: string): Promise { type ConvertType (line 912) | type ConvertType = (typeof convertTypes)[number]; function isConvertible (line 914) | function isConvertible(extension: string, mimeType: string): boolean { function compareById (line 918) | function compareById(a, b) { function sortMenu (line 922) | function sortMenu(arr) { function isPunycoded (line 935) | function isPunycoded(domain: string): boolean { function GetPunyCodeDomain (line 939) | function GetPunyCodeDomain(domain: string): string { function base64UrlToBuffer (line 962) | function base64UrlToBuffer(base64url: string): ArrayBuffer { function bufferToBase64Url (line 976) | function bufferToBase64Url(buffer: ArrayBuffer): string { FILE: frontend/src/utils/version.ts function compareVersion (line 1) | function compareVersion(version1: string, version2: string): boolean { function extractNumbers (line 19) | function extractNumbers(version: string): string[] { function isDigit (line 40) | function isDigit(char: string): boolean { FILE: frontend/src/utils/xpack.ts function resetXSetting (line 8) | function resetXSetting() { function getColoredFavicon (line 18) | async function getColoredFavicon(url: string, color: string) { function initFavicon (line 25) | async function initFavicon() { function getXpackSetting (line 53) | async function getXpackSetting() { function loadProductProFromDB (line 76) | async function loadProductProFromDB() { function loadMasterProductProFromDB (line 88) | async function loadMasterProductProFromDB() { function getXpackSettingForTheme (line 100) | async function getXpackSettingForTheme() { function updateXpackSettingByKey (line 134) | async function updateXpackSettingByKey(key: string, value: string) { FILE: frontend/src/views/cronjob/cronjob/helper.ts function loadWeek (line 29) | function loadWeek(i: number) { function loadDefaultSpec (line 38) | function loadDefaultSpec(type: string) { function loadDefaultSpecCustom (line 76) | function loadDefaultSpecCustom(type: string) { function transObjToSpec (line 98) | function transObjToSpec(specType: string, week, day, hour, minute, secon... function transSpecToObj (line 121) | function transSpecToObj(spec: string) { function transSpecToStr (line 175) | function transSpecToStr(spec: string): string { function hasBackup (line 201) | function hasBackup(type: string) { FILE: frontend/src/views/host/file-management/hooks/searchable.ts function useSearchable (line 3) | function useSearchable(paths) { function useSearchableForSelect (line 28) | function useSearchableForSelect(paths) { function useMultipleSearchable (line 57) | function useMultipleSearchable(paths) { FILE: frontend/src/views/terminal/setting/ai/helper.ts constant DEFAULT_AI_PREFIX (line 1) | const DEFAULT_AI_PREFIX = '#'; constant DEFAULT_AI_RISK_COMMANDS (line 3) | const DEFAULT_AI_RISK_COMMANDS = [