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 (
|
2023-03-28 18:00:06 +08:00
|
|
|
authService = service.NewIAuthService()
|
|
|
|
dashboardService = service.NewIDashboardService()
|
2022-10-20 18:45:47 +08:00
|
|
|
|
2023-02-13 15:46:14 +08:00
|
|
|
appService = service.NewIAppService()
|
2023-03-28 18:00:06 +08:00
|
|
|
appInstallService = service.NewIAppInstalledService()
|
2022-10-20 18:45:47 +08:00
|
|
|
|
2023-03-28 18:00:06 +08:00
|
|
|
containerService = service.NewIContainerService()
|
|
|
|
composeTemplateService = service.NewIComposeTemplateService()
|
|
|
|
imageRepoService = service.NewIImageRepoService()
|
|
|
|
imageService = service.NewIImageService()
|
|
|
|
dockerService = service.NewIDockerService()
|
2022-10-20 18:45:47 +08:00
|
|
|
|
2024-01-08 17:40:42 +08:00
|
|
|
dbCommonService = service.NewIDBCommonService()
|
2024-01-02 21:54:28 +08:00
|
|
|
mysqlService = service.NewIMysqlService()
|
|
|
|
postgresqlService = service.NewIPostgresqlService()
|
|
|
|
databaseService = service.NewIDatabaseService()
|
|
|
|
redisService = service.NewIRedisService()
|
2022-10-20 18:45:47 +08:00
|
|
|
|
2023-03-28 18:00:06 +08:00
|
|
|
cronjobService = service.NewICronjobService()
|
2022-10-20 18:45:47 +08:00
|
|
|
|
2023-05-11 18:09:42 +08:00
|
|
|
hostService = service.NewIHostService()
|
|
|
|
groupService = service.NewIGroupService()
|
|
|
|
fileService = service.NewIFileService()
|
|
|
|
sshService = service.NewISSHService()
|
2023-03-27 19:02:36 +08:00
|
|
|
firewallService = service.NewIFirewallService()
|
2022-10-20 18:45:47 +08:00
|
|
|
|
2023-11-20 15:28:09 +08:00
|
|
|
deviceService = service.NewIDeviceService()
|
2023-11-16 14:40:08 +08:00
|
|
|
fail2banService = service.NewIFail2BanService()
|
2024-05-17 22:36:38 +08:00
|
|
|
ftpService = service.NewIFtpService()
|
2024-06-24 13:52:42 +08:00
|
|
|
clamService = service.NewIClamService()
|
2023-11-16 14:40:08 +08:00
|
|
|
|
2023-03-28 18:00:06 +08:00
|
|
|
settingService = service.NewISettingService()
|
|
|
|
backupService = service.NewIBackupService()
|
2022-10-20 18:45:47 +08:00
|
|
|
|
2023-03-28 18:00:06 +08:00
|
|
|
commandService = service.NewICommandService()
|
2022-11-11 17:41:39 +08:00
|
|
|
|
2023-03-28 18:00:06 +08:00
|
|
|
websiteService = service.NewIWebsiteService()
|
|
|
|
websiteDnsAccountService = service.NewIWebsiteDnsAccountService()
|
|
|
|
websiteSSLService = service.NewIWebsiteSSLService()
|
|
|
|
websiteAcmeAccountService = service.NewIWebsiteAcmeAccountService()
|
2022-11-15 17:20:57 +08:00
|
|
|
|
2023-03-28 18:00:06 +08:00
|
|
|
nginxService = service.NewINginxService()
|
2022-11-23 16:19:05 +08:00
|
|
|
|
2023-03-28 18:00:06 +08:00
|
|
|
logService = service.NewILogService()
|
|
|
|
snapshotService = service.NewISnapshotService()
|
|
|
|
upgradeService = service.NewIUpgradeService()
|
|
|
|
|
2024-01-02 21:54:28 +08:00
|
|
|
runtimeService = service.NewRuntimeService()
|
|
|
|
processService = service.NewIProcessService()
|
|
|
|
phpExtensionsService = service.NewIPHPExtensionsService()
|
2023-07-31 11:28:41 +08:00
|
|
|
|
|
|
|
hostToolService = service.NewIHostToolService()
|
2023-10-18 17:02:24 +08:00
|
|
|
|
|
|
|
recycleBinService = service.NewIRecycleBinService()
|
2023-10-20 17:56:46 +08:00
|
|
|
favoriteService = service.NewIFavoriteService()
|
2023-11-27 12:04:09 +08:00
|
|
|
|
|
|
|
websiteCAService = service.NewIWebsiteCAService()
|
2022-08-16 23:30:23 +08:00
|
|
|
)
|