scheduler

package
v0.0.0-...-7e4321c Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReflexScheduler

type ReflexScheduler struct {
	In  chan *state.IOPair
	Out chan *state.Event
	// contains filtered or unexported fields
}

func NewScheduler

func NewScheduler(exec *mesos.ExecutorInfo) *ReflexScheduler

func (*ReflexScheduler) Disconnected

func (sched *ReflexScheduler) Disconnected(sched.SchedulerDriver)

func (*ReflexScheduler) Error

func (sched *ReflexScheduler) Error(driver sched.SchedulerDriver, err string)

func (*ReflexScheduler) ExecutorLost

func (*ReflexScheduler) FrameworkMessage

func (sched *ReflexScheduler) FrameworkMessage(sched.SchedulerDriver, *mesos.ExecutorID, *mesos.SlaveID, string)

func (*ReflexScheduler) OfferRescinded

func (sched *ReflexScheduler) OfferRescinded(sched.SchedulerDriver, *mesos.OfferID)

func (*ReflexScheduler) Registered

func (sched *ReflexScheduler) Registered(driver sched.SchedulerDriver, frameworkId *mesos.FrameworkID, masterInfo *mesos.MasterInfo)

func (*ReflexScheduler) Reregistered

func (sched *ReflexScheduler) Reregistered(driver sched.SchedulerDriver, masterInfo *mesos.MasterInfo)

func (*ReflexScheduler) ResourceOffers

func (sched *ReflexScheduler) ResourceOffers(driver sched.SchedulerDriver, offers []*mesos.Offer)

func (*ReflexScheduler) SlaveLost

func (sched *ReflexScheduler) SlaveLost(sched.SchedulerDriver, *mesos.SlaveID)

func (*ReflexScheduler) StatusUpdate

func (sched *ReflexScheduler) StatusUpdate(driver sched.SchedulerDriver, status *mesos.TaskStatus)

func (*ReflexScheduler) Stop

func (sched *ReflexScheduler) Stop()

Jump to

Keyboard shortcuts

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