Modifier and Type | Method and Description |
---|---|
static void |
SkytapUtils.checkResponseForErrors(String response)
Utility method to extract errors, if any, from the Skytap json response,
and throw an exception which can be handled by the caller.
|
static String |
SkytapUtils.executeHttpRequest(org.apache.http.client.methods.HttpRequestBase hr)
Utility method to execute any type of http request (except delete), to
catch any exceptions thrown and return the response string.
|
static String |
SkytapUtils.getContainerRegistryIdFromName(String containerRegistryName,
String authCredentials) |
static String |
SkytapUtils.getEnvContainerIdFromName(String confId,
String containerName,
String authCredentials) |
static String |
SkytapUtils.getNetworkIdFromName(String confId,
String netName,
String authCredential)
Executes a Skytap API call in order to get the network id of the network
whose name was provided by the user.
|
static String |
SkytapUtils.getVMContainerIdFromName(String confId,
String vmId,
String containerName,
String authCredentials) |
static String |
SkytapUtils.getVMIDFromName(String confId,
String vname,
String authCredentials) |
Copyright © 2004-2019. All Rights Reserved.