| Modifier and Type | Method and Description |
|---|---|
static ImageReference |
ImageReference.of(String registry,
String repository,
String tag)
Constructs an
ImageReference from the image reference components, consisting of an
optional registry, a repository, and an optional tag. |
static ImageReference |
ImageReference.parse(String reference)
Parses a string
reference into an ImageReference. |
static ImageReference |
ImageReference.scratch()
Constructs an
ImageReference with an empty registry and tag component, and repository
set to "scratch". |
ImageReference |
ImageReference.withTag(String newTag)
Gets an
ImageReference with the same registry and repository, but a different tag. |
| Modifier and Type | Method and Description |
|---|---|
static JavaContainerBuilder |
JavaContainerBuilder.from(ImageReference baseImageReference)
Creates a new
JavaContainerBuilder with the specified base image reference. |
static JibContainerBuilder |
Jib.from(ImageReference baseImageReference)
Starts building the container from a base image.
|
static TarImage.Builder |
TarImage.named(ImageReference imageReference)
Configures the output tarball archive with an image reference.
|
static DockerDaemonImage |
DockerDaemonImage.named(ImageReference imageReference)
Instantiate with the image reference to tag the built image with.
|
static RegistryImage |
RegistryImage.named(ImageReference imageReference)
Instantiate with the image reference to use.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ManifestAndConfig> |
Cache.retrieveMetadata(ImageReference imageReference)
Retrieves the cached manifest and container configuration for an image reference.
|
void |
Cache.writeMetadata(ImageReference imageReference,
BuildableManifestTemplate manifestTemplate,
ContainerConfigurationTemplate containerConfigurationTemplate)
Saves a manifest and container configuration for a V2.2 or OCI image.
|
void |
Cache.writeMetadata(ImageReference imageReference,
V21ManifestTemplate manifestTemplate)
Saves a V2.1 image manifest.
|
| Modifier and Type | Method and Description |
|---|---|
ImageReference |
ImageConfiguration.getImage() |
| Modifier and Type | Method and Description |
|---|---|
static ImageConfiguration.Builder |
ImageConfiguration.builder(ImageReference imageReference)
Constructs a builder for an
ImageConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
void |
DockerClient.save(ImageReference imageReference,
Path outputPath)
Saves an image tarball from the Docker daemon.
|
void |
DockerClient.tag(ImageReference originalImageReference,
ImageReference newImageReference)
Tags the image referenced by
originalImageReference with a new image reference newImageReference. |
| Constructor and Description |
|---|
ImageTarball(Image image,
ImageReference imageReference)
Instantiate with an
Image. |
| Modifier and Type | Method and Description |
|---|---|
static CredentialRetrieverFactory |
CredentialRetrieverFactory.forImage(ImageReference imageReference,
Consumer<LogEvent> logger)
Creates a new
CredentialRetrieverFactory for an image. |
| Modifier and Type | Method and Description |
|---|---|
static ImageReference |
ConfigurationPropertyValidator.getGeneratedTargetDockerTag(String targetImage,
ProjectProperties projectProperties,
HelpfulSuggestions helpfulSuggestions)
Returns an
ImageReference parsed from the configured target image, or one of the form
project-name:project-version if target image is not configured |
| Modifier and Type | Method and Description |
|---|---|
static JibBuildRunner |
JibBuildRunner.forBuildImage(JibContainerBuilder jibContainerBuilder,
Containerizer containerizer,
Consumer<LogEvent> logger,
HelpfulSuggestions helpfulSuggestions,
ImageReference targetImageReference,
Set<String> additionalTags)
Creates a runner to build an image.
|
static JibBuildRunner |
JibBuildRunner.forBuildToDockerDaemon(JibContainerBuilder jibContainerBuilder,
Containerizer containerizer,
Consumer<LogEvent> logger,
HelpfulSuggestions helpfulSuggestions,
ImageReference targetImageReference,
Set<String> additionalTags)
Creates a runner to build to the Docker daemon.
|
Copyright © 2019. All rights reserved.