2022-08-16 15:30:23 +00:00
|
|
|
package v1
|
|
|
|
|
2022-10-17 08:32:31 +00:00
|
|
|
import "github.com/1Panel-dev/1Panel/backend/app/service"
|
2022-08-16 15:30:23 +00:00
|
|
|
|
|
|
|
type ApiGroup struct {
|
|
|
|
BaseApi
|
|
|
|
}
|
|
|
|
|
|
|
|
var ApiGroupApp = new(ApiGroup)
|
|
|
|
|
|
|
|
var (
|
2022-11-24 15:56:48 +00:00
|
|
|
authService = service.ServiceGroupApp.AuthService
|
|
|
|
dashboardService = service.ServiceGroupApp.DashboardService
|
2022-10-20 10:45:47 +00:00
|
|
|
|
2023-02-13 07:46:14 +00:00
|
|
|
appService = service.NewIAppService()
|
2022-11-18 06:27:40 +00:00
|
|
|
appInstallService = service.ServiceGroupApp.AppInstallService
|
2022-10-20 10:45:47 +00:00
|
|
|
|
2022-10-17 01:10:06 +00:00
|
|
|
containerService = service.ServiceGroupApp.ContainerService
|
|
|
|
composeTemplateService = service.ServiceGroupApp.ComposeTemplateService
|
|
|
|
imageRepoService = service.ServiceGroupApp.ImageRepoService
|
|
|
|
imageService = service.ServiceGroupApp.ImageService
|
2022-11-14 11:19:42 +00:00
|
|
|
dockerService = service.ServiceGroupApp.DockerService
|
2022-10-20 10:45:47 +00:00
|
|
|
|
|
|
|
mysqlService = service.ServiceGroupApp.MysqlService
|
2022-10-31 09:26:15 +00:00
|
|
|
redisService = service.ServiceGroupApp.RedisService
|
2022-10-20 10:45:47 +00:00
|
|
|
|
|
|
|
cronjobService = service.ServiceGroupApp.CronjobService
|
|
|
|
|
2022-11-18 06:27:40 +00:00
|
|
|
hostService = service.ServiceGroupApp.HostService
|
|
|
|
groupService = service.ServiceGroupApp.GroupService
|
|
|
|
fileService = service.ServiceGroupApp.FileService
|
2022-10-20 10:45:47 +00:00
|
|
|
|
|
|
|
settingService = service.ServiceGroupApp.SettingService
|
|
|
|
backupService = service.ServiceGroupApp.BackupService
|
|
|
|
|
2022-11-15 09:20:57 +00:00
|
|
|
commandService = service.ServiceGroupApp.CommandService
|
2022-11-11 09:41:39 +00:00
|
|
|
|
2022-11-18 06:27:40 +00:00
|
|
|
websiteGroupService = service.ServiceGroupApp.WebsiteGroupService
|
|
|
|
websiteService = service.ServiceGroupApp.WebsiteService
|
2022-12-13 09:20:13 +00:00
|
|
|
websiteDnsAccountService = service.ServiceGroupApp.WebsiteDnsAccountService
|
|
|
|
websiteSSLService = service.ServiceGroupApp.WebsiteSSLService
|
|
|
|
websiteAcmeAccountService = service.ServiceGroupApp.WebsiteAcmeAccountService
|
2022-11-15 09:20:57 +00:00
|
|
|
|
2022-11-23 08:19:05 +00:00
|
|
|
nginxService = service.ServiceGroupApp.NginxService
|
|
|
|
|
2023-01-06 10:53:25 +00:00
|
|
|
logService = service.ServiceGroupApp.LogService
|
|
|
|
snapshotService = service.ServiceGroupApp.SnapshotService
|
2023-01-30 13:05:20 +00:00
|
|
|
upgradeService = service.ServiceGroupApp.UpgradeService
|
2022-08-16 15:30:23 +00:00
|
|
|
)
|