[PR #276] [MERGED] feat: tencent clb deployer #900

Closed
opened 2026-03-03 01:06:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/certimate-go/certimate/pull/276
Author: @fudiwei
Created: 10/28/2024
Status: Merged
Merged: 11/2/2024
Merged by: @usual2970

Base: mainHead: feat/cloud-load-balance


📝 Commits (10+)

  • e1a3a3e refactor: clean code
  • aeaa45b Merge branch 'main' into feat/cloud-load-balance
  • 26fa8e7 refactor: clean code
  • 59af246 refactor: clean code
  • be49583 Merge branch 'main' into feat/cloud-load-balance
  • ce55365 refactor: extend huaweicloud cdn sdk
  • 3c3d4e9 refactor: extend qiniu sdk
  • 83264a6 refactor: clean code
  • 369c146 feat: support tencent clb deployment in multiple ways
  • f71a519 refactor: clean code

📊 Changes

65 files changed (+2701 additions, -2580 deletions)

View changed files

📝 go.mod (+4 -3)
📝 go.sum (+4 -3)
📝 internal/deployer/aliyun_alb.go (+32 -28)
📝 internal/deployer/aliyun_cdn.go (+37 -33)
📝 internal/deployer/aliyun_clb.go (+34 -31)
internal/deployer/aliyun_dcdn.go (+95 -0)
internal/deployer/aliyun_esa.go (+0 -97)
📝 internal/deployer/aliyun_nlb.go (+29 -25)
📝 internal/deployer/aliyun_oss.go (+37 -21)
📝 internal/deployer/deployer.go (+5 -40)
📝 internal/deployer/huaweicloud_cdn.go (+29 -99)
📝 internal/deployer/huaweicloud_elb.go (+25 -20)
📝 internal/deployer/k8s_secret.go (+41 -48)
📝 internal/deployer/local.go (+15 -19)
📝 internal/deployer/qiniu_cdn.go (+59 -166)
internal/deployer/qiniu_cdn_test.go (+0 -85)
📝 internal/deployer/ssh.go (+20 -15)
📝 internal/deployer/tencent_cdn.go (+117 -114)
📝 internal/deployer/tencent_clb.go (+267 -54)
📝 internal/deployer/tencent_cos.go (+57 -59)

...and 45 more files

📄 Description

此 PR 包含以下内容的变更:

  • feat: 支持多种腾讯云 CLB 部署方式,原 #247 的实现现作为其中一种。
  • feat: 域名详情页的部署配置列表中显示完整部署方式的名称(如 “阿里云 - 内容分发网络 CDN”)、而非服务商的名称(如“阿里云”)。
  • refactor: 优化代码:
    1. 后端:规范化 Deployer 代码逻辑,对于需要上传证书的地方统一使用公共 Uploader
    2. 后端:规范化 Deployer 的错误抛出方式,记录完整堆栈
    3. 后端:剥离 Deployer 中原有的云厂商 API 接口封装(七牛云、华为云),相关逻辑移至 /internal/pkg/vendors/ 模块下,使 Deployer 仅包含部署业务本身的逻辑代码
    4. UI:声明部署参数表单字段类型定义,使其支持 IntelliSense 智能提示和 TypeScript 类型检查
    5. UI:简化部署参数表单的验证方式

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/certimate-go/certimate/pull/276 **Author:** [@fudiwei](https://github.com/fudiwei) **Created:** 10/28/2024 **Status:** ✅ Merged **Merged:** 11/2/2024 **Merged by:** [@usual2970](https://github.com/usual2970) **Base:** `main` ← **Head:** `feat/cloud-load-balance` --- ### 📝 Commits (10+) - [`e1a3a3e`](https://github.com/certimate-go/certimate/commit/e1a3a3e7c7a42d247cfb220f2d25463d5468b93b) refactor: clean code - [`aeaa45b`](https://github.com/certimate-go/certimate/commit/aeaa45b713861c5017124e1f48240e7654767a17) Merge branch 'main' into feat/cloud-load-balance - [`26fa8e7`](https://github.com/certimate-go/certimate/commit/26fa8e75bdb347479ca8334207cd161ef9a035ba) refactor: clean code - [`59af246`](https://github.com/certimate-go/certimate/commit/59af2464791971749ad8c22f7d6fb10eedc03781) refactor: clean code - [`be49583`](https://github.com/certimate-go/certimate/commit/be495839b6eb1caf23665c6155a02803e0834322) Merge branch 'main' into feat/cloud-load-balance - [`ce55365`](https://github.com/certimate-go/certimate/commit/ce553652925f5a126f85a1d5c0e61cbcc11b8f83) refactor: extend huaweicloud cdn sdk - [`3c3d4e9`](https://github.com/certimate-go/certimate/commit/3c3d4e91094bace5b93c71ed66aa8f1251d83bfa) refactor: extend qiniu sdk - [`83264a6`](https://github.com/certimate-go/certimate/commit/83264a69462f94b530d5c6e7a884f6cdd193ebaa) refactor: clean code - [`369c146`](https://github.com/certimate-go/certimate/commit/369c146ecad2182f2371498c0455509a8768e320) feat: support tencent clb deployment in multiple ways - [`f71a519`](https://github.com/certimate-go/certimate/commit/f71a5196749e15b8568e30e8b5e30bb698730118) refactor: clean code ### 📊 Changes **65 files changed** (+2701 additions, -2580 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+4 -3) 📝 `go.sum` (+4 -3) 📝 `internal/deployer/aliyun_alb.go` (+32 -28) 📝 `internal/deployer/aliyun_cdn.go` (+37 -33) 📝 `internal/deployer/aliyun_clb.go` (+34 -31) ➕ `internal/deployer/aliyun_dcdn.go` (+95 -0) ➖ `internal/deployer/aliyun_esa.go` (+0 -97) 📝 `internal/deployer/aliyun_nlb.go` (+29 -25) 📝 `internal/deployer/aliyun_oss.go` (+37 -21) 📝 `internal/deployer/deployer.go` (+5 -40) 📝 `internal/deployer/huaweicloud_cdn.go` (+29 -99) 📝 `internal/deployer/huaweicloud_elb.go` (+25 -20) 📝 `internal/deployer/k8s_secret.go` (+41 -48) 📝 `internal/deployer/local.go` (+15 -19) 📝 `internal/deployer/qiniu_cdn.go` (+59 -166) ➖ `internal/deployer/qiniu_cdn_test.go` (+0 -85) 📝 `internal/deployer/ssh.go` (+20 -15) 📝 `internal/deployer/tencent_cdn.go` (+117 -114) 📝 `internal/deployer/tencent_clb.go` (+267 -54) 📝 `internal/deployer/tencent_cos.go` (+57 -59) _...and 45 more files_ </details> ### 📄 Description 此 PR 包含以下内容的变更: - **feat**: 支持多种腾讯云 CLB 部署方式,原 #247 的实现现作为其中一种。 - **feat**: 域名详情页的部署配置列表中显示完整部署方式的名称(如 “阿里云 - 内容分发网络 CDN”)、而非服务商的名称(如“阿里云”)。 - **refactor**: 优化代码: 1. 后端:规范化 Deployer 代码逻辑,对于需要上传证书的地方统一使用公共 Uploader 2. 后端:规范化 Deployer 的错误抛出方式,记录完整堆栈 3. 后端:剥离 Deployer 中原有的云厂商 API 接口封装(七牛云、华为云),相关逻辑移至 `/internal/pkg/vendors/` 模块下,使 Deployer 仅包含部署业务本身的逻辑代码 4. UI:声明部署参数表单字段类型定义,使其支持 IntelliSense 智能提示和 TypeScript 类型检查 5. UI:简化部署参数表单的验证方式 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 01:06:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#900
No description provided.