Modifier and Type | Field and Description |
---|---|
protected com.google.common.cache.LoadingCache<String,SshKeyPair> |
CloudStackComputeService.keyPairCache |
Constructor and Description |
---|
CloudStackComputeService(ComputeServiceContext context,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Set<? extends Location>> locations,
ListNodesStrategy listNodesStrategy,
GetImageStrategy getImageStrategy,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy startNodeStrategy,
SuspendNodeStrategy stopNodeStrategy,
javax.inject.Provider<TemplateBuilder> templateBuilderProvider,
javax.inject.Provider<TemplateOptions> templateOptionsProvider,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeTerminated,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeSuspended,
InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory,
RunScriptOnNode.Factory runScriptOnNodeFactory,
InitAdminAccess initAdminAccess,
PersistNodeCredentials persistNodeCredentials,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
CloudStackApi client,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> securityGroupMap,
com.google.common.cache.LoadingCache<String,SshKeyPair> keyPairCache,
com.google.common.base.Function<Set<? extends NodeMetadata>,com.google.common.collect.Multimap<String,String>> orphanedGroupsByZoneId,
GroupNamingConvention.Factory namingConvention,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<String,Zone>> zoneIdToZone,
com.google.common.base.Optional<ImageExtension> imageExtension,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.cache.LoadingCache<String,SshKeyPair> |
CloudStackComputeServiceContextModule.keyPairMap(com.google.common.cache.CacheLoader<String,SshKeyPair> in) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.cache.LoadingCache<String,SshKeyPair> |
CloudStackComputeServiceContextModule.keyPairMap(com.google.common.cache.CacheLoader<String,SshKeyPair> in) |
Modifier and Type | Method and Description |
---|---|
SshKeyPair |
CreateUniqueKeyPair.load(String input) |
Constructor and Description |
---|
CloudStackComputeServiceAdapter(CloudStackApi client,
com.google.common.base.Predicate<String> jobComplete,
com.google.common.base.Supplier<Map<String,Network>> networkSupplier,
com.google.common.base.Supplier<Map<String,Project>> projectSupplier,
BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult,
StaticNATVirtualMachineInNetwork.Factory staticNATVMInNetwork,
CreatePortForwardingRulesForIP setupPortForwardingRulesForIP,
CreateFirewallRulesForIP setupFirewallRulesForIP,
com.google.common.cache.LoadingCache<String,Set<IPForwardingRule>> vmToRules,
Map<String,Credentials> credentialStore,
Map<NetworkType,? extends OptionsConverter> optionsConverters,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<String,Zone>> zoneIdToZone,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> securityGroupCache,
com.google.common.cache.LoadingCache<String,SshKeyPair> keyPairCache,
GroupNamingConvention.Factory namingConvention,
GetLoginForProviderFromPropertiesAndStoreCredentialsOrReturnNull credentialsProvider) |
Modifier and Type | Method and Description |
---|---|
SshKeyPair |
SshKeyPair.Builder.build() |
Modifier and Type | Method and Description |
---|---|
T |
SshKeyPair.Builder.fromSshKeyPair(SshKeyPair in) |
Modifier and Type | Method and Description |
---|---|
SshKeyPair |
SSHKeyPairApi.createSSHKeyPair(String name)
Creates a
SshKeyPair with specified name. |
SshKeyPair |
SSHKeyPairApi.getSSHKeyPair(String name)
Retrieves the
SSHKeyPairApi with given name. |
SshKeyPair |
SSHKeyPairApi.registerSSHKeyPair(String name,
String publicKey)
Registers a
SshKeyPair with the given name and public kay material. |
Modifier and Type | Method and Description |
---|---|
Set<SshKeyPair> |
SSHKeyPairApi.listSSHKeyPairs(ListSSHKeyPairsOptions... options)
Returns a list of
SshKeyPair s registered by current user. |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<SshKeyPair> |
SshKeyPairPredicates.nameEquals(String name)
matches name of the given keypair starts with the specified prefix
|
static com.google.common.base.Predicate<SshKeyPair> |
SshKeyPairPredicates.nameMatches(com.google.common.base.Predicate<String> name)
matches name of the given key pair
|
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.