mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.8 KiB
77 lines
1.8 KiB
package service
|
|
|
|
import "github.com/1Panel-dev/1Panel/backend/app/repo"
|
|
|
|
type ServiceGroup struct {
|
|
AuthService
|
|
|
|
AppService
|
|
AppInstallService
|
|
|
|
ContainerService
|
|
ImageService
|
|
ImageRepoService
|
|
ComposeTemplateService
|
|
DockerService
|
|
|
|
MysqlService
|
|
RedisService
|
|
|
|
CronjobService
|
|
|
|
HostService
|
|
GroupService
|
|
CommandService
|
|
FileService
|
|
|
|
SettingService
|
|
BackupService
|
|
|
|
WebsiteGroupService
|
|
WebsiteService
|
|
WebSiteDnsAccountService
|
|
WebSiteSSLService
|
|
WebSiteAcmeAccountService
|
|
|
|
NginxService
|
|
|
|
LogService
|
|
}
|
|
|
|
var ServiceGroupApp = new(ServiceGroup)
|
|
|
|
var (
|
|
commonRepo = repo.RepoGroupApp.CommonRepo
|
|
|
|
appInstallBackupRepo = repo.RepoGroupApp.AppInstallBackupRepo
|
|
appRepo = repo.RepoGroupApp.AppRepo
|
|
appTagRepo = repo.RepoGroupApp.AppTagRepo
|
|
appDetailRepo = repo.RepoGroupApp.AppDetailRepo
|
|
tagRepo = repo.RepoGroupApp.TagRepo
|
|
appInstallRepo = repo.RepoGroupApp.AppInstallRepo
|
|
appInstallResourceRepo = repo.RepoGroupApp.AppInstallResourceRpo
|
|
|
|
mysqlRepo = repo.RepoGroupApp.MysqlRepo
|
|
|
|
imageRepoRepo = repo.RepoGroupApp.ImageRepoRepo
|
|
composeRepo = repo.RepoGroupApp.ComposeTemplateRepo
|
|
|
|
cronjobRepo = repo.RepoGroupApp.CronjobRepo
|
|
|
|
hostRepo = repo.RepoGroupApp.HostRepo
|
|
groupRepo = repo.RepoGroupApp.GroupRepo
|
|
commandRepo = repo.RepoGroupApp.CommandRepo
|
|
|
|
settingRepo = repo.RepoGroupApp.SettingRepo
|
|
backupRepo = repo.RepoGroupApp.BackupRepo
|
|
|
|
websiteRepo = repo.RepoGroupApp.WebSiteRepo
|
|
websiteGroupRepo = repo.RepoGroupApp.WebSiteGroupRepo
|
|
websiteDomainRepo = repo.RepoGroupApp.WebSiteDomainRepo
|
|
websiteDnsRepo = repo.RepoGroupApp.WebsiteDnsAccountRepo
|
|
websiteSSLRepo = repo.RepoGroupApp.WebsiteSSLRepo
|
|
websiteAcmeRepo = repo.RepoGroupApp.WebsiteAcmeAccountRepo
|
|
|
|
logRepo = repo.RepoGroupApp.LogRepo
|
|
)
|