v3

package
v0.1.132 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

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 GenReqDefForCancelCertificateRequest added in v0.1.131

func GenReqDefForCancelCertificateRequest() *def.HttpRequestDef

func GenReqDefForCreateCsr added in v0.1.131

func GenReqDefForCreateCsr() *def.HttpRequestDef

func GenReqDefForDeleteCertificate

func GenReqDefForDeleteCertificate() *def.HttpRequestDef

func GenReqDefForDeleteCsr added in v0.1.131

func GenReqDefForDeleteCsr() *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 GenReqDefForListCsr added in v0.1.131

func GenReqDefForListCsr() *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 GenReqDefForShowCsr added in v0.1.131

func GenReqDefForShowCsr() *def.HttpRequestDef

func GenReqDefForShowCsrPrivateKey added in v0.1.131

func GenReqDefForShowCsrPrivateKey() *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 GenReqDefForUpdateCsr added in v0.1.131

func GenReqDefForUpdateCsr() *def.HttpRequestDef

func GenReqDefForUploadCsr added in v0.1.131

func GenReqDefForUploadCsr() *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

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

type CancelCertificateRequestInvoker added in v0.1.131

type CancelCertificateRequestInvoker struct {
	*invoker.BaseInvoker
}

func (*CancelCertificateRequestInvoker) GetBaseInvoker added in v0.1.131

func (*CancelCertificateRequestInvoker) Invoke added in v0.1.131

type CreateCsrInvoker added in v0.1.131

type CreateCsrInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateCsrInvoker) GetBaseInvoker added in v0.1.131

func (i *CreateCsrInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateCsrInvoker) Invoke added in v0.1.131

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

type DeleteCsrInvoker added in v0.1.131

type DeleteCsrInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteCsrInvoker) GetBaseInvoker added in v0.1.131

func (i *DeleteCsrInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteCsrInvoker) Invoke added in v0.1.131

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

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

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

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

type ListCsrInvoker added in v0.1.131

type ListCsrInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCsrInvoker) GetBaseInvoker added in v0.1.131

func (i *ListCsrInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListCsrInvoker) Invoke added in v0.1.131

func (i *ListCsrInvoker) Invoke() (*model.ListCsrResponse, 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

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

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

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) CancelCertificateRequest added in v0.1.131

CancelCertificateRequest 撤回证书申请

撤回证书申请。

Please refer to HUAWEI cloud API Explorer for details.

func (*ScmClient) CancelCertificateRequestInvoker added in v0.1.131

func (c *ScmClient) CancelCertificateRequestInvoker(request *model.CancelCertificateRequestRequest) *CancelCertificateRequestInvoker

CancelCertificateRequestInvoker 撤回证书申请

func (*ScmClient) CreateCsr added in v0.1.131

func (c *ScmClient) CreateCsr(request *model.CreateCsrRequest) (*model.CreateCsrResponse, error)

CreateCsr 创建CSR

创建CSR。

Please refer to HUAWEI cloud API Explorer for details.

func (*ScmClient) CreateCsrInvoker added in v0.1.131

func (c *ScmClient) CreateCsrInvoker(request *model.CreateCsrRequest) *CreateCsrInvoker

CreateCsrInvoker 创建CSR

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) DeleteCsr added in v0.1.131

func (c *ScmClient) DeleteCsr(request *model.DeleteCsrRequest) (*model.DeleteCsrResponse, error)

DeleteCsr 删除CSR

删除CSR。

Please refer to HUAWEI cloud API Explorer for details.

func (*ScmClient) DeleteCsrInvoker added in v0.1.131

func (c *ScmClient) DeleteCsrInvoker(request *model.DeleteCsrRequest) *DeleteCsrInvoker

DeleteCsrInvoker 删除CSR

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) ListCsr added in v0.1.131

func (c *ScmClient) ListCsr(request *model.ListCsrRequest) (*model.ListCsrResponse, error)

