public abstract class ConsulUtil extends Object
| Constructor and Description |
|---|
ConsulUtil() |
| Modifier and Type | Method and Description |
|---|---|
static ConsulInstallation[] |
getInstallations() |
static hudson.Proc |
joinConsul(hudson.model.Run build,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath filePath,
String installationName,
String dataCenter,
String masters,
String token) |
static void |
killConsulAgent(hudson.model.Run build,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath filePath,
String installationName,
hudson.Proc consulAgentProcess) |
public static ConsulInstallation[] getInstallations()
public static hudson.Proc joinConsul(hudson.model.Run build,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath filePath,
String installationName,
String dataCenter,
String masters,
String token)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic static void killConsulAgent(hudson.model.Run build,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath filePath,
String installationName,
hudson.Proc consulAgentProcess)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2016–2017. All rights reserved.