Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type BaseTaskDependency ¶
type BaseTaskDependency struct {
// contains filtered or unexported fields
}
func NewBaseTaskDependency ¶
func NewBaseTaskDependency(taskStatus TaskStatus, dependsOn []uuid.UUID) *BaseTaskDependency
func (*BaseTaskDependency) CancelledBy ¶
func (t *BaseTaskDependency) CancelledBy() uuid.UUID
func (*BaseTaskDependency) DependsDone ¶
func (t *BaseTaskDependency) DependsDone(taskId uuid.UUID) bool
func (*BaseTaskDependency) DependsFailed ¶
func (t *BaseTaskDependency) DependsFailed(taskId uuid.UUID) bool
func (*BaseTaskDependency) IsCancelling ¶
func (t *BaseTaskDependency) IsCancelling() bool
func (*BaseTaskDependency) IsReadyToRun ¶
func (t *BaseTaskDependency) IsReadyToRun() bool
type InitJobProvider ¶
type JobHandler ¶
type JobHandler struct {
// contains filtered or unexported fields
}
func (*JobHandler) Handle ¶
func (h *JobHandler) Handle(msg server.NamedElement) error
func (*JobHandler) Init ¶
func (h *JobHandler) Init(setter server.GlobalSetter) error
func (*JobHandler) PostInit ¶
func (h *JobHandler) PostInit(getter server.GlobalGetter) error
type SubTask ¶
type SubTask interface { server.NamedElement TaskStatus UUID() uuid.UUID JobID() uuid.UUID Cancel(reason string) }
type Task ¶
type Task interface { SubTask TaskDependency }
type TaskDependency ¶
Click to show internal directories.
Click to hide internal directories.