feat: add volcengine dns provider and add volcengine live deployer

This commit is contained in:
belier
2024-11-13 15:36:46 +08:00
parent 2ff923dd1b
commit e2562a5251
18 changed files with 1379 additions and 92 deletions

View File

@@ -40,6 +40,7 @@ const (
targetSSH = "ssh"
targetWebhook = "webhook"
targetK8sSecret = "k8s-secret"
targetVolcengineLive = "volcengine-live"
)
type DeployerOption struct {
@@ -150,6 +151,8 @@ func getWithDeployConfig(record *models.Record, cert *applicant.Certificate, dep
return NewWebhookDeployer(option)
case targetK8sSecret:
return NewK8sSecretDeployer(option)
case targetVolcengineLive:
return NewVolcengineLiveDeployer(option)
}
return nil, errors.New("unsupported deploy target")
}