Documentation ¶
Overview ¶
* @Author: Bin * @Date: 2024-09-17 * @FilePath: /certimate/internal/deployer/aliyun_esa.go
Index ¶
- type AliyunCDNDeployer
- type AliyunESADeployer
- type AliyunOSSDeployer
- type Deployer
- func Gets(record *models.Record, cert *applicant.Certificate) ([]Deployer, error)
- func NewAliyunOSSDeployer(option *DeployerOption) (Deployer, error)
- func NewHuaweiCloudCDNDeployer(option *DeployerOption) (Deployer, error)
- func NewK8sSecretDeployer(option *DeployerOption) (Deployer, error)
- func NewLocalDeployer(option *DeployerOption) (Deployer, error)
- func NewSSHDeployer(option *DeployerOption) (Deployer, error)
- func NewTencentCDNDeployer(option *DeployerOption) (Deployer, error)
- func NewWebhookDeployer(option *DeployerOption) (Deployer, error)
- type DeployerOption
- type HuaweiCloudCDNDeployer
- type K8sSecretDeployer
- type LocalDeployer
- type QiniuCDNDeployer
- type SSHDeployer
- type TencentCDNDeployer
- type WebhookDeployer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliyunCDNDeployer ¶
type AliyunCDNDeployer struct {
// contains filtered or unexported fields
}
func NewAliyunCDNDeployer ¶
func NewAliyunCDNDeployer(option *DeployerOption) (*AliyunCDNDeployer, error)
func (*AliyunCDNDeployer) GetID ¶
func (d *AliyunCDNDeployer) GetID() string
func (*AliyunCDNDeployer) GetInfo ¶
func (d *AliyunCDNDeployer) GetInfo() []string
type AliyunESADeployer ¶
type AliyunESADeployer struct {
// contains filtered or unexported fields
}
func NewAliyunESADeployer ¶
func NewAliyunESADeployer(option *DeployerOption) (*AliyunESADeployer, error)
func (*AliyunESADeployer) GetID ¶
func (d *AliyunESADeployer) GetID() string
func (*AliyunESADeployer) GetInfo ¶
func (d *AliyunESADeployer) GetInfo() []string
type AliyunOSSDeployer ¶
type AliyunOSSDeployer struct {
// contains filtered or unexported fields
}
func (*AliyunOSSDeployer) GetID ¶
func (d *AliyunOSSDeployer) GetID() string
func (*AliyunOSSDeployer) GetInfo ¶
func (d *AliyunOSSDeployer) GetInfo() []string
type Deployer ¶
func NewAliyunOSSDeployer ¶
func NewAliyunOSSDeployer(option *DeployerOption) (Deployer, error)
func NewHuaweiCloudCDNDeployer ¶
func NewHuaweiCloudCDNDeployer(option *DeployerOption) (Deployer, error)
func NewK8sSecretDeployer ¶
func NewK8sSecretDeployer(option *DeployerOption) (Deployer, error)
func NewLocalDeployer ¶
func NewLocalDeployer(option *DeployerOption) (Deployer, error)
func NewSSHDeployer ¶
func NewSSHDeployer(option *DeployerOption) (Deployer, error)
func NewTencentCDNDeployer ¶
func NewTencentCDNDeployer(option *DeployerOption) (Deployer, error)
func NewWebhookDeployer ¶
func NewWebhookDeployer(option *DeployerOption) (Deployer, error)
type DeployerOption ¶
type DeployerOption struct { DomainId string `json:"domainId"` Domain string `json:"domain"` Product string `json:"product"` Access string `json:"access"` AccessRecord *models.Record `json:"-"` DeployConfig domain.DeployConfig `json:"deployConfig"` Certificate applicant.Certificate `json:"certificate"` Variables map[string]string `json:"variables"` }
type HuaweiCloudCDNDeployer ¶
type HuaweiCloudCDNDeployer struct {
// contains filtered or unexported fields
}
func (*HuaweiCloudCDNDeployer) Deploy ¶
func (d *HuaweiCloudCDNDeployer) Deploy(ctx context.Context) error
func (*HuaweiCloudCDNDeployer) GetID ¶
func (d *HuaweiCloudCDNDeployer) GetID() string
func (*HuaweiCloudCDNDeployer) GetInfo ¶
func (d *HuaweiCloudCDNDeployer) GetInfo() []string
type K8sSecretDeployer ¶
type K8sSecretDeployer struct {
// contains filtered or unexported fields
}
func (*K8sSecretDeployer) GetID ¶
func (d *K8sSecretDeployer) GetID() string
func (*K8sSecretDeployer) GetInfo ¶
func (d *K8sSecretDeployer) GetInfo() []string
type LocalDeployer ¶
type LocalDeployer struct {
// contains filtered or unexported fields
}
func (*LocalDeployer) GetID ¶
func (d *LocalDeployer) GetID() string
func (*LocalDeployer) GetInfo ¶
func (d *LocalDeployer) GetInfo() []string
type QiniuCDNDeployer ¶
type QiniuCDNDeployer struct {
// contains filtered or unexported fields
}
func NewQiniuCDNDeployer ¶
func NewQiniuCDNDeployer(option *DeployerOption) (*QiniuCDNDeployer, error)
func (*QiniuCDNDeployer) GetID ¶
func (d *QiniuCDNDeployer) GetID() string
func (*QiniuCDNDeployer) GetInfo ¶
func (d *QiniuCDNDeployer) GetInfo() []string
type SSHDeployer ¶
type SSHDeployer struct {
// contains filtered or unexported fields
}
func (*SSHDeployer) GetID ¶
func (d *SSHDeployer) GetID() string
func (*SSHDeployer) GetInfo ¶
func (d *SSHDeployer) GetInfo() []string
type TencentCDNDeployer ¶
type TencentCDNDeployer struct {
// contains filtered or unexported fields
}
func (*TencentCDNDeployer) GetID ¶
func (d *TencentCDNDeployer) GetID() string
func (*TencentCDNDeployer) GetInfo ¶
func (d *TencentCDNDeployer) GetInfo() []string
type WebhookDeployer ¶
type WebhookDeployer struct {
// contains filtered or unexported fields
}
func (*WebhookDeployer) GetID ¶
func (d *WebhookDeployer) GetID() string
func (*WebhookDeployer) GetInfo ¶
func (d *WebhookDeployer) GetInfo() []string
Click to show internal directories.
Click to hide internal directories.