deployer

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: BSD-3-Clause Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliyunDeployer

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

func CreateAliyunDeployer

func CreateAliyunDeployer() (*AliyunDeployer, error)

func (*AliyunDeployer) Deploy

func (d *AliyunDeployer) Deploy(domains []string, cert, key string) error

Deploy deploys cert and key to all related domains, while domains indicate the domains contains in certificate

func (*AliyunDeployer) Name

func (*AliyunDeployer) Name() string

type AzureDeployer added in v0.1.0

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

func CreateAzureDeployer added in v0.1.0

func CreateAzureDeployer() (*AzureDeployer, error)

func (*AzureDeployer) Deploy added in v0.1.0

func (d *AzureDeployer) Deploy(domains []string, cert, key string) error

Deploy deploys cert and key to all related domains, while domains indicate the domains contains in certificate

func (*AzureDeployer) Name added in v0.1.0

func (*AzureDeployer) Name() string

type DcdnCreateCertBindRequest added in v0.1.3

type DcdnCreateCertBindRequest struct {
	CertId     string
	DomainIds  []string
	CertSource string
}

type DcdnDescribeUserDomainsRequest added in v0.1.3

type DcdnDescribeUserDomainsRequest struct {
	PageNum  int
	PageSize int
}

type DcdnDescribeUserDomainsResponse added in v0.1.3

type DcdnDescribeUserDomainsResponse struct {
	AllDomainNum    int
	OnlineDomainNum int
	Domains         []DcdnDomainInfo
	PageNum         int
	PageSize        int
}

type DcdnDomainInfo added in v0.1.3

type DcdnDomainInfo struct {
	Domain string
	Status string
	Scope  string
}

type DcdnListCertBindRequest added in v0.1.3

type DcdnListCertBindRequest struct {
	ProjectName *[]string
	SearchKey   *string
}

type DcdnListCertBindResponse added in v0.1.3

type DcdnListCertBindResponse struct {
	BindList []struct {
		CertId       string
		CertName     string
		CertSource   string
		DeployStatus string
		DomainName   string
		DomainId     string
		Expire       string
	}
}

type Deployer

type Deployer interface {
	Name() string
	Deploy(domains []string, cert, key string) error
}

func Create

func Create(name string) (Deployer, error)

type ResponseBody added in v0.1.3

type ResponseBody[TResult any] struct {
	ResponseMetadata struct {
		RequestId string
		Action    string
		Version   string
		Service   string
		Error     *struct {
			Code    string
			Message string
		}
	}
	Result TResult
}

type TencentCloudDeployer added in v0.1.0

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

func CreateTencentCloudDeployer added in v0.1.0

func CreateTencentCloudDeployer() (*TencentCloudDeployer, error)

func (*TencentCloudDeployer) Deploy added in v0.1.0

func (d *TencentCloudDeployer) Deploy(domains []string, cert, key string) error

Deploy deploys cert and key to all related domains, while domains indicate the domains contains in certificate

func (*TencentCloudDeployer) Name added in v0.1.0

func (*TencentCloudDeployer) Name() string

type UDomainDeployer added in v0.1.0

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

func CreateUDomainDeployer added in v0.1.0

func CreateUDomainDeployer() (*UDomainDeployer, error)

func (*UDomainDeployer) Deploy added in v0.1.0

func (d *UDomainDeployer) Deploy(domains []string, cert, key string) error

Deploy deploys cert and key to all related domains, while domains indicate the domains contains in certificate

func (*UDomainDeployer) Name added in v0.1.0

func (*UDomainDeployer) Name() string

type UpyunDeployer added in v0.0.2

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

func CreateUpyunDeployer added in v0.0.2

func CreateUpyunDeployer() (*UpyunDeployer, error)

func (*UpyunDeployer) Deploy added in v0.0.2

func (u *UpyunDeployer) Deploy(_ []string, cert, key string) error

func (*UpyunDeployer) DomainsByCertificate added in v0.0.2

func (u *UpyunDeployer) DomainsByCertificate(certId string) ([]string, error)

func (*UpyunDeployer) Login added in v0.0.2

func (u *UpyunDeployer) Login() error

func (*UpyunDeployer) MigrateDomainCertificate added in v0.0.3

func (u *UpyunDeployer) MigrateDomainCertificate(certId, domain string) error

func (*UpyunDeployer) Name added in v0.0.2

func (u *UpyunDeployer) Name() string

func (*UpyunDeployer) SetDomainCertificate added in v0.0.2

func (u *UpyunDeployer) SetDomainCertificate(certId string, domain string) error

func (*UpyunDeployer) UploadCertificate added in v0.0.2

func (u *UpyunDeployer) UploadCertificate(cert, key string) (string, error)

type VolcDeployer added in v0.1.3

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

func CreateVolcDeployer added in v0.1.3

func CreateVolcDeployer() (*VolcDeployer, error)

func (*VolcDeployer) Deploy added in v0.1.3

func (v *VolcDeployer) Deploy(certDomains []string, cert, key string) error

func (*VolcDeployer) Name added in v0.1.3

func (v *VolcDeployer) Name() string

Jump to

Keyboard shortcuts

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