mirror of
https://github.com/usual2970/certimate.git
synced 2025-07-28 01:58:33 +00:00
feat: add volcengine cdn deployer
This commit is contained in:
@@ -41,6 +41,7 @@ const (
|
||||
targetWebhook = "webhook"
|
||||
targetK8sSecret = "k8s-secret"
|
||||
targetVolcengineLive = "volcengine-live"
|
||||
targetVolcengineCDN = "volcengine-cdn"
|
||||
)
|
||||
|
||||
type DeployerOption struct {
|
||||
@@ -153,6 +154,8 @@ func getWithDeployConfig(record *models.Record, cert *applicant.Certificate, dep
|
||||
return NewK8sSecretDeployer(option)
|
||||
case targetVolcengineLive:
|
||||
return NewVolcengineLiveDeployer(option)
|
||||
case targetVolcengineCDN:
|
||||
return NewVolcengineCDNDeployer(option)
|
||||
}
|
||||
return nil, errors.New("unsupported deploy target")
|
||||
}
|
||||
|
Reference in New Issue
Block a user