Uses of Class
org.springframework.boot.buildpack.platform.docker.type.ImageReference
Package
Description
Central API for performing a buildpack build.
A limited Docker API providing the operations needed by pack.
Docker types.
-
Uses of ImageReference in org.springframework.boot.buildpack.platform.build
Modifier and TypeMethodDescriptionBuildRequest.getBuilder()
Return the builder that should be used.BuildRequest.getName()
Return the name of the image that should be created.BuildRequest.getRunImage()
Return the run image that should be used, if provided.Modifier and TypeMethodDescriptionBuildRequest.getTags()
Return the collection of tags that should be created.Modifier and TypeMethodDescriptionstatic BuildRequest
BuildRequest.forJarFile
(ImageReference name, File jarFile) Factory method to create a newBuildRequest
from a JAR file.static BuildRequest
BuildRequest.of
(ImageReference name, Function<Owner, TarArchive> applicationContent) Factory method to create a newBuildRequest
with specific content.AbstractBuildLog.pullingImage
(ImageReference imageReference, org.springframework.boot.buildpack.platform.build.ImageType imageType) BuildLog.pullingImage
(ImageReference imageReference, org.springframework.boot.buildpack.platform.build.ImageType imageType) Log that an image is being pulled.void
AbstractBuildLog.pushedImage
(ImageReference imageReference) void
BuildLog.pushedImage
(ImageReference imageReference) Log that an image has been pushed.AbstractBuildLog.pushingImage
(ImageReference imageReference) BuildLog.pushingImage
(ImageReference imageReference) Log that an image is being pushed.void
AbstractBuildLog.taggedImage
(ImageReference tag) void
BuildLog.taggedImage
(ImageReference tag) Log that a tag has been created.BuildRequest.withBuilder
(ImageReference builder) Return a newBuildRequest
with an updated builder.BuildRequest.withRunImage
(ImageReference runImageName) Return a newBuildRequest
with an updated run image.BuildRequest.withTags
(ImageReference... tags) Return a newBuildRequest
with updated tags.Modifier and TypeMethodDescriptionBuildRequest.withTags
(List<ImageReference> tags) Return a newBuildRequest
with updated tags. -
Uses of ImageReference in org.springframework.boot.buildpack.platform.docker
Modifier and TypeMethodDescriptionvoid
DockerApi.ImageApi.exportLayerFiles
(ImageReference reference, IOBiConsumer<String, Path> exports) Deprecated, for removal: This API element is subject to removal in a future version.void
DockerApi.ImageApi.exportLayers
(ImageReference reference, IOBiConsumer<String, TarArchive> exports) Export the layers of an image asTarArchives
.DockerApi.ImageApi.inspect
(ImageReference reference) Inspect an image.DockerApi.ImageApi.pull
(ImageReference reference, UpdateListener<PullImageUpdateEvent> listener) Pull an image from a registry.DockerApi.ImageApi.pull
(ImageReference reference, UpdateListener<PullImageUpdateEvent> listener, String registryAuth) Pull an image from a registry.void
DockerApi.ImageApi.push
(ImageReference reference, UpdateListener<PushImageUpdateEvent> listener, String registryAuth) Push an image to a registry.void
DockerApi.ImageApi.remove
(ImageReference reference, boolean force) Remove a specific image.void
DockerApi.ImageApi.tag
(ImageReference sourceReference, ImageReference targetReference) -
Uses of ImageReference in org.springframework.boot.buildpack.platform.docker.type
Modifier and TypeMethodDescriptionstatic ImageReference
ImageReference.forJarFile
(File jarFile) Create a newImageReference
instance deduced from a source JAR file that follows common Java naming conventions.ImageArchive.getTag()
Return the tag of the archive.ImageReference.inTaggedForm()
Return anImageReference
in the form"imagename:tag"
.ImageReference.inTaggedOrDigestForm()
Return anImageReference
containing either a tag or a digest.ImageReference.inTaglessForm()
Return anImageReference
without the tag.static ImageReference
Create a newImageReference
from the given value.static ImageReference
Create a newImageReference
from the givenImageName
.static ImageReference
Create a newImageReference
from the givenImageName
and tag.static ImageReference
Create a newImageReference
from the givenImageName
, tag and digest.static ImageReference
Generate an image name with a random suffix.static ImageReference
Generate an image name with a random suffix.ImageReference.withDigest
(String digest) Create a newImageReference
with an updated digest.Modifier and TypeMethodDescriptionstatic ContainerConfig
ContainerConfig.of
(ImageReference imageReference, Consumer<ContainerConfig.Update> update) Factory method to create aContainerConfig
with specific settings.void
ImageArchive.Update.withTag
(ImageReference tag) Set the tag for the image archive.
DockerApi.ImageApi.exportLayers(ImageReference, IOBiConsumer)