deploy

package
v0.0.0-...-2428f7e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() map[string]IDeploy

func JSONFileRemove

func JSONFileRemove(file string, domains []string) error

func JSONFileSet

func JSONFileSet(file string, item DomainDeploys) error

func Register

func Register(name string, deploy func() IDeploy)

func RunWithJSONFile

func RunWithJSONFile(filePath, name string, certificate *certificate.Resource) error

Types

type DomainDeploys

type DomainDeploys struct {
	Domain  string   `json:"domain"`
	Deploys []string `json:"deploy"`
}

func JSONFileLoad

func JSONFileLoad(file string) ([]DomainDeploys, error)

type IDeploy

type IDeploy interface {
	WithEnvConfig() error
	Deploy(ctx context.Context, certificate *certificate.Resource) error
}

func Get

func Get(name string) (IDeploy, error)

Directories

Path Synopsis
aliyun
cdn
fc
oss
vod
tencentcloud
cdn
clb
cos
eo
scf
ssl
vod
waf

Jump to

Keyboard shortcuts

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