public class BaseImageDependency extends Object
Constructor and Description |
---|
BaseImageDependency() |
Modifier and Type | Method and Description |
---|---|
String |
digest()
Get the sha256-based digest of the image manifest.
|
String |
registry()
Get the registry login server.
|
String |
repository()
Get the repository name.
|
String |
tag()
Get the tag name.
|
BaseImageDependencyType |
type()
Get the type of the base image dependency.
|
BaseImageDependency |
withDigest(String digest)
Set the sha256-based digest of the image manifest.
|
BaseImageDependency |
withRegistry(String registry)
Set the registry login server.
|
BaseImageDependency |
withRepository(String repository)
Set the repository name.
|
BaseImageDependency |
withTag(String tag)
Set the tag name.
|
BaseImageDependency |
withType(BaseImageDependencyType type)
Set the type of the base image dependency.
|
public BaseImageDependencyType type()
public BaseImageDependency withType(BaseImageDependencyType type)
type
- the type value to setpublic String registry()
public BaseImageDependency withRegistry(String registry)
registry
- the registry value to setpublic String repository()
public BaseImageDependency withRepository(String repository)
repository
- the repository value to setpublic String tag()
public BaseImageDependency withTag(String tag)
tag
- the tag value to setpublic String digest()
public BaseImageDependency withDigest(String digest)
digest
- the digest value to setCopyright © 2019. All rights reserved.