service

package
v0.0.0-...-66d4e42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2022 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

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

func (*BuildService) Add

func (s *BuildService) Add(req domain.ReqData) (reply domain.OptResult)

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

func (*ExecService) Exec

func (s *ExecService) Exec(build domain.Build) (reply domain.OptResult)

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL