public abstract class Mesos extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Mesos.JenkinsSlave |
static class |
Mesos.MesosImpl |
static class |
Mesos.SlaveRequest |
| Constructor and Description |
|---|
Mesos() |
| Modifier and Type | Method and Description |
|---|---|
static Mesos |
getInstance() |
abstract org.apache.mesos.Scheduler |
getScheduler() |
abstract boolean |
isSchedulerRunning() |
abstract void |
startJenkinsSlave(Mesos.SlaveRequest request,
org.jenkinsci.plugins.mesos.Mesos.SlaveResult result)
Starts a jenkins slave asynchronously in the mesos cluster.
|
abstract void |
startScheduler(String jenkinsMaster,
MesosCloud mesosCloud) |
abstract void |
stopJenkinsSlave(String name)
Stop a jenkins slave asynchronously in the mesos cluster.
|
abstract void |
stopScheduler() |
abstract void |
updateScheduler(MesosCloud mesosCloud) |
public abstract void startScheduler(String jenkinsMaster, MesosCloud mesosCloud)
public abstract void updateScheduler(MesosCloud mesosCloud)
public abstract boolean isSchedulerRunning()
public abstract void stopScheduler()
public abstract org.apache.mesos.Scheduler getScheduler()
public abstract void startJenkinsSlave(Mesos.SlaveRequest request, org.jenkinsci.plugins.mesos.Mesos.SlaveResult result)
request - slave request.result - this callback will be called when the slave starts.public abstract void stopJenkinsSlave(String name)
name - jenkins slave.public static Mesos getInstance()
Copyright © 2004-2014. All Rights Reserved.