Methods
Modifier and Type |
Method and Description |
static NodeMetadataBuilder |
addMetadataAndParseTagsFromCommaDelimitedValue(NodeMetadataBuilder builder,
Map<String,String> map) |
static NodeMetadataBuilder |
addMetadataAndParseTagsFromValuesOfEmptyString(NodeMetadataBuilder builder,
Map<String,String> map) |
static void |
checkNodeHasIps(NodeMetadata node) |
static String |
createExecutionErrorMessage(Map<?,Exception> executionExceptions) |
static String |
createNodeErrorMessage(Map<? extends NodeMetadata,? extends Throwable> failedNodes) |
static Statement |
execHttpResponse(HttpRequest request)
build a shell script that invokes the contents of the http request in bash.
|
static Statement |
execHttpResponse(URI location) |
static Statement |
extractTargzIntoDirectory(HttpRequest targz,
String directory)
build a shell script that invokes the contents of the http request in bash.
|
static Statement |
extractTargzIntoDirectory(URI targz,
String directory) |
static Statement |
extractZipIntoDirectory(HttpRequest zip,
String directory)
build a shell script that invokes the contents of the http request in bash.
|
static Statement |
extractZipIntoDirectory(URI zip,
String directory) |
static Iterable<? extends ComputeMetadata> |
filterByName(Iterable<? extends ComputeMetadata> nodes,
String name) |
static IPSocket |
findReachableSocketOnNode(RetryIfSocketNotYetOpen socketTester,
NodeMetadata node,
int port) |
static double |
getCores(Hardware input) |
static double |
getCoresAndSpeed(Hardware input) |
static double |
getSpace(Hardware input) |
static Iterable<String> |
getSupportedProviders() |
static Map<String,String> |
metadataAndTagsAsCommaDelimitedValue(TemplateOptions options)
For cloud apis that need to namespace tags as the value of the key jclouds.tags
|
static Map<String,String> |
metadataAndTagsAsValuesOfEmptyString(TemplateOptions options)
For cloud apis that have a pattern of using empty strings as tags, return a map that contains
that.
|
static String |
parseGroupFromName(String from) |
static OsFamily |
parseOsFamilyOrUnrecognized(String in) |
static String |
parseVersionOrReturnEmptyString(OsFamily family,
String in,
Map<OsFamily,Map<String,String>> osVersionMap) |