| Modifier and Type | Class and Description |
|---|---|
static class |
Mesos.JenkinsSlave |
static class |
Mesos.SlaveRequest |
| Constructor and Description |
|---|
Mesos() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<Mesos> |
getAllClouds() |
static Mesos |
getInstance(MesosCloud key) |
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(String jenkinsMaster,
MesosCloud mesosCloud) |
public abstract void startScheduler(String jenkinsMaster, MesosCloud mesosCloud)
public abstract void updateScheduler(String jenkinsMaster, 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(MesosCloud key)
public static Collection<Mesos> getAllClouds()
Copyright © 2004-2016. All Rights Reserved.