public class ImageRegistryCredential extends Object
Constructor and Description |
---|
ImageRegistryCredential() |
Modifier and Type | Method and Description |
---|---|
String |
password()
Get the password for the private registry.
|
String |
server()
Get the Docker image registry server without a protocol such as "http" and "https".
|
String |
username()
Get the username for the private registry.
|
ImageRegistryCredential |
withPassword(String password)
Set the password for the private registry.
|
ImageRegistryCredential |
withServer(String server)
Set the Docker image registry server without a protocol such as "http" and "https".
|
ImageRegistryCredential |
withUsername(String username)
Set the username for the private registry.
|
public String server()
public ImageRegistryCredential withServer(String server)
server
- the server value to setpublic String username()
public ImageRegistryCredential withUsername(String username)
username
- the username value to setpublic String password()
public ImageRegistryCredential withPassword(String password)
password
- the password value to setCopyright © 2019. All rights reserved.