public class DockerImageMetadata extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
command()
Returns default container command on Config/Cmd path
|
Map<String,String> |
envs()
Returns image environments of Config/Env path
|
Set<Integer> |
exposedPorts(String protocol)
Returns integer set of exposed ports by specified protocol (eg.
|
static DockerImageMetadata |
get(OpenShift openShift,
Image image)
Get docker image metadata for image in openshift namespace.
|
static DockerImageMetadata |
get(OpenShift openShift,
String imageUrl)
Get docker image metadata for image in openshift namespace.
|
Map<String,String> |
labels()
Returns image labels of Config/Labels path
|
public static DockerImageMetadata get(OpenShift openShift, String imageUrl)
public static DockerImageMetadata get(OpenShift openShift, Image image)
public Map<String,String> labels()
public Map<String,String> envs()
public String command()
Copyright © 2021. All rights reserved.