deployer

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: MIT Imports: 40 Imported by: 0

Documentation

Overview

* @Author: Bin * @Date: 2024-09-17 * @FilePath: /certimate/internal/deployer/aliyun_esa.go

Index

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

func (d *AliyunCDNDeployer) Deploy(ctx context.Context) 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) Deploy

func (d *AliyunESADeployer) Deploy(ctx context.Context) 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) Deploy

func (d *AliyunOSSDeployer) Deploy(ctx context.Context) error

func (*AliyunOSSDeployer) GetID

func (d *AliyunOSSDeployer) GetID() string

func (*AliyunOSSDeployer) GetInfo

func (d *AliyunOSSDeployer) GetInfo() []string

type Deployer

type Deployer interface {
	Deploy(ctx context.Context) error
	GetInfo() []string
	GetID() string
}

func Gets

func Gets(record *models.Record, cert *applicant.Certificate) ([]Deployer, error)

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 (*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) Deploy

func (d *K8sSecretDeployer) Deploy(ctx context.Context) error

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

func (d *LocalDeployer) Deploy(ctx context.Context) error

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

func (d *QiniuCDNDeployer) Deploy(ctx context.Context) 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) Deploy

func (d *SSHDeployer) Deploy(ctx context.Context) error

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

func (d *TencentCDNDeployer) Deploy(ctx context.Context) error

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

func (d *WebhookDeployer) Deploy(ctx context.Context) error

func (*WebhookDeployer) GetID

func (d *WebhookDeployer) GetID() string

func (*WebhookDeployer) GetInfo

func (d *WebhookDeployer) GetInfo() []string

Jump to

Keyboard shortcuts

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