scf

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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"`
	// 腾讯云地域。
	Region string `json:"region,omitempty" yaml:"Region" xml:"Region" env:"TENCENTCLOUD_REGION"`
	// 自定义域名(不支持泛域名)。
	Domain string `json:"domain,omitempty" yaml:"Domain" xml:"Domain" env:"TENCENTCLOUD_DOMAIN"`
}

type Deploy

type Deploy struct {
	Config *Config
}

func (*Deploy) Deploy

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

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