1Panel/backend/app/service/entry.go

40 lines
1.1 KiB
Go
Raw Normal View History

2022-08-16 23:30:23 +08:00
package service
import "github.com/1Panel-dev/1Panel/backend/app/repo"
2022-08-16 23:30:23 +08:00
var (
2023-03-28 18:00:06 +08:00
commonRepo = repo.NewCommonRepo()
2022-10-20 18:45:47 +08:00
2023-03-28 18:00:06 +08:00
appRepo = repo.NewIAppRepo()
appTagRepo = repo.NewIAppTagRepo()
appDetailRepo = repo.NewIAppDetailRepo()
tagRepo = repo.NewITagRepo()
appInstallRepo = repo.NewIAppInstallRepo()
appInstallResourceRepo = repo.NewIAppInstallResourceRpo()
2022-10-20 18:45:47 +08:00
2023-03-28 18:00:06 +08:00
mysqlRepo = repo.NewIMysqlRepo()
2022-10-20 18:45:47 +08:00
2023-03-28 18:00:06 +08:00
imageRepoRepo = repo.NewIImageRepoRepo()
composeRepo = repo.NewIComposeTemplateRepo()
2022-10-20 18:45:47 +08:00
2023-03-28 18:00:06 +08:00
cronjobRepo = repo.NewICronjobRepo()
2022-10-20 18:45:47 +08:00
2023-03-28 18:00:06 +08:00
hostRepo = repo.NewIHostRepo()
groupRepo = repo.NewIGroupRepo()
commandRepo = repo.NewICommandRepo()
2022-10-20 18:45:47 +08:00
2023-03-28 18:00:06 +08:00
settingRepo = repo.NewISettingRepo()
backupRepo = repo.NewIBackupRepo()
2022-10-20 18:45:47 +08:00
websiteRepo = repo.NewIWebsiteRepo()
2023-03-28 18:00:06 +08:00
websiteDomainRepo = repo.NewIWebsiteDomainRepo()
websiteDnsRepo = repo.NewIWebsiteDnsAccountRepo()
websiteSSLRepo = repo.NewISSLRepo()
websiteAcmeRepo = repo.NewIAcmeAccountRepo()
2022-11-15 17:20:57 +08:00
2023-03-28 18:00:06 +08:00
logRepo = repo.NewILogRepo()
2023-01-06 18:53:25 +08:00
snapshotRepo = repo.NewISnapshotRepo()
2023-03-28 18:00:06 +08:00
runtimeRepo = repo.NewIRunTimeRepo()
2022-08-16 23:30:23 +08:00
)