Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRuntimeNotFound = errors.New("不支持的项目目录结构,请确保当前运行目录是正确的云引擎项目")
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
WorkDir string
ProjectPath string
Name string
Exec string
Args []string
Envs []string
Remote string
Port string
// DeployFiles is the patterns for source code to deploy to the remote server
DeployFiles filesPattern
// Errors is the channel that receives the command's error result
Errors chan error
// contains filtered or unexported fields
}
Runtime stands for a language runtime
func DetectRuntime ¶
DetectRuntime returns the project's runtime
func (*Runtime) ArchiveUploadFiles ¶
Click to show internal directories.
Click to hide internal directories.