Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NpmCommand ¶
func NpmCommand(config NodeConfig) error
func PnpmCommand ¶
func PnpmCommand(config NodeConfig) error
Types ¶
type BuildConfig ¶
type BuildConfig struct {
NodeConfig NodeConfig
}
type BuilderItem ¶
type C ¶
type C struct {
Path string
}
C 构建器结构体
func (*C) Build ¶
func (c *C) Build(config BuildConfig) error
type Go ¶
type Go struct {
Path string
}
Go 构建器结构体
func (*Go) Build ¶
func (g *Go) Build(config BuildConfig) error
type Gradle ¶
type Gradle struct {
Path string
}
Gradle 构建器结构体
func (*Gradle) Build ¶
func (g *Gradle) Build(config BuildConfig) error
type Maven ¶
type Maven struct {
Path string
}
Maven 构建器结构体
func (*Maven) Build ¶
func (m *Maven) Build(config BuildConfig) error
type Node ¶
type Node struct {
Path string
}
Node 构建器结构体
func (*Node) Build ¶
func (n *Node) Build(config BuildConfig) error
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 Python ¶
type Python struct {
Path string
}
Python 构建器结构体
func (*Python) Build ¶
func (p *Python) Build(config BuildConfig) error
type Repository ¶
Repository 结构体定义: 存储仓库信息
func NewRepository ¶
func NewRepository(url, branch string) *Repository
Click to show internal directories.
Click to hide internal directories.