deployer

package
v0.3.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 102 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliyunALBDeployer added in v0.2.9

type AliyunALBDeployer struct {
	// contains filtered or unexported fields
}

func (*AliyunALBDeployer) Deploy added in v0.2.9

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

func (*AliyunALBDeployer) GetID added in v0.2.9

func (d *AliyunALBDeployer) GetID() string

func (*AliyunALBDeployer) GetInfos added in v0.2.13

func (d *AliyunALBDeployer) GetInfos() []string

type AliyunCDNDeployer

type AliyunCDNDeployer struct {
	// contains filtered or unexported fields
}

func (*AliyunCDNDeployer) Deploy

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

func (*AliyunCDNDeployer) GetID

func (d *AliyunCDNDeployer) GetID() string

func (*AliyunCDNDeployer) GetInfos added in v0.2.13

func (d *AliyunCDNDeployer) GetInfos() []string

type AliyunCLBDeployer added in v0.2.9

type AliyunCLBDeployer struct {
	// contains filtered or unexported fields
}

func (*AliyunCLBDeployer) Deploy added in v0.2.9

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

func (*AliyunCLBDeployer) GetID added in v0.2.9

func (d *AliyunCLBDeployer) GetID() string

func (*AliyunCLBDeployer) GetInfos added in v0.2.13

func (d *AliyunCLBDeployer) GetInfos() []string

type AliyunDCDNDeployer added in v0.2.13

type AliyunDCDNDeployer struct {
	// contains filtered or unexported fields
}

func (*AliyunDCDNDeployer) Deploy added in v0.2.13

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

func (*AliyunDCDNDeployer) GetID added in v0.2.13

func (d *AliyunDCDNDeployer) GetID() string

func (*AliyunDCDNDeployer) GetInfos added in v0.2.13

func (d *AliyunDCDNDeployer) GetInfos() []string

type AliyunNLBDeployer added in v0.2.9

type AliyunNLBDeployer struct {
	// contains filtered or unexported fields
}

func (*AliyunNLBDeployer) Deploy added in v0.2.9

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

func (*AliyunNLBDeployer) GetID added in v0.2.9

func (d *AliyunNLBDeployer) GetID() string

func (*AliyunNLBDeployer) GetInfos added in v0.2.13

func (d *AliyunNLBDeployer) GetInfos() []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) GetInfos added in v0.2.13

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

type BaiduCloudCDNDeployer added in v0.2.14

type BaiduCloudCDNDeployer struct {
	// contains filtered or unexported fields
}

func (*BaiduCloudCDNDeployer) Deploy added in v0.2.14

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

func (*BaiduCloudCDNDeployer) GetID added in v0.2.14

func (d *BaiduCloudCDNDeployer) GetID() string

func (*BaiduCloudCDNDeployer) GetInfos added in v0.2.14

func (d *BaiduCloudCDNDeployer) GetInfos() []string

type ByteplusCDNDeployer added in v0.2.21

type ByteplusCDNDeployer struct {
	// contains filtered or unexported fields
}

func (*ByteplusCDNDeployer) Deploy added in v0.2.21

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

func (*ByteplusCDNDeployer) GetID added in v0.2.21

func (d *ByteplusCDNDeployer) GetID() string

func (*ByteplusCDNDeployer) GetInfos added in v0.2.21

func (d *ByteplusCDNDeployer) GetInfos() []string

type Deployer

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

func GetWithTypeAndOption

func GetWithTypeAndOption(deployType string, option *DeployerOption) (Deployer, error)

func Gets

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

func NewAliyunALBDeployer added in v0.2.9

func NewAliyunALBDeployer(option *DeployerOption) (Deployer, error)

func NewAliyunCDNDeployer

func NewAliyunCDNDeployer(option *DeployerOption) (Deployer, error)

func NewAliyunCLBDeployer added in v0.2.9

func NewAliyunCLBDeployer(option *DeployerOption) (Deployer, error)

