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 (
|
2023-03-28 10:00:06 +00:00
|
|
|
authService = service.NewIAuthService()
|
|
|
|
dashboardService = service.NewIDashboardService()
|
2022-10-20 10:45:47 +00:00
|
|
|
|
2023-02-13 07:46:14 +00:00
|
|
|
appService = service.NewIAppService()
|
2023-03-28 10:00:06 +00:00
|
|
|
appInstallService = service.NewIAppInstalledService()
|
2022-10-20 10:45:47 +00:00
|
|
|
|
2023-03-28 10:00:06 +00:00
|
|
|
containerService = service.NewIContainerService()
|
|
|
|
composeTemplateService = service.NewIComposeTemplateService()
|
|
|
|
imageRepoService = service.NewIImageRepoService()
|
|
|
|
imageService = service.NewIImageService()
|
|
|
|
dockerService = service.NewIDockerService()
|
2022-10-20 10:45:47 +00:00
|
|
|
|
2023-07-20 09:51:57 +00:00
|
|
|
mysqlService = service.NewIMysqlService()
|
2023-08-29 02:50:15 +00:00
|
|
|
databaseService = service.NewIDatabaseService()
|
2023-07-20 09:51:57 +00:00
|
|
|
redisService = service.NewIRedisService()
|
2022-10-20 10:45:47 +00:00
|
|
|
|
2023-03-28 10:00:06 +00:00
|
|
|
cronjobService = service.NewICronjobService()
|
2022-10-20 10:45:47 +00:00
|
|
|
|
2023-05-11 10:09:42 +00:00
|
|
|
hostService = service.NewIHostService()
|
|
|
|
groupService = service.NewIGroupService()
|
|
|
|
fileService = service.NewIFileService()
|
|
|
|
sshService = service.NewISSHService()
|
2023-03-27 11:02:36 +00:00
|
|
|
firewallService = service.NewIFirewallService()
|
2022-10-20 10:45:47 +00:00
|
|
|
|
2023-03-28 10:00:06 +00:00
|
|
|
settingService = service.NewISettingService()
|
|
|
|
backupService = service.NewIBackupService()
|
2022-10-20 10:45:47 +00:00
|
|
|
|
2023-03-28 10:00:06 +00:00
|
|
|
commandService = service.NewICommandService()
|
2022-11-11 09:41:39 +00:00
|
|
|
|
2023-03-28 10:00:06 +00:00
|
|
|
websiteService = service.NewIWebsiteService()
|
|
|
|
websiteDnsAccountService = service.NewIWebsiteDnsAccountService()
|
|
|
|
websiteSSLService = service.NewIWebsiteSSLService()
|
|
|
|
websiteAcmeAccountService = service.NewIWebsiteAcmeAccountService()
|
2022-11-15 09:20:57 +00:00
|
|
|
|
2023-03-28 10:00:06 +00:00
|
|
|
nginxService = service.NewINginxService()
|
2022-11-23 08:19:05 +00:00
|
|
|
|
2023-03-28 10:00:06 +00:00
|
|
|
logService = service.NewILogService()
|
|
|
|
snapshotService = service.NewISnapshotService()
|
|
|
|
upgradeService = service.NewIUpgradeService()
|
|
|
|
|
|
|
|
runtimeService = service.NewRuntimeService()
|
2023-06-28 06:50:10 +00:00
|
|
|
processService = service.NewIProcessService()
|
2023-07-31 03:28:41 +00:00
|
|
|
|
|
|
|
hostToolService = service.NewIHostToolService()
|
2023-10-18 09:02:24 +00:00
|
|
|
|
|
|
|
recycleBinService = service.NewIRecycleBinService()
|
2023-10-20 09:56:46 +00:00
|
|
|
favoriteService = service.NewIFavoriteService()
|
2022-08-16 15:30:23 +00:00
|
|
|
)
|