mirror of
https://github.com/usual2970/certimate.git
synced 2025-07-22 02:47:59 +00:00
refactor: clean code
This commit is contained in:
48
internal/pkg/sdk3rd/baiducloud/cert/models.go
Normal file
48
internal/pkg/sdk3rd/baiducloud/cert/models.go
Normal file
@@ -0,0 +1,48 @@
|
||||
package cert
|
||||
|
||||
import "github.com/baidubce/bce-sdk-go/services/cert"
|
||||
|
||||
type CreateCertArgs struct {
|
||||
cert.CreateCertArgs
|
||||
}
|
||||
|
||||
type CreateCertResult struct {
|
||||
cert.CreateCertResult
|
||||
}
|
||||
|
||||
type UpdateCertNameArgs struct {
|
||||
cert.UpdateCertNameArgs
|
||||
}
|
||||
|
||||
type CertificateMeta struct {
|
||||
cert.CertificateMeta
|
||||
}
|
||||
|
||||
type CertificateDetailMeta struct {
|
||||
cert.CertificateDetailMeta
|
||||
}
|
||||
|
||||
type CertificateRawData struct {
|
||||
CertId string `json:"certId"`
|
||||
CertName string `json:"certName"`
|
||||
CertServerData string `json:"certServerData"`
|
||||
CertPrivateData string `json:"certPrivateKey"`
|
||||
CertLinkData string `json:"certLinkData,omitempty"`
|
||||
CertType int `json:"certType,omitempty"`
|
||||
}
|
||||
|
||||
type ListCertResult struct {
|
||||
cert.ListCertResult
|
||||
}
|
||||
|
||||
type ListCertDetailResult struct {
|
||||
cert.ListCertDetailResult
|
||||
}
|
||||
|
||||
type UpdateCertDataArgs struct {
|
||||
cert.UpdateCertDataArgs
|
||||
}
|
||||
|
||||
type CertInServiceMeta struct {
|
||||
cert.CertInServiceMeta
|
||||
}
|
Reference in New Issue
Block a user