public class AwsEcrAuthorizer extends Object implements RegistryAuthorizer
| Modifier and Type | Field and Description |
|---|---|
static String |
AWS_REGION |
static String |
REGISTRY_IDS |
| Constructor and Description |
|---|
AwsEcrAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.HttpHeaders |
getAuthorizationHeaders(ContainerImage containerImage,
RegistryConfiguration registryConfiguration) |
RegistryConfiguration.AuthorizationType |
getType() |
public static final String AWS_REGION
public static final String REGISTRY_IDS
public RegistryConfiguration.AuthorizationType getType()
getType in interface RegistryAuthorizerpublic org.springframework.http.HttpHeaders getAuthorizationHeaders(ContainerImage containerImage, RegistryConfiguration registryConfiguration)
getAuthorizationHeaders in interface RegistryAuthorizercontainerImage - Container Image for which authorization is required.registryConfiguration - configuration such as credentials and additional information required to obtain the
authorized headers.Copyright © 2020 Pivotal Software, Inc.. All rights reserved.