mock

package
v1.2.7-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2016 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockScheduler

type MockScheduler struct {
	mock.Mock
}

func New

func New() *MockScheduler

func (*MockScheduler) Disconnected

func (sched *MockScheduler) Disconnected(SchedulerDriver)

func (*MockScheduler) Error

func (sched *MockScheduler) Error(d SchedulerDriver, msg string)

func (*MockScheduler) ExecutorLost

func (sched *MockScheduler) ExecutorLost(SchedulerDriver, *mesos.ExecutorID, *mesos.SlaveID, int)

func (*MockScheduler) FrameworkMessage

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

func (*MockScheduler) OfferRescinded

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

func (*MockScheduler) Registered

func (sched *MockScheduler) Registered(SchedulerDriver, *mesos.FrameworkID, *mesos.MasterInfo)

func (*MockScheduler) Reregistered

func (sched *MockScheduler) Reregistered(SchedulerDriver, *mesos.MasterInfo)

func (*MockScheduler) ResourceOffers

func (sched *MockScheduler) ResourceOffers(SchedulerDriver, []*mesos.Offer)

func (*MockScheduler) SlaveLost

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

func (*MockScheduler) StatusUpdate

func (sched *MockScheduler) StatusUpdate(SchedulerDriver, *mesos.TaskStatus)

Jump to

Keyboard shortcuts

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