public class ImageSourceRegistry extends Object
Constructor and Description |
---|
ImageSourceRegistry() |
Modifier and Type | Method and Description |
---|---|
PrivateRegistryCredentials |
credentials()
Get credentials to access the private docker repository.
|
String |
image()
Get the name of the image in the image repository.
|
String |
serverUrl()
Get uRL for image repository.
|
ImageSourceRegistry |
withCredentials(PrivateRegistryCredentials credentials)
Set credentials to access the private docker repository.
|
ImageSourceRegistry |
withImage(String image)
Set the name of the image in the image repository.
|
ImageSourceRegistry |
withServerUrl(String serverUrl)
Set uRL for image repository.
|
public String serverUrl()
public ImageSourceRegistry withServerUrl(String serverUrl)
serverUrl
- the serverUrl value to setpublic String image()
public ImageSourceRegistry withImage(String image)
image
- the image value to setpublic PrivateRegistryCredentials credentials()
public ImageSourceRegistry withCredentials(PrivateRegistryCredentials credentials)
credentials
- the credentials value to setCopyright © 2019. All rights reserved.