ListCsr 查询CSR列表

查询CSR列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*ScmClient) ListCsrInvoker added in v0.1.131

func (c *ScmClient) ListCsrInvoker(request *model.ListCsrRequest) *ListCsrInvoker

ListCsrInvoker 查询CSR列表

func (*ScmClient) ListDeployedResources added in v0.1.90

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) ShowCsr added in v0.1.131

func (c *ScmClient) ShowCsr(request *model.ShowCsrRequest) (*model.ShowCsrResponse, error)

ShowCsr 查询CSR

查询CSR。

Please refer to HUAWEI cloud API Explorer for details.

func (*ScmClient) ShowCsrInvoker added in v0.1.131

func (c *ScmClient) ShowCsrInvoker(request *model.ShowCsrRequest) *ShowCsrInvoker

ShowCsrInvoker 查询CSR

func (*ScmClient) ShowCsrPrivateKey added in v0.1.131

func (c *ScmClient) ShowCsrPrivateKey(request *model.ShowCsrPrivateKeyRequest) (*model.ShowCsrPrivateKeyResponse, error)

ShowCsrPrivateKey 查询私钥

查询私钥。

Please refer to HUAWEI cloud API Explorer for details.

func (*ScmClient) ShowCsrPrivateKeyInvoker added in v0.1.131

func (c *ScmClient) ShowCsrPrivateKeyInvoker(request *model.ShowCsrPrivateKeyRequest) *ShowCsrPrivateKeyInvoker

ShowCsrPrivateKeyInvoker 查询私钥

func (*ScmClient) SubscribeCertificate added in v0.1.90

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

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 退订证书

func (*ScmClient) UpdateCsr added in v0.1.131

func (c *ScmClient) UpdateCsr(request *model.UpdateCsrRequest) (*model.UpdateCsrResponse, error)

UpdateCsr 更新CSR

更新CSR。

Please refer to HUAWEI cloud API Explorer for details.

func (*ScmClient) UpdateCsrInvoker added in v0.1.131

func (c *ScmClient) UpdateCsrInvoker(request *model.UpdateCsrRequest) *UpdateCsrInvoker

UpdateCsrInvoker 更新CSR

func (*ScmClient) UploadCsr added in v0.1.131

func (c *ScmClient) UploadCsr(request *model.UploadCsrRequest) (*model.UploadCsrResponse, error)

UploadCsr 上传CSR

上传CSR。

Please refer to HUAWEI cloud API Explorer for details.

func (*ScmClient) UploadCsrInvoker added in v0.1.131

func (c *ScmClient) UploadCsrInvoker(request *model.UploadCsrRequest) *UploadCsrInvoker

UploadCsrInvoker 上传CSR

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

type ShowCsrInvoker added in v0.1.131

type ShowCsrInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCsrInvoker) GetBaseInvoker added in v0.1.131

func (i *ShowCsrInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowCsrInvoker) Invoke added in v0.1.131

func (i *ShowCsrInvoker) Invoke() (*model.ShowCsrResponse, error)

type ShowCsrPrivateKeyInvoker added in v0.1.131

type ShowCsrPrivateKeyInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCsrPrivateKeyInvoker) GetBaseInvoker added in v0.1.131

func (i *ShowCsrPrivateKeyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowCsrPrivateKeyInvoker) Invoke added in v0.1.131

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

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

type UpdateCsrInvoker added in v0.1.131

type UpdateCsrInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateCsrInvoker) GetBaseInvoker added in v0.1.131

func (i *UpdateCsrInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateCsrInvoker) Invoke added in v0.1.131

type UploadCsrInvoker added in v0.1.131

type UploadCsrInvoker struct {
	*invoker.BaseInvoker
}

func (*UploadCsrInvoker) GetBaseInvoker added in v0.1.131

func (i *UploadCsrInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UploadCsrInvoker) Invoke added in v0.1.131

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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