@Singleton public class DefaultCredentialsFromImageOrOverridingCredentials extends Object implements com.google.common.base.Function<Template,LoginCredentials>
Constructor and Description |
---|
DefaultCredentialsFromImageOrOverridingCredentials() |
Modifier and Type | Method and Description |
---|---|
LoginCredentials |
apply(Template template) |
static LoginCredentials |
overrideDefaultCredentialsWithOptionsIfPresent(LoginCredentials defaultCreds,
RunScriptOptions options) |
public DefaultCredentialsFromImageOrOverridingCredentials()
public LoginCredentials apply(Template template)
apply
in interface com.google.common.base.Function<Template,LoginCredentials>
public static LoginCredentials overrideDefaultCredentialsWithOptionsIfPresent(@Nullable LoginCredentials defaultCreds, RunScriptOptions options)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.