public class DockerConfigTemplate extends Object implements JsonTemplate
Example:
{
"auths": {
"registry": {
"auth": "username:password in base64"
},
"anotherregistry": {},
...
},
"credsStore": "credential helper name",
"credHelpers": {
"registry": "credential helper name",
"anotherregistry": "another credential helper name",
...
}
}
If an auth is defined for a registry, that is a valid Basic authorization to use
for that registry.
If credsStore is defined, is a credential helper that stores authorizations for all
registries listed under auths.
Each entry in credHelpers is a mapping from a registry to a credential helper that
stores the authorization for that registry.
| Constructor and Description |
|---|
DockerConfigTemplate() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthFor(String registry) |
String |
getCredentialHelperFor(String registry) |
Copyright © 2018. All rights reserved.