public class EcrExtendedAuth extends Object
Constructor and Description |
---|
EcrExtendedAuth(org.eclipse.jkube.kit.common.KitLogger logger,
String registry)
Initialize an extended authentication for ecr registry.
|
Modifier and Type | Method and Description |
---|---|
AuthConfig |
extendedAuth(AuthConfig localCredentials)
Perform extended authentication.
|
boolean |
isAwsRegistry()
Is the registry an ecr registry?
|
static boolean |
isAwsRegistry(String registry)
Is given the registry an ecr registry?
|
public EcrExtendedAuth(org.eclipse.jkube.kit.common.KitLogger logger, String registry)
logger
- Kit Loggerregistry
- The registry, we may or may not be an ecr registry.public static boolean isAwsRegistry(String registry)
registry
- the registry namepublic boolean isAwsRegistry()
public AuthConfig extendedAuth(AuthConfig localCredentials) throws IOException
localCredentials
- IAM id/secretIOException
- IO ExceptionCopyright © 2020. All rights reserved.