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

@@ -35,6 +35,7 @@ const (
configTypeGodaddy = "godaddy"
configTypePdns = "pdns"
configTypeHttpreq = "httpreq"
configTypeVolcengine = "volcengine"
)
const defaultSSLProvider = "letsencrypt"
@@ -188,6 +189,8 @@ func Get(record *models.Record) (Applicant, error) {
return NewPdns(option), nil
case configTypeHttpreq:
return NewHttpreq(option), nil
case configTypeVolcengine:
return NewVolcengine(option), nil
default:
return nil, errors.New("unknown config type")
}