v3

package
v0.0.77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

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)

删除证书实例,即将证书资源从华为云系统中删除。

func (*ScmClient) ExportCertificate

func (c *ScmClient) ExportCertificate(request *model.ExportCertificateRequest) (*model.ExportCertificateResponse, error)

导出证书。

func (*ScmClient) ImportCertificate

func (c *ScmClient) ImportCertificate(request *model.ImportCertificateRequest) (*model.ImportCertificateResponse, error)

导入证书到SCM服务管理。

func (*ScmClient) ListCertificates

func (c *ScmClient) ListCertificates(request *model.ListCertificatesRequest) (*model.ListCertificatesResponse, error)

根据证书名称或绑定域名查询证书列表。

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,内容分发网络)等其它华为云产品中。

func (*ScmClient) ShowCertificate

func (c *ScmClient) ShowCertificate(request *model.ShowCertificateRequest) (*model.ShowCertificateResponse, error)

查询某张证书的详细信息。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL