task

package
Version: v0.0.0-...-a69e935 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertTaskToResMgrTask

func ConvertTaskToResMgrTask(
	taskInfo *task.TaskInfo,
	jobConfig jobmgrcommon.JobConfig) *resmgr.Task

ConvertTaskToResMgrTask converts taskinfo to resmgr task.

func ConvertToResMgrGangs

func ConvertToResMgrGangs(
	tasks []*task.TaskInfo,
	jobConfig jobmgrcommon.JobConfig) []*resmgrsvc.Gang

ConvertToResMgrGangs converts the taskinfo for the tasks comprising the config job to resmgr tasks and organizes them into gangs, each of which is a set of 1+ tasks to be admitted and placed as a group.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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