Class RegistryConfigs
java.lang.Object
com.spotify.docker.client.messages.RegistryConfigs
- Direct Known Subclasses:
AutoValue_RegistryConfigs
A formatted string passed in X-Registry-Config request header.
{
"docker.example.com": {
"serveraddress": "docker.example.com",
"username": "janedoe",
"password": "hunter2",
"email": "janedoe@example.com",
"auth": ""
},
"https://index.docker.io/v1/": {
"serveraddress": "docker.example.com",
"username": "mobydock",
"password": "conta1n3rize14",
"email": "mobydock@example.com",
"auth": ""
}
}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract com.google.common.collect.ImmutableMap<String, RegistryAuth> configs()static RegistryConfigscreate(Map<String, RegistryAuth> configs) static RegistryConfigsempty()
-
Constructor Details
-
RegistryConfigs
public RegistryConfigs()
-
-
Method Details
-
empty
-
configs
-
create
-