Documentation
¶
Index ¶
- type CertificateRecord
- type Client
- func (c *Client) GetCertificateList(req *GetCertificateListRequest) (*GetCertificateListResponse, error)
- func (c *Client) GetCertificateListWithContext(ctx context.Context, req *GetCertificateListRequest) (*GetCertificateListResponse, error)
- func (c *Client) SetTimeout(timeout time.Duration) *Client
- func (c *Client) UploadCertificate(req *UploadCertificateRequest) (*UploadCertificateResponse, error)
- func (c *Client) UploadCertificateWithContext(ctx context.Context, req *UploadCertificateRequest) (*UploadCertificateResponse, error)
- type GetCertificateListRequest
- type GetCertificateListResponse
- type UploadCertificateRequest
- type UploadCertificateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateRecord ¶
type CertificateRecord struct {
Id string `json:"id"`
Origin string `json:"origin"`
Type string `json:"type"`
ResourceId string `json:"resourceId"`
ResourceType string `json:"resourceType"`
CertificateId string `json:"certificateId"`
CertificateMode string `json:"certificateMode"`
Name string `json:"name"`
Status string `json:"status"`
DetailStatus string `json:"detailStatus"`
ManagedStatus string `json:"managedStatus"`
Fingerprint string `json:"fingerprint"`
IssueTime string `json:"issueTime"`
ExpireTime string `json:"expireTime"`
DomainType string `json:"domainType"`
DomainName string `json:"domainName"`
EncryptionStandard string `json:"encryptionStandard"`
EncryptionAlgorithm string `json:"encryptionAlgorithm"`
CreateTime string `json:"createTime"`
UpdateTime string `json:"updateTime"`
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetCertificateList ¶
func (c *Client) GetCertificateList(req *GetCertificateListRequest) (*GetCertificateListResponse, error)
func (*Client) GetCertificateListWithContext ¶
func (c *Client) GetCertificateListWithContext(ctx context.Context, req *GetCertificateListRequest) (*GetCertificateListResponse, error)
func (*Client) UploadCertificate ¶
func (c *Client) UploadCertificate(req *UploadCertificateRequest) (*UploadCertificateResponse, error)
func (*Client) UploadCertificateWithContext ¶
func (c *Client) UploadCertificateWithContext(ctx context.Context, req *UploadCertificateRequest) (*UploadCertificateResponse, error)
type GetCertificateListResponse ¶
type GetCertificateListResponse struct {
ReturnObj *struct {
List []*CertificateRecord `json:"list,omitempty"`
TotalSize int32 `json:"totalSize,omitempty"`
} `json:"returnObj,omitempty"`
// contains filtered or unexported fields
}
func (*GetCertificateListResponse) GetError ¶
func (r *GetCertificateListResponse) GetError() string
func (*GetCertificateListResponse) GetErrorMessage ¶
func (r *GetCertificateListResponse) GetErrorMessage() string
func (*GetCertificateListResponse) GetMessage ¶
func (r *GetCertificateListResponse) GetMessage() string
func (*GetCertificateListResponse) GetStatusCode ¶
func (r *GetCertificateListResponse) GetStatusCode() string
type UploadCertificateRequest ¶
type UploadCertificateRequest struct {
Name *string `json:"name,omitempty"`
Certificate *string `json:"certificate,omitempty"`
CertificateChain *string `json:"certificateChain,omitempty"`
PrivateKey *string `json:"privateKey,omitempty"`
EncryptionStandard *string `json:"encryptionStandard,omitempty"`
EncCertificate *string `json:"encCertificate,omitempty"`
EncPrivateKey *string `json:"encPrivateKey,omitempty"`
}
type UploadCertificateResponse ¶
type UploadCertificateResponse struct {
// contains filtered or unexported fields
}
func (*UploadCertificateResponse) GetErrorMessage ¶
func (r *UploadCertificateResponse) GetErrorMessage() string
func (*UploadCertificateResponse) GetMessage ¶
func (r *UploadCertificateResponse) GetMessage() string
func (*UploadCertificateResponse) GetStatusCode ¶
func (r *UploadCertificateResponse) GetStatusCode() string
Click to show internal directories.
Click to hide internal directories.