Package org.jclouds.compute.functions
Class DefaultCredentialsFromImageOrOverridingCredentials
- java.lang.Object
-
- org.jclouds.compute.functions.DefaultCredentialsFromImageOrOverridingCredentials
-
- All Implemented Interfaces:
com.google.common.base.Function<Template,LoginCredentials>
,Function<Template,LoginCredentials>
@Singleton public class DefaultCredentialsFromImageOrOverridingCredentials extends Object implements com.google.common.base.Function<Template,LoginCredentials>
-
-
Constructor Summary
Constructors Constructor Description DefaultCredentialsFromImageOrOverridingCredentials()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LoginCredentials
apply(Template template)
static LoginCredentials
overrideDefaultCredentialsWithOptionsIfPresent(LoginCredentials defaultCreds, RunScriptOptions options)
-
-
-
Method Detail
-
apply
public LoginCredentials apply(Template template)
- Specified by:
apply
in interfacecom.google.common.base.Function<Template,LoginCredentials>
- Specified by:
apply
in interfaceFunction<Template,LoginCredentials>
-
overrideDefaultCredentialsWithOptionsIfPresent
public static LoginCredentials overrideDefaultCredentialsWithOptionsIfPresent(@Nullable LoginCredentials defaultCreds, RunScriptOptions options)
-
-