2022-08-16 23:30:23 +08:00
|
|
|
package v1
|
|
|
|
|
2022-10-17 16:32:31 +08:00
|
|
|
import "github.com/1Panel-dev/1Panel/backend/app/service"
|
2022-08-16 23:30:23 +08:00
|
|
|
|
|
|
|
type ApiGroup struct {
|
|
|
|
BaseApi
|
|
|
|
}
|
|
|
|
|
|
|
|
var ApiGroupApp = new(ApiGroup)
|
|
|
|
|
|
|
|
var (
|
2022-10-20 18:45:47 +08:00
|
|
|
authService = service.ServiceGroupApp.AuthService
|
|
|
|
|
2022-11-18 14:27:40 +08:00
|
|
|
appService = service.ServiceGroupApp.AppService
|
|
|
|
appInstallService = service.ServiceGroupApp.AppInstallService
|
2022-10-20 18:45:47 +08:00
|
|
|
|
2022-10-17 09:10:06 +08:00
|
|
|
containerService = service.ServiceGroupApp.ContainerService
|
|
|
|
composeTemplateService = service.ServiceGroupApp.ComposeTemplateService
|
|
|
|
imageRepoService = service.ServiceGroupApp.ImageRepoService
|
|
|
|
imageService = service.ServiceGroupApp.ImageService
|
2022-11-14 19:19:42 +08:00
|
|
|
dockerService = service.ServiceGroupApp.DockerService
|
2022-10-20 18:45:47 +08:00
|
|
|
|
|
|
|
mysqlService = service.ServiceGroupApp.MysqlService
|
2022-10-31 17:26:15 +08:00
|
|
|
redisService = service.ServiceGroupApp.RedisService
|
2022-10-20 18:45:47 +08:00
|
|
|
|
|
|
|
cronjobService = service.ServiceGroupApp.CronjobService
|
|
|
|
|
2022-11-18 14:27:40 +08:00
|
|
|
hostService = service.ServiceGroupApp.HostService
|
|
|
|
groupService = service.ServiceGroupApp.GroupService
|
|
|
|
fileService = service.ServiceGroupApp.FileService
|
2022-10-20 18:45:47 +08:00
|
|
|
|
|
|
|
settingService = service.ServiceGroupApp.SettingService
|
|
|
|
backupService = service.ServiceGroupApp.BackupService
|
|
|
|
|
2022-11-15 17:20:57 +08:00
|
|
|
commandService = service.ServiceGroupApp.CommandService
|
2022-11-11 17:41:39 +08:00
|
|
|
|
2022-11-18 14:27:40 +08:00
|
|
|
websiteGroupService = service.ServiceGroupApp.WebsiteGroupService
|
|
|
|
websiteService = service.ServiceGroupApp.WebsiteService
|
2022-11-11 17:41:39 +08:00
|
|
|
websiteDnsAccountService = service.ServiceGroupApp.WebSiteDnsAccountService
|
|
|
|
websiteSSLService = service.ServiceGroupApp.WebSiteSSLService
|
|
|
|
websiteAcmeAccountService = service.ServiceGroupApp.WebSiteAcmeAccountService
|
2022-11-15 17:20:57 +08:00
|
|
|
|
2022-11-23 16:19:05 +08:00
|
|
|
nginxService = service.ServiceGroupApp.NginxService
|
|
|
|
|
2022-11-15 17:20:57 +08:00
|
|
|
logService = service.ServiceGroupApp.LogService
|
2022-08-16 23:30:23 +08:00
|
|
|
)
|