public class Image
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Image.Builder
Builds the immutable
Image . |
Modifier and Type | Method and Description |
---|---|
static Image.Builder |
builder(java.lang.Class<? extends ManifestTemplate> imageFormat) |
java.lang.String |
getArchitecture() |
java.time.Instant |
getCreated() |
com.google.common.collect.ImmutableList<java.lang.String> |
getEntrypoint() |
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> |
getEnvironment() |
com.google.common.collect.ImmutableSet<com.google.cloud.tools.jib.api.buildplan.Port> |
getExposedPorts() |
DockerHealthCheck |
getHealthCheck() |
com.google.common.collect.ImmutableList<HistoryEntry> |
getHistory() |
java.lang.Class<? extends ManifestTemplate> |
getImageFormat() |
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> |
getLabels() |
com.google.common.collect.ImmutableList<Layer> |
getLayers() |
java.lang.String |
getOs() |
com.google.common.collect.ImmutableList<java.lang.String> |
getProgramArguments() |
java.lang.String |
getUser() |
com.google.common.collect.ImmutableSet<com.google.cloud.tools.jib.api.buildplan.AbsoluteUnixPath> |
getVolumes() |
java.lang.String |
getWorkingDirectory() |
public static Image.Builder builder(java.lang.Class<? extends ManifestTemplate> imageFormat)
public java.lang.Class<? extends ManifestTemplate> getImageFormat()
@Nullable public java.time.Instant getCreated()
public java.lang.String getArchitecture()
public java.lang.String getOs()
@Nullable public com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> getEnvironment()
@Nullable public com.google.common.collect.ImmutableList<java.lang.String> getEntrypoint()
@Nullable public com.google.common.collect.ImmutableList<java.lang.String> getProgramArguments()
@Nullable public DockerHealthCheck getHealthCheck()
@Nullable public com.google.common.collect.ImmutableSet<com.google.cloud.tools.jib.api.buildplan.Port> getExposedPorts()
@Nullable public com.google.common.collect.ImmutableSet<com.google.cloud.tools.jib.api.buildplan.AbsoluteUnixPath> getVolumes()
@Nullable public com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> getLabels()
@Nullable public java.lang.String getWorkingDirectory()
@Nullable public java.lang.String getUser()
public com.google.common.collect.ImmutableList<Layer> getLayers()
public com.google.common.collect.ImmutableList<HistoryEntry> getHistory()