2024-07-23 14:48:37 +08:00
|
|
|
package service
|
|
|
|
|
|
|
|
|
|
import "github.com/1Panel-dev/1Panel/agent/app/repo"
|
|
|
|
|
|
|
|
|
|
var (
|
2026-11-09 09:54:02 +08:00
|
|
|
gpuGroupRepo = &repo.GPUGroupRepo{}
|
2026-11-02 18:22:58 +08:00
|
|
|
vmRepo = repo.NewIVMRepo()
|
2024-07-23 14:48:37 +08:00
|
|
|
appRepo = repo.NewIAppRepo()
|
|
|
|
|
appTagRepo = repo.NewIAppTagRepo()
|
|
|
|
|
appDetailRepo = repo.NewIAppDetailRepo()
|
|
|
|
|
tagRepo = repo.NewITagRepo()
|
|
|
|
|
appInstallRepo = repo.NewIAppInstallRepo()
|
2024-12-26 14:13:41 +08:00
|
|
|
launcherRepo = repo.NewILauncherRepo()
|
2024-07-23 14:48:37 +08:00
|
|
|
appInstallResourceRepo = repo.NewIAppInstallResourceRpo()
|
2025-04-18 15:44:28 +08:00
|
|
|
appIgnoreUpgradeRepo = repo.NewIAppIgnoreUpgradeRepo()
|
2024-07-23 14:48:37 +08:00
|
|
|
|
2026-03-18 18:36:11 +08:00
|
|
|
aiRepo = repo.NewIAiRepo()
|
|
|
|
|
mcpServerRepo = repo.NewIMcpServerRepo()
|
|
|
|
|
agentRepo = repo.NewIAgentRepo()
|
|
|
|
|
agentAccountRepo = repo.NewIAgentAccountRepo()
|
|
|
|
|
agentAccountModelRepo = repo.NewIAgentAccountModelRepo()
|
2025-02-24 18:48:47 +08:00
|
|
|
|
2026-07-21 19:08:09 +08:00
|
|
|
mysqlRepo = repo.NewIMysqlRepo()
|
|
|
|
|
postgresqlRepo = repo.NewIPostgresqlRepo()
|
|
|
|
|
mongodbRepo = repo.NewIMongodbRepo()
|
|
|
|
|
databaseRepo = repo.NewIDatabaseRepo()
|
|
|
|
|
databaseUserRepo = repo.NewIDatabaseUserRepo()
|
|
|
|
|
databaseUserGrantRepo = repo.NewIDatabaseUserGrantRepo()
|
2024-07-23 14:48:37 +08:00
|
|
|
|
|
|
|
|
imageRepoRepo = repo.NewIImageRepoRepo()
|
|
|
|
|
composeRepo = repo.NewIComposeTemplateRepo()
|
|
|
|
|
|
2025-05-06 18:09:37 +08:00
|
|
|
scriptRepo = repo.NewIScriptRepo()
|
2024-07-23 14:48:37 +08:00
|
|
|
cronjobRepo = repo.NewICronjobRepo()
|
|
|
|
|
|
2026-11-09 14:17:47 +08:00
|
|
|
hostRepo = repo.NewIHostRepo()
|
|
|
|
|
ftpRepo = repo.NewIFtpRepo()
|
|
|
|
|
clamRepo = repo.NewIClamRepo()
|
|
|
|
|
monitorRepo = repo.NewIMonitorRepo()
|
2024-07-23 14:48:37 +08:00
|
|
|
|
2026-10-08 18:19:30 +08:00
|
|
|
settingRepo = repo.NewISettingRepo()
|
|
|
|
|
backupRepo = repo.NewIBackupRepo()
|
2024-07-23 14:48:37 +08:00
|
|
|
|
2026-07-31 10:01:20 +08:00
|
|
|
websiteRepo = repo.NewIWebsiteRepo()
|
|
|
|
|
websiteDomainRepo = repo.NewIWebsiteDomainRepo()
|
|
|
|
|
websiteDnsRepo = repo.NewIWebsiteDnsAccountRepo()
|
|
|
|
|
websiteSSLRepo = repo.NewISSLRepo()
|
|
|
|
|
websiteAcmeRepo = repo.NewIAcmeAccountRepo()
|
|
|
|
|
websiteCARepo = repo.NewIWebsiteCARepo()
|
|
|
|
|
websiteTemplateRepo = repo.NewIWebsiteTemplateRepo()
|
|
|
|
|
websiteTemplateOutputRepo = repo.NewIWebsiteTemplateOutputRepo()
|
2024-07-23 14:48:37 +08:00
|
|
|
|
|
|
|
|
snapshotRepo = repo.NewISnapshotRepo()
|
|
|
|
|
|
|
|
|
|
runtimeRepo = repo.NewIRunTimeRepo()
|
|
|
|
|
phpExtensionsRepo = repo.NewIPHPExtensionsRepo()
|
|
|
|
|
|
2026-04-09 17:38:38 +08:00
|
|
|
favoriteRepo = repo.NewIFavoriteRepo()
|
|
|
|
|
fileShareRepo = repo.NewIFileShareRepo()
|
2024-07-29 18:09:57 +08:00
|
|
|
|
|
|
|
|
taskRepo = repo.NewITaskRepo()
|
2025-03-03 16:18:47 +08:00
|
|
|
|
|
|
|
|
groupRepo = repo.NewIGroupRepo()
|
2025-07-18 11:44:20 +08:00
|
|
|
alertRepo = repo.NewIAlertRepo()
|
2024-07-23 14:48:37 +08:00
|
|
|
)
|