public class AuthConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AuthConfig.Builder |
builder() |
String |
email() |
boolean |
equals(Object obj) |
static AuthConfig.Builder |
fromDockerConfig()
This function looks for and parses credentials for logging into Docker registries.
|
static AuthConfig.Builder |
fromDockerConfig(String serverAddress)
This function looks for and parses credentials for logging into the Docker registry specified
by serverAddress.
|
int |
hashCode() |
String |
password() |
String |
serverAddress() |
AuthConfig.Builder |
toBuilder() |
String |
toString() |
String |
username() |
public String username()
public String password()
public String email()
public String serverAddress()
public AuthConfig.Builder toBuilder()
public static AuthConfig.Builder fromDockerConfig() throws IOException
AuthConfig.BuilderIOException - when we can't parse the docker config filepublic static AuthConfig.Builder fromDockerConfig(String serverAddress) throws IOException
serverAddress - A string representing the server addressAuthConfig.BuilderIOException - when we can't parse the docker config filepublic static AuthConfig.Builder builder()
Copyright © 2017. All rights reserved.