public class ImportImageParameters extends Object
| Constructor | Description |
|---|---|
ImportImageParameters() |
| Modifier and Type | Method | 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 set /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/