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

40 lines
1.1 KiB
Go
Raw Normal View History

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