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 DeleteCertificateInvoker
- type ExportCertificateInvoker
- type ImportCertificateInvoker
- type ListCertificatesInvoker
- type PushCertificateInvoker
- type ScmClient
- func (c *ScmClient) DeleteCertificate(request *model.DeleteCertificateRequest) (*model.DeleteCertificateResponse, error)
- func (c *ScmClient) DeleteCertificateInvoker(request *model.DeleteCertificateRequest) *DeleteCertificateInvoker
- func (c *ScmClient) ExportCertificate(request *model.ExportCertificateRequest) (*model.ExportCertificateResponse, error)
- func (c *ScmClient) ExportCertificateInvoker(request *model.ExportCertificateRequest) *ExportCertificateInvoker
- func (c *ScmClient) ImportCertificate(request *model.ImportCertificateRequest) (*model.ImportCertificateResponse, error)
- func (c *ScmClient) ImportCertificateInvoker(request *model.ImportCertificateRequest) *ImportCertificateInvoker
- func (c *ScmClient) ListCertificates(request *model.ListCertificatesRequest) (*model.ListCertificatesResponse, error)
- func (c *ScmClient) ListCertificatesInvoker(request *model.ListCertificatesRequest) *ListCertificatesInvoker
- func (c *ScmClient) PushCertificate(request *model.PushCertificateRequest) (*model.PushCertificateResponse, error)
- func (c *ScmClient) PushCertificateInvoker(request *model.PushCertificateRequest) *PushCertificateInvoker
- func (c *ScmClient) ShowCertificate(request *model.ShowCertificateRequest) (*model.ShowCertificateResponse, error)
- func (c *ScmClient) ShowCertificateInvoker(request *model.ShowCertificateRequest) *ShowCertificateInvoker
- type ShowCertificateInvoker
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 DeleteCertificateInvoker ¶ added in v0.0.90
type DeleteCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteCertificateInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteCertificateInvoker) Invoke() (*model.DeleteCertificateResponse, error)
type ExportCertificateInvoker ¶ added in v0.0.90
type ExportCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*ExportCertificateInvoker) Invoke ¶ added in v0.0.90
func (i *ExportCertificateInvoker) Invoke() (*model.ExportCertificateResponse, error)
type ImportCertificateInvoker ¶ added in v0.0.90
type ImportCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*ImportCertificateInvoker) Invoke ¶ added in v0.0.90
func (i *ImportCertificateInvoker) Invoke() (*model.ImportCertificateResponse, error)
type ListCertificatesInvoker ¶ added in v0.0.90
type ListCertificatesInvoker struct {
*invoker.BaseInvoker
}
func (*ListCertificatesInvoker) Invoke ¶ added in v0.0.90
func (i *ListCertificatesInvoker) Invoke() (*model.ListCertificatesResponse, error)
type PushCertificateInvoker ¶ added in v0.0.90
type PushCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*PushCertificateInvoker) Invoke ¶ added in v0.0.90
func (i *PushCertificateInvoker) Invoke() (*model.PushCertificateResponse, error)
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)
DeleteCertificate 删除证书
删除证书实例,即将证书资源从华为云系统中删除。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ScmClient) DeleteCertificateInvoker ¶ added in v0.0.90
func (c *ScmClient) DeleteCertificateInvoker(request *model.DeleteCertificateRequest) *DeleteCertificateInvoker
DeleteCertificateInvoker 删除证书
func (*ScmClient) ExportCertificate ¶
func (c *ScmClient) ExportCertificate(request *model.ExportCertificateRequest) (*model.ExportCertificateResponse, error)
ExportCertificate 导出证书
导出证书。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ScmClient) ExportCertificateInvoker ¶ added in v0.0.90
func (c *ScmClient) ExportCertificateInvoker(request *model.ExportCertificateRequest) *ExportCertificateInvoker
ExportCertificateInvoker 导出证书
func (*ScmClient) ImportCertificate ¶
func (c *ScmClient) ImportCertificate(request *model.ImportCertificateRequest) (*model.ImportCertificateResponse, error)
ImportCertificate 导入证书
导入证书到SCM服务管理。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ScmClient) ImportCertificateInvoker ¶ added in v0.0.90
func (c *ScmClient) ImportCertificateInvoker(request *model.ImportCertificateRequest) *ImportCertificateInvoker
ImportCertificateInvoker 导入证书
func (*ScmClient) ListCertificates ¶
func (c *ScmClient) ListCertificates(request *model.ListCertificatesRequest) (*model.ListCertificatesResponse, error)
ListCertificates 查询证书列表
根据证书名称或绑定域名查询证书列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ScmClient) ListCertificatesInvoker ¶ added in v0.0.90
func (c *ScmClient) ListCertificatesInvoker(request *model.ListCertificatesRequest) *ListCertificatesInvoker
ListCertificatesInvoker 查询证书列表
func (*ScmClient) PushCertificate ¶
func (c *ScmClient) PushCertificate(request *model.PushCertificateRequest) (*model.PushCertificateResponse, error)
PushCertificate 推送证书
推送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) PushCertificateInvoker ¶ added in v0.0.90
func (c *ScmClient) PushCertificateInvoker(request *model.PushCertificateRequest) *PushCertificateInvoker
PushCertificateInvoker 推送证书
func (*ScmClient) ShowCertificate ¶
func (c *ScmClient) ShowCertificate(request *model.ShowCertificateRequest) (*model.ShowCertificateResponse, error)
ShowCertificate 获取证书详情
查询某张证书的详细信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ScmClient) ShowCertificateInvoker ¶ added in v0.0.90
func (c *ScmClient) ShowCertificateInvoker(request *model.ShowCertificateRequest) *ShowCertificateInvoker
ShowCertificateInvoker 获取证书详情
type ShowCertificateInvoker ¶ added in v0.0.90
type ShowCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCertificateInvoker) Invoke ¶ added in v0.0.90
func (i *ShowCertificateInvoker) Invoke() (*model.ShowCertificateResponse, error)