Documentation ¶
Index ¶
- func GenReqDefForDeleteCertificate() *def.HttpRequestDef
- func GenReqDefForExportCertificate() *def.HttpRequestDef
- func GenReqDefForImportCertificate() *def.HttpRequestDef
- func GenReqDefForListCertificates() *def.HttpRequestDef
- func GenReqDefForPushCertificate() *def.HttpRequestDef
- func GenReqDefForShowCertificate() *def.HttpRequestDef
- func ScmClientBuilder() *http_client.HcHttpClientBuilder
- type ScmClient
- func (c *ScmClient) DeleteCertificate(request *model.DeleteCertificateRequest) (*model.DeleteCertificateResponse, error)
- func (c *ScmClient) ExportCertificate(request *model.ExportCertificateRequest) (*model.ExportCertificateResponse, error)
- func (c *ScmClient) ImportCertificate(request *model.ImportCertificateRequest) (*model.ImportCertificateResponse, error)
- func (c *ScmClient) ListCertificates(request *model.ListCertificatesRequest) (*model.ListCertificatesResponse, error)
- func (c *ScmClient) PushCertificate(request *model.PushCertificateRequest) (*model.PushCertificateResponse, error)
- func (c *ScmClient) ShowCertificate(request *model.ShowCertificateRequest) (*model.ShowCertificateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForDeleteCertificate ¶
func GenReqDefForDeleteCertificate() *def.HttpRequestDef
func GenReqDefForExportCertificate ¶
func GenReqDefForExportCertificate() *def.HttpRequestDef
func GenReqDefForImportCertificate ¶
func GenReqDefForImportCertificate() *def.HttpRequestDef
func GenReqDefForListCertificates ¶
func GenReqDefForListCertificates() *def.HttpRequestDef
func GenReqDefForPushCertificate ¶
func GenReqDefForPushCertificate() *def.HttpRequestDef
func GenReqDefForShowCertificate ¶
func GenReqDefForShowCertificate() *def.HttpRequestDef
func ScmClientBuilder ¶
func ScmClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type ScmClient ¶
type ScmClient struct {
HcClient *http_client.HcHttpClient
}
func NewScmClient ¶
func NewScmClient(hcClient *http_client.HcHttpClient) *ScmClient
func (*ScmClient) DeleteCertificate ¶
func (c *ScmClient) DeleteCertificate(request *model.DeleteCertificateRequest) (*model.DeleteCertificateResponse, error)
删除证书
删除证书实例,即将证书资源从华为云系统中删除。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ScmClient) ExportCertificate ¶
func (c *ScmClient) ExportCertificate(request *model.ExportCertificateRequest) (*model.ExportCertificateResponse, error)
导出证书
导出证书。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ScmClient) ImportCertificate ¶
func (c *ScmClient) ImportCertificate(request *model.ImportCertificateRequest) (*model.ImportCertificateResponse, error)
导入证书
导入证书到SCM服务管理。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ScmClient) ListCertificates ¶
func (c *ScmClient) ListCertificates(request *model.ListCertificatesRequest) (*model.ListCertificatesResponse, error)
查询证书列表
根据证书名称或绑定域名查询证书列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ScmClient) PushCertificate ¶
func (c *ScmClient) PushCertificate(request *model.PushCertificateRequest) (*model.PushCertificateResponse, error)
推送证书
推送SSL证书到弹性负载均衡(Elastic Load Balance,简称ELB)、Web应用防火墙(Web Application Firewall,WAF)、CDN(Content Delivery Network,内容分发网络)等其它华为云产品中。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ScmClient) ShowCertificate ¶
func (c *ScmClient) ShowCertificate(request *model.ShowCertificateRequest) (*model.ShowCertificateResponse, error)
获取证书详情
查询某张证书的详细信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.