兼容执行插件

This commit is contained in:
zhangchenhao
2025-06-09 20:31:15 +08:00
parent 9a9a91bf37
commit 08172287ef
3 changed files with 283 additions and 0 deletions

View File

@@ -87,6 +87,9 @@ func Deploy(cfg map[string]any, logger *public.Logger) error {
case "volcengine-dcdn":
logger.Debug("部署到火山DCDN...")
return DeployVolcEngineDCdn(cfg)
case "plugin":
logger.Debug("使用插件部署...")
return DeployPlugin(cfg)
default:
return fmt.Errorf("不支持的部署: %s", providerName)
}