Package | Description |
---|---|
org.springframework.boot.buildpack.platform.build |
Central API for performing a buildpack build.
|
org.springframework.boot.buildpack.platform.docker |
A limited Docker API providing the operations needed by pack.
|
org.springframework.boot.buildpack.platform.docker.type |
Docker types.
|
Modifier and Type | Method and Description |
---|---|
ImageReference |
BuildRequest.getBuilder()
Return the builder that should be used.
|
ImageReference |
BuildRequest.getName()
Return the name of the image that should be created.
|
ImageReference |
BuildRequest.getRunImage()
Return the run image that should be used, if provided.
|
Modifier and Type | Method and Description |
---|---|
List<ImageReference> |
BuildRequest.getTags()
Return the collection of tags that should be created.
|
Modifier and Type | Method and Description |
---|---|
static BuildRequest |
BuildRequest.forJarFile(ImageReference name,
File jarFile)
Factory method to create a new
BuildRequest from a JAR file. |
static BuildRequest |
BuildRequest.of(ImageReference name,
Function<Owner,TarArchive> applicationContent)
Factory method to create a new
BuildRequest with specific content. |
Consumer<TotalProgressEvent> |
BuildLog.pullingImage(ImageReference imageReference,
org.springframework.boot.buildpack.platform.build.ImageType imageType)
Log that an image is being pulled.
|
Consumer<TotalProgressEvent> |
AbstractBuildLog.pullingImage(ImageReference imageReference,
org.springframework.boot.buildpack.platform.build.ImageType imageType) |
void |
BuildLog.pushedImage(ImageReference imageReference)
Log that an image has been pushed.
|
void |
AbstractBuildLog.pushedImage(ImageReference imageReference) |
Consumer<TotalProgressEvent> |
BuildLog.pushingImage(ImageReference imageReference)
Log that an image is being pushed.
|
Consumer<TotalProgressEvent> |
AbstractBuildLog.pushingImage(ImageReference imageReference) |
void |
BuildLog.taggedImage(ImageReference tag)
Log that a tag has been created.
|
void |
AbstractBuildLog.taggedImage(ImageReference tag) |
BuildRequest |
BuildRequest.withBuilder(ImageReference builder)
Return a new
BuildRequest with an updated builder. |
BuildRequest |
BuildRequest.withRunImage(ImageReference runImageName)
Return a new
BuildRequest with an updated run image. |
BuildRequest |
BuildRequest.withTags(ImageReference... tags)
Return a new
BuildRequest with updated tags. |
Modifier and Type | Method and Description |
---|---|
BuildRequest |
BuildRequest.withTags(List<ImageReference> tags)
Return a new
BuildRequest with updated tags. |
Modifier and Type | Method and Description |
---|---|
void |
DockerApi.ImageApi.exportLayers(ImageReference reference,
IOBiConsumer<String,TarArchive> exports)
Export the layers of an image.
|
Image |
DockerApi.ImageApi.inspect(ImageReference reference)
Inspect an image.
|
Image |
DockerApi.ImageApi.pull(ImageReference reference,
UpdateListener<PullImageUpdateEvent> listener)
Pull an image from a registry.
|
Image |
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) |
Modifier and Type | Method and Description |
---|---|
static ImageReference |
ImageReference.forJarFile(File jarFile)
Create a new
ImageReference instance deduced from a source JAR file that
follows common Java naming conventions. |
ImageReference |
ImageArchive.getTag()
Return the tag of the archive.
|
ImageReference |
ImageReference.inTaggedForm()
Return an
ImageReference in the form "imagename:tag" . |
ImageReference |
ImageReference.inTaggedOrDigestForm()
Return an
ImageReference containing either a tag or a digest. |
static ImageReference |
ImageReference.of(ImageName name)
Create a new
ImageReference from the given ImageName . |
static ImageReference |
ImageReference.of(ImageName name,
String tag)
Create a new
ImageReference from the given ImageName and tag. |
static ImageReference |
ImageReference.of(ImageName name,
String tag,
String digest)
Create a new
ImageReference from the given ImageName , tag and
digest. |
static ImageReference |
ImageReference.of(String value)
Create a new
ImageReference from the given value. |
static ImageReference |
ImageReference.random(String prefix)
Generate an image name with a random suffix.
|
static ImageReference |
ImageReference.random(String prefix,
int randomLength)
Generate an image name with a random suffix.
|
ImageReference |
ImageReference.withDigest(String digest)
Create a new
ImageReference with an updated digest. |
Modifier and Type | Method and Description |
---|---|
static ContainerConfig |
ContainerConfig.of(ImageReference imageReference,
Consumer<ContainerConfig.Update> update)
Factory method to create a
ContainerConfig with specific settings. |
void |
ImageArchive.Update.withTag(ImageReference tag)
Set the tag for the image archive.
|