Documentation ¶
Index ¶
- func GenReqDefForApplyCertificate() *def.HttpRequestDef
- func GenReqDefForBatchPushCertificate() *def.HttpRequestDef
- func GenReqDefForDeleteCertificate() *def.HttpRequestDef
- func GenReqDefForDeployCertificate() *def.HttpRequestDef
- func GenReqDefForExportCertificate() *def.HttpRequestDef
- func GenReqDefForImportCertificate() *def.HttpRequestDef
- func GenReqDefForListCertificates() *def.HttpRequestDef
- func GenReqDefForListDeployedResources() *def.HttpRequestDef
- func GenReqDefForPushCertificate() *def.HttpRequestDef
- func GenReqDefForShowCertificate() *def.HttpRequestDef
- func GenReqDefForSubscribeCertificate() *def.HttpRequestDef
- func GenReqDefForUnsubscribeCertificate() *def.HttpRequestDef
- func ScmClientBuilder() *httpclient.HcHttpClientBuilder
- type ApplyCertificateInvoker
- type BatchPushCertificateInvoker
- type DeleteCertificateInvoker
- type DeployCertificateInvoker
- type ExportCertificateInvoker
- type ImportCertificateInvoker
- type ListCertificatesInvoker
- type ListDeployedResourcesInvoker
- type PushCertificateInvoker
- type ScmClient
- func (c *ScmClient) ApplyCertificate(request *model.ApplyCertificateRequest) (*model.ApplyCertificateResponse, error)
- func (c *ScmClient) ApplyCertificateInvoker(request *model.ApplyCertificateRequest) *ApplyCertificateInvoker
- func (c *ScmClient) BatchPushCertificate(request *model.BatchPushCertificateRequest) (*model.BatchPushCertificateResponse, error)
- func (c *ScmClient) BatchPushCertificateInvoker(request *model.BatchPushCertificateRequest) *BatchPushCertificateInvoker
- func (c *ScmClient) DeleteCertificate(request *model.DeleteCertificateRequest) (*model.DeleteCertificateResponse, error)
- func (c *ScmClient) DeleteCertificateInvoker(request *model.DeleteCertificateRequest) *DeleteCertificateInvoker
- func (c *ScmClient) DeployCertificate(request *model.DeployCertificateRequest) (*model.DeployCertificateResponse, error)
- func (c *ScmClient) DeployCertificateInvoker(request *model.DeployCertificateRequest) *DeployCertificateInvoker
- 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) ListDeployedResources(request *model.ListDeployedResourcesRequest) (*model.ListDeployedResourcesResponse, error)
- func (c *ScmClient) ListDeployedResourcesInvoker(request *model.ListDeployedResourcesRequest) *ListDeployedResourcesInvoker
- 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
- func (c *ScmClient) SubscribeCertificate(request *model.SubscribeCertificateRequest) (*model.SubscribeCertificateResponse, error)
- func (c *ScmClient) SubscribeCertificateInvoker(request *model.SubscribeCertificateRequest) *SubscribeCertificateInvoker
- func (c *ScmClient) UnsubscribeCertificate(request *model.UnsubscribeCertificateRequest) (*model.UnsubscribeCertificateResponse, error)
- func (c *ScmClient) UnsubscribeCertificateInvoker(request *model.UnsubscribeCertificateRequest) *UnsubscribeCertificateInvoker
- type ShowCertificateInvoker
- type SubscribeCertificateInvoker
- type UnsubscribeCertificateInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForApplyCertificate ¶ added in v0.1.90
func GenReqDefForApplyCertificate() *def.HttpRequestDef
func GenReqDefForBatchPushCertificate ¶ added in v0.1.65
func GenReqDefForBatchPushCertificate() *def.HttpRequestDef
func GenReqDefForDeleteCertificate ¶
func GenReqDefForDeleteCertificate() *def.HttpRequestDef
func GenReqDefForDeployCertificate ¶ added in v0.1.68
func GenReqDefForDeployCertificate() *def.HttpRequestDef
func GenReqDefForExportCertificate ¶
func GenReqDefForExportCertificate() *def.HttpRequestDef
func GenReqDefForImportCertificate ¶
func GenReqDefForImportCertificate() *def.HttpRequestDef
func GenReqDefForListCertificates ¶
func GenReqDefForListCertificates() *def.HttpRequestDef
func GenReqDefForListDeployedResources ¶ added in v0.1.90
func GenReqDefForListDeployedResources() *def.HttpRequestDef
func GenReqDefForPushCertificate ¶
func GenReqDefForPushCertificate() *def.HttpRequestDef
func GenReqDefForShowCertificate ¶
func GenReqDefForShowCertificate() *def.HttpRequestDef
func GenReqDefForSubscribeCertificate ¶ added in v0.1.90
func GenReqDefForSubscribeCertificate() *def.HttpRequestDef
func GenReqDefForUnsubscribeCertificate ¶ added in v0.1.90
func GenReqDefForUnsubscribeCertificate() *def.HttpRequestDef
func ScmClientBuilder ¶
func ScmClientBuilder() *httpclient.HcHttpClientBuilder
Types ¶
type ApplyCertificateInvoker ¶ added in v0.1.90
type ApplyCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*ApplyCertificateInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ApplyCertificateInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ApplyCertificateInvoker) Invoke ¶ added in v0.1.90
func (i *ApplyCertificateInvoker) Invoke() (*model.ApplyCertificateResponse, error)
type BatchPushCertificateInvoker ¶ added in v0.1.65
type BatchPushCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*BatchPushCertificateInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *BatchPushCertificateInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*BatchPushCertificateInvoker) Invoke ¶ added in v0.1.65
func (i *BatchPushCertificateInvoker) Invoke() (*model.BatchPushCertificateResponse, error)
type DeleteCertificateInvoker ¶ added in v0.0.90
type DeleteCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteCertificateInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DeleteCertificateInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DeleteCertificateInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteCertificateInvoker) Invoke() (*model.DeleteCertificateResponse, error)
type DeployCertificateInvoker ¶ added in v0.1.68
type DeployCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*DeployCertificateInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DeployCertificateInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DeployCertificateInvoker) Invoke ¶ added in v0.1.68
func (i *DeployCertificateInvoker) Invoke() (*model.DeployCertificateResponse, error)
type ExportCertificateInvoker ¶ added in v0.0.90
type ExportCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*ExportCertificateInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ExportCertificateInvoker) GetBaseInvoker() *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) GetBaseInvoker ¶ added in v0.1.118
func (i *ImportCertificateInvoker) GetBaseInvoker() *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) GetBaseInvoker ¶ added in v0.1.118
func (i *ListCertificatesInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListCertificatesInvoker) Invoke ¶ added in v0.0.90
func (i *ListCertificatesInvoker) Invoke() (*model.ListCertificatesResponse, error)
type ListDeployedResourcesInvoker ¶ added in v0.1.90
type ListDeployedResourcesInvoker struct {
*invoker.BaseInvoker
}
func (*ListDeployedResourcesInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListDeployedResourcesInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListDeployedResourcesInvoker) Invoke ¶ added in v0.1.90
func (i *ListDeployedResourcesInvoker) Invoke() (*model.ListDeployedResourcesResponse, error)
type PushCertificateInvoker ¶ added in v0.0.90
type PushCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*PushCertificateInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *PushCertificateInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*PushCertificateInvoker) Invoke ¶ added in v0.0.90
func (i *PushCertificateInvoker) Invoke() (*model.PushCertificateResponse, error)
type ScmClient ¶
type ScmClient struct {
HcClient *httpclient.HcHttpClient
}
func NewScmClient ¶
func NewScmClient(hcClient *httpclient.HcHttpClient) *ScmClient
func (*ScmClient) ApplyCertificate ¶ added in v0.1.90
func (c *ScmClient) ApplyCertificate(request *model.ApplyCertificateRequest) (*model.ApplyCertificateResponse, error)
ApplyCertificate 申请证书
申请证书。
Please refer to HUAWEI cloud API Explorer for details.
func (*ScmClient) ApplyCertificateInvoker ¶ added in v0.1.90
func (c *ScmClient) ApplyCertificateInvoker(request *model.ApplyCertificateRequest) *ApplyCertificateInvoker
ApplyCertificateInvoker 申请证书
func (*ScmClient) BatchPushCertificate ¶ added in v0.1.65
func (c *ScmClient) BatchPushCertificate(request *model.BatchPushCertificateRequest) (*model.BatchPushCertificateResponse, error)
BatchPushCertificate 批量推送证书
批量推送SSL证书到弹性负载均衡(Elastic Load Balance,简称ELB)、Web应用防火墙(Web Application Firewall,WAF)、CDN(Content Delivery Network,内容分发网络)等其它华为云产品中。
Please refer to HUAWEI cloud API Explorer for details.
func (*ScmClient) BatchPushCertificateInvoker ¶ added in v0.1.65
func (c *ScmClient) BatchPushCertificateInvoker(request *model.BatchPushCertificateRequest) *BatchPushCertificateInvoker
BatchPushCertificateInvoker 批量推送证书
func (*ScmClient) DeleteCertificate ¶
func (c *ScmClient) DeleteCertificate(request *model.DeleteCertificateRequest) (*model.DeleteCertificateResponse, error)
DeleteCertificate 删除证书
删除证书实例,即将证书资源从系统中删除。
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) DeployCertificate ¶ added in v0.1.68
func (c *ScmClient) DeployCertificate(request *model.DeployCertificateRequest) (*model.DeployCertificateResponse, error)
DeployCertificate 部署证书
部署SSL证书到弹性负载均衡(Elastic Load Balance,简称ELB)、Web应用防火墙(Web Application Firewall,WAF)、CDN(Content Delivery Network,内容分发网络)等其它华为云产品中。
Please refer to HUAWEI cloud API Explorer for details.
func (*ScmClient) DeployCertificateInvoker ¶ added in v0.1.68
func (c *ScmClient) DeployCertificateInvoker(request *model.DeployCertificateRequest) *DeployCertificateInvoker
DeployCertificateInvoker 部署证书
func (*ScmClient) ExportCertificate ¶
func (c *ScmClient) ExportCertificate(request *model.ExportCertificateRequest) (*model.ExportCertificateResponse, error)
ExportCertificate 导出证书
导出证书。
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服务管理。
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 查询证书列表
根据证书名称或绑定域名查询证书列表。
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) ListDeployedResources ¶ added in v0.1.90
func (c *ScmClient) ListDeployedResources(request *model.ListDeployedResourcesRequest) (*model.ListDeployedResourcesResponse, error)
ListDeployedResources 查询已部署资源
查询证书已部署的具体资源。针对已签发和上传的非国密证书
Please refer to HUAWEI cloud API Explorer for details.
func (*ScmClient) ListDeployedResourcesInvoker ¶ added in v0.1.90
func (c *ScmClient) ListDeployedResourcesInvoker(request *model.ListDeployedResourcesRequest) *ListDeployedResourcesInvoker
ListDeployedResourcesInvoker 查询已部署资源
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,内容分发网络)等其它华为云产品中。
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 获取证书详情
查询某张证书的详细信息。
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 获取证书详情
func (*ScmClient) SubscribeCertificate ¶ added in v0.1.90
func (c *ScmClient) SubscribeCertificate(request *model.SubscribeCertificateRequest) (*model.SubscribeCertificateResponse, error)
SubscribeCertificate 购买SSL证书
购买SSL证书。
Please refer to HUAWEI cloud API Explorer for details.
func (*ScmClient) SubscribeCertificateInvoker ¶ added in v0.1.90
func (c *ScmClient) SubscribeCertificateInvoker(request *model.SubscribeCertificateRequest) *SubscribeCertificateInvoker
SubscribeCertificateInvoker 购买SSL证书
func (*ScmClient) UnsubscribeCertificate ¶ added in v0.1.90
func (c *ScmClient) UnsubscribeCertificate(request *model.UnsubscribeCertificateRequest) (*model.UnsubscribeCertificateResponse, error)
UnsubscribeCertificate 退订证书
退订证书。
Please refer to HUAWEI cloud API Explorer for details.
func (*ScmClient) UnsubscribeCertificateInvoker ¶ added in v0.1.90
func (c *ScmClient) UnsubscribeCertificateInvoker(request *model.UnsubscribeCertificateRequest) *UnsubscribeCertificateInvoker
UnsubscribeCertificateInvoker 退订证书
type ShowCertificateInvoker ¶ added in v0.0.90
type ShowCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCertificateInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowCertificateInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowCertificateInvoker) Invoke ¶ added in v0.0.90
func (i *ShowCertificateInvoker) Invoke() (*model.ShowCertificateResponse, error)
type SubscribeCertificateInvoker ¶ added in v0.1.90
type SubscribeCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*SubscribeCertificateInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *SubscribeCertificateInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*SubscribeCertificateInvoker) Invoke ¶ added in v0.1.90
func (i *SubscribeCertificateInvoker) Invoke() (*model.SubscribeCertificateResponse, error)
type UnsubscribeCertificateInvoker ¶ added in v0.1.90
type UnsubscribeCertificateInvoker struct {
*invoker.BaseInvoker
}
func (*UnsubscribeCertificateInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *UnsubscribeCertificateInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*UnsubscribeCertificateInvoker) Invoke ¶ added in v0.1.90
func (i *UnsubscribeCertificateInvoker) Invoke() (*model.UnsubscribeCertificateResponse, error)