ssl

package
v0.0.0-...-2428f7e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FastDeploy

func FastDeploy(ctx context.Context, secretId, secretKey string, certificate *certificate.Resource) (certId string, err error)

Types

type Config

type Config struct {
	// 腾讯云 SecretId。
	SecretId string `json:"secret_id,omitempty" yaml:"SecretId" xml:"SecretId" env:"TENCENTCLOUD_SECRET_ID"`
	// 腾讯云 SecretKey。
	SecretKey string `json:"secret_key,omitempty" yaml:"SecretKey" xml:"SecretKey" env:"TENCENTCLOUD_SECRET_KEY"`
}

type Deploy

type Deploy struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*Deploy) Deploy

func (d *Deploy) Deploy(ctx context.Context, certificate *certificate.Resource) error

func (*Deploy) GetCertId

func (d *Deploy) GetCertId() string

func (*Deploy) WithEnvConfig

func (d *Deploy) WithEnvConfig() error

Jump to

Keyboard shortcuts

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