Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidRuntime = errors.New("错误的项目目录结构,请确保当前运行目录是正确的云引擎项目")
ErrInvalidRuntime means the project's structure is not a valid LeanEngine project
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct { 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.