完成证书导入后台任务及上传回收,更新回归进度

This commit is contained in:
xuans committed 2026-10-02 19:42:18 +08:00
1 parent 09616e732d
commit fce5a84dd4
17 files changed
+473 -15

No files matched your search

+4
View File
@@ -196,6 +196,10 @@ func NewWithConfigPath(ctx context.Context, cfg config.Config, configPath string
result, err := trackedWorkflow.Import(ctx, request)
return result.Certificate, result.Deployment, err
},
ImportCertificateTask: func(ctx context.Context, request certificate.ImportRequest) (certificate.IssueResult, deployment.Report, error) {
result, err := workflow.Import(ctx, request)
return result.Certificate, result.Deployment, err
},
DeployCertificate: func(ctx context.Context, domainID string) (certificate.IssueResult, deployment.Report, error) {
result, err := trackedWorkflow.DeployCurrent(ctx, domainID)
return result.Certificate, result.Deployment, err