scheduler

package
v0.0.0-...-8f169fa Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

type Scheduler struct {

	// Invoked when the scheduler successfully registers with a Mesos master.
	Registered func(manager manager.Manager, frameworkId string)

	// Hook to let scheduler overwrite Task attributes (mem, cpus, nodetype, nodename ..)
	OverwriteTaskAttributes func(manager manager.Manager, taskrequest *manager.Task)

	// Invoked when resources have been offered to this framework.
	ResourceOffers func(manager.Manager, []*mesosproto.Offer)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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