public class ImportImageParameters extends Object
Constructor and Description |
---|
ImportImageParameters() |
Modifier and Type | Method and Description |
---|---|
ImportMode |
mode()
Get when Force, any existing target tags will be overwritten.
|
ImportSource |
source()
Get the source of the image.
|
List<String> |
targetTags()
Get list of strings of the form repo[:tag].
|
List<String> |
untaggedTargetRepositories()
Get list of strings of repository names to do a manifest only copy.
|
ImportImageParameters |
withMode(ImportMode mode)
Set when Force, any existing target tags will be overwritten.
|
ImportImageParameters |
withSource(ImportSource source)
Set the source of the image.
|
ImportImageParameters |
withTargetTags(List<String> targetTags)
Set list of strings of the form repo[:tag].
|
ImportImageParameters |
withUntaggedTargetRepositories(List<String> untaggedTargetRepositories)
Set list of strings of repository names to do a manifest only copy.
|
public ImportSource source()
public ImportImageParameters withSource(ImportSource source)
source
- the source value to setpublic List<String> targetTags()
public ImportImageParameters withTargetTags(List<String> targetTags)
targetTags
- the targetTags value to setpublic List<String> untaggedTargetRepositories()
public ImportImageParameters withUntaggedTargetRepositories(List<String> untaggedTargetRepositories)
untaggedTargetRepositories
- the untaggedTargetRepositories value to setpublic ImportMode mode()
public ImportImageParameters withMode(ImportMode mode)
mode
- the mode value to setCopyright © 2019. All rights reserved.