feat: support replacing old certificate on deployment to baishan cdn
This commit is contained in:
7
internal/pkg/vendors/baishan-sdk/models.go
vendored
7
internal/pkg/vendors/baishan-sdk/models.go
vendored
@@ -27,9 +27,10 @@ func (r *baseResponse) GetMessage() string {
|
||||
}
|
||||
|
||||
type CreateCertificateRequest struct {
|
||||
Certificate string `json:"certificate"`
|
||||
Key string `json:"key"`
|
||||
Name string `json:"name"`
|
||||
CertificateId *string `json:"cert_id,omitempty"`
|
||||
Certificate string `json:"certificate"`
|
||||
Key string `json:"key"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type CreateCertificateResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user