Package com.google.cloud.tools.jib.image
Class Image
- java.lang.Object
-
- com.google.cloud.tools.jib.image.Image
-
public class Image extends java.lang.Object
Represents an image.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Image.Builder
Builds the immutableImage
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
builder
public static Image.Builder builder(java.lang.Class<? extends ManifestTemplate> imageFormat)
-
getImageFormat
public java.lang.Class<? extends ManifestTemplate> getImageFormat()
-
getCreated
@Nullable public java.time.Instant getCreated()
-
getArchitecture
public java.lang.String getArchitecture()
-
getOs
public java.lang.String getOs()
-
getEnvironment
@Nullable public com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> getEnvironment()
-
getEntrypoint
@Nullable public com.google.common.collect.ImmutableList<java.lang.String> getEntrypoint()
-
getProgramArguments
@Nullable public com.google.common.collect.ImmutableList<java.lang.String> getProgramArguments()
-
getHealthCheck
@Nullable public DockerHealthCheck getHealthCheck()
-
getExposedPorts
@Nullable public com.google.common.collect.ImmutableSet<com.google.cloud.tools.jib.api.buildplan.Port> getExposedPorts()
-
getVolumes
@Nullable public com.google.common.collect.ImmutableSet<com.google.cloud.tools.jib.api.buildplan.AbsoluteUnixPath> getVolumes()
-
getLabels
@Nullable public com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> getLabels()
-
getWorkingDirectory
@Nullable public java.lang.String getWorkingDirectory()
-
getUser
@Nullable public java.lang.String getUser()
-
getLayers
public com.google.common.collect.ImmutableList<Layer> getLayers()
-
getHistory
public com.google.common.collect.ImmutableList<HistoryEntry> getHistory()
-
-