Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NpmCommand ¶
func NpmCommand(config NodeConfig) (string, error)
func PnpmCommand ¶
func PnpmCommand(config NodeConfig) (string, error)
Types ¶
type BuildConfig ¶
type BuildConfig struct {
NodeConfig NodeConfig
}
type BuilderItem ¶
type NodeConfig ¶
type Project ¶
type Project struct {
Path string `json:"path"`
Name string `json:"name"`
Ports []string `json:"ports"`
Repository Repository `json:"repository"`
BuildMessage string `json:"build_message"`
BuilderList []BuilderItem `json:"-"`
}
Project 结构体定义: 存储构建器信息
type Repository ¶
Repository 结构体定义: 存储仓库信息
func NewRepository ¶
func NewRepository(url, branch string) *Repository
Click to show internal directories.
Click to hide internal directories.