driver

package
v0.0.0-...-3cc9250 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package driver coordinates distributed execution.

Package driver coordinates distributed execution.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlowContextDriver

type FlowContextDriver struct {
	Option *Option
	// contains filtered or unexported fields
}

func NewFlowContextDriver

func NewFlowContextDriver(option *Option) *FlowContextDriver

func (*FlowContextDriver) GetTaskGroupStatus

func (fcd *FlowContextDriver) GetTaskGroupStatus(taskGroup *plan.TaskGroup) *pb.FlowExecutionStatus_TaskGroup

func (*FlowContextDriver) RunFlowContext

func (fcd *FlowContextDriver) RunFlowContext(fc *flow.FlowContext)

driver runs on local, controlling all tasks

type Option

type Option struct {
	RequiredFiles []rsync.FileResource
	Master        string
	DataCenter    string
	Rack          string
	TaskMemoryMB  int
	FlowBid       float64
	Module        string
	Host          string
	Port          int
}

Directories

Path Synopsis
Schedule tasks to run on available resources assigned by master.
Schedule tasks to run on available resources assigned by master.

Jump to

Keyboard shortcuts

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