| Modifier and Type | Method and Description |
|---|---|
Image |
ComputeService.getImage(String id)
Find an image by its id.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<Image> |
JCloudsNativeComputeServiceAdapter.listImages()
Images are the available configured operating systems that someone can run a node with.
|
Set<? extends Image> |
ComputeService.listImages()
Images define the operating system and metadata related to a node.
|
| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,org.jclouds.domain.Location>> |
JCloudsNativeComputeServiceAdapterContextModule.adapter |
| Modifier and Type | Method and Description |
|---|---|
Image |
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage.apply(Image arg0) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Class<? extends com.google.common.base.Supplier<Set<? extends Image>>> |
BindComputeSuppliersByClass.defineImageSupplier() |
protected com.google.common.base.Predicate<AtomicReference<Image>> |
ComputeServiceTimeoutsModule.imageAvailable(AtomicImageAvailable statusAvailable,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period) |
protected com.google.common.base.Supplier<Map<String,? extends Image>> |
BaseComputeServiceContextModule.provideImageMap(com.google.common.base.Supplier<Set<? extends Image>> images) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
ComputeServiceAdapterContextModule.provideImages(ComputeServiceAdapter<N,H,I,L> adapter,
com.google.common.base.Function<I,Image> transformer,
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage addDefaultCredentialsToImage) |
protected com.google.common.base.Predicate<AtomicReference<Image>> |
ComputeServiceTimeoutsModule.serverDeleted(AtomicImageDeleted statusDeleted,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
BaseComputeServiceContextModule.supplyImageCache(AtomicReference<org.jclouds.rest.AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
com.google.inject.Provider<GetImageStrategy> imageLoader,
com.google.inject.Injector injector) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
BaseComputeServiceContextModule.supplyNonParsingImages(com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
com.google.inject.Injector injector)
For overriding; default impl just returns the image supplier.
|
| Modifier and Type | Method and Description |
|---|---|
Image |
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage.apply(Image arg0) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BindComputeSuppliersByClass.bindImageSupplier(Class<? extends com.google.common.base.Supplier<Set<? extends Image>>> clazz) |
protected com.google.common.base.Supplier<Map<String,? extends Image>> |
BaseComputeServiceContextModule.provideImageMap(com.google.common.base.Supplier<Set<? extends Image>> images) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
ComputeServiceAdapterContextModule.provideImages(ComputeServiceAdapter<N,H,I,L> adapter,
com.google.common.base.Function<I,Image> transformer,
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage addDefaultCredentialsToImage) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
BaseComputeServiceContextModule.supplyImageCache(AtomicReference<org.jclouds.rest.AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
com.google.inject.Provider<GetImageStrategy> imageLoader,
com.google.inject.Injector injector) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
BaseComputeServiceContextModule.supplyNonParsingImages(com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
com.google.inject.Injector injector)
For overriding; default impl just returns the image supplier.
|
| Constructor and Description |
|---|
JCloudsNativeComputeServiceAdapterContextModule(Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,org.jclouds.domain.Location>> adapter) |
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.base.Predicate<Image> |
HardwareBuilder.supportsImage |
| Modifier and Type | Method and Description |
|---|---|
Image |
ImageBuilder.build() |
Image |
Template.getImage()
Image that suits the requirements.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Predicate<Image> |
Hardware.supportsImage()
Determines whether this size can run an image.
|
| Modifier and Type | Method and Description |
|---|---|
TemplateBuilder |
TemplateBuilder.fromImage(Image image)
Configure this template to fuzzy-match on the image parameter
|
static ImageBuilder |
ImageBuilder.fromImage(Image image) |
| Modifier and Type | Method and Description |
|---|---|
TemplateBuilder |
TemplateBuilder.imageChooser(com.google.common.base.Function<Iterable<? extends Image>,Image> imageChooser)
Configure this template with a specific preference function which operates on
images which match the other criteria.
|
TemplateBuilder |
TemplateBuilder.imageChooser(com.google.common.base.Function<Iterable<? extends Image>,Image> imageChooser)
Configure this template with a specific preference function which operates on
images which match the other criteria.
|
TemplateBuilder |
TemplateBuilder.imageMatches(com.google.common.base.Predicate<Image> condition)
Configure this template to have an image that matches the supplied condition
ex.
|
HardwareBuilder |
HardwareBuilder.supportsImage(com.google.common.base.Predicate<Image> supportsImage) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImageImpl |
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.base.Function<Iterable<? extends Image>,Image> |
TemplateBuilderImpl.imageChooser |
protected com.google.common.base.Function<Iterable<? extends Image>,Image> |
TemplateBuilderImpl.imageChooser |
protected com.google.common.base.Predicate<Image> |
TemplateBuilderImpl.imagePredicate |
| Modifier and Type | Method and Description |
|---|---|
Image |
TemplateImpl.getImage()
Image that suits the requirements.
|
protected Image |
TemplateBuilderImpl.resolveImage(Hardware hardware,
Iterable<? extends Image> supportedImages) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<? extends Image> |
TemplateBuilderImpl.getImages() |
protected com.google.common.base.Function<Iterable<? extends Image>,Image> |
TemplateBuilderImpl.imageChooser() |
protected com.google.common.base.Function<Iterable<? extends Image>,Image> |
TemplateBuilderImpl.imageChooser() |
com.google.common.base.Predicate<Image> |
HardwareImpl.supportsImage()
Determines whether this size can run an image.
|
| Modifier and Type | Method and Description |
|---|---|
TemplateBuilder |
TemplateBuilderImpl.fromImage(Image image)
Configure this template to fuzzy-match on the image parameter
|
| Modifier and Type | Method and Description |
|---|---|
TemplateBuilderImpl |
TemplateBuilderImpl.imageChooser(com.google.common.base.Function<Iterable<? extends Image>,Image> imageChooser)
Configure this template with a specific preference function which operates on
images which match the other criteria.
|
TemplateBuilderImpl |
TemplateBuilderImpl.imageChooser(com.google.common.base.Function<Iterable<? extends Image>,Image> imageChooser)
Configure this template with a specific preference function which operates on
images which match the other criteria.
|
TemplateBuilder |
TemplateBuilderImpl.imageMatches(com.google.common.base.Predicate<Image> condition)
Configure this template to have an image that matches the supplied condition
ex.
|
protected Hardware |
TemplateBuilderImpl.resolveHardware(Set<? extends Hardware> hardwarel,
Iterable<? extends Image> images) |
protected Hardware |
ArbitraryCpuRamTemplateBuilderImpl.resolveHardware(Set<? extends Hardware> hardwarel,
Iterable<? extends Image> images) |
protected Image |
TemplateBuilderImpl.resolveImage(Hardware hardware,
Iterable<? extends Image> supportedImages) |
protected NoSuchElementException |
TemplateBuilderImpl.throwNoSuchElementExceptionAfterLoggingImageIds(String message,
Iterable<? extends Image> images) |
| Constructor and Description |
|---|
TemplateImpl(Image image,
Hardware hardware,
org.jclouds.domain.Location location,
TemplateOptions options) |
| Constructor and Description |
|---|
ArbitraryCpuRamTemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends org.jclouds.domain.Location>> locations,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> hardwares,
com.google.common.base.Supplier<org.jclouds.domain.Location> defaultLocation,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider) |
HardwareImpl(String providerId,
String name,
String id,
org.jclouds.domain.Location location,
URI uri,
Map<String,String> userMetadata,
Set<String> tags,
Iterable<? extends Processor> processors,
int ram,
Iterable<? extends Volume> volumes,
com.google.common.base.Predicate<Image> supportsImage,
String hypervisor,
boolean deprecated) |
TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends org.jclouds.domain.Location>> locations,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> hardwares,
com.google.common.base.Supplier<org.jclouds.domain.Location> defaultLocation,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Image> |
ImageExtension.createImage(ImageTemplate template)
Transform the
ImageTemplate on an Image that can be used to create nodes. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Image> |
DelegatingImageExtension.createImage(ImageTemplate template) |
| Modifier and Type | Method and Description |
|---|---|
Image |
BaseComputeService.getImage(String id)
Find an image by its id.
|
| Modifier and Type | Method and Description |
|---|---|
Set<? extends Image> |
BaseComputeService.listImages()
Images define the operating system and metadata related to a node.
|
| Constructor and Description |
|---|
BaseComputeService(ComputeServiceContext context,
Map<String,org.jclouds.domain.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 org.jclouds.domain.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,
org.jclouds.scriptbuilder.functions.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 | Method and Description |
|---|---|
protected Image |
AtomicImageDeleted.refreshOrNull(Image resource) |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Predicate<Image> |
ImagePredicates.any()
return everything.
|
static com.google.common.base.Predicate<Image> |
ImagePredicates.idEquals(String id)
evaluates true if the Image
|
static com.google.common.base.Predicate<Image> |
ImagePredicates.idIn(Iterable<String> ids)
evaluates true if the Image id is in the supplied set
|
static com.google.common.base.Predicate<Image> |
ImagePredicates.is64Bit()
return true if this is a 64bit image.
|
static com.google.common.base.Predicate<Image> |
ImagePredicates.userMetadataContains(String key,
String value)
evaluates true if the Image metadata contains the following values
|
| Modifier and Type | Method and Description |
|---|---|
protected Image |
AtomicImageDeleted.refreshOrNull(Image resource) |
| Modifier and Type | Method and Description |
|---|---|
protected Image |
RefreshImageAndDoubleCheckOnFailUnlessStatusInvalid.refreshOrNull(Image resource) |
| Modifier and Type | Method and Description |
|---|---|
protected Image |
RefreshImageAndDoubleCheckOnFailUnlessStatusInvalid.refreshOrNull(Image resource) |
| Modifier and Type | Method and Description |
|---|---|
Image |
GetImageStrategy.getImage(String id) |
| Modifier and Type | Method and Description |
|---|---|
Image |
AdaptingComputeServiceStrategies.getImage(String id) |
| Constructor and Description |
|---|
AdaptingComputeServiceStrategies(Map<String,org.jclouds.domain.Credentials> credentialStore,
PrioritizeCredentialsFromTemplate prioritizeCredentialsFromTemplate,
ComputeServiceAdapter<N,H,I,L> client,
com.google.common.base.Function<N,NodeMetadata> nodeMetadataAdapter,
com.google.common.base.Function<I,Image> imageAdapter,
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage addDefaultCredentialsToImage) |
| Modifier and Type | Method and Description |
|---|---|
Image |
StubComputeServiceAdapter.getImage(String id) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Image> |
StubComputeServiceAdapter.listImages() |
| Modifier and Type | Method and Description |
|---|---|
Set<? extends Image> |
ImageCacheSupplier.get() |
com.google.common.base.Optional<? extends Image> |
ImageCacheSupplier.get(String id)
Loads an image by id.
|
Set<? extends Image> |
ImageCacheSupplier.rebuildCache()
Calls the
ImageCacheSupplier.liveImageSupplier to get the current images and
rebuilds the cache with them. |
| Modifier and Type | Method and Description |
|---|---|
void |
ImageCacheSupplier.registerImage(Image image)
Registers a new image in the image cache.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ImageCacheSupplier.reset(Set<? extends Image> images)
Resets the cache to the given set of images.
|
void |
ImageCacheSupplier.valueLoaded(com.google.common.base.Optional<Set<? extends Image>> value)
The cache is subscribed to value loading events generated by the
MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier. |
| Constructor and Description |
|---|
ImageCacheSupplier(com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
long sessionIntervalSeconds,
AtomicReference<org.jclouds.rest.AuthorizationException> authException,
com.google.inject.Provider<GetImageStrategy> imageLoader) |
Copyright © 2009-2017 The Apache Software Foundation. All Rights Reserved.