public class PluginImpl
extends hudson.Plugin
| Constructor and Description |
|---|
PluginImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
doAddSlaveLabels(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String name,
String labels)
Add labels to an agent.
|
void |
doCreateSlave(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String name,
String description,
int executors,
String remoteFsRoot,
String labels,
hudson.model.Node.Mode mode,
String hash,
boolean deleteExistingClients,
boolean keepDisconnectedClients)
Add a new Swarm agent.
|
void |
doGetSlaveLabels(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String name)
Get the list of labels for an agent.
|
void |
doRemoveSlaveLabels(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String name,
String labels)
Remove labels from an agent.
|
public void doGetSlaveLabels(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter
String name)
throws IOException
IOException@POST
public void doAddSlaveLabels(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter
String name,
@QueryParameter
String labels)
throws IOException
IOException@POST
public void doRemoveSlaveLabels(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter
String name,
@QueryParameter
String labels)
throws IOException
IOException@POST
public void doCreateSlave(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter
String name,
@QueryParameter(fixEmpty=true)
String description,
@QueryParameter
int executors,
@QueryParameter
String remoteFsRoot,
@QueryParameter
String labels,
@QueryParameter
hudson.model.Node.Mode mode,
@QueryParameter(fixEmpty=true)
String hash,
@QueryParameter
boolean deleteExistingClients,
@QueryParameter
boolean keepDisconnectedClients)
throws IOException
IOExceptionCopyright © 2016–2022. All rights reserved.