Documentation ¶
Index ¶
- type AgentService
- type BuildService
- type CommonService
- type ConfigService
- type ExecService
- type HeartBeatService
- type TaskService
- func (s *TaskService) Add(build domain.Build)
- func (s *TaskService) CheckRunning() bool
- func (s *TaskService) End()
- func (s *TaskService) GetSize() int
- func (s *TaskService) ListHistory() (data []map[string]string)
- func (s *TaskService) ListTask() (data []domain.Build)
- func (s *TaskService) Peek() domain.Build
- func (s *TaskService) Remove() (task domain.Build)
- func (s *TaskService) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentService ¶
type AgentService struct { }
func NewAgentService ¶
func NewAgentService() *AgentService
func (*AgentService) ListTask ¶
func (s *AgentService) ListTask()
func (*AgentService) ListTaskHistory ¶
func (s *AgentService) ListTaskHistory()
type BuildService ¶
type BuildService struct {
// contains filtered or unexported fields
}
func NewBuildService ¶
func NewBuildService(taskService *TaskService) *BuildService
type CommonService ¶
type CommonService struct { }
func NewCommonService ¶
func NewCommonService() *CommonService
type ConfigService ¶
type ConfigService struct { }
func NewConfigService ¶
func NewConfigService() *ConfigService
func (*ConfigService) Update ¶
func (s *ConfigService) Update(req domain.ReqData)
type ExecService ¶
type ExecService struct { }
func NewExecService ¶
func NewExecService() *ExecService
type HeartBeatService ¶
type HeartBeatService struct { }
func NewHeartBeatService ¶
func NewHeartBeatService() *HeartBeatService
func (*HeartBeatService) HeartBeat ¶
func (s *HeartBeatService) HeartBeat(isBusy bool)
type TaskService ¶
type TaskService struct {
// contains filtered or unexported fields
}
func NewTaskService ¶
func NewTaskService() *TaskService
func (*TaskService) Add ¶
func (s *TaskService) Add(build domain.Build)
func (*TaskService) CheckRunning ¶
func (s *TaskService) CheckRunning() bool
func (*TaskService) End ¶
func (s *TaskService) End()
func (*TaskService) GetSize ¶
func (s *TaskService) GetSize() int
func (*TaskService) ListHistory ¶
func (s *TaskService) ListHistory() (data []map[string]string)
func (*TaskService) ListTask ¶
func (s *TaskService) ListTask() (data []domain.Build)
func (*TaskService) Peek ¶
func (s *TaskService) Peek() domain.Build
func (*TaskService) Remove ¶
func (s *TaskService) Remove() (task domain.Build)
func (*TaskService) Start ¶
func (s *TaskService) Start()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.