public class DockerConfigJsonSecretToRegistryConfigurationConverter extends Object implements org.springframework.core.convert.converter.Converter<String,Map<String,RegistryConfiguration>>
| Constructor and Description |
|---|
DockerConfigJsonSecretToRegistryConfigurationConverter(org.springframework.web.client.RestTemplate restTemplate) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,RegistryConfiguration> |
convert(String dockerconfigjson)
{"auths":{"demo.goharbor.io":{"username":"admin","password":"Harbor12345","auth":"YWRtaW46SGFyYm9yMTIzNDU="}}}
|
String |
getDockerTokenServiceUri(String registryHost,
String username,
String password) |
public DockerConfigJsonSecretToRegistryConfigurationConverter(org.springframework.web.client.RestTemplate restTemplate)
public Map<String,RegistryConfiguration> convert(String dockerconfigjson)
convert in interface org.springframework.core.convert.converter.Converter<String,Map<String,RegistryConfiguration>>dockerconfigjson - Copyright © 2020 Pivotal Software, Inc.. All rights reserved.