Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TranslateToInstructionSet ¶
func TranslateToInstructionSet(taskGroups *TaskGroup) (ret *pb.InstructionSet)
Types ¶
type StepGroup ¶
type StepGroup struct { Steps []*flow.Step Parents []*StepGroup TaskGroups []*TaskGroup sync.Mutex // contains filtered or unexported fields }
func NewStepGroup ¶
func NewStepGroup() *StepGroup
func (*StepGroup) WaitForAllTasksToComplete ¶
func (s *StepGroup) WaitForAllTasksToComplete()
type TaskGroup ¶
type TaskGroup struct { Id int Tasks []*flow.Task Parents []*TaskGroup ParentStepGroup *StepGroup RequestId uint32 // id for actual request when running WaitAt time.Time StartAt time.Time StopAt time.Time Error error }
func NewTaskGroup ¶
func NewTaskGroup() *TaskGroup
func (*TaskGroup) RequiredResources ¶
func (t *TaskGroup) RequiredResources() *pb.ComputeResource
Click to show internal directories.
Click to hide internal directories.