func NewAliyunDCDNDeployer added in v0.2.13

func NewAliyunDCDNDeployer(option *DeployerOption) (Deployer, error)

func NewAliyunNLBDeployer added in v0.2.9

func NewAliyunNLBDeployer(option *DeployerOption) (Deployer, error)

func NewAliyunOSSDeployer

func NewAliyunOSSDeployer(option *DeployerOption) (Deployer, error)

func NewBaiduCloudCDNDeployer added in v0.2.14

func NewBaiduCloudCDNDeployer(option *DeployerOption) (Deployer, error)

func NewByteplusCDNDeployer added in v0.2.21

func NewByteplusCDNDeployer(option *DeployerOption) (Deployer, error)

func NewDogeCloudCDNDeployer added in v0.2.14

func NewDogeCloudCDNDeployer(option *DeployerOption) (Deployer, error)

func NewHuaweiCloudCDNDeployer

func NewHuaweiCloudCDNDeployer(option *DeployerOption) (Deployer, error)

func NewHuaweiCloudELBDeployer added in v0.2.9

func NewHuaweiCloudELBDeployer(option *DeployerOption) (Deployer, error)

func NewK8sSecretDeployer

func NewK8sSecretDeployer(option *DeployerOption) (Deployer, error)

func NewLocalDeployer

func NewLocalDeployer(option *DeployerOption) (Deployer, error)

func NewQiniuCDNDeployer

func NewQiniuCDNDeployer(option *DeployerOption) (Deployer, error)

func NewSSHDeployer

func NewSSHDeployer(option *DeployerOption) (Deployer, error)

func NewTencentCDNDeployer

func NewTencentCDNDeployer(option *DeployerOption) (Deployer, error)

func NewTencentCLBDeployer added in v0.2.8

func NewTencentCLBDeployer(option *DeployerOption) (Deployer, error)

func NewTencentCOSDeployer added in v0.2.7

func NewTencentCOSDeployer(option *DeployerOption) (Deployer, error)

func NewTencentECDNDeployer added in v0.2.9

func NewTencentECDNDeployer(option *DeployerOption) (Deployer, error)

func NewTencentTEODeployer added in v0.2.9

func NewTencentTEODeployer(option *DeployerOption) (Deployer, error)

func NewVolcengineCDNDeployer added in v0.2.20

func NewVolcengineCDNDeployer(option *DeployerOption) (Deployer, error)

func NewVolcengineLiveDeployer added in v0.2.20

func NewVolcengineLiveDeployer(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"`
	Access       string                `json:"access"`
	AccessRecord *domain.Access        `json:"-"`
	DeployConfig domain.DeployConfig   `json:"deployConfig"`
	Certificate  applicant.Certificate `json:"certificate"`
	Variables    map[string]string     `json:"variables"`
}

type DogeCloudCDNDeployer added in v0.2.14

type DogeCloudCDNDeployer struct {
	// contains filtered or unexported fields
}

func (*DogeCloudCDNDeployer) Deploy added in v0.2.14

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

func (*DogeCloudCDNDeployer) GetID added in v0.2.14

func (d *DogeCloudCDNDeployer) GetID() string

func (*DogeCloudCDNDeployer) GetInfos added in v0.2.14

func (d *DogeCloudCDNDeployer) GetInfos() []string

type HuaweiCloudCDNDeployer

type HuaweiCloudCDNDeployer struct {
	// contains filtered or unexported fields
}

func (*HuaweiCloudCDNDeployer) Deploy

func (*HuaweiCloudCDNDeployer) GetID

func (d *HuaweiCloudCDNDeployer) GetID() string

func (*HuaweiCloudCDNDeployer) GetInfos added in v0.2.13

func (d *HuaweiCloudCDNDeployer) GetInfos() []string

type HuaweiCloudELBDeployer added in v0.2.9

type HuaweiCloudELBDeployer struct {
	// contains filtered or unexported fields
}

func (*HuaweiCloudELBDeployer) Deploy added in v0.2.9

