Documentation ¶
Index ¶
- Variables
- func Start() error
- type BuildEngine
- type BuildTask
- func (c *BuildTask) Cancel()
- func (c *BuildTask) GetJob(id string) (*jobSync, bool)
- func (c *BuildTask) Show() (*runtime.BuildShow, bool)
- func (c *BuildTask) UpJob(job *jobSync, stat, errs string, code int)
- func (c *BuildTask) UpJobCmd(cmd *cmdSync, fs, code int)
- func (c *BuildTask) WorkProgress() int
- func (c *BuildTask) Write(bts []byte) (n int, err error)
- type HbtpRunner
- func (HbtpRunner) AuthFun() hbtp.AuthFun
- func (HbtpRunner) CheckCancel(c *hbtp.Context)
- func (HbtpRunner) FindArtVersionId(c *hbtp.Context)
- func (HbtpRunner) FindJobId(c *hbtp.Context)
- func (HbtpRunner) GenEnv(c *hbtp.Context, env utils.EnvVal)
- func (HbtpRunner) GetEnv(c *hbtp.Context)
- func (HbtpRunner) NewArtVersionId(c *hbtp.Context)
- func (HbtpRunner) PullJob(c *hbtp.Context, m *runners.ReqPullJob)
- func (HbtpRunner) PushOutLine(c *hbtp.Context)
- func (HbtpRunner) ReadDir(c *hbtp.Context)
- func (HbtpRunner) ReadFile(c *hbtp.Context)
- func (HbtpRunner) ServerInfo(c *hbtp.Context)
- func (HbtpRunner) StatFile(c *hbtp.Context)
- func (HbtpRunner) Update(c *hbtp.Context, m *runners.UpdateJobInfo)
- func (HbtpRunner) UpdateCmd(c *hbtp.Context)
- func (HbtpRunner) UploadFile(c *hbtp.Context)
- type JobEngine
- type Manager
- type TimerEngine
Constants ¶
This section is empty.
Variables ¶
View Source
var Mgr = &Manager{}
Functions ¶
Types ¶
type BuildEngine ¶
type BuildEngine struct {
// contains filtered or unexported fields
}
func StartBuildEngine ¶
func StartBuildEngine() *BuildEngine
func (*BuildEngine) Put ¶
func (c *BuildEngine) Put(bd *runtime.Build)
func (*BuildEngine) Stop ¶
func (c *BuildEngine) Stop()
type BuildTask ¶
type BuildTask struct {
// contains filtered or unexported fields
}
func NewBuildTask ¶
func NewBuildTask(egn *BuildEngine, bd *runtime.Build) *BuildTask
func (*BuildTask) WorkProgress ¶
type HbtpRunner ¶
type HbtpRunner struct { }
func (HbtpRunner) AuthFun ¶
func (HbtpRunner) AuthFun() hbtp.AuthFun
func (HbtpRunner) CheckCancel ¶
func (HbtpRunner) CheckCancel(c *hbtp.Context)
func (HbtpRunner) FindArtVersionId ¶
func (HbtpRunner) FindArtVersionId(c *hbtp.Context)
func (HbtpRunner) FindJobId ¶
func (HbtpRunner) FindJobId(c *hbtp.Context)
func (HbtpRunner) GetEnv ¶
func (HbtpRunner) GetEnv(c *hbtp.Context)
func (HbtpRunner) NewArtVersionId ¶
func (HbtpRunner) NewArtVersionId(c *hbtp.Context)
func (HbtpRunner) PullJob ¶
func (HbtpRunner) PullJob(c *hbtp.Context, m *runners.ReqPullJob)
func (HbtpRunner) PushOutLine ¶
func (HbtpRunner) PushOutLine(c *hbtp.Context)
func (HbtpRunner) ReadDir ¶
func (HbtpRunner) ReadDir(c *hbtp.Context)
func (HbtpRunner) ReadFile ¶
func (HbtpRunner) ReadFile(c *hbtp.Context)
func (HbtpRunner) ServerInfo ¶
func (HbtpRunner) ServerInfo(c *hbtp.Context)
func (HbtpRunner) StatFile ¶
func (HbtpRunner) StatFile(c *hbtp.Context)
func (HbtpRunner) Update ¶
func (HbtpRunner) Update(c *hbtp.Context, m *runners.UpdateJobInfo)
func (HbtpRunner) UpdateCmd ¶
func (HbtpRunner) UpdateCmd(c *hbtp.Context)
func (HbtpRunner) UploadFile ¶
func (HbtpRunner) UploadFile(c *hbtp.Context)
type JobEngine ¶
type JobEngine struct {
// contains filtered or unexported fields
}
func StartJobEngine ¶
func StartJobEngine() *JobEngine
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) BuildEgn ¶
func (c *Manager) BuildEgn() *BuildEngine
func (*Manager) HRun ¶
func (c *Manager) HRun() *HbtpRunner
func (*Manager) TimerEng ¶
func (c *Manager) TimerEng() *TimerEngine
type TimerEngine ¶
type TimerEngine struct {
// contains filtered or unexported fields
}
func StartTimerEngine ¶
func StartTimerEngine() *TimerEngine
func (*TimerEngine) Delete ¶
func (c *TimerEngine) Delete(tmrid string)
func (*TimerEngine) Refresh ¶
func (c *TimerEngine) Refresh(tmrid string) error
Click to show internal directories.
Click to hide internal directories.