fc

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	FC2 *alifc2.Client
	FC3 *alifc3.Client
}

func NewClients

func NewClients(accessKeyId, accessKeySecret, region string) (*Clients, error)

type Config

type Config struct {
	// 阿里云 AccessKeyId。
	AccessKeyId string `json:"access_key_id,omitempty" yaml:"AccessKeyId" xml:"AccessKeyId" env:"ALIYUN_ACCESS_KEY_ID"`
	// 阿里云 AccessKeySecret。
	AccessKeySecret string `json:"access_key_secret,omitempty" yaml:"AccessKeySecret" xml:"AccessKeySecret" env:"ALIYUN_ACCESS_KEY_SECRET"`
	// 阿里云资源组 ID。
	ResourceGroupId string `json:"resource_group_id,omitempty" yaml:"ResourceGroupId" xml:"ResourceGroupId" env:"ALIYUN_RESOURCE_GROUP_ID"`
	// 阿里云地域。
	Region string `json:"region,omitempty" yaml:"Region" xml:"Region" env:"ALIYUN_REGION"`
	// 服务版本。可取值 "2.0"、"3.0"。
	Version string `json:"version,omitempty" yaml:"Version" xml:"Version" env:"ALIYUN_VERSION"`
	// 自定义域名(支持泛域名)。
	Domain string `json:"domain,omitempty" yaml:"Domain" xml:"Domain" env:"ALIYUN_DOMAIN"`
}

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) WithEnvConfig

func (d *Deploy) WithEnvConfig() error

func (*Deploy) WithLogger

func (d *Deploy) WithLogger(logger log.ILogger)

Jump to

Keyboard shortcuts

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