cloud_tencent

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	SecretId  string // SecretId 腾讯云 API SecretId,禁止写入日志。
	SecretKey string // SecretKey 腾讯云 API SecretKey,禁止写入日志。
	// contains filtered or unexported fields
}

Provider 腾讯云 SSL 证书和云资源部署 Provider。

func New

func New(secretId, secretKey string) *Provider

New 创建腾讯云 Provider 实例。

func (*Provider) DeployCertificate added in v0.6.4

func (p *Provider) DeployCertificate(ctx context.Context, certificate providers.CertificateMaterial, deploymentType deployPB.DeploymentType, resource providers.DeploymentResource) (providers.DeploymentResult, error)

DeployCertificate 将证书部署到一个明确腾讯云业务下精确解析出的资源。

func (*Provider) DiscoverResources added in v0.7.0

func (p *Provider) DiscoverResources(ctx context.Context, deploymentType deployPB.DeploymentType) providers.ResourceCatalogResult

DiscoverResources 实时读取腾讯云指定产品的资源目录。

func (*Provider) ResolveResource added in v0.7.0

func (p *Provider) ResolveResource(ctx context.Context, deploymentType deployPB.DeploymentType, targetRef string) (providers.DeploymentResource, error)

ResolveResource 实时扫描腾讯云产品并按引用唯一解析私有资源。

func (*Provider) TestConnection

func (p *Provider) TestConnection(ctx context.Context) (bool, error)

TestConnection 测试腾讯云 SSL API 连接。

func (*Provider) TestResource added in v0.7.0

func (p *Provider) TestResource(ctx context.Context, deploymentType deployPB.DeploymentType, targetRef string) error

TestResource 只读确认腾讯云资源仍存在且可精确部署。

func (*Provider) UploadCertificate

func (p *Provider) UploadCertificate(ctx context.Context, certificate providers.CertificateMaterial) error

UploadCertificate 上传证书到腾讯云 SSL 证书服务。

Jump to

Keyboard shortcuts

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