func (*HuaweiCloudELBDeployer) GetID added in v0.2.9

func (d *HuaweiCloudELBDeployer) GetID() string

func (*HuaweiCloudELBDeployer) GetInfos added in v0.2.13

func (d *HuaweiCloudELBDeployer) GetInfos() []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) GetInfos added in v0.2.13

func (d *K8sSecretDeployer) GetInfos() []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) GetInfos added in v0.2.13

func (d *LocalDeployer) GetInfos() []string

type QiniuCDNDeployer

type QiniuCDNDeployer struct {
	// contains filtered or unexported fields
}

func (*QiniuCDNDeployer) Deploy

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

func (*QiniuCDNDeployer) GetID

func (d *QiniuCDNDeployer) GetID() string

func (*QiniuCDNDeployer) GetInfos added in v0.2.13

func (d *QiniuCDNDeployer) GetInfos() []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) GetInfos added in v0.2.13

func (d *SSHDeployer) GetInfos() []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) GetInfos added in v0.2.13

func (d *TencentCDNDeployer) GetInfos() []string

type TencentCLBDeployer added in v0.2.8

type TencentCLBDeployer struct {
	// contains filtered or unexported fields
}

func (*TencentCLBDeployer) Deploy added in v0.2.8

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

func (*TencentCLBDeployer) GetID added in v0.2.8

func (d *TencentCLBDeployer) GetID() string

func (*TencentCLBDeployer) GetInfos added in v0.2.13

func (d *TencentCLBDeployer) GetInfos() []string

type TencentCOSDeployer added in v0.2.7

type TencentCOSDeployer struct {
	// contains filtered or unexported fields
}

func (*TencentCOSDeployer) Deploy added in v0.2.7

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

func (*TencentCOSDeployer) GetID added in v0.2.7

func (d *TencentCOSDeployer) GetID() string

func (*TencentCOSDeployer) GetInfos added in v0.2.13

func (d *TencentCOSDeployer) GetInfos() []string

type TencentECDNDeployer added in v0.2.9

type TencentECDNDeployer struct {
	// contains filtered or unexported fields
}

func (*TencentECDNDeployer) Deploy added in v0.2.9

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

func (*TencentECDNDeployer) GetID added in v0.2.9

func (d *TencentECDNDeployer) GetID() string

func (*TencentECDNDeployer) GetInfos added in v0.2.13

func (d *TencentECDNDeployer) GetInfos() []string

type TencentTEODeployer added in v0.2.9

type TencentTEODeployer struct {
	// contains filtered or unexported fields
}

func (*TencentTEODeployer) Deploy added in v0.2.9

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

func (*TencentTEODeployer) GetID added in v0.2.9

func (d *TencentTEODeployer) GetID() string

func (*TencentTEODeployer) GetInfos added in v0.2.13

func (d *TencentTEODeployer) GetInfos() []string

type VolcengineCDNDeployer added in v0.2.20

type VolcengineCDNDeployer struct {
	// contains filtered or unexported fields
}

func (*VolcengineCDNDeployer) Deploy added in v0.2.20

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

func (*VolcengineCDNDeployer) GetID added in v0.2.20

func (d *VolcengineCDNDeployer) GetID() string

func (*VolcengineCDNDeployer) GetInfos added in v0.2.20

func (d *VolcengineCDNDeployer) GetInfos() []string

type VolcengineLiveDeployer added in v0.2.20

type VolcengineLiveDeployer struct {
	// contains filtered or unexported fields
}

func (*VolcengineLiveDeployer) Deploy added in v0.2.20

func (*VolcengineLiveDeployer) GetID added in v0.2.20

func (d *VolcengineLiveDeployer) GetID() string

func (*VolcengineLiveDeployer) GetInfos added in v0.2.20

func (d *VolcengineLiveDeployer) GetInfos() []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) GetInfos added in v0.2.13

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

Jump to

Keyboard shortcuts

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