Package org.jclouds.rest
Interface Utils
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Credentials>
credentialStore()
retrieves a list of credentials for resources created within this context, keyed onid
of the resource with a namespace prefix (ex.Crypto
crypto()
DateService
date()
com.google.common.eventbus.EventBus
eventBus()
HttpClient
http()
com.google.inject.Injector
injector()
Json
json()
Logger.LoggerFactory
loggerFactory()
XMLParser
xml()
-
-
-
Method Detail
-
credentialStore
@Beta Map<String,Credentials> credentialStore()
retrieves a list of credentials for resources created within this context, keyed onid
of the resource with a namespace prefix (ex.node#
. We are testing this approach for resources such as compute nodes, where you could access this externally.accessing credentials for a node
the key is in the formnode#id
.- if the node id is
8
, then the key will benode#8
- if the node id is
us-east-1/i-asdfdas
, then the key will benode#us-east-1/i-asdfdas
- if the node id is
http://cloud/instances/1
, then the key will benode#http://cloud/instances/1
- if the node id is
-
json
Json json()
-
http
HttpClient http()
-
crypto
Crypto crypto()
-
date
DateService date()
-
eventBus
com.google.common.eventbus.EventBus eventBus()
-
loggerFactory
Logger.LoggerFactory loggerFactory()
-
injector
@Beta com.google.inject.Injector injector()
-
xml
XMLParser xml()
-
-