public final class GoogleComputeEngineServiceContextModule extends ComputeServiceAdapterContextModule<Instance,MachineType,Image,Location>
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl
Constructor and Description |
---|
GoogleComputeEngineServiceContextModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected com.google.common.cache.LoadingCache<URI,com.google.common.base.Optional<Image>> |
diskURIToImageMap(com.google.common.cache.CacheLoader<URI,com.google.common.base.Optional<Image>> in) |
protected Map<OsFamily,LoginCredentials> |
osFamilyToCredentials(com.google.inject.Injector injector) |
protected com.google.common.cache.LoadingCache<RegionAndName,com.google.common.base.Optional<Subnetwork>> |
subnetworksMap(com.google.common.cache.CacheLoader<RegionAndName,com.google.common.base.Optional<Subnetwork>> in) |
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetImageStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages
bindCredentialsOverriderFunction, guiceProvideImageExtension, guiceProvideSecurityGroupExtension, guiceProvideTemplateOptions, indexer, provideImageExtension, provideImageMap, provideOsFamilyToCredentials, provideOsVersionMap, provideSecurityGroupExtension, provideSizeMap, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldEagerlyParseImages, supplyImageCache, supplyNonParsingImages, supplySizeCache
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public GoogleComputeEngineServiceContextModule()
protected void configure()
configure
in class BaseComputeServiceContextModule
protected Map<OsFamily,LoginCredentials> osFamilyToCredentials(com.google.inject.Injector injector)
osFamilyToCredentials
in class BaseComputeServiceContextModule
@Provides @Singleton protected com.google.common.cache.LoadingCache<URI,com.google.common.base.Optional<Image>> diskURIToImageMap(com.google.common.cache.CacheLoader<URI,com.google.common.base.Optional<Image>> in)
@Provides @Singleton protected com.google.common.cache.LoadingCache<RegionAndName,com.google.common.base.Optional<Subnetwork>> subnetworksMap(com.google.common.cache.CacheLoader<RegionAndName,com.google.common.base.Optional<Subnetwork>> in)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.