mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[PR #937] [MERGED] refactor #1081
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#1081
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/certimate-go/certimate/pull/937
Author: @fudiwei
Created: 8/29/2025
Status: ✅ Merged
Merged: 8/29/2025
Merged by: @fudiwei
Base:
next← Head:dev📝 Commits (8)
f82d43efeat: try to query bind result before deploy to tencentcloud cosbe54892fix(ui): missing field "workflowRef" of CertificateModel5f6981echore(ui): improve i18n219d907refactor: optimizef82d43e185088c7refactor: acme providers factory35de861refactor: notification providers factory40a740arefactor: deployment providers factory4219093chore: modify directory structure📊 Changes
165 files changed (+4819 additions, -2370 deletions)
View changed files
📝
internal/applicant/providers.go(+11 -668)➕
internal/certapply/applicators/registry.go(+69 -0)➕
internal/certapply/applicators/sp_acmehttpreq.go(+31 -0)➕
internal/certapply/applicators/sp_aliyun_dns.go(+34 -0)➕
internal/certapply/applicators/sp_aliyun_esa.go(+31 -0)➕
internal/certapply/applicators/sp_aws_route53.go(+36 -0)➕
internal/certapply/applicators/sp_azure_dns.go(+36 -0)➕
internal/certapply/applicators/sp_baiducloud_dns.go(+34 -0)➕
internal/certapply/applicators/sp_bunny.go(+29 -0)➕
internal/certapply/applicators/sp_cloudflare.go(+30 -0)➕
internal/certapply/applicators/sp_cloudns.go(+30 -0)➕
internal/certapply/applicators/sp_cmcccloud_dns.go(+34 -0)➕
internal/certapply/applicators/sp_constellix.go(+30 -0)➕
internal/certapply/applicators/sp_ctcccloud_smartdns.go(+34 -0)➕
internal/certapply/applicators/sp_desec.go(+29 -0)➕
internal/certapply/applicators/sp_digitalocean.go(+29 -0)➕
internal/certapply/applicators/sp_dnsla.go(+30 -0)➕
internal/certapply/applicators/sp_duckdns.go(+28 -0)➕
internal/certapply/applicators/sp_dynv6.go(+29 -0)➕
internal/certapply/applicators/sp_gcore.go(+29 -0)...and 80 more files
📄 Description
该 PR 包含以下内容变更:
备注
关于提供商工厂
原构造提供商的相关逻辑代码位于
/internal/applicant/providers.go、/internal/deployer/providers.go、/internal/notify/providers.go三个文件中。存在以下三个缺点:新的构造提供商抽象出
Registry(注册表)这一结构,利用 go 语言本身的模块init()特性,将各提供商工厂拆分成独立的文件,消除了上述三个缺点。🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.