Modifier and Type | Class and Description |
---|---|
class |
AWSEC2TemplateOptions
Contains options supported in the
ComputeService#runNode operation on
the "ec2" provider. |
Modifier and Type | Method and Description |
---|---|
void |
AWSEC2TemplateOptions.copyTo(TemplateOptions to) |
Constructor and Description |
---|
AWSEC2ComputeService(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,
AWSEC2Api client,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
com.google.common.cache.LoadingCache<RegionAndName,String> placementGroupMap,
com.google.common.base.Predicate<PlacementGroup> placementGroupDeleted,
com.google.common.base.Optional<ImageExtension> imageExtension,
GroupNamingConvention.Factory namingConvention,
boolean generateInstanceNames,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
AWSEC2TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
ImageCacheSupplier images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Location> defaultLocation,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider,
GetImageStrategy getImageStrategy,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap) |
Modifier and Type | Method and Description |
---|---|
protected TemplateOptions |
AWSEC2ComputeServiceContextModule.provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options)
With amazon linux 2011.09, ssh starts after package updates, which slows the boot process and
runs us out of ssh retries (context property
"jclouds.ssh.max-retries" ). |
Modifier and Type | Method and Description |
---|---|
protected TemplateOptions |
AWSEC2ComputeServiceContextModule.provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options)
With amazon linux 2011.09, ssh starts after package updates, which slows the boot process and
runs us out of ssh retries (context property
"jclouds.ssh.max-retries" ). |
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Predicate<TemplateOptions> |
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions.doesntNeedSshAfterImportingPublicKey |
static com.google.common.base.Predicate<TemplateOptions> |
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions.hasLoginCredential |
static com.google.common.base.Predicate<TemplateOptions> |
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions.hasPublicKeyMaterial |
Modifier and Type | Method and Description |
---|---|
String |
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions.createNewKeyPairUnlessUserSpecifiedOtherwise(String region,
String group,
TemplateOptions options) |
protected boolean |
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions.userSpecifiedTheirOwnGroups(TemplateOptions options) |
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 TemplateOptions |
CloudStackComputeServiceContextModule.provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options) |
Modifier and Type | Method and Description |
---|---|
protected TemplateOptions |
CloudStackComputeServiceContextModule.provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options) |
Modifier and Type | Class and Description |
---|---|
class |
CloudStackTemplateOptions
Contains options supported by the
ComputeService#createNodesInGroup(String, int, TemplateOptions) and
ComputeService#createNodesInGroup(String, int, TemplateOptions)
operations on the gogrid provider. |
Modifier and Type | Method and Description |
---|---|
void |
CloudStackTemplateOptions.copyTo(TemplateOptions to) |
Modifier and Type | Method and Description |
---|---|
TemplateOptions |
ComputeService.templateOptions()
Makes a new set of options for running nodes
|
Modifier and Type | Method and Description |
---|---|
Set<? extends NodeMetadata> |
ComputeService.createNodesInGroup(String group,
int count,
TemplateOptions templateOptions)
Like
ComputeService.createNodesInGroup(String,int,Template) , except that the template
is default, equivalent to templateBuilder().any().options(templateOptions) . |
Modifier and Type | Method and Description |
---|---|
protected TemplateOptions |
BaseComputeServiceContextModule.provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options)
The default options if none are provided.
|
Modifier and Type | Method and Description |
---|---|
protected TemplateOptions |
BaseComputeServiceContextModule.provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options)
The default options if none are provided.
|
Modifier and Type | Method and Description |
---|---|
TemplateOptions |
Template.getOptions()
options for launching this template, like run scripts or inbound ports
|
Modifier and Type | Method and Description |
---|---|
TemplateBuilder |
TemplateBuilderSpec.copyTo(TemplateBuilder builder,
TemplateOptions templateOptions)
Returns a TemplateBuilder configured according to this instance's
specification.
|
TemplateBuilder |
TemplateBuilder.options(TemplateOptions options)
Sets options on the template (i.e.
|
Modifier and Type | Field and Description |
---|---|
protected TemplateOptions |
TemplateBuilderImpl.options |
Modifier and Type | Field and Description |
---|---|
protected javax.inject.Provider<TemplateOptions> |
TemplateBuilderImpl.optionsProvider |
Modifier and Type | Method and Description |
---|---|
protected TemplateOptions |
TemplateImpl.defaultOptions() |
TemplateOptions |
TemplateImpl.getOptions()
options for launching this template, like run scripts or inbound ports
|
Modifier and Type | Method and Description |
---|---|
TemplateBuilder |
TemplateBuilderImpl.options(TemplateOptions options)
Sets options on the template (i.e.
|
Constructor and Description |
---|
TemplateImpl(Image image,
Hardware hardware,
Location location,
TemplateOptions options) |
Constructor and Description |
---|
TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
ImageCacheSupplier images,
com.google.common.base.Supplier<Set<? extends Hardware>> hardwares,
com.google.common.base.Supplier<Location> defaultLocation,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider,
GetImageStrategy getImageStrategy) |
Modifier and Type | Method and Description |
---|---|
Statement |
TemplateOptionsToStatement.apply(TemplateOptions options) |
Modifier and Type | Method and Description |
---|---|
TemplateOptions |
BaseComputeService.templateOptions() |
Modifier and Type | Method and Description |
---|---|
Set<? extends NodeMetadata> |
BaseComputeService.createNodesInGroup(String group,
int count,
TemplateOptions templateOptions) |
Constructor and Description |
---|
BaseComputeService(ComputeServiceContext context,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> hardwareProfiles,
com.google.common.base.Supplier<Set<? extends Location>> locations,
ListNodesStrategy listNodesStrategy,
GetImageStrategy getImageStrategy,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy resumeNodeStrategy,
SuspendNodeStrategy suspendNodeStrategy,
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,
InitAdminAccess initAdminAccess,
RunScriptOnNode.Factory runScriptOnNodeFactory,
PersistNodeCredentials persistNodeCredentials,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.base.Optional<ImageExtension> imageExtension,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
Modifier and Type | Class and Description |
---|---|
static class |
TemplateOptions.ImmutableTemplateOptions |
Modifier and Type | Field and Description |
---|---|
static TemplateOptions |
TemplateOptions.NONE |
Modifier and Type | Method and Description |
---|---|
<T extends TemplateOptions> |
TemplateOptions.as(Class<T> clazz) |
<T extends TemplateOptions> |
TemplateOptions.ImmutableTemplateOptions.as(Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
TemplateOptions |
TemplateOptions.authorizePublicKey(String publicKey)
authorize an rsa ssh key.
|
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.authorizePublicKey(String publicKey) |
static TemplateOptions |
TemplateOptions.Builder.authorizePublicKey(String rsaKey)
please use alternative that uses the
Payload
object |
TemplateOptions |
TemplateOptions.blockOnComplete(boolean blockOnComplete) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.blockOnComplete(boolean blockOnComplete) |
static TemplateOptions |
TemplateOptions.Builder.blockOnComplete(boolean value) |
TemplateOptions |
TemplateOptions.blockOnPort(int port,
int seconds) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.blockOnPort(int port,
int seconds) |
static TemplateOptions |
TemplateOptions.Builder.blockOnPort(int port,
int seconds) |
TemplateOptions |
TemplateOptions.blockUntilRunning(boolean blockUntilRunning)
Note
|
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.blockUntilRunning(boolean blockUntilRunning)
unsupported as objects of this class are immutable
|
static TemplateOptions |
TemplateOptions.Builder.blockUntilRunning(boolean blockUntilRunning) |
TemplateOptions |
TemplateOptions.clone() |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.clone() |
TemplateOptions |
TemplateOptions.dontAuthorizePublicKey() |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.dontAuthorizePublicKey() |
TemplateOptions |
TemplateOptions.inboundPorts(int... ports)
Opens the set of ports to public access.
|
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.inboundPorts(int... ports) |
static TemplateOptions |
TemplateOptions.Builder.inboundPorts(int... ports) |
TemplateOptions |
TemplateOptions.installPrivateKey(String privateKey)
replaces the rsa ssh key used at login.
|
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.installPrivateKey(String privateKey) |
static TemplateOptions |
TemplateOptions.Builder.installPrivateKey(String rsaKey)
please use alternative that uses the
Payload
object |
TemplateOptions |
TemplateOptions.nameTask(String name) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.nameTask(String name) |
static TemplateOptions |
TemplateOptions.Builder.nameTask(String name) |
TemplateOptions |
TemplateOptions.networks(Iterable<String> networks)
Assigns the created nodes to these networks
|
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.networks(Iterable<String> networks) |
static TemplateOptions |
TemplateOptions.Builder.networks(Iterable<String> networks) |
TemplateOptions |
TemplateOptions.networks(String... networks) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.networks(String... networks) |
static TemplateOptions |
TemplateOptions.Builder.networks(String... networks) |
TemplateOptions |
TemplateOptions.nodeNames(Iterable<String> nodeNames)
specifies names to be used for the created nodes.
|
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.nodeNames(Iterable<String> nodeNames) |
static TemplateOptions |
TemplateOptions.Builder.nodeNames(Iterable<String> nodeNames) |
TemplateOptions |
TemplateOptions.overrideAuthenticateSudo(boolean authenticateSudo) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.overrideAuthenticateSudo(boolean authenticateSudo) |
static TemplateOptions |
TemplateOptions.Builder.overrideAuthenticateSudo(boolean authenticateSudo) |
TemplateOptions |
TemplateOptions.overrideLoginCredentials(LoginCredentials overridingCredentials) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.overrideLoginCredentials(LoginCredentials overridingCredentials) |
static TemplateOptions |
TemplateOptions.Builder.overrideLoginCredentials(LoginCredentials credentials) |
TemplateOptions |
TemplateOptions.overrideLoginPassword(String password) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.overrideLoginPassword(String password) |
static TemplateOptions |
TemplateOptions.Builder.overrideLoginPassword(String password) |
TemplateOptions |
TemplateOptions.overrideLoginPrivateKey(String privateKey) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.overrideLoginPrivateKey(String privateKey) |
static TemplateOptions |
TemplateOptions.Builder.overrideLoginPrivateKey(String privateKey) |
TemplateOptions |
TemplateOptions.overrideLoginUser(String loginUser) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.overrideLoginUser(String loginUser) |
static TemplateOptions |
TemplateOptions.Builder.overrideLoginUser(String user) |
TemplateOptions |
TemplateOptions.runAsRoot(boolean runAsRoot) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.runAsRoot(boolean runAsRoot) |
static TemplateOptions |
TemplateOptions.Builder.runAsRoot(boolean value) |
TemplateOptions |
TemplateOptions.runScript(Statement script)
This script will be executed as the root user upon system startup.
|
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.runScript(Statement script)
unsupported as objects of this class are immutable
|
static TemplateOptions |
TemplateOptions.Builder.runScript(Statement script) |
TemplateOptions |
TemplateOptions.runScript(String script)
This script will be executed as the root user upon system startup.
|
static TemplateOptions |
TemplateOptions.Builder.runScript(String script) |
TemplateOptions |
TemplateOptions.securityGroups(Iterable<String> securityGroups)
assigns the created nodes to these security groups
|
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.securityGroups(Iterable<String> securityGroups) |
static TemplateOptions |
TemplateOptions.Builder.securityGroups(Iterable<String> securityGroups) |
TemplateOptions |
TemplateOptions.securityGroups(String... securityGroups) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.securityGroups(String... securityGroups) |
static TemplateOptions |
TemplateOptions.Builder.securityGroups(String... securityGroups) |
TemplateOptions |
TemplateOptions.tags(Iterable<String> tags)
assigns tags to the created nodes
|
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.tags(Iterable<String> tags) |
static TemplateOptions |
TemplateOptions.Builder.tags(Iterable<String> tags) |
TemplateOptions |
TemplateOptions.userMetadata(Map<String,String> userMetadata) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.userMetadata(Map<String,String> userMetadata) |
static TemplateOptions |
TemplateOptions.Builder.userMetadata(Map<String,String> userMetadata) |
TemplateOptions |
TemplateOptions.userMetadata(String key,
String value) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.userMetadata(String key,
String value) |
static TemplateOptions |
TemplateOptions.Builder.userMetadata(String key,
String value) |
TemplateOptions |
TemplateOptions.wrapInInitScript(boolean wrapInInitScript) |
TemplateOptions |
TemplateOptions.ImmutableTemplateOptions.wrapInInitScript(boolean wrapInInitScript) |
Modifier and Type | Method and Description |
---|---|
void |
TemplateOptions.copyTo(TemplateOptions to) |
void |
TemplateOptions.ImmutableTemplateOptions.copyTo(TemplateOptions to) |
Constructor and Description |
---|
TemplateOptions.ImmutableTemplateOptions(TemplateOptions delegate) |
Modifier and Type | Method and Description |
---|---|
Callable<Void> |
CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory.create(TemplateOptions options,
AtomicReference<NodeMetadata> node,
Set<NodeMetadata> goodNodes,
Map<NodeMetadata,Exception> badNodes,
com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses) |
com.google.common.base.Function<AtomicReference<NodeMetadata>,Void> |
CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory.create(TemplateOptions options,
Set<NodeMetadata> goodNodes,
Map<NodeMetadata,Exception> badNodes,
com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses) |
Modifier and Type | Method and Description |
---|---|
Map<?,com.google.common.util.concurrent.ListenableFuture<Void>> |
ComputeUtils.customizeNodesAndAddToGoodMapOrPutExceptionIntoBadMap(TemplateOptions options,
Iterable<NodeMetadata> runningNodes,
Set<NodeMetadata> goodNodes,
Map<NodeMetadata,Exception> badNodes,
com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses) |
static Map<String,String> |
ComputeServiceUtils.metadataAndTagsAsCommaDelimitedValue(TemplateOptions options)
For cloud apis that need to namespace tags as the value of the key
jclouds.tags |
static Map<String,String> |
ComputeServiceUtils.metadataAndTagsAsValuesOfEmptyString(TemplateOptions options)
For cloud apis that have a pattern of using empty strings as tags, return a map that contains
that.
|
Constructor and Description |
---|
EC2ComputeService(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,
EC2Api client,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
com.google.common.base.Optional<ImageExtension> imageExtension,
GroupNamingConvention.Factory namingConvention,
boolean generateInstanceNames,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
Constructor and Description |
---|
EC2TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
ImageCacheSupplier images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Location> defaultLocation,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider,
GetImageStrategy getImageStrategy,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap) |
Modifier and Type | Class and Description |
---|---|
class |
EC2TemplateOptions
Contains options supported in the
ComputeService#runNode operation on
the "ec2" provider. |
Modifier and Type | Method and Description |
---|---|
void |
EC2TemplateOptions.copyTo(TemplateOptions to) |
Modifier and Type | Method and Description |
---|---|
String |
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.createNewKeyPairUnlessUserSpecifiedOtherwise(String region,
String group,
TemplateOptions options) |
protected String |
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.createOrImportKeyPair(String region,
String group,
TemplateOptions options) |
Set<String> |
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.getSecurityGroupsForTagAndOptions(String region,
String group,
TemplateOptions options) |
protected boolean |
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.userSpecifiedTheirOwnGroups(TemplateOptions options) |
Modifier and Type | Class and Description |
---|---|
class |
GleSYSTemplateOptions
Contains options supported by the
ComputeService#createNodesInGroup(String, int, TemplateOptions) and
ComputeService#createNodesInGroup(String, int, TemplateOptions)
operations on the glesys provider. |
Modifier and Type | Method and Description |
---|---|
void |
GleSYSTemplateOptions.copyTo(TemplateOptions to) |
Constructor and Description |
---|
GoGridComputeService(ComputeServiceContext context,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> hardwareProfiles,
com.google.common.base.Supplier<Set<? extends Location>> locations,
ListNodesStrategy listNodesStrategy,
GetImageStrategy getImageStrategy,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy resumeNodeStrategy,
SuspendNodeStrategy suspendNodeStrategy,
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,
InitAdminAccess initAdminAccess,
RunScriptOnNode.Factory runScriptOnNodeFactory,
PersistNodeCredentials persistNodeCredentials,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.base.Optional<ImageExtension> imageExtension,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
Modifier and Type | Class and Description |
---|---|
class |
GoGridTemplateOptions
Contains options supported by the
ComputeService#createNodesInGroup(String, int, TemplateOptions) and
ComputeService#createNodesInGroup(String, int, TemplateOptions)
operations on the gogrid provider. |
Modifier and Type | Method and Description |
---|---|
void |
GoGridTemplateOptions.copyTo(TemplateOptions to) |
Constructor and Description |
---|
NovaComputeService(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,
CleanupServer cleanupServer,
com.google.common.base.Optional<ImageExtension> imageExtension,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
Modifier and Type | Method and Description |
---|---|
protected TemplateOptions |
NovaComputeServiceContextModule.provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options) |
Modifier and Type | Method and Description |
---|---|
protected TemplateOptions |
NovaComputeServiceContextModule.provideTemplateOptions(com.google.inject.Injector injector,
TemplateOptions options) |
Modifier and Type | Class and Description |
---|---|
class |
NovaTemplateOptions
Contains options supported in the
ComputeService#runNode operation on the
"openstack-nova" provider. |
Modifier and Type | Method and Description |
---|---|
void |
NovaTemplateOptions.copyTo(TemplateOptions to) |
Modifier and Type | Class and Description |
---|---|
class |
SoftLayerTemplateOptions
Contains options supported by the
ComputeService.createNodesInGroup(String, int, TemplateOptions) and
ComputeService.createNodesInGroup(String, int, TemplateOptions)
operations on the gogrid provider. |
Modifier and Type | Method and Description |
---|---|
void |
SoftLayerTemplateOptions.copyTo(TemplateOptions to) |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.