public class ImageDescriptor extends Object
| Constructor | Description |
|---|---|
ImageDescriptor() |
| Modifier and Type | Method | 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.
|
ImageDescriptor |
withDigest(String digest) |
Set the sha256-based digest of the image manifest.
|
ImageDescriptor |
withRegistry(String registry) |
Set the registry login server.
|
ImageDescriptor |
withRepository(String repository) |
Set the repository name.
|
ImageDescriptor |
withTag(String tag) |
Set the tag name.
|
public String registry()
public ImageDescriptor withRegistry(String registry)
registry - the registry value to setpublic String repository()
public ImageDescriptor withRepository(String repository)
repository - the repository value to setpublic String tag()
public ImageDescriptor withTag(String tag)
tag - the tag value to setpublic String digest()
public ImageDescriptor withDigest(String digest)
digest - the digest 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.
*/