deployer

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: BSD-3-Clause Imports: 7 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 Deployer

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

func Create

func Create(name string) (Deployer, error)

Jump to

Keyboard shortcuts

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