public class DockerHubRegistryAuthorizer extends Object implements RegistryAuthorizer
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DOCKER_REGISTRY_AUTH_URI |
static String |
DOCKER_REGISTRY_AUTH_URI_KEY |
static String |
TOKEN_KEY |
| Constructor and Description |
|---|
DockerHubRegistryAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.HttpHeaders |
getAuthorizationHeaders(ContainerImage containerImage,
RegistryConfiguration registryConfiguration) |
RegistryConfiguration.AuthorizationType |
getType() |
public static final String DEFAULT_DOCKER_REGISTRY_AUTH_URI
public static final String TOKEN_KEY
public static final String DOCKER_REGISTRY_AUTH_URI_KEY
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.