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"`
// 存储桶名。
Bucket string `json:"bucket,omitempty" yaml:"Bucket" xml:"Bucket" env:"TENCENTCLOUD_BUCKET"`
// 自定义域名(不支持泛域名)。
Domain string `json:"domain,omitempty" yaml:"Domain" xml:"Domain" env:"TENCENTCLOUD_DOMAIN"`
}
type Deploy ¶
type Deploy struct {
Config *Config
// contains filtered or unexported fields
}
func (*Deploy) WithEnvConfig ¶
func (*Deploy) WithLogger ¶
Click to show internal directories.
Click to hide internal directories.