cloud_tencent

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

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

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

func (*Provider) TestConnection

func (p *Provider) TestConnection() (bool, error)

TestConnection 测试腾讯云 SSL API 连接。

func (*Provider) UploadCertificate

func (p *Provider) UploadCertificate(name, domain, cert, key string) error

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

Jump to

Keyboard shortcuts

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