Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W Z 

A

AbsoluteUnixPath - Class in com.google.cloud.tools.jib.api
Represents a Unix-style path in absolute form (containing all path components relative to the file system root /).
accept(ProgressEvent) - Method in class com.google.cloud.tools.jib.event.progress.ProgressEventHandler
 
accept(Long) - Method in class com.google.cloud.tools.jib.event.progress.ThrottledAccumulatingConsumer
 
accept(Path) - Method in interface com.google.cloud.tools.jib.filesystem.PathConsumer
 
accept(TimerEvent) - Method in class com.google.cloud.tools.jib.plugins.common.TimerEventHandler
 
action(Retry.Action<E>) - Static method in class com.google.cloud.tools.jib.cache.Retry
Create a retryable action.
add(Class<E>, Consumer<? super E>) - Method in class com.google.cloud.tools.jib.event.EventHandlers.Builder
Adds the eventConsumer to handle the JibEvent with class eventClass.
addBlobEntry(Blob, long, String) - Method in class com.google.cloud.tools.jib.tar.TarStreamBuilder
Adds a blob to the archive.
addBuild(Path) - Method in class com.google.cloud.tools.jib.plugins.common.SkaffoldFilesOutput
Adds a build file/directory.
addByteEntry(byte[], String) - Method in class com.google.cloud.tools.jib.tar.TarStreamBuilder
Adds a blob to the archive.
addClasses(Path) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds the contents of a classes directory to the image.
addClasses(Path, Predicate<Path>) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds the contents of a classes directory to the image.
addCredential(String, String) - Method in class com.google.cloud.tools.jib.api.RegistryImage
Adds a username-password credential to use to push/pull the image.
addCredentialRetriever(CredentialRetriever) - Method in class com.google.cloud.tools.jib.api.RegistryImage
Adds CredentialRetriever to fetch push/pull credentials for the image.
addDependencies(List<Path>) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds dependency JARs to the image.
addDependencies(Path...) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds dependency JARs to the image.
addEntry(LayerEntry) - Method in class com.google.cloud.tools.jib.api.LayerConfiguration.Builder
Adds an entry to the layer.
addEntry(Path, AbsoluteUnixPath) - Method in class com.google.cloud.tools.jib.api.LayerConfiguration.Builder
Adds an entry to the layer.
addEntry(Path, AbsoluteUnixPath, FilePermissions) - Method in class com.google.cloud.tools.jib.api.LayerConfiguration.Builder
Adds an entry to the layer with the given permissions.
addEntry(Path, AbsoluteUnixPath, Instant) - Method in class com.google.cloud.tools.jib.api.LayerConfiguration.Builder
Adds an entry to the layer with the given file modification time.
addEntry(Path, AbsoluteUnixPath, FilePermissions, Instant) - Method in class com.google.cloud.tools.jib.api.LayerConfiguration.Builder
Adds an entry to the layer with the given permissions and file modification time.
addEntryRecursive(Path, AbsoluteUnixPath) - Method in class com.google.cloud.tools.jib.api.LayerConfiguration.Builder
Adds an entry to the layer.
addEntryRecursive(Path, AbsoluteUnixPath, BiFunction<Path, AbsoluteUnixPath, FilePermissions>) - Method in class com.google.cloud.tools.jib.api.LayerConfiguration.Builder
Adds an entry to the layer.
addEntryRecursive(Path, AbsoluteUnixPath, BiFunction<Path, AbsoluteUnixPath, FilePermissions>, BiFunction<Path, AbsoluteUnixPath, Instant>) - Method in class com.google.cloud.tools.jib.api.LayerConfiguration.Builder
Adds an entry to the layer.
addEnvironment(String, String) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
 
addEnvironment(Map<String, String>) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Adds a map of environment variables to the current map.
addEnvironmentVariable(String, String) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets a variable in the container environment.
addEnvironmentVariable(String, String) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Adds an environment variable with a given name and value.
addError(ErrorEntryTemplate) - Method in class com.google.cloud.tools.jib.registry.json.ErrorResponseTemplate
 
addEventHandler(Class<E>, Consumer<? super E>) - Method in class com.google.cloud.tools.jib.api.Containerizer
Adds the eventConsumer to handle the JibEvent with class eventType.
addEventHandler(Consumer<JibEvent>) - Method in class com.google.cloud.tools.jib.api.Containerizer
Adds the eventConsumer to handle all JibEvent types.
addExposedPort(Port) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Adds a port to expose from the container.
addExposedPort(Port) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
 
addExposedPorts(Set<Port>) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Adds items to the "ExposedPorts" field in the container configuration.
addHistory(HistoryEntry) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Adds a history element to the image.
addHistoryEntry(HistoryEntry) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
addIgnore(Path) - Method in class com.google.cloud.tools.jib.plugins.common.SkaffoldFilesOutput
Adds an ignored file/directory.
addInput(Path) - Method in class com.google.cloud.tools.jib.plugins.common.SkaffoldFilesOutput
Adds an input file/directory.
addJvmFlag(String) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds a JVM flag to use when starting the application.
addJvmFlags(List<String>) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds JVM flags to use when starting the application.
addJvmFlags(String...) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds JVM flags to use when starting the application.
addLabel(String, String) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets a label for the container.
addLabel(String, String) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
 
addLabel(String, String) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Adds an item to the "Labels" field in the container configuration.
addLabels(Map<String, String>) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Adds items to the "Labels" field in the container configuration.
addLayer(List<Path>, AbsoluteUnixPath) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Adds a new layer to the container with files as the source files and pathInContainer as the path to copy the source files to in the container file system.
addLayer(List<Path>, String) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Adds a new layer to the container with files as the source files and pathInContainer as the path to copy the source files to in the container file system.
addLayer(LayerConfiguration) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Adds a layer (defined by a LayerConfiguration).
addLayer(Layer) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Adds a layer to the image.
addLayer(long, DescriptorDigest) - Method in interface com.google.cloud.tools.jib.image.json.BuildableManifestTemplate
Adds a layer to the manifest.
addLayer(long, DescriptorDigest) - Method in class com.google.cloud.tools.jib.image.json.OCIManifestTemplate
 
addLayer(long, DescriptorDigest) - Method in class com.google.cloud.tools.jib.image.json.V22ManifestTemplate
 
addLayerDiffId(DescriptorDigest) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
addLayerFile(String) - Method in class com.google.cloud.tools.jib.docker.json.DockerManifestEntryTemplate
 
addProjectDependencies(List<Path>) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds project dependency JARs to the image.
addProjectDependencies(Path...) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds project dependency JARs to the image.
addResources(Path) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds the contents of a resources directory to the image.
addResources(Path, Predicate<Path>) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds the contents of a resources directory to the image.
addSnapshotDependencies(List<Path>) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds snapshot dependency JARs to the image.
addSnapshotDependencies(Path...) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds snapshot dependency JARs to the image.
addTarArchiveEntry(TarArchiveEntry) - Method in class com.google.cloud.tools.jib.tar.TarStreamBuilder
Adds a TarArchiveEntry to the archive.
addToClasspath(List<Path>) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds additional files to the classpath.
addToClasspath(Path...) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Adds additional files to the classpath.
addVolume(AbsoluteUnixPath) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Adds a directory that may hold an externally mounted volume.
addVolume(AbsoluteUnixPath) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
 
addVolumes(Set<AbsoluteUnixPath>) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Adds items to the "Volumes" field in the container configuration.
Allocation - Class in com.google.cloud.tools.jib.event.progress
Represents a Decentralized Allocation Tree (DAT) node.
ALLOW_INSECURE_REGISTRIES - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
alwaysCacheBaseImage() - Static method in class com.google.cloud.tools.jib.global.JibSystemProperties
Gets whether to always cache base image layers.
APPLICATION_CACHE - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
asList() - Method in class com.google.cloud.tools.jib.plugins.common.DefaultCredentialRetrievers
Makes a list of CredentialRetrievers.
authenticatePull(Credential) - Method in class com.google.cloud.tools.jib.registry.RegistryAuthenticator
Authenticates permissions to pull.
authenticatePush(Credential) - Method in class com.google.cloud.tools.jib.registry.RegistryAuthenticator
Authenticates permission to pull and push.
Authorization - Class in com.google.cloud.tools.jib.http
Holds the credentials for an HTTP Authorization header.
AuthProperty - Interface in com.google.cloud.tools.jib.plugins.common
Holds a username and password property.
AuthTemplate() - Constructor for class com.google.cloud.tools.jib.registry.credentials.json.DockerConfigTemplate.AuthTemplate
 

B

BadContainerConfigurationFormatException - Exception in com.google.cloud.tools.jib.image.json
Exception thrown when trying to parse a bad image configuration format.
BASE_IMAGE_CACHE - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
begin(BuildConfiguration) - Static method in class com.google.cloud.tools.jib.builder.steps.StepsRunner
Starts building the steps to run.
Blob - Interface in com.google.cloud.tools.jib.blob
Holds a BLOB source for writing to an OutputStream.
BlobDescriptor - Class in com.google.cloud.tools.jib.blob
Contains properties describing a BLOB, including its digest and possibly its size (in bytes).
BlobDescriptor(long, DescriptorDigest) - Constructor for class com.google.cloud.tools.jib.blob.BlobDescriptor
 
BlobDescriptor(DescriptorDigest) - Constructor for class com.google.cloud.tools.jib.blob.BlobDescriptor
Initialize with just digest.
BlobHttpContent - Class in com.google.cloud.tools.jib.http
Blob-backed HttpContent.
BlobHttpContent(Blob, String) - Constructor for class com.google.cloud.tools.jib.http.BlobHttpContent
 
BlobHttpContent(Blob, String, Consumer<Long>) - Constructor for class com.google.cloud.tools.jib.http.BlobHttpContent
 
Blobs - Class in com.google.cloud.tools.jib.blob
Static methods for Blob.
build() - Method in class com.google.cloud.tools.jib.api.LayerConfiguration.Builder
Returns the built LayerConfiguration.
build() - Method in class com.google.cloud.tools.jib.cache.CachedLayer.Builder
 
build() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Builds a new BuildConfiguration using the parameters passed into the builder.
build() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
build() - Method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck.Builder
 
build() - Method in class com.google.cloud.tools.jib.configuration.ImageConfiguration.Builder
Builds the ImageConfiguration.
build() - Method in class com.google.cloud.tools.jib.event.EventHandlers.Builder
 
build() - Method in class com.google.cloud.tools.jib.http.Request.Builder
 
build() - Method in class com.google.cloud.tools.jib.image.Image.Builder
 
build() - Method in class com.google.cloud.tools.jib.image.json.HistoryEntry.Builder
 
build() - Method in class com.google.cloud.tools.jib.image.ReproducibleLayerBuilder
Builds and returns the layer Blob.
build() - Method in class com.google.cloud.tools.jib.plugins.common.logging.ConsoleLoggerBuilder
Builds the ConsoleLogger.
BuildableManifestTemplate - Interface in com.google.cloud.tools.jib.image.json
Parent class for image manifest JSON templates that can be built.
BuildableManifestTemplate.ContentDescriptorTemplate - Class in com.google.cloud.tools.jib.image.json
Template for inner JSON object representing content descriptor for a layer or container configuration.
BuildConfiguration - Class in com.google.cloud.tools.jib.configuration
Immutable configuration options for the builder process.
BuildConfiguration.Builder - Class in com.google.cloud.tools.jib.configuration
Builds an immutable BuildConfiguration.
BuildDockerMojo - Class in com.google.cloud.tools.jib.maven
Builds a container image and exports to the default Docker daemon.
BuildDockerMojo() - Constructor for class com.google.cloud.tools.jib.maven.BuildDockerMojo
 
BuildDockerMojo.DockerClientConfiguration - Class in com.google.cloud.tools.jib.maven
Object that configures the Docker executable and the additional environment variables to use when executing the executable.
builder() - Static method in class com.google.cloud.tools.jib.api.LayerConfiguration
builder() - Static method in class com.google.cloud.tools.jib.cache.CachedLayer
Creates a new CachedLayer.Builder for a CachedLayer.
builder() - Static method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
builder() - Static method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
Constructs a builder for a ContainerConfiguration.
builder(ImageReference) - Static method in class com.google.cloud.tools.jib.configuration.ImageConfiguration
Constructs a builder for an ImageConfiguration.
builder() - Static method in class com.google.cloud.tools.jib.event.EventHandlers
Creates a new EventHandlers.Builder.
Builder() - Constructor for class com.google.cloud.tools.jib.event.EventHandlers.Builder
 
builder() - Static method in class com.google.cloud.tools.jib.http.Request
 
Builder() - Constructor for class com.google.cloud.tools.jib.http.Request.Builder
 
builder(Class<? extends ManifestTemplate>) - Static method in class com.google.cloud.tools.jib.image.Image
 
builder() - Static method in class com.google.cloud.tools.jib.image.json.HistoryEntry
Creates a builder for a HistoryEntry.
BuildImageMojo - Class in com.google.cloud.tools.jib.maven
Builds a container image.
BuildImageMojo() - Constructor for class com.google.cloud.tools.jib.maven.BuildImageMojo
 
BuildResult - Class in com.google.cloud.tools.jib.builder.steps
Used to record the results of a build.
BuildStepsExecutionException - Exception in com.google.cloud.tools.jib.plugins.common
Wraps an exception that happens during containerization.
BuildTarMojo - Class in com.google.cloud.tools.jib.maven
Builds a container image and exports to disk at ${project.build.directory}/jib-image.tar.
BuildTarMojo() - Constructor for class com.google.cloud.tools.jib.maven.BuildTarMojo
 

C

Cache - Class in com.google.cloud.tools.jib.cache
Cache for storing data to be shared between Jib executions.
CACHE_DIRECTORY_NAME - Static variable in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
Directory name for the cache.
CacheCorruptedException - Exception in com.google.cloud.tools.jib.cache
Thrown if the the cache was found to be corrupted.
CacheDirectoryCreationException - Exception in com.google.cloud.tools.jib.api
Thrown when a directory to be used as the cache could not be created.
CacheDirectoryCreationException(Throwable) - Constructor for exception com.google.cloud.tools.jib.api.CacheDirectoryCreationException
 
CachedLayer - Class in com.google.cloud.tools.jib.cache
Default implementation of CachedLayer.
CachedLayer.Builder - Class in com.google.cloud.tools.jib.cache
Builds a CachedLayer.
call() - Method in class com.google.cloud.tools.jib.builder.steps.ExtractTarStep
 
call() - Method in class com.google.cloud.tools.jib.builder.steps.SaveDockerStep
 
call() - Method in class com.google.cloud.tools.jib.builder.steps.WriteTarFileStep
 
checkBlob(DescriptorDigest) - Method in class com.google.cloud.tools.jib.registry.RegistryClient
 
checkHttpTimeoutProperty() - Static method in class com.google.cloud.tools.jib.global.JibSystemProperties
Checks the jib.httpTimeout system property for invalid (non-integer or negative) values.
checkJibVersion() - Method in class com.google.cloud.tools.jib.maven.JibPluginConfiguration
 
checkJibVersion(PluginDescriptor) - Static method in class com.google.cloud.tools.jib.maven.MojoCommon
Check that the actual version satisfies required Jib version range when specified.
CheckJibVersionMojo - Class in com.google.cloud.tools.jib.maven.skaffold
This internal Skaffold-related goal checks that the Jib plugin version is within some specified range.
CheckJibVersionMojo() - Constructor for class com.google.cloud.tools.jib.maven.skaffold.CheckJibVersionMojo
 
checkProxyPortProperty() - Static method in class com.google.cloud.tools.jib.global.JibSystemProperties
Checks if http.proxyPort and https.proxyPort system properties are in the [0..65535] range when set.
close() - Method in class com.google.cloud.tools.jib.builder.ProgressEventDispatcher
Emits the remaining allocation units as progress units in a ProgressEvent.
close() - Method in class com.google.cloud.tools.jib.builder.TimerEventDispatcher
Laps and dispatches a TimerEvent.State.FINISHED TimerEvent upon close.
close() - Method in class com.google.cloud.tools.jib.event.progress.ThrottledAccumulatingConsumer
 
close() - Method in class com.google.cloud.tools.jib.filesystem.LockFile
Releases the lock file.
close() - Method in class com.google.cloud.tools.jib.filesystem.TemporaryDirectory
 
close() - Method in class com.google.cloud.tools.jib.http.Connection
 
close() - Method in class com.google.cloud.tools.jib.http.NotifyingOutputStream
 
com.google.cloud.tools.jib - package com.google.cloud.tools.jib
 
com.google.cloud.tools.jib.api - package com.google.cloud.tools.jib.api
 
com.google.cloud.tools.jib.blob - package com.google.cloud.tools.jib.blob
 
com.google.cloud.tools.jib.builder - package com.google.cloud.tools.jib.builder
 
com.google.cloud.tools.jib.builder.steps - package com.google.cloud.tools.jib.builder.steps
 
com.google.cloud.tools.jib.cache - package com.google.cloud.tools.jib.cache
 
com.google.cloud.tools.jib.configuration - package com.google.cloud.tools.jib.configuration
 
com.google.cloud.tools.jib.docker - package com.google.cloud.tools.jib.docker
 
com.google.cloud.tools.jib.docker.json - package com.google.cloud.tools.jib.docker.json
 
com.google.cloud.tools.jib.event - package com.google.cloud.tools.jib.event
 
com.google.cloud.tools.jib.event.events - package com.google.cloud.tools.jib.event.events
 
com.google.cloud.tools.jib.event.progress - package com.google.cloud.tools.jib.event.progress
 
com.google.cloud.tools.jib.filesystem - package com.google.cloud.tools.jib.filesystem
 
com.google.cloud.tools.jib.frontend - package com.google.cloud.tools.jib.frontend
 
com.google.cloud.tools.jib.global - package com.google.cloud.tools.jib.global
 
com.google.cloud.tools.jib.hash - package com.google.cloud.tools.jib.hash
 
com.google.cloud.tools.jib.http - package com.google.cloud.tools.jib.http
 
com.google.cloud.tools.jib.image - package com.google.cloud.tools.jib.image
 
com.google.cloud.tools.jib.image.json - package com.google.cloud.tools.jib.image.json
 
com.google.cloud.tools.jib.json - package com.google.cloud.tools.jib.json
 
com.google.cloud.tools.jib.maven - package com.google.cloud.tools.jib.maven
 
com.google.cloud.tools.jib.maven.skaffold - package com.google.cloud.tools.jib.maven.skaffold
 
com.google.cloud.tools.jib.plugins.common - package com.google.cloud.tools.jib.plugins.common
 
com.google.cloud.tools.jib.plugins.common.logging - package com.google.cloud.tools.jib.plugins.common.logging
 
com.google.cloud.tools.jib.registry - package com.google.cloud.tools.jib.registry
 
com.google.cloud.tools.jib.registry.credentials - package com.google.cloud.tools.jib.registry.credentials
 
com.google.cloud.tools.jib.registry.credentials.json - package com.google.cloud.tools.jib.registry.credentials.json
 
com.google.cloud.tools.jib.registry.json - package com.google.cloud.tools.jib.registry.json
 
com.google.cloud.tools.jib.tar - package com.google.cloud.tools.jib.tar
 
compatibleVersion(String, String) - Method in class com.google.cloud.tools.jib.plugins.common.VersionChecker
Return true if actualVersion is contained within the version range represented by acceptableVersionRange.
compress(Blob) - Static method in class com.google.cloud.tools.jib.blob.Blobs
Gets a Blob that is blob compressed.
computeDigest() - Method in class com.google.cloud.tools.jib.hash.CountingDigestOutputStream
Computes the hash and returns it along with the size of the bytes written to compute the hash.
computeDigest(JsonTemplate) - Static method in class com.google.cloud.tools.jib.hash.Digests
 
computeDigest(JsonTemplate, OutputStream) - Static method in class com.google.cloud.tools.jib.hash.Digests
 
computeDigest(InputStream) - Static method in class com.google.cloud.tools.jib.hash.Digests
 
computeDigest(WritableContents) - Static method in class com.google.cloud.tools.jib.hash.Digests
Computes the digest by consuming the contents.
computeDigest(InputStream, OutputStream) - Static method in class com.google.cloud.tools.jib.hash.Digests
Computes the digest by consuming the contents of an InputStream while copying it to an OutputStream.
computeDigest(WritableContents, OutputStream) - Static method in class com.google.cloud.tools.jib.hash.Digests
Computes the digest by consuming the contents while copying it to an OutputStream.
computeJsonDigest(JsonTemplate) - Static method in class com.google.cloud.tools.jib.hash.Digests
 
computeJsonDigest(List<? extends JsonTemplate>) - Static method in class com.google.cloud.tools.jib.hash.Digests
 
ConfigurationPropertyValidator - Class in com.google.cloud.tools.jib.plugins.common
Validator for plugin configuration parameters and system properties.
configureEventHandlers(Containerizer) - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
configureEventHandlers(Containerizer) - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
Adds the plugin's event handlers to a containerizer.
Connection - Class in com.google.cloud.tools.jib.http
Sends an HTTP Request and stores the Response.
CONSOLE - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
ConsoleLogger - Interface in com.google.cloud.tools.jib.plugins.common.logging
Logs messages to the console.
ConsoleLoggerBuilder - Class in com.google.cloud.tools.jib.plugins.common.logging
Builds a ConsoleLogger.
CONTAINER_APP_ROOT - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_ARGS - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_CREATION_TIME - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_ENTRYPOINT - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_ENVIRONMENT - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_EXTRA_CLASSPATH - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_FILES_MODIFICATION_TIME - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_FORMAT - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_JVM_FLAGS - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_LABELS - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_MAIN_CLASS - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_PORTS - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_USE_CURRENT_TIMESTAMP - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
Deprecated.
CONTAINER_USER - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_VOLUMES - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
CONTAINER_WORKING_DIRECTORY - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
ContainerConfiguration - Class in com.google.cloud.tools.jib.configuration
Immutable configuration options for the container.
ContainerConfiguration.Builder - Class in com.google.cloud.tools.jib.configuration
Builder for instantiating a ContainerConfiguration.
ContainerConfigurationTemplate - Class in com.google.cloud.tools.jib.image.json
JSON Template for Docker Container Configuration referenced in Docker Manifest Schema V2.2
ContainerConfigurationTemplate() - Constructor for class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
containerize(Containerizer) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Builds the container.
CONTAINERIZE - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
Containerizer - Class in com.google.cloud.tools.jib.api
Configures how to containerize.
CONTAINERIZING_MODE - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
ContainerizingMode - Enum in com.google.cloud.tools.jib.plugins.common
Containerizing mode.
ContainerParameters() - Constructor for class com.google.cloud.tools.jib.maven.JibPluginConfiguration.ContainerParameters
 
copy(ImmutableList<Path>, Path) - Static method in class com.google.cloud.tools.jib.filesystem.FileOperations
Copies sourceFiles to the destDir directory.
CountingDigestOutputStream - Class in com.google.cloud.tools.jib.hash
A DigestOutputStream that also keeps track of the total number of bytes written.
CountingDigestOutputStream(OutputStream) - Constructor for class com.google.cloud.tools.jib.hash.CountingDigestOutputStream
Wraps the outputStream.
create(String, long) - Method in interface com.google.cloud.tools.jib.builder.ProgressEventDispatcher.Factory
Creates the ProgressEventDispatcher with an associated Allocation.
createJibBuildRunnerForDockerDaemonImage(RawConfiguration, InferredAuthProvider, ProjectProperties, Path, Map<String, String>, HelpfulSuggestions) - Static method in class com.google.cloud.tools.jib.plugins.common.PluginConfigurationProcessor
 
createJibBuildRunnerForRegistryImage(RawConfiguration, InferredAuthProvider, ProjectProperties, HelpfulSuggestions) - Static method in class com.google.cloud.tools.jib.plugins.common.PluginConfigurationProcessor
 
createJibBuildRunnerForTarImage(RawConfiguration, InferredAuthProvider, ProjectProperties, HelpfulSuggestions) - Static method in class com.google.cloud.tools.jib.plugins.common.PluginConfigurationProcessor
 
createJibContainerBuilder(JavaContainerBuilder, ContainerizingMode) - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
createJibContainerBuilder(JavaContainerBuilder, ContainerizingMode) - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
Starts the containerization process.
Credential - Class in com.google.cloud.tools.jib.api
Holds credentials (username and password).
CredentialHelperNotFoundException - Exception in com.google.cloud.tools.jib.registry.credentials
Thrown because the requested credential helper CLI does not exist.
CredentialHelperUnhandledServerUrlException - Exception in com.google.cloud.tools.jib.registry.credentials
Thrown because the credential helper does not have credentials for the specified server URL.
CredentialRetrievalException - Exception in com.google.cloud.tools.jib.registry.credentials
Thrown if something went wrong during CredentialRetriever.retrieve().
CredentialRetrievalException(Throwable) - Constructor for exception com.google.cloud.tools.jib.registry.credentials.CredentialRetrievalException
 
CredentialRetriever - Interface in com.google.cloud.tools.jib.api
Retrieves credentials for a registry.
CredentialRetrieverFactory - Class in com.google.cloud.tools.jib.frontend
Static factories for various CredentialRetrievers.

D

debug(String) - Static method in class com.google.cloud.tools.jib.api.LogEvent
 
debug(Consumer<String>) - Method in class com.google.cloud.tools.jib.plugins.common.logging.ConsoleLoggerBuilder
Sets the Consumer to log a LogEvent.Level.DEBUG message.
DEFAULT_APP_ROOT - Static variable in class com.google.cloud.tools.jib.api.JavaContainerBuilder
The default app root in the image.
DEFAULT_BASE_CACHE_DIRECTORY - Static variable in class com.google.cloud.tools.jib.api.Containerizer
The default directory for caching the base image layers, in [user cache home]/google-cloud-tools-java/jib.
DEFAULT_CREATION_TIME - Static variable in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
The default creation time of the container (constant to ensure reproducibility by default).
DEFAULT_DOCKER_CLIENT - Static variable in class com.google.cloud.tools.jib.docker.DockerClient
Default path to the docker executable.
DEFAULT_FILE_PERMISSIONS - Static variable in class com.google.cloud.tools.jib.api.FilePermissions
Default permissions for files added to the container.
DEFAULT_FILE_PERMISSIONS_PROVIDER - Static variable in class com.google.cloud.tools.jib.api.LayerConfiguration
Provider that returns default file permissions (644 for files, 755 for directories).
DEFAULT_FOLDER_PERMISSIONS - Static variable in class com.google.cloud.tools.jib.api.FilePermissions
Default permissions for folders added to the container.
DEFAULT_MODIFICATION_TIME - Static variable in class com.google.cloud.tools.jib.api.LayerConfiguration
Default file modification time (EPOCH + 1 second).
DEFAULT_MODIFICATION_TIME_PROVIDER - Static variable in class com.google.cloud.tools.jib.api.LayerConfiguration
Provider that returns default file modification time (EPOCH + 1 second).
DEFAULT_WEB_APP_ROOT - Static variable in class com.google.cloud.tools.jib.api.JavaContainerBuilder
The default webapp root in the image.
DefaultCredentialRetrievers - Class in com.google.cloud.tools.jib.plugins.common
Generates a list of default CredentialRetrievers.
deleteRecursiveOnExit(Path) - Static method in class com.google.cloud.tools.jib.filesystem.FileOperations
Sets up a shutdown hook that tries to delete a file or directory.
descriptor - Variable in class com.google.cloud.tools.jib.maven.JibPluginConfiguration
 
DescriptorDigest - Class in com.google.cloud.tools.jib.api
Represents a SHA-256 content descriptor digest as defined by the Registry HTTP API v2 reference.
DescriptorDigestDeserializer - Class in com.google.cloud.tools.jib.image.json
Deserializes a JSON element into a DescriptorDigest object.
DescriptorDigestDeserializer() - Constructor for class com.google.cloud.tools.jib.image.json.DescriptorDigestDeserializer
 
DescriptorDigestSerializer - Class in com.google.cloud.tools.jib.image.json
Serializes a DescriptorDigest into JSON element.
DescriptorDigestSerializer() - Constructor for class com.google.cloud.tools.jib.image.json.DescriptorDigestSerializer
 
deserialize(JsonParser, DeserializationContext) - Method in class com.google.cloud.tools.jib.image.json.DescriptorDigestDeserializer
 
DigestOnlyLayer - Class in com.google.cloud.tools.jib.image
A Layer reference that only has its DescriptorDigest.
DigestOnlyLayer(DescriptorDigest) - Constructor for class com.google.cloud.tools.jib.image.DigestOnlyLayer
Instantiate with a DescriptorDigest.
Digests - Class in com.google.cloud.tools.jib.hash
Utility class for computing a digest for various inputs while optionally writing to an output stream.
Digests() - Constructor for class com.google.cloud.tools.jib.hash.Digests
 
DirectoryWalker - Class in com.google.cloud.tools.jib.filesystem
Recursively applies a function to each file in a directory.
DirectoryWalker(Path) - Constructor for class com.google.cloud.tools.jib.filesystem.DirectoryWalker
Initialize with a root directory to walk.
dispatch(JibEvent) - Method in class com.google.cloud.tools.jib.event.EventHandlers
Dispatches jibEvent to all the handlers that can handle it.
dispatchProgress(long) - Method in class com.google.cloud.tools.jib.builder.ProgressEventDispatcher
Dispatches a ProgressEvent representing progressUnits of progress on the managed ProgressEventDispatcher.allocation.
DOCKER_CLIENT_ENVIRONMENT - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
DOCKER_CLIENT_EXECUTABLE - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
DockerClient - Class in com.google.cloud.tools.jib.docker
Calls out to the docker CLI.
DockerClient(Path, Map<String, String>) - Constructor for class com.google.cloud.tools.jib.docker.DockerClient
Instantiates with a docker executable and environment variables.
DockerClientConfiguration() - Constructor for class com.google.cloud.tools.jib.maven.BuildDockerMojo.DockerClientConfiguration
 
dockerConfig() - Method in class com.google.cloud.tools.jib.frontend.CredentialRetrieverFactory
Creates a new CredentialRetriever that tries to retrieve credentials from Docker config (located at $USER_HOME/.docker/config.json).
dockerConfig(Path) - Method in class com.google.cloud.tools.jib.frontend.CredentialRetrieverFactory
Creates a new CredentialRetriever that tries to retrieve credentials from a custom path to a Docker config.
DockerConfigCredentialRetriever - Class in com.google.cloud.tools.jib.registry.credentials
Retrieves registry credentials from the Docker config.
DockerConfigCredentialRetriever(String) - Constructor for class com.google.cloud.tools.jib.registry.credentials.DockerConfigCredentialRetriever
 
DockerConfigCredentialRetriever(String, Path) - Constructor for class com.google.cloud.tools.jib.registry.credentials.DockerConfigCredentialRetriever
 
DockerConfigTemplate - Class in com.google.cloud.tools.jib.registry.credentials.json
Template for a Docker config file.
DockerConfigTemplate() - Constructor for class com.google.cloud.tools.jib.registry.credentials.json.DockerConfigTemplate
 
DockerConfigTemplate.AuthTemplate - Class in com.google.cloud.tools.jib.registry.credentials.json
Template for an auth defined for a registry under auths.
dockerCredentialHelper(String) - Method in class com.google.cloud.tools.jib.frontend.CredentialRetrieverFactory
Creates a new CredentialRetriever for retrieving credentials via a Docker credential helper, such as docker-credential-gcr.
dockerCredentialHelper(Path) - Method in class com.google.cloud.tools.jib.frontend.CredentialRetrieverFactory
Creates a new CredentialRetriever for retrieving credentials via a Docker credential helper, such as docker-credential-gcr.
DockerCredentialHelper - Class in com.google.cloud.tools.jib.registry.credentials
Retrieves Docker credentials with a Docker credential helper.
DockerCredentialHelper(String, Path) - Constructor for class com.google.cloud.tools.jib.registry.credentials.DockerCredentialHelper
Constructs a new DockerCredentialHelper.
DockerDaemonImage - Class in com.google.cloud.tools.jib.api
Builds to the Docker daemon.
DockerHealthCheck - Class in com.google.cloud.tools.jib.configuration
Configuration information for performing healthchecks on a Docker container.
DockerHealthCheck.Builder - Class in com.google.cloud.tools.jib.configuration
Builds the immutable DockerHealthCheck.
dockerLoadSteps(DockerClient) - Method in class com.google.cloud.tools.jib.builder.steps.StepsRunner
 
DockerManifestEntryTemplate - Class in com.google.cloud.tools.jib.docker.json
JSON Template for a loadable Docker Manifest entry.
DockerManifestEntryTemplate() - Constructor for class com.google.cloud.tools.jib.docker.json.DockerManifestEntryTemplate
 

E

equals(Object) - Method in class com.google.cloud.tools.jib.api.AbsoluteUnixPath
 
equals(Object) - Method in class com.google.cloud.tools.jib.api.Credential
 
equals(Object) - Method in class com.google.cloud.tools.jib.api.DescriptorDigest
Two digest objects are equal if their digest strings are equal.
equals(Object) - Method in class com.google.cloud.tools.jib.api.FilePermissions
 
equals(Object) - Method in class com.google.cloud.tools.jib.api.JibContainer
 
equals(Object) - Method in class com.google.cloud.tools.jib.api.LayerEntry
 
equals(Object) - Method in class com.google.cloud.tools.jib.api.LogEvent
 
equals(Object) - Method in class com.google.cloud.tools.jib.api.Port
 
equals(Object) - Method in class com.google.cloud.tools.jib.blob.BlobDescriptor
Two BlobDescriptor objects are equal if their digests are not null and equal, and sizes are non-negative and equal
equals(Object) - Method in class com.google.cloud.tools.jib.builder.steps.BuildResult
 
equals(Object) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
 
equals(Object) - Method in class com.google.cloud.tools.jib.http.Authorization
 
equals(Object) - Method in class com.google.cloud.tools.jib.image.json.HistoryEntry
 
error(String) - Static method in class com.google.cloud.tools.jib.api.LogEvent
 
error(Consumer<String>) - Method in class com.google.cloud.tools.jib.plugins.common.logging.ConsoleLoggerBuilder
Sets the Consumer to log an LogEvent.Level.ERROR message.
ErrorEntryTemplate - Class in com.google.cloud.tools.jib.registry.json
 
ErrorEntryTemplate(String, String) - Constructor for class com.google.cloud.tools.jib.registry.json.ErrorEntryTemplate
 
ErrorResponseTemplate - Class in com.google.cloud.tools.jib.registry.json
Template for the registry response body JSON when a request errored.
ErrorResponseTemplate() - Constructor for class com.google.cloud.tools.jib.registry.json.ErrorResponseTemplate
 
ErrorResponseUtil - Class in com.google.cloud.tools.jib.registry
Utility methods for parsing JSON-encoded error responses.
EventHandlers - Class in com.google.cloud.tools.jib.event
Builds a set of event handlers to handle JibEvents.
EventHandlers.Builder - Class in com.google.cloud.tools.jib.event
Builder for EventHandlers.
execute() - Method in class com.google.cloud.tools.jib.maven.BuildDockerMojo
 
execute() - Method in class com.google.cloud.tools.jib.maven.BuildImageMojo
 
execute() - Method in class com.google.cloud.tools.jib.maven.BuildTarMojo
 
execute() - Method in class com.google.cloud.tools.jib.maven.skaffold.CheckJibVersionMojo
 
execute() - Method in class com.google.cloud.tools.jib.maven.skaffold.FilesMojo
 
execute() - Method in class com.google.cloud.tools.jib.maven.skaffold.FilesMojoV2
 
execute() - Method in class com.google.cloud.tools.jib.maven.skaffold.PackageGoalsMojo
 
execute() - Method in class com.google.cloud.tools.jib.maven.skaffold.SkaffoldInitMojo
 
execute(Runnable) - Method in class com.google.cloud.tools.jib.plugins.common.logging.SingleThreadedExecutor
Executes runnable on the managed thread.
EXPLODED_WAR_DIRECTORY_NAME - Static variable in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
Directory name for the exploded WAR.
EXTRA_DIRECTORIES_PATHS - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
EXTRA_DIRECTORIES_PERMISSIONS - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
EXTRA_DIRECTORY_PATH - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
Deprecated.
EXTRA_DIRECTORY_PERMISSIONS - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
Deprecated.
extract(Path, Path) - Static method in class com.google.cloud.tools.jib.tar.TarExtractor
Extracts a tarball to the specified destination.
ExtractTarStep - Class in com.google.cloud.tools.jib.builder.steps
Extracts a tar file base image.
ExtraDirectoriesParameters() - Constructor for class com.google.cloud.tools.jib.maven.JibPluginConfiguration.ExtraDirectoriesParameters
 
extraDirectoryLayerConfiguration(Path, Map<AbsoluteUnixPath, FilePermissions>, BiFunction<Path, AbsoluteUnixPath, Instant>) - Static method in class com.google.cloud.tools.jib.plugins.common.JavaContainerBuilderHelper
Returns a LayerConfiguration for adding the extra directory to the container.
ExtraDirectoryParameters() - Constructor for class com.google.cloud.tools.jib.maven.JibPluginConfiguration.ExtraDirectoryParameters
Deprecated.
 

F

factory(EventHandlers, String, String) - Static method in class com.google.cloud.tools.jib.registry.RegistryClient
Creates a new RegistryClient.Factory for building a RegistryClient.
factory(EventHandlers, String, String, String) - Static method in class com.google.cloud.tools.jib.registry.RegistryClient
 
FileOperations - Class in com.google.cloud.tools.jib.filesystem
Static methods for operating on the filesystem.
FilePermissions - Class in com.google.cloud.tools.jib.api
Represents read/write/execute file permissions for owner, group, and others.
FilesMojo - Class in com.google.cloud.tools.jib.maven.skaffold
Print out changing source dependencies on a module.
FilesMojo() - Constructor for class com.google.cloud.tools.jib.maven.skaffold.FilesMojo
 
FilesMojoV2 - Class in com.google.cloud.tools.jib.maven.skaffold
Print out changing source dependencies on a module.
FilesMojoV2() - Constructor for class com.google.cloud.tools.jib.maven.skaffold.FilesMojoV2
 
filter(Predicate<Path>) - Method in class com.google.cloud.tools.jib.filesystem.DirectoryWalker
Adds a filter to the walked paths.
filterRoot() - Method in class com.google.cloud.tools.jib.filesystem.DirectoryWalker
Filters away the rootDir.
find(List<Path>, Consumer<LogEvent>) - Static method in class com.google.cloud.tools.jib.api.MainClassFinder
Tries to find classes with psvm (see class javadoc) in files.
flush() - Method in class com.google.cloud.tools.jib.http.NotifyingOutputStream
 
forBuildImage(JibContainerBuilder, Containerizer, Consumer<LogEvent>, HelpfulSuggestions, ImageReference, Set<String>) - Static method in class com.google.cloud.tools.jib.plugins.common.JibBuildRunner
Creates a runner to build an image.
forBuildTar(JibContainerBuilder, Containerizer, Consumer<LogEvent>, HelpfulSuggestions, Path) - Static method in class com.google.cloud.tools.jib.plugins.common.JibBuildRunner
Creates a runner to build an image tarball.
forBuildToDockerDaemon(JibContainerBuilder, Containerizer, Consumer<LogEvent>, HelpfulSuggestions, ImageReference, Set<String>) - Static method in class com.google.cloud.tools.jib.plugins.common.JibBuildRunner
Creates a runner to build to the Docker daemon.
forCacheDirectoryNotOwned(Path) - Method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forCacheNeedsClean() - Method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forCredentialsNotSent() - Method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forDockerNotInstalled(String) - Static method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forGeneratedTag(String, String) - Method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forHttpHostConnect() - Method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forHttpStatusCodeForbidden(String) - Method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forImage(ImageReference, Consumer<LogEvent>) - Static method in class com.google.cloud.tools.jib.frontend.CredentialRetrieverFactory
Creates a new CredentialRetrieverFactory for an image.
forIncompatibleBaseImageJavaVesionForGradle(int, int) - Static method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forIncompatibleBaseImageJavaVesionForMaven(int, int) - Static method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forInsecureRegistry() - Method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forInvalidImageReference(String) - Static method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forMainClassNotFound(String, String) - Static method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forNoCredentialsDefined(String) - Method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forToNotConfigured(String, String, String, String) - Static method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
forUnknownHost() - Method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
from(String, String) - Static method in class com.google.cloud.tools.jib.api.Credential
Gets a Credential configured with a username and password.
from(String) - Static method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Creates a new JavaContainerBuilder with the specified base image reference.
from(ImageReference) - Static method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Creates a new JavaContainerBuilder with the specified base image reference.
from(RegistryImage) - Static method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Creates a new JavaContainerBuilder with the specified base image.
from(String) - Static method in class com.google.cloud.tools.jib.api.Jib
Starts building the container from a base image.
from(ImageReference) - Static method in class com.google.cloud.tools.jib.api.Jib
Starts building the container from a base image.
from(RegistryImage) - Static method in class com.google.cloud.tools.jib.api.Jib
Starts building the container from a base image.
from(InputStream) - Static method in class com.google.cloud.tools.jib.blob.Blobs
 
from(Path) - Static method in class com.google.cloud.tools.jib.blob.Blobs
 
from(JsonTemplate) - Static method in class com.google.cloud.tools.jib.blob.Blobs
 
from(String) - Static method in class com.google.cloud.tools.jib.blob.Blobs
Creates a StringBlob with UTF-8 encoding.
from(WritableContents) - Static method in class com.google.cloud.tools.jib.blob.Blobs
 
FROM_AUTH_PASSWORD - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
FROM_AUTH_USERNAME - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
FROM_CRED_HELPER - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
FROM_IMAGE - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
FromAuthConfiguration() - Constructor for class com.google.cloud.tools.jib.maven.JibPluginConfiguration.FromAuthConfiguration
 
fromBasicCredentials(String, String) - Static method in class com.google.cloud.tools.jib.http.Authorization
 
fromBasicToken(String) - Static method in class com.google.cloud.tools.jib.http.Authorization
 
fromBearerToken(String) - Static method in class com.google.cloud.tools.jib.http.Authorization
 
fromCommand(List<String>) - Static method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck
Creates a new DockerHealthCheck.Builder with the specified command.
FromConfiguration() - Constructor for class com.google.cloud.tools.jib.maven.JibPluginConfiguration.FromConfiguration
 
fromDigest(String) - Static method in class com.google.cloud.tools.jib.api.DescriptorDigest
Creates a new instance from a valid digest string.
fromDistroless() - Static method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Creates a new JavaContainerBuilder that uses distroless java as the base image.
fromDistrolessJetty() - Static method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Creates a new JavaContainerBuilder that uses distroless jetty as the base image.
fromExplodedWar(JavaContainerBuilder, Path) - Static method in class com.google.cloud.tools.jib.plugins.common.JavaContainerBuilderHelper
Constructs a new JibContainerBuilder for a WAR project.
fromHash(String) - Static method in class com.google.cloud.tools.jib.api.DescriptorDigest
Creates a new instance from a valid hash string.
fromOctalString(String) - Static method in class com.google.cloud.tools.jib.api.FilePermissions
Creates a new FilePermissions from an octal string representation (e.g.
fromPath(Path) - Static method in class com.google.cloud.tools.jib.api.AbsoluteUnixPath
Gets a new AbsoluteUnixPath from a Path.
fromPosixFilePermissions(Set<PosixFilePermission>) - Static method in class com.google.cloud.tools.jib.api.FilePermissions
Creates a new FilePermissions from a set of PosixFilePermission.
fromScratch() - Static method in class com.google.cloud.tools.jib.api.Jib
Starts building the container from an empty base image.

G

generateProgressDisplay(double, List<String>) - Static method in class com.google.cloud.tools.jib.plugins.common.logging.ProgressDisplayGenerator
Generates a progress display.
get(String) - Static method in class com.google.cloud.tools.jib.api.AbsoluteUnixPath
Gets a new AbsoluteUnixPath from a Unix-style path string.
get(String) - Static method in class com.google.cloud.tools.jib.api.RelativeUnixPath
Gets a new RelativeUnixPath from a Unix-style path in relative form.
get(Request) - Method in class com.google.cloud.tools.jib.http.Connection
Sends the request with method GET.
getAliasesGroup(String) - Static method in class com.google.cloud.tools.jib.registry.RegistryAliasGroup
Returns the list of registry aliases for the given registry, including registry as the first element.
getAllocation() - Method in class com.google.cloud.tools.jib.event.events.ProgressEvent
Gets the Allocation this progress event accounts for.
getAllocationUnits() - Method in class com.google.cloud.tools.jib.event.progress.Allocation
Gets the allocation units this allocation holds.
getAllowInsecureRegistries() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
Gets whether or not to allow insecure registries (ignoring certificate validation failure or communicating over HTTP if all else fail).
getAllowInsecureRegistries() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getAllTargetImageTags() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
 
getApplicationLayersCache() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
Gets the Cache for application layers.
getAppRoot() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getArchitecture() - Method in class com.google.cloud.tools.jib.image.Image
 
getArchitecture() - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
Returns the architecture for which this container was built.
getAuth() - Method in class com.google.cloud.tools.jib.registry.credentials.json.DockerConfigTemplate.AuthTemplate
 
getAuthDescriptor() - Method in interface com.google.cloud.tools.jib.plugins.common.AuthProperty
 
getAuths() - Method in class com.google.cloud.tools.jib.registry.credentials.json.DockerConfigTemplate
 
getBaseImageConfiguration() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
 
getBaseImageLayersCache() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
Gets the Cache for base image layers.
getBaseImageMajorJavaVersion() - Method in exception com.google.cloud.tools.jib.plugins.common.IncompatibleBaseImageJavaVersionException
 
getBlob() - Method in class com.google.cloud.tools.jib.cache.CachedLayer
 
getBlob() - Method in class com.google.cloud.tools.jib.image.DigestOnlyLayer
 
getBlob() - Method in interface com.google.cloud.tools.jib.image.Layer
 
getBlob() - Method in class com.google.cloud.tools.jib.image.ReferenceLayer
 
getBlob() - Method in class com.google.cloud.tools.jib.image.ReferenceNoDiffIdLayer
 
getBlobDescriptor() - Method in class com.google.cloud.tools.jib.cache.CachedLayer
 
getBlobDescriptor() - Method in class com.google.cloud.tools.jib.image.DigestOnlyLayer
 
getBlobDescriptor() - Method in interface com.google.cloud.tools.jib.image.Layer
 
getBlobDescriptor() - Method in class com.google.cloud.tools.jib.image.ReferenceLayer
 
getBlobDescriptor() - Method in class com.google.cloud.tools.jib.image.ReferenceNoDiffIdLayer
 
getBody() - Method in class com.google.cloud.tools.jib.http.Response
 
getBuild() - Method in class com.google.cloud.tools.jib.plugins.common.SkaffoldFilesOutput
 
getCacheHome() - Static method in class com.google.cloud.tools.jib.filesystem.UserCacheHome
 
getClassFiles() - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
getClassFiles() - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 
getCode() - Method in class com.google.cloud.tools.jib.registry.json.ErrorEntryTemplate
 
getCommand() - Method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck
Gets the optional healthcheck command.
getConfig() - Method in class com.google.cloud.tools.jib.docker.json.DockerManifestEntryTemplate
 
getConfig() - Method in class com.google.cloud.tools.jib.image.json.ManifestAndConfig
Gets the container configuration.
getConnectionFactory() - Static method in class com.google.cloud.tools.jib.http.Connection
Returns a factory for Connection.
getContainerConfiguration() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
 
getContainerConfiguration() - Method in interface com.google.cloud.tools.jib.image.json.BuildableManifestTemplate
 
getContainerConfiguration() - Method in class com.google.cloud.tools.jib.image.json.ImageToJsonTranslator
Gets the container configuration.
getContainerConfiguration() - Method in class com.google.cloud.tools.jib.image.json.OCIManifestTemplate
 
getContainerConfiguration() - Method in class com.google.cloud.tools.jib.image.json.V21ManifestTemplate
Attempts to parse the container configuration JSON (of format application/vnd.docker.container.image.v1+json) from the v1Compatibility value of the first history entry, which corresponds to the latest layer.
getContainerConfiguration() - Method in class com.google.cloud.tools.jib.image.json.V22ManifestTemplate
 
getContainerizingMode() - Method in class com.google.cloud.tools.jib.maven.JibPluginConfiguration
 
getContainerizingMode() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getContentLength() - Method in class com.google.cloud.tools.jib.http.Response
 
getCreated() - Method in class com.google.cloud.tools.jib.image.Image
 
getCreationTime() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
 
getCreationTime() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getCredentialRetrievers() - Method in class com.google.cloud.tools.jib.configuration.ImageConfiguration
 
getCredHelpers() - Method in class com.google.cloud.tools.jib.registry.credentials.json.DockerConfigTemplate
 
getCredsStore() - Method in class com.google.cloud.tools.jib.registry.credentials.json.DockerConfigTemplate
 
getDefaultCacheDirectory() - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
getDefaultCacheDirectory() - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 
getDescription() - Method in class com.google.cloud.tools.jib.event.events.TimerEvent
Gets the description associated with this event.
getDescription() - Method in class com.google.cloud.tools.jib.event.progress.Allocation
Gets a user-facing description of what this allocation represents.
getDiffId() - Method in class com.google.cloud.tools.jib.cache.CachedLayer
 
getDiffId() - Method in class com.google.cloud.tools.jib.image.DigestOnlyLayer
 
getDiffId() - Method in interface com.google.cloud.tools.jib.image.Layer
 
getDiffId() - Method in class com.google.cloud.tools.jib.image.ReferenceLayer
 
getDiffId() - Method in class com.google.cloud.tools.jib.image.ReferenceNoDiffIdLayer
 
getDigest() - Method in class com.google.cloud.tools.jib.api.JibContainer
Gets the digest of the registry image manifest built by Jib.
getDigest() - Method in class com.google.cloud.tools.jib.blob.BlobDescriptor
 
getDigest() - Method in class com.google.cloud.tools.jib.cache.CachedLayer
 
getDigest() - Method in class com.google.cloud.tools.jib.image.json.BuildableManifestTemplate.ContentDescriptorTemplate
 
getDigestsForPlatform(String, String) - Method in class com.google.cloud.tools.jib.image.json.V22ManifestListTemplate
 
getDirectory() - Method in class com.google.cloud.tools.jib.filesystem.TemporaryDirectory
Gets the temporary directory.
getDuration() - Method in class com.google.cloud.tools.jib.event.events.TimerEvent
Gets the duration since the last TimerEvent for this timer.
getElapsed() - Method in class com.google.cloud.tools.jib.event.events.TimerEvent
Gets the total elapsed duration since this timer was created.
getEntrypoint() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
 
getEntrypoint() - Method in class com.google.cloud.tools.jib.image.Image
 
getEntrypoint() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getEnvironment() - Method in class com.google.cloud.tools.jib.image.Image
 
getEnvironment() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getEnvironmentMap() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
 
getErrorCode(HttpResponseException) - Static method in class com.google.cloud.tools.jib.registry.ErrorResponseUtil
Extract an ErrorCodes response from the error object encoded in an HttpResponseException.
getErrors() - Method in class com.google.cloud.tools.jib.registry.json.ErrorResponseTemplate
 
getEventHandlers() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
 
getExecutorService() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
 
getExposedPorts() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
 
getExposedPorts() - Method in class com.google.cloud.tools.jib.image.Image
 
getExtraClasspath() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getExtractionPath() - Method in class com.google.cloud.tools.jib.api.LayerEntry
Gets the extraction path.
getExtraDirectories() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getExtraDirectoryPermissions() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getFilesModificationTime() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getFoundMainClass() - Method in class com.google.cloud.tools.jib.api.MainClassFinder.Result
Gets the found main class.
getFoundMainClasses() - Method in class com.google.cloud.tools.jib.api.MainClassFinder.Result
Gets the found main classes.
getFractionOfRoot() - Method in class com.google.cloud.tools.jib.event.progress.Allocation
Gets how much of the root allocation each of the allocation units of this allocation accounts for.
getFromAuth() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getFromCredHelper() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getFromImage() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getFsLayers() - Method in class com.google.cloud.tools.jib.image.json.V21ManifestTemplate
 
getGeneratedTargetDockerTag(String, ProjectProperties, HelpfulSuggestions) - Static method in class com.google.cloud.tools.jib.plugins.common.ConfigurationPropertyValidator
Returns an ImageReference parsed from the configured target image, or one of the form project-name:project-version if target image is not configured
getHash() - Method in class com.google.cloud.tools.jib.api.DescriptorDigest
 
getHeader(String) - Method in class com.google.cloud.tools.jib.http.Response
 
getHealthCheck() - Method in class com.google.cloud.tools.jib.image.Image
 
getHistory() - Method in class com.google.cloud.tools.jib.image.Image
 
getHost(String) - Static method in class com.google.cloud.tools.jib.registry.RegistryAliasGroup
Returns the server host name to use for the given registry.
getHttpResponseException() - Method in exception com.google.cloud.tools.jib.api.RegistryUnauthorizedException
 
getHttpTimeout() - Static method in class com.google.cloud.tools.jib.global.JibSystemProperties
Gets the HTTP connection/read timeouts for registry interactions in milliseconds.
getIgnore() - Method in class com.google.cloud.tools.jib.plugins.common.SkaffoldFilesOutput
 
getImage() - Method in class com.google.cloud.tools.jib.configuration.ImageConfiguration
 
getImage() - Method in class com.google.cloud.tools.jib.plugins.common.SkaffoldInitOutput
 
getImageCredential(Consumer<LogEvent>, String, String, AuthProperty, RawConfiguration) - Static method in class com.google.cloud.tools.jib.plugins.common.ConfigurationPropertyValidator
Gets a Credential from a username and password.
getImageDigest() - Method in class com.google.cloud.tools.jib.builder.steps.BuildResult
 
getImageFormat() - Method in class com.google.cloud.tools.jib.image.Image
 
getImageFormat() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getImageId() - Method in class com.google.cloud.tools.jib.api.JibContainer
Gets the digest of the container configuration built by Jib.
getImageId() - Method in class com.google.cloud.tools.jib.builder.steps.BuildResult
 
getImageName() - Method in exception com.google.cloud.tools.jib.api.RegistryAuthenticationFailedException
 
getImageReference() - Method in exception com.google.cloud.tools.jib.api.RegistryUnauthorizedException
 
getImageRegistry() - Method in class com.google.cloud.tools.jib.configuration.ImageConfiguration
 
getImageRepository() - Method in class com.google.cloud.tools.jib.configuration.ImageConfiguration
 
getImageTag() - Method in class com.google.cloud.tools.jib.configuration.ImageConfiguration
 
getInputs() - Method in class com.google.cloud.tools.jib.plugins.common.SkaffoldFilesOutput
 
getInsecureConnectionFactory() - Static method in class com.google.cloud.tools.jib.http.Connection
Returns a factory for Connection that does not verify TLS peer verification.
getInterval() - Method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck
Gets the optional healthcheck interval.
getInvalidContainerizingMode() - Method in exception com.google.cloud.tools.jib.plugins.common.InvalidContainerizingModeException
 
getInvalidCreationTime() - Method in exception com.google.cloud.tools.jib.plugins.common.InvalidCreationTimeException
 
getInvalidFilesModificationTime() - Method in exception com.google.cloud.tools.jib.plugins.common.InvalidFilesModificationTimeException
 
getInvalidPathValue() - Method in exception com.google.cloud.tools.jib.plugins.common.InvalidAppRootException
 
getInvalidPathValue() - Method in exception com.google.cloud.tools.jib.plugins.common.InvalidWorkingDirectoryException
 
getInvalidReference() - Method in exception com.google.cloud.tools.jib.api.InvalidImageReferenceException
 
getInvalidVolume() - Method in exception com.google.cloud.tools.jib.plugins.common.InvalidContainerVolumeException
 
getJarPluginName() - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
getJarPluginName() - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 
getJsonString() - Method in class com.google.cloud.tools.jib.plugins.common.SkaffoldFilesOutput
Gets the added files in JSON format.
getJsonString() - Method in class com.google.cloud.tools.jib.plugins.common.SkaffoldInitOutput
Gets the added files in JSON format.
getJvmFlags() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getLabels() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
 
getLabels() - Method in class com.google.cloud.tools.jib.image.Image
 
getLabels() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getLayerConfigurations() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
Gets the configurations for building the layers.
getLayerCount() - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
getLayerDiffId(int) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
getLayerDigests() - Method in class com.google.cloud.tools.jib.image.json.V21ManifestTemplate
 
getLayerEntries() - Method in class com.google.cloud.tools.jib.api.LayerConfiguration
Gets the list of layer entries.
getLayerFiles() - Method in class com.google.cloud.tools.jib.docker.json.DockerManifestEntryTemplate
 
getLayers() - Method in class com.google.cloud.tools.jib.image.Image
 
getLayers() - Method in interface com.google.cloud.tools.jib.image.json.BuildableManifestTemplate
 
getLayers() - Method in class com.google.cloud.tools.jib.image.json.OCIManifestTemplate
 
getLayers() - Method in class com.google.cloud.tools.jib.image.json.V22ManifestTemplate
 
getLength() - Method in class com.google.cloud.tools.jib.http.BlobHttpContent
 
getLevel() - Method in class com.google.cloud.tools.jib.api.LogEvent
Gets the log level to log at.
getMainClass() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getMainClassFromJar() - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
getMainClassFromJar() - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 
getMajorJavaVersion() - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
getMajorJavaVersion() - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 
getManifest() - Method in class com.google.cloud.tools.jib.image.json.ManifestAndConfig
Gets the manifest.
getManifestMediaType() - Method in interface com.google.cloud.tools.jib.image.json.BuildableManifestTemplate
 
getManifestMediaType() - Method in class com.google.cloud.tools.jib.image.json.OCIManifestTemplate
 
getManifestMediaType() - Method in class com.google.cloud.tools.jib.image.json.V22ManifestTemplate
 
getManifests() - Method in class com.google.cloud.tools.jib.image.json.V22ManifestListTemplate
 
getManifestTemplate(Class<T>, BlobDescriptor) - Method in class com.google.cloud.tools.jib.image.json.ImageToJsonTranslator
Gets the manifest as a JSON template.
getMediaType() - Method in class com.google.cloud.tools.jib.image.json.V22ManifestListTemplate.ManifestDescriptorTemplate
 
getMessage() - Method in class com.google.cloud.tools.jib.api.LogEvent
Gets the log message.
getMessage() - Method in class com.google.cloud.tools.jib.registry.json.ErrorEntryTemplate
 
getModificationTime() - Method in class com.google.cloud.tools.jib.api.LayerEntry
Returns the modification time of the file in the entry.
getName() - Method in enum com.google.cloud.tools.jib.api.JavaContainerBuilder.LayerType
 
getName() - Method in class com.google.cloud.tools.jib.api.LayerConfiguration
Gets the name.
getName() - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
getName() - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 
getOs() - Method in class com.google.cloud.tools.jib.image.Image
 
getOs() - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
Returns the operating system for which this container was built.
getOutputDirectory() - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
getOutputDirectory() - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 
getParent() - Method in interface com.google.cloud.tools.jib.event.events.TimerEvent.Timer
Gets the parent of this TimerEvent.Timer.
getParent() - Method in class com.google.cloud.tools.jib.event.progress.Allocation
Gets the parent allocation, or Optional.empty() if this is a root allocation.
getPassword() - Method in class com.google.cloud.tools.jib.api.Credential
Gets the password.
getPassword() - Method in interface com.google.cloud.tools.jib.plugins.common.AuthProperty
 
getPasswordDescriptor() - Method in interface com.google.cloud.tools.jib.plugins.common.AuthProperty
 
getPaths() - Method in class com.google.cloud.tools.jib.maven.JibPluginConfiguration.ExtraDirectoriesParameters
 
getPaths() - Method in class com.google.cloud.tools.jib.maven.JibPluginConfiguration.ExtraDirectoryParameters
Deprecated.
getPermissionBits() - Method in class com.google.cloud.tools.jib.api.FilePermissions
Gets the corresponding permissions bits specified by the FilePermissions.
getPermissions() - Method in class com.google.cloud.tools.jib.api.LayerEntry
Gets the file permissions on the container.
getPluginName() - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
getPluginName() - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 
getPort() - Method in class com.google.cloud.tools.jib.api.Port
Gets the port number.
getPorts() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getProgramArguments() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
 
getProgramArguments() - Method in class com.google.cloud.tools.jib.image.Image
 
getProgramArguments() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getProgress() - Method in class com.google.cloud.tools.jib.event.progress.ProgressEventHandler.Update
Gets the overall progress, with 1.0 meaning fully complete.
getProject() - Method in class com.google.cloud.tools.jib.maven.JibPluginConfiguration
 
getProject() - Method in class com.google.cloud.tools.jib.plugins.common.SkaffoldInitOutput
 
getProjectMajorJavaVersion() - Method in exception com.google.cloud.tools.jib.plugins.common.IncompatibleBaseImageJavaVersionException
 
getProperty(String, MavenProject, MavenSession) - Static method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
Gets a system property with the given name.
getProperty(String) - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getProtocol() - Method in class com.google.cloud.tools.jib.api.Port
Gets the protocol.
getRegistry() - Method in class com.google.cloud.tools.jib.api.ImageReference
Gets the registry portion of the ImageReference.
getRegistryAuthenticator() - Method in class com.google.cloud.tools.jib.registry.RegistryClient
 
getRepository() - Method in class com.google.cloud.tools.jib.api.ImageReference
Gets the repository portion of the ImageReference.
getRequestUrl() - Method in class com.google.cloud.tools.jib.http.Response
 
getRetries() - Method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck
Gets the optional healthcheck retry count.
getSchemaVersion() - Method in interface com.google.cloud.tools.jib.image.json.ManifestTemplate
 
getSchemaVersion() - Method in class com.google.cloud.tools.jib.image.json.OCIManifestTemplate
 
getSchemaVersion() - Method in class com.google.cloud.tools.jib.image.json.V21ManifestTemplate
 
getSchemaVersion() - Method in class com.google.cloud.tools.jib.image.json.V22ManifestListTemplate
 
getSchemaVersion() - Method in class com.google.cloud.tools.jib.image.json.V22ManifestTemplate
 
getScheme() - Method in class com.google.cloud.tools.jib.http.Authorization
 
getServerUrl() - Method in exception com.google.cloud.tools.jib.api.RegistryAuthenticationFailedException
 
getSize() - Method in class com.google.cloud.tools.jib.blob.BlobDescriptor
 
getSize() - Method in class com.google.cloud.tools.jib.cache.CachedLayer
 
getSize() - Method in class com.google.cloud.tools.jib.image.json.BuildableManifestTemplate.ContentDescriptorTemplate
 
getSourceFile() - Method in class com.google.cloud.tools.jib.api.LayerEntry
Gets the source file.
getStartPeriod() - Method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck
Gets the optional healthcheck start period.
getState() - Method in class com.google.cloud.tools.jib.event.events.TimerEvent
Gets the state of the timer.
getStatusCode() - Method in class com.google.cloud.tools.jib.http.Response
 
getTag() - Method in class com.google.cloud.tools.jib.api.ImageReference
Gets the tag portion of the ImageReference.
getTargetFormat() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
 
getTargetImage() - Method in class com.google.cloud.tools.jib.maven.JibPluginConfiguration
Gets the target image reference.
getTargetImageConfiguration() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
 
getTimeout() - Method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck
Gets the optional healthcheck timeout.
getTimer() - Method in class com.google.cloud.tools.jib.event.events.TimerEvent
Gets the timer this event is for.
getToAuth() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getToCredHelper() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getToImage() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getToken() - Method in class com.google.cloud.tools.jib.http.Authorization
 
getToolName() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
 
getToolName() - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
getToolName() - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 
getToTags() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getType() - Method in class com.google.cloud.tools.jib.api.MainClassFinder.Result
Gets the type of the result.
getType() - Method in class com.google.cloud.tools.jib.http.BlobHttpContent
 
getUnfinishedLeafTasks() - Method in class com.google.cloud.tools.jib.event.progress.ProgressEventHandler.Update
Gets a list of the unfinished "leaf" tasks in the order in which those tasks were encountered.
getUnits() - Method in class com.google.cloud.tools.jib.event.events.ProgressEvent
Gets the units of progress this progress event accounts for in the associated Allocation.
getUseCurrentTimestamp() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
Deprecated.
getUser() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
 
getUser() - Method in class com.google.cloud.tools.jib.image.Image
 
getUser() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getUsername() - Method in class com.google.cloud.tools.jib.api.Credential
Gets the username.
getUsername() - Method in interface com.google.cloud.tools.jib.plugins.common.AuthProperty
 
getUsernameDescriptor() - Method in interface com.google.cloud.tools.jib.plugins.common.AuthProperty
 
getVersion() - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
getVersion() - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 
getVolumes() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
 
getVolumes() - Method in class com.google.cloud.tools.jib.image.Image
 
getVolumes() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
getWorkingDirectory() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
 
getWorkingDirectory() - Method in class com.google.cloud.tools.jib.image.Image
 
getWorkingDirectory() - Method in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration
 
GITHUB_NEW_ISSUE_URL - Static variable in class com.google.cloud.tools.jib.ProjectInfo
Link to file an issue against the GitHub repository.
GITHUB_URL - Static variable in class com.google.cloud.tools.jib.ProjectInfo
Link to the GitHub repository.
googleApplicationDefaultCredentials() - Method in class com.google.cloud.tools.jib.frontend.CredentialRetrieverFactory
Creates a new CredentialRetriever that tries to retrieve credentials from Google Application Default Credentials.

H

hasCorrespondingLayer() - Method in class com.google.cloud.tools.jib.image.json.HistoryEntry
Returns whether or not the history object corresponds to a layer in the container.
HASH_LENGTH - Static variable in class com.google.cloud.tools.jib.api.DescriptorDigest
 
hashCode() - Method in class com.google.cloud.tools.jib.api.AbsoluteUnixPath
 
hashCode() - Method in class com.google.cloud.tools.jib.api.Credential
 
hashCode() - Method in class com.google.cloud.tools.jib.api.DescriptorDigest
Pass-through hash code of the digest string.
hashCode() - Method in class com.google.cloud.tools.jib.api.FilePermissions
 
hashCode() - Method in class com.google.cloud.tools.jib.api.JibContainer
 
hashCode() - Method in class com.google.cloud.tools.jib.api.LayerEntry
 
hashCode() - Method in class com.google.cloud.tools.jib.api.LogEvent
 
hashCode() - Method in class com.google.cloud.tools.jib.api.Port
 
hashCode() - Method in class com.google.cloud.tools.jib.blob.BlobDescriptor
 
hashCode() - Method in class com.google.cloud.tools.jib.builder.steps.BuildResult
 
hashCode() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
 
hashCode() - Method in class com.google.cloud.tools.jib.http.Authorization
 
hashCode() - Method in class com.google.cloud.tools.jib.image.json.HistoryEntry
 
hasSize() - Method in class com.google.cloud.tools.jib.blob.BlobDescriptor
 
HelpfulSuggestions - Class in com.google.cloud.tools.jib.plugins.common
Builds messages that provides suggestions on how to fix the error.
HelpfulSuggestions(String, String, String, String, String) - Constructor for class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
Creates a new HelpfulSuggestions with frontend-specific texts.
HistoryEntry - Class in com.google.cloud.tools.jib.image.json
Represents an item in the container configuration's history list.
HistoryEntry() - Constructor for class com.google.cloud.tools.jib.image.json.HistoryEntry
 
HistoryEntry.Builder - Class in com.google.cloud.tools.jib.image.json
 
HTTP_TIMEOUT - Static variable in class com.google.cloud.tools.jib.global.JibSystemProperties
 

I

Image - Class in com.google.cloud.tools.jib.image
Represents an image.
Image.Builder - Class in com.google.cloud.tools.jib.image
Builds the immutable Image.
ImageConfiguration - Class in com.google.cloud.tools.jib.configuration
Immutable configuration options for an image reference with credentials.
ImageConfiguration.Builder - Class in com.google.cloud.tools.jib.configuration
Builder for instantiating an ImageConfiguration.
ImageFormat - Enum in com.google.cloud.tools.jib.api
Indicates the format of the image.
ImageReference - Class in com.google.cloud.tools.jib.api
Represents an image reference.
ImageTarball - Class in com.google.cloud.tools.jib.docker
Translates an Image to a tarball that can be loaded into Docker.
ImageTarball(Image, ImageReference) - Constructor for class com.google.cloud.tools.jib.docker.ImageTarball
Instantiate with an Image.
ImageToJsonTranslator - Class in com.google.cloud.tools.jib.image.json
Translates an Image into a manifest or container configuration JSON.
ImageToJsonTranslator(Image) - Constructor for class com.google.cloud.tools.jib.image.json.ImageToJsonTranslator
Instantiate with an Image.
IncompatibleBaseImageJavaVersionException - Exception in com.google.cloud.tools.jib.plugins.common
Exception when the Java version in the base image is incompatible with the Java version of the application to be containerized.
IncompatibleBaseImageJavaVersionException(int, int) - Constructor for exception com.google.cloud.tools.jib.plugins.common.IncompatibleBaseImageJavaVersionException
 
inferAuth(String) - Method in interface com.google.cloud.tools.jib.plugins.common.InferredAuthProvider
Find auth credentials for a specific registry.
InferredAuthException - Exception in com.google.cloud.tools.jib.plugins.common
Indicates that the InferredAuthProvider encountered a failure while trying to determine auth credentials (not thrown for missing).
InferredAuthException(String) - Constructor for exception com.google.cloud.tools.jib.plugins.common.InferredAuthException
 
InferredAuthProvider - Interface in com.google.cloud.tools.jib.plugins.common
An auth provider specific to the client's architecture.
info(String) - Static method in class com.google.cloud.tools.jib.api.LogEvent
 
info(Consumer<String>) - Method in class com.google.cloud.tools.jib.plugins.common.logging.ConsoleLoggerBuilder
Sets the Consumer to log an LogEvent.Level.INFO message.
init(CredentialRetrieverFactory) - Static method in class com.google.cloud.tools.jib.plugins.common.DefaultCredentialRetrievers
InsecureRegistryException - Exception in com.google.cloud.tools.jib.api
Throw when attempting to access an insecure registry when only secure connections are allowed.
InsecureRegistryException(URL) - Constructor for exception com.google.cloud.tools.jib.api.InsecureRegistryException
 
InvalidAppRootException - Exception in com.google.cloud.tools.jib.plugins.common
Indicates that the container.appRoot config value is invalid.
InvalidAppRootException(String, String, Throwable) - Constructor for exception com.google.cloud.tools.jib.plugins.common.InvalidAppRootException
 
InvalidContainerizingModeException - Exception in com.google.cloud.tools.jib.plugins.common
Indicates that the containerizingMode config value is invalid.
InvalidContainerizingModeException(String, String) - Constructor for exception com.google.cloud.tools.jib.plugins.common.InvalidContainerizingModeException
 
InvalidContainerVolumeException - Exception in com.google.cloud.tools.jib.plugins.common
Indicates that the container.volumes config value has at least one invalid path.
InvalidCreationTimeException - Exception in com.google.cloud.tools.jib.plugins.common
Exception when an invalid container creation timestamp configuration is encountered.
InvalidCreationTimeException(String, String, DateTimeParseException) - Constructor for exception com.google.cloud.tools.jib.plugins.common.InvalidCreationTimeException
 
InvalidFilesModificationTimeException - Exception in com.google.cloud.tools.jib.plugins.common
Exception when an invalid file timestamp configuration is encountered.
InvalidFilesModificationTimeException(String, String, DateTimeParseException) - Constructor for exception com.google.cloud.tools.jib.plugins.common.InvalidFilesModificationTimeException
 
InvalidImageReferenceException - Exception in com.google.cloud.tools.jib.api
Thrown when attempting to parse an invalid image reference.
InvalidImageReferenceException(String) - Constructor for exception com.google.cloud.tools.jib.api.InvalidImageReferenceException
 
InvalidWorkingDirectoryException - Exception in com.google.cloud.tools.jib.plugins.common
Indicates that the container.workingDirectory config value is invalid.
InvalidWorkingDirectoryException(String, String, Throwable) - Constructor for exception com.google.cloud.tools.jib.plugins.common.InvalidWorkingDirectoryException
 
isDefaultDockerInstalled() - Static method in class com.google.cloud.tools.jib.docker.DockerClient
Checks if Docker is installed on the user's system and accessible by running the default docker command.
isDefaultTag(String) - Static method in class com.google.cloud.tools.jib.api.ImageReference
Returns true if tag is the default tag ((@code latest} or empty); false if not.
isDockerInstalled(Path) - Static method in class com.google.cloud.tools.jib.docker.DockerClient
Checks if Docker is installed on the user's system and accessible by running the given docker executable.
isOAuth2RefreshToken() - Method in class com.google.cloud.tools.jib.api.Credential
Check whether this credential is an OAuth 2.0 refresh token.
isOffline() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
Gets whether or not to run the build in offline mode.
isOffline() - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
isOffline() - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 
isScratch() - Method in class com.google.cloud.tools.jib.api.ImageReference
Returns true if the ImageReference is a scratch image; false if not.
isTagDigest() - Method in class com.google.cloud.tools.jib.api.ImageReference
Returns true if the ImageReference uses a SHA-256 digest as its tag; false if not.
isUserAgentEnabled() - Static method in class com.google.cloud.tools.jib.global.JibSystemProperties
Gets whether or not to enable the User-Agent header.
isValidRegistry(String) - Static method in class com.google.cloud.tools.jib.api.ImageReference
Returns true if registry is a valid registry string.
isValidRepository(String) - Static method in class com.google.cloud.tools.jib.api.ImageReference
Returns true if repository is a valid repository string.
isValidTag(String) - Static method in class com.google.cloud.tools.jib.api.ImageReference
Returns true if tag is a valid tag string.
isWarProject() - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
Gets whether or not the given project is a war project.
isWarProject() - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 

J

JavaContainerBuilder - Class in com.google.cloud.tools.jib.api
Creates a JibContainerBuilder for containerizing Java applications.
JavaContainerBuilder.LayerType - Enum in com.google.cloud.tools.jib.api
Represents the different types of layers for a Java application.
JavaContainerBuilderHelper - Class in com.google.cloud.tools.jib.plugins.common
Helper for constructing JavaContainerBuilder-based JibContainerBuilders.
Jib - Class in com.google.cloud.tools.jib.api
Build containers with Jib.
JibBuildRunner - Class in com.google.cloud.tools.jib.plugins.common
Runs Jib and builds helpful error messages.
JibContainer - Class in com.google.cloud.tools.jib.api
The container built by Jib.
JibContainerBuilder - Class in com.google.cloud.tools.jib.api
Builds a container with Jib.
JibEvent - Interface in com.google.cloud.tools.jib.api
Type for events dispatched by Jib Core.
JibPluginConfiguration - Class in com.google.cloud.tools.jib.maven
Defines the configuration parameters for Jib.
JibPluginConfiguration() - Constructor for class com.google.cloud.tools.jib.maven.JibPluginConfiguration
 
JibPluginConfiguration.ContainerParameters - Class in com.google.cloud.tools.jib.maven
Configuration for container parameter.
JibPluginConfiguration.ExtraDirectoriesParameters - Class in com.google.cloud.tools.jib.maven
Configuration for the extraDirectories parameter.
JibPluginConfiguration.ExtraDirectoryParameters - Class in com.google.cloud.tools.jib.maven
Deprecated.
JibPluginConfiguration.FromAuthConfiguration - Class in com.google.cloud.tools.jib.maven
Used to configure from.auth parameters.
JibPluginConfiguration.FromConfiguration - Class in com.google.cloud.tools.jib.maven
Configuration for from parameter,
JibPluginConfiguration.PermissionConfiguration - Class in com.google.cloud.tools.jib.maven
Used to configure extraDirectories.permissions parameter.
JibPluginConfiguration.ToAuthConfiguration - Class in com.google.cloud.tools.jib.maven
Used to configure to.auth parameters.
JibPluginConfiguration.ToConfiguration - Class in com.google.cloud.tools.jib.maven
Configuration for to parameter, where image is required.
JibSystemProperties - Class in com.google.cloud.tools.jib.global
Names of system properties defined/used by Jib.
JsonTemplate - Interface in com.google.cloud.tools.jib.json
All JSON templates to be used with JsonTemplateMapper must extend this class.
JsonTemplateMapper - Class in com.google.cloud.tools.jib.json
Helper class for serializing and deserializing JSON.
JsonToImageTranslator - Class in com.google.cloud.tools.jib.image.json

K

known(Credential, String) - Method in class com.google.cloud.tools.jib.frontend.CredentialRetrieverFactory
Creates a new CredentialRetriever that returns a known Credential.

L

lap() - Method in class com.google.cloud.tools.jib.builder.TimerEventDispatcher
Captures the time since last lap or creation and dispatches an TimerEvent.State.LAP TimerEvent.
lap(String) - Method in class com.google.cloud.tools.jib.builder.TimerEventDispatcher
Captures the time since last lap or creation and dispatches an TimerEvent.State.LAP TimerEvent.
Layer - Interface in com.google.cloud.tools.jib.image
Represents a layer in an image.
LayerConfiguration - Class in com.google.cloud.tools.jib.api
Configures how to build a layer in the container image.
LayerConfiguration.Builder - Class in com.google.cloud.tools.jib.api
LayerCountMismatchException - Exception in com.google.cloud.tools.jib.image
Exception thrown when the number of layers found did not match expectations.
LayerCountMismatchException(String) - Constructor for exception com.google.cloud.tools.jib.image.LayerCountMismatchException
 
LayerEntry - Class in com.google.cloud.tools.jib.api
Represents an entry in the layer.
LayerEntry(Path, AbsoluteUnixPath, FilePermissions, Instant) - Constructor for class com.google.cloud.tools.jib.api.LayerEntry
Instantiates with a source file and the path to place the source file in the container file system.
LayerPropertyNotFoundException - Exception in com.google.cloud.tools.jib.image
Exception thrown when accessing non-existent properties of layers.
lifecycle(String) - Static method in class com.google.cloud.tools.jib.api.LogEvent
 
lifecycle(Consumer<String>) - Method in class com.google.cloud.tools.jib.plugins.common.logging.ConsoleLoggerBuilder
Sets the Consumer to log a LogEvent.Level.LIFECYCLE message.
load(ImageTarball) - Method in class com.google.cloud.tools.jib.docker.DockerClient
Loads an image tarball into the Docker daemon.
lock(Path) - Static method in class com.google.cloud.tools.jib.filesystem.LockFile
Creates a lock file.
LockFile - Class in com.google.cloud.tools.jib.filesystem
Creates and deletes lock files.
log(LogEvent) - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
log(LogEvent.Level, String) - Method in interface com.google.cloud.tools.jib.plugins.common.logging.ConsoleLogger
Logs message to the console at LogEvent.Level.LIFECYCLE.
log(LogEvent) - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 
LogEvent - Class in com.google.cloud.tools.jib.api
Log message event.
LogEvent.Level - Enum in com.google.cloud.tools.jib.api
Log levels, in order of verbosity.

M

MainClassFinder - Class in com.google.cloud.tools.jib.api
Finds main classes in a list of class files.
MainClassFinder() - Constructor for class com.google.cloud.tools.jib.api.MainClassFinder
 
MainClassFinder.Result - Class in com.google.cloud.tools.jib.api
MainClassFinder.Result.Type - Enum in com.google.cloud.tools.jib.api
The type of result.
MainClassInferenceException - Exception in com.google.cloud.tools.jib.plugins.common
Thrown when main class inference fails.
MainClassResolver - Class in com.google.cloud.tools.jib.plugins.common
Infers the main class in an application.
MANIFEST_MEDIA_TYPE - Static variable in class com.google.cloud.tools.jib.image.json.OCIManifestTemplate
The OCI manifest media type.
MANIFEST_MEDIA_TYPE - Static variable in class com.google.cloud.tools.jib.image.json.V22ManifestListTemplate
 
MANIFEST_MEDIA_TYPE - Static variable in class com.google.cloud.tools.jib.image.json.V22ManifestTemplate
The Docker V2.2 manifest media type.
ManifestAndConfig - Class in com.google.cloud.tools.jib.image.json
Stores a manifest and container config.
ManifestAndConfig(ManifestTemplate, ContainerConfigurationTemplate) - Constructor for class com.google.cloud.tools.jib.image.json.ManifestAndConfig
 
ManifestDescriptorTemplate() - Constructor for class com.google.cloud.tools.jib.image.json.V22ManifestListTemplate.ManifestDescriptorTemplate
 
ManifestTemplate - Interface in com.google.cloud.tools.jib.image.json
Parent class for image manifest JSON templates.
MavenProjectProperties - Class in com.google.cloud.tools.jib.maven
Obtains information about a MavenProject.
maximumRetries(int) - Method in class com.google.cloud.tools.jib.cache.Retry
 
MEDIA_TYPE - Static variable in class com.google.cloud.tools.jib.image.json.V21ManifestTemplate
 
MojoCommon - Class in com.google.cloud.tools.jib.maven
Collection of common methods to share between Maven goals.

N

named(ImageReference) - Static method in class com.google.cloud.tools.jib.api.DockerDaemonImage
Instantiate with the image reference to tag the built image with.
named(String) - Static method in class com.google.cloud.tools.jib.api.DockerDaemonImage
Instantiate with the image reference to tag the built image with.
named(ImageReference) - Static method in class com.google.cloud.tools.jib.api.RegistryImage
Instantiate with the image reference to use.
named(String) - Static method in class com.google.cloud.tools.jib.api.RegistryImage
Instantiate with the image reference to use.
named(ImageReference) - Static method in class com.google.cloud.tools.jib.api.TarImage
Configures the output tarball archive with an image reference.
named(String) - Static method in class com.google.cloud.tools.jib.api.TarImage
Configures the output tarball archive with an image reference to set as its tag.
newBaseImageRegistryClientFactory() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
Creates a new RegistryClient.Factory for the base image with fields from the build configuration.
newChild(String, long) - Method in class com.google.cloud.tools.jib.event.progress.Allocation
Creates a new child Allocation (sub-allocation).
newChildProducer() - Method in class com.google.cloud.tools.jib.builder.ProgressEventDispatcher
Creates a new ProgressEventDispatcher.Factory for a ProgressEventDispatcher that manages a child Allocation.
newLockingOutputStream(Path) - Static method in class com.google.cloud.tools.jib.filesystem.FileOperations
Acquires an exclusive FileLock on the file and opens an OutputStream to write to it.
newRegistryClient() - Method in class com.google.cloud.tools.jib.registry.RegistryClient.Factory
Creates a new RegistryClient.
newRoot(EventHandlers, String, long) - Static method in class com.google.cloud.tools.jib.builder.ProgressEventDispatcher
Creates a new ProgressEventDispatcher with a root Allocation.
newRoot(String, long) - Static method in class com.google.cloud.tools.jib.event.progress.Allocation
Creates a new root Allocation.
newTargetImageRegistryClientFactory() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
Creates a new RegistryClient.Factory for the target image with fields from the build configuration.
NONE - Static variable in class com.google.cloud.tools.jib.event.EventHandlers
An empty EventHandlers.
none() - Method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
NotifyingOutputStream - Class in com.google.cloud.tools.jib.http
Counts the number of bytes written and reports the count to a callback.
NotifyingOutputStream(OutputStream, Consumer<Long>) - Constructor for class com.google.cloud.tools.jib.http.NotifyingOutputStream
Wraps the underlyingOutputStream to count the bytes written.

O

OCIManifestTemplate - Class in com.google.cloud.tools.jib.image.json
JSON Template for OCI Manifest Schema
OCIManifestTemplate() - Constructor for class com.google.cloud.tools.jib.image.json.OCIManifestTemplate
 
of(String, String, String) - Static method in class com.google.cloud.tools.jib.api.ImageReference
Constructs an ImageReference from the image reference components, consisting of an optional registry, a repository, and an optional tag.

P

PackageGoalsMojo - Class in com.google.cloud.tools.jib.maven.skaffold
Print out all jib goals tied to the package phase.
PackageGoalsMojo() - Constructor for class com.google.cloud.tools.jib.maven.skaffold.PackageGoalsMojo
 
parse(String) - Static method in class com.google.cloud.tools.jib.api.ImageReference
Parses a string reference into an ImageReference.
parse(List<String>) - Static method in class com.google.cloud.tools.jib.api.Ports
Converts/validates a list of strings representing port ranges to an expanded list of Ports.
parse(String) - Static method in class com.google.cloud.tools.jib.filesystem.UnixPathParser
Parses a Unix-style path into a list of path components.
parseListProperty(String) - Static method in class com.google.cloud.tools.jib.plugins.common.ConfigurationPropertyValidator
Parses a comma-separated string into a list.
parseMapProperty(String) - Static method in class com.google.cloud.tools.jib.plugins.common.ConfigurationPropertyValidator
Parses a string in the form of "key1=value1,key2=value2,..." into a map.
parseProtocol(int, String) - Static method in class com.google.cloud.tools.jib.api.Port
Gets a Port with protocol parsed from the string form protocolString.
PathConsumer - Interface in com.google.cloud.tools.jib.filesystem
 
PermissionConfiguration() - Constructor for class com.google.cloud.tools.jib.maven.JibPluginConfiguration.PermissionConfiguration
 
plain(SingleThreadedExecutor) - Static method in class com.google.cloud.tools.jib.plugins.common.logging.ConsoleLoggerBuilder
Starts a ConsoleLoggerBuilder for plain-text logging (no ANSI support).
Platform() - Constructor for class com.google.cloud.tools.jib.image.json.V22ManifestListTemplate.ManifestDescriptorTemplate.Platform
 
PLUGIN_KEY - Static variable in class com.google.cloud.tools.jib.maven.MavenProjectProperties
Used to identify this plugin when interacting with the maven system.
PLUGIN_NAME - Static variable in class com.google.cloud.tools.jib.maven.MavenProjectProperties
Used for logging during main class inference and analysis of user configuration.
PluginConfigurationProcessor - Class in com.google.cloud.tools.jib.plugins.common
Configures and provides JibBuildRunner for the image building tasks based on raw plugin configuration values and project properties.
PluginConfigurationProcessor() - Constructor for class com.google.cloud.tools.jib.plugins.common.PluginConfigurationProcessor
 
Port - Class in com.google.cloud.tools.jib.api
Represents a port number with a protocol (TCP or UDP).
Ports - Class in com.google.cloud.tools.jib.api
Utility for parsing Docker/OCI ports from text representations.
post(Request) - Method in class com.google.cloud.tools.jib.http.Connection
Sends the request with method POST.
progress(String) - Static method in class com.google.cloud.tools.jib.api.LogEvent
 
progress(Consumer<String>) - Method in class com.google.cloud.tools.jib.plugins.common.logging.ConsoleLoggerBuilder
Sets the Consumer to log a LogEvent.Level.PROGRESS message.
ProgressDisplayGenerator - Class in com.google.cloud.tools.jib.plugins.common.logging
Generates a display of progress and unfinished tasks.
ProgressEvent - Class in com.google.cloud.tools.jib.event.events
Event representing progress.
ProgressEvent(Allocation, long) - Constructor for class com.google.cloud.tools.jib.event.events.ProgressEvent
 
ProgressEventDispatcher - Class in com.google.cloud.tools.jib.builder
Dispatches ProgressEvents associated with a managed Allocation.
ProgressEventDispatcher.Factory - Interface in com.google.cloud.tools.jib.builder
Creates a new ProgressEventDispatcher based off an existing ProgressEventDispatcher.
ProgressEventHandler - Class in com.google.cloud.tools.jib.event.progress
Handles ProgressEvents by accumulating an overall progress and keeping track of which Allocations are complete.
ProgressEventHandler(Consumer<ProgressEventHandler.Update>) - Constructor for class com.google.cloud.tools.jib.event.progress.ProgressEventHandler
 
ProgressEventHandler.Update - Class in com.google.cloud.tools.jib.event.progress
Contains the accumulated progress and which "leaf" tasks are not yet complete.
ProjectInfo - Class in com.google.cloud.tools.jib
Constants relating to the Jib project.
ProjectProperties - Interface in com.google.cloud.tools.jib.plugins.common
Project property methods that require maven/gradle-specific implementations.
PropertyNames - Class in com.google.cloud.tools.jib.plugins.common
Names of system properties used to set configuration via commandline.
pullBlob(DescriptorDigest, Consumer<Long>, Consumer<Long>) - Method in class com.google.cloud.tools.jib.registry.RegistryClient
Gets the BLOB referenced by blobDigest.
pullManifest(String, Class<T>) - Method in class com.google.cloud.tools.jib.registry.RegistryClient
Pulls the image manifest for a specific tag.
pullManifest(String) - Method in class com.google.cloud.tools.jib.registry.RegistryClient
 
pushBlob(DescriptorDigest, Blob, String, Consumer<Long>) - Method in class com.google.cloud.tools.jib.registry.RegistryClient
Pushes the BLOB.
pushManifest(BuildableManifestTemplate, String) - Method in class com.google.cloud.tools.jib.registry.RegistryClient
Pushes the image manifest for a specific tag.
put(Request) - Method in class com.google.cloud.tools.jib.http.Connection
Sends the request with method PUT.

R

RawConfiguration - Interface in com.google.cloud.tools.jib.plugins.common
Holds raw plugin configuration parameter values.
readJson(String, Class<T>) - Static method in class com.google.cloud.tools.jib.json.JsonTemplateMapper
Deserializes a JSON object from a JSON string.
readJson(byte[], Class<T>) - Static method in class com.google.cloud.tools.jib.json.JsonTemplateMapper
Deserializes a JSON object from a JSON byte array.
readJsonFromFile(Path, Class<T>) - Static method in class com.google.cloud.tools.jib.json.JsonTemplateMapper
Deserializes a JSON file via a JSON object template.
readJsonFromFileWithLock(Path, Class<T>) - Static method in class com.google.cloud.tools.jib.json.JsonTemplateMapper
Deserializes a JSON file via a JSON object template with a shared lock on the file
readListOfJson(String, Class<T>) - Static method in class com.google.cloud.tools.jib.json.JsonTemplateMapper
Deserializes a JSON object list from a JSON string.
ReferenceLayer - Class in com.google.cloud.tools.jib.image
A Layer reference that does not have the underlying content.
ReferenceLayer(BlobDescriptor, DescriptorDigest) - Constructor for class com.google.cloud.tools.jib.image.ReferenceLayer
Instantiate with a BlobDescriptor and diff ID.
ReferenceNoDiffIdLayer - Class in com.google.cloud.tools.jib.image
A Layer reference that does not have the underlying content.
ReferenceNoDiffIdLayer(BlobDescriptor) - Constructor for class com.google.cloud.tools.jib.image.ReferenceNoDiffIdLayer
Instantiate with a BlobDescriptor and no diff ID.
RegistryAliasGroup - Class in com.google.cloud.tools.jib.registry
Provides known aliases and alternative hosts for a given registry.
RegistryAliasGroup() - Constructor for class com.google.cloud.tools.jib.registry.RegistryAliasGroup
 
RegistryAuthenticationFailedException - Exception in com.google.cloud.tools.jib.api
Thrown because registry authentication failed.
RegistryAuthenticationFailedException(String, String, Throwable) - Constructor for exception com.google.cloud.tools.jib.api.RegistryAuthenticationFailedException
 
RegistryAuthenticationFailedException(String, String, String) - Constructor for exception com.google.cloud.tools.jib.api.RegistryAuthenticationFailedException
 
RegistryAuthenticator - Class in com.google.cloud.tools.jib.registry
Authenticates push/pull access with a registry service.
RegistryClient - Class in com.google.cloud.tools.jib.registry
Interfaces with a registry.
RegistryClient.Factory - Class in com.google.cloud.tools.jib.registry
Factory for creating RegistryClients.
RegistryCredentialsNotSentException - Exception in com.google.cloud.tools.jib.registry
Thrown when registry request was unauthorized because credentials weren't sent.
RegistryException - Exception in com.google.cloud.tools.jib.api
Thrown when interacting with a registry.
RegistryException(String, Throwable) - Constructor for exception com.google.cloud.tools.jib.api.RegistryException
 
RegistryException(String) - Constructor for exception com.google.cloud.tools.jib.api.RegistryException
 
RegistryException(Throwable) - Constructor for exception com.google.cloud.tools.jib.api.RegistryException
 
RegistryImage - Class in com.google.cloud.tools.jib.api
Defines an image on a container registry that can be used as either a source or target image.
registryPushSteps() - Method in class com.google.cloud.tools.jib.builder.steps.StepsRunner
 
RegistryUnauthorizedException - Exception in com.google.cloud.tools.jib.api
Thrown when a registry request was unauthorized and therefore authentication is needed.
RegistryUnauthorizedException(String, String, HttpResponseException) - Constructor for exception com.google.cloud.tools.jib.api.RegistryUnauthorizedException
Identifies the image registry and repository that denied access.
RelativeUnixPath - Class in com.google.cloud.tools.jib.api
Represents a Unix-style path in relative form (does not start at the file system root /).
ReproducibleLayerBuilder - Class in com.google.cloud.tools.jib.image
Builds a reproducible layer Blob from files.
ReproducibleLayerBuilder(ImmutableList<LayerEntry>) - Constructor for class com.google.cloud.tools.jib.image.ReproducibleLayerBuilder
 
Request - Class in com.google.cloud.tools.jib.http
Holds an HTTP request.
Request.Builder - Class in com.google.cloud.tools.jib.http
 
REQUIRED_VERSION_PROPERTY_NAME - Static variable in class com.google.cloud.tools.jib.maven.MojoCommon
Describes a minimum required version or version range for Jib.
resolve(RelativeUnixPath) - Method in class com.google.cloud.tools.jib.api.AbsoluteUnixPath
Resolves this path against another relative path.
resolve(Path) - Method in class com.google.cloud.tools.jib.api.AbsoluteUnixPath
Resolves this path against another relative path (by the name elements of relativePath).
resolve(String) - Method in class com.google.cloud.tools.jib.api.AbsoluteUnixPath
Resolves this path against another relative Unix path in string form.
resolveMainClass(String, ProjectProperties) - Static method in class com.google.cloud.tools.jib.plugins.common.MainClassResolver
If mainClass is null, tries to infer main class in this order: 1.
Response - Class in com.google.cloud.tools.jib.http
Holds an HTTP response.
retrieve() - Method in interface com.google.cloud.tools.jib.api.CredentialRetriever
Fetches the credentials.
retrieve(ImmutableList<LayerEntry>) - Method in class com.google.cloud.tools.jib.cache.Cache
Retrieves the CachedLayer that was built from the layerEntries.
retrieve(DescriptorDigest) - Method in class com.google.cloud.tools.jib.cache.Cache
Retrieves the CachedLayer for the layer with digest layerDigest.
retrieve(Consumer<LogEvent>) - Method in class com.google.cloud.tools.jib.registry.credentials.DockerConfigCredentialRetriever
Retrieves credentials for a registry.
retrieve() - Method in class com.google.cloud.tools.jib.registry.credentials.DockerCredentialHelper
Calls the credential helper CLI in the form:
retrieveMetadata(ImageReference) - Method in class com.google.cloud.tools.jib.cache.Cache
Retrieves the cached manifest and container configuration for an image reference.
Retry<E extends Exception> - Class in com.google.cloud.tools.jib.cache
Retries an action until it succeeds, or has retried too often and failed.
Retry.Action<E extends Exception> - Interface in com.google.cloud.tools.jib.cache
A runnable action that may throw an exception of type E.
retryOnException(Predicate<Exception>) - Method in class com.google.cloud.tools.jib.cache.Retry
Provide a predicate to determine if a thrown exception can be retried.
retrySupported() - Method in class com.google.cloud.tools.jib.http.BlobHttpContent
 
rich(SingleThreadedExecutor) - Static method in class com.google.cloud.tools.jib.plugins.common.logging.ConsoleLoggerBuilder
Starts a ConsoleLoggerBuilder for rich logging (ANSI support with footer).
run() - Method in class com.google.cloud.tools.jib.builder.steps.StepsRunner
 
run() - Method in interface com.google.cloud.tools.jib.cache.Retry.Action
Perform the action.
run() - Method in class com.google.cloud.tools.jib.cache.Retry
Run the action until it runs successfully, to a maximum number of retries (default: 5).
runBuild() - Method in class com.google.cloud.tools.jib.plugins.common.JibBuildRunner
Runs the Jib build.

S

save(ImageReference, Path) - Method in class com.google.cloud.tools.jib.docker.DockerClient
Saves an image tarball from the Docker daemon.
SaveDockerStep - Class in com.google.cloud.tools.jib.builder.steps
Saves an image from the docker daemon.
saveTo(Path) - Method in class com.google.cloud.tools.jib.api.TarImage.Builder
Sets the output file to save the tarball archive to.
scratch() - Static method in class com.google.cloud.tools.jib.api.ImageReference
Constructs an ImageReference with an empty registry and tag component, and repository set to "scratch".
send(String, Request) - Method in class com.google.cloud.tools.jib.http.Connection
Sends the request.
SEND_CREDENTIALS_OVER_HTTP - Static variable in class com.google.cloud.tools.jib.global.JibSystemProperties
 
sendCredentialsOverHttp() - Static method in class com.google.cloud.tools.jib.global.JibSystemProperties
Gets whether or not to allow sending authentication information over insecure HTTP connections.
serialize(DescriptorDigest, JsonGenerator, SerializerProvider) - Method in class com.google.cloud.tools.jib.image.json.DescriptorDigestSerializer
 
serializeExecution() - Static method in class com.google.cloud.tools.jib.global.JibSystemProperties
Gets whether or not to serialize Jib's execution.
set(File) - Method in class com.google.cloud.tools.jib.maven.JibPluginConfiguration.ExtraDirectoryParameters
Deprecated.
set(String) - Method in class com.google.cloud.tools.jib.maven.JibPluginConfiguration.ToConfiguration
 
setAccept(List<String>) - Method in class com.google.cloud.tools.jib.http.Request.Builder
Sets the Accept header.
setAdditionalTargetImageTags(Set<String>) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Sets the tags to tag the target image with (in addition to the tag in the target image configuration image reference set via BuildConfiguration.Builder.setTargetImageConfiguration(com.google.cloud.tools.jib.configuration.ImageConfiguration)).
setAllowInsecureRegistries(boolean) - Method in class com.google.cloud.tools.jib.api.Containerizer
Sets whether or not to allow communication over HTTP/insecure HTTPS.
setAllowInsecureRegistries(boolean) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Sets whether or not to allow communication over HTTP (as opposed to HTTPS).
setAllowInsecureRegistries(boolean) - Method in class com.google.cloud.tools.jib.registry.RegistryClient.Factory
Sets whether or not to allow insecure registries (ignoring certificate validation failure or communicating over HTTP if all else fail).
setApplicationLayersCache(Path) - Method in class com.google.cloud.tools.jib.api.Containerizer
Sets the directory to use for caching application layers.
setApplicationLayersCacheDirectory(Path) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Sets the location of the cache for storing application layers.
setAppRoot(String) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Sets the app root of the container image (useful for building WAR containers).
setAppRoot(AbsoluteUnixPath) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Sets the app root of the container image (useful for building WAR containers).
setArchitecture(String) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Sets the image architecture.
setArchitecture(String) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
Sets the architecture for which this container was built.
setAuthor(String) - Method in class com.google.cloud.tools.jib.image.json.HistoryEntry.Builder
 
setAuthorization(Authorization) - Method in class com.google.cloud.tools.jib.http.Request.Builder
Sets the Authorization header.
setAuthorization(Authorization) - Method in class com.google.cloud.tools.jib.registry.RegistryClient.Factory
Sets the authentication credentials to use to authenticate with the registry.
setBaseImageConfiguration(ImageConfiguration) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Sets the base image configuration.
setBaseImageLayersCache(Path) - Method in class com.google.cloud.tools.jib.api.Containerizer
Sets the directory to use for caching base image layers.
setBaseImageLayersCacheDirectory(Path) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Sets the location of the cache for storing base image layers.
setBody(HttpContent) - Method in class com.google.cloud.tools.jib.http.Request.Builder
Sets the body and its corresponding Content-Type header.
setClassesDestination(RelativeUnixPath) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Sets the destination directory of the classes added to the container (relative to the app root).
setComment(String) - Method in class com.google.cloud.tools.jib.image.json.HistoryEntry.Builder
 
setConfig(String) - Method in class com.google.cloud.tools.jib.docker.json.DockerManifestEntryTemplate
 
setContainerCmd(List<String>) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setContainerConfiguration(ContainerConfiguration) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Sets configuration parameters for the container.
setContainerConfiguration(long, DescriptorDigest) - Method in interface com.google.cloud.tools.jib.image.json.BuildableManifestTemplate
Sets the content descriptor of the container configuration.
setContainerConfiguration(long, DescriptorDigest) - Method in class com.google.cloud.tools.jib.image.json.OCIManifestTemplate
 
setContainerConfiguration(long, DescriptorDigest) - Method in class com.google.cloud.tools.jib.image.json.V22ManifestTemplate
 
setContainerEntrypoint(List<String>) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setContainerEnvironment(List<String>) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setContainerExposedPorts(Map<String, Map<?, ?>>) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setContainerHealthCheckInterval(Long) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setContainerHealthCheckRetries(Integer) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setContainerHealthCheckStartPeriod(Long) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setContainerHealthCheckTest(List<String>) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setContainerHealthCheckTimeout(Long) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setContainerLabels(Map<String, String>) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setContainerUser(String) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setContainerVolumes(Map<String, Map<?, ?>>) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setContainerWorkingDir(String) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setCreated(Instant) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Sets the image creation time.
setCreated(String) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
 
setCreatedBy(String) - Method in class com.google.cloud.tools.jib.image.json.HistoryEntry.Builder
 
setCreationTime(Instant) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the container image creation time.
setCreationTime(Instant) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
Sets the image creation time.
setCreationTimestamp(Instant) - Method in class com.google.cloud.tools.jib.image.json.HistoryEntry.Builder
 
setCredentialHelper(String) - Method in class com.google.cloud.tools.jib.plugins.common.DefaultCredentialRetrievers
Sets the known credential helper.
setCredentialRetrievers(List<CredentialRetriever>) - Method in class com.google.cloud.tools.jib.configuration.ImageConfiguration.Builder
Sets the providers for registry credentials.
setDependenciesDestination(RelativeUnixPath) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Sets the destination directory of the dependencies added to the container (relative to the app root).
setDockerEnvironment(Map<String, String>) - Method in class com.google.cloud.tools.jib.api.DockerDaemonImage
Sets the additional environment variables to use when running docker.
setDockerExecutable(Path) - Method in class com.google.cloud.tools.jib.api.DockerDaemonImage
Sets the path to the docker CLI.
setEmptyLayer(Boolean) - Method in class com.google.cloud.tools.jib.image.json.HistoryEntry.Builder
 
setEntrypoint(List<String>) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the container entrypoint.
setEntrypoint(String...) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the container entrypoint.
setEntrypoint(List<String>) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
Sets the container entrypoint.
setEntrypoint(List<String>) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Sets the entrypoint of the image.
setEnvironment(Map<String, String>) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the container environment.
setEnvironment(Map<String, String>) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
Sets the container's environment variables, mapping variable name to value.
setEventHandlers(EventHandlers) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Sets the EventHandlers to dispatch events with.
setExecutorService(ExecutorService) - Method in class com.google.cloud.tools.jib.api.Containerizer
Sets the ExecutorService Jib executes on.
setExecutorService(ExecutorService) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Sets the ExecutorService Jib executes on.
setExposedPorts(Set<Port>) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the ports to expose from the container.
setExposedPorts(Port...) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the ports to expose from the container.
setExposedPorts(Set<Port>) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
Sets the container's exposed ports.
setFooter(List<String>) - Method in interface com.google.cloud.tools.jib.plugins.common.logging.ConsoleLogger
Sets the footer.
setFormat(ImageFormat) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the format to build the container image as.
setHealthCheck(DockerHealthCheck) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Sets the container's healthcheck configuration.
setHttpTimeout(Integer) - Method in class com.google.cloud.tools.jib.http.Request.Builder
Sets the HTTP connection and read timeout in milliseconds.
setImage(String) - Method in class com.google.cloud.tools.jib.plugins.common.SkaffoldInitOutput
 
setInferredCredential(Credential, String) - Method in class com.google.cloud.tools.jib.plugins.common.DefaultCredentialRetrievers
Sets the inferred Credential to use in the default credential retrievers.
setInterval(Duration) - Method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck.Builder
Sets the time between healthchecks.
setKnownCredential(Credential, String) - Method in class com.google.cloud.tools.jib.plugins.common.DefaultCredentialRetrievers
Sets the known Credential to use in the default credential retrievers.
setLabels(Map<String, String>) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the labels for the container.
setLabels(Map<String, String>) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
Sets the container's labels.
setLayerBlob(Blob) - Method in class com.google.cloud.tools.jib.cache.CachedLayer.Builder
 
setLayerConfigurations(List<LayerConfiguration>) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Sets the layers to build.
setLayerDiffId(DescriptorDigest) - Method in class com.google.cloud.tools.jib.cache.CachedLayer.Builder
 
setLayerDigest(DescriptorDigest) - Method in class com.google.cloud.tools.jib.cache.CachedLayer.Builder
 
setLayers(List<LayerConfiguration>) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the layers (defined by a list of LayerConfigurations).
setLayers(LayerConfiguration...) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the layers.
setLayerSize(long) - Method in class com.google.cloud.tools.jib.cache.CachedLayer.Builder
 
setMainClass(String) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Sets the container entrypoint with the specified main class.
setModificationTimeProvider(BiFunction<Path, AbsoluteUnixPath, Instant>) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Sets the modification time provider for container files.
setName(String) - Method in class com.google.cloud.tools.jib.api.LayerConfiguration.Builder
Sets a name for this layer.
setOffline(boolean) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Sets whether or not to perform the build in offline mode.
setOfflineMode(boolean) - Method in class com.google.cloud.tools.jib.api.Containerizer
Sets whether or not to run the build in offline mode.
setOs(String) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Sets the image operating system.
setOs(String) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
Sets the operating system for which this container was built.
setOthersDestination(RelativeUnixPath) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Sets the destination directory of additional classpath files added to the container (relative to the app root).
setProgramArguments(List<String>) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the container entrypoint program arguments.
setProgramArguments(String...) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the container entrypoint program arguments.
setProgramArguments(List<String>) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
Sets the commandline arguments for main.
setProgramArguments(List<String>) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Sets the items in the "Cmd" field in the container configuration.
setProject(String) - Method in class com.google.cloud.tools.jib.plugins.common.SkaffoldInitOutput
 
setRepoTags(String) - Method in class com.google.cloud.tools.jib.docker.json.DockerManifestEntryTemplate
 
setResourcesDestination(RelativeUnixPath) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Sets the destination directory of the resources added to the container (relative to the app root).
setRetries(int) - Method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck.Builder
Sets the number of times to retry the healthcheck before the container is considered to be unhealthy.
setStartPeriod(Duration) - Method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck.Builder
Sets the initialization time to wait before using healthchecks.
setTargetFormat(ImageFormat) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Sets the target format of the container image.
setTargetImageConfiguration(ImageConfiguration) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Sets the target image configuration.
setTimeout(Duration) - Method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck.Builder
Sets the time until a healthcheck is considered hung.
settingsDecrypter - Variable in class com.google.cloud.tools.jib.maven.JibPluginConfiguration
 
setToolName(String) - Method in class com.google.cloud.tools.jib.api.Containerizer
Sets the name of the tool that is using Jib Core.
setToolName(String) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
Sets the name of the tool that is executing the build.
setUser(String) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the user and group to run the container as.
setUser(String) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
Sets the user and group to run the container as.
setUser(String) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Sets the user/group to run the container as.
setUserAgent(String) - Method in class com.google.cloud.tools.jib.http.Request.Builder
Sets the User-Agent header.
setUserAgentSuffix(String) - Method in class com.google.cloud.tools.jib.registry.RegistryClient.Factory
Sets a suffix to append to User-Agent headers.
setVolumes(Set<AbsoluteUnixPath>) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the directories that may hold externally mounted volumes.
setVolumes(AbsoluteUnixPath...) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the directories that may hold externally mounted volumes.
setVolumes(Set<AbsoluteUnixPath>) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
Sets the container's volumes.
setWorkingDirectory(AbsoluteUnixPath) - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
Sets the working directory in the container.
setWorkingDirectory(AbsoluteUnixPath) - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration.Builder
Sets the working directory in the container.
setWorkingDirectory(String) - Method in class com.google.cloud.tools.jib.image.Image.Builder
Sets the item in the "WorkingDir" field in the container configuration.
shutDownAndAwaitTermination(Duration) - Method in class com.google.cloud.tools.jib.plugins.common.logging.SingleThreadedExecutor
Shuts down the SingleThreadedExecutor.executorService and waits for it to terminate.
SingleThreadedExecutor - Class in com.google.cloud.tools.jib.plugins.common.logging
Executes methods on a single managed thread.
SingleThreadedExecutor() - Constructor for class com.google.cloud.tools.jib.plugins.common.logging.SingleThreadedExecutor
 
SkaffoldFilesOutput - Class in com.google.cloud.tools.jib.plugins.common
Builds a JSON string containing files and directories that Skaffold should watch for changes (and consequently trigger rebuilds).
SkaffoldFilesOutput() - Constructor for class com.google.cloud.tools.jib.plugins.common.SkaffoldFilesOutput
Creates an empty SkaffoldFilesOutput.
SkaffoldFilesOutput(String) - Constructor for class com.google.cloud.tools.jib.plugins.common.SkaffoldFilesOutput
Creates a SkaffoldFilesOutput from a JSON string.
SkaffoldInitMojo - Class in com.google.cloud.tools.jib.maven.skaffold
Prints out to.image configuration and project name, used for Jib project detection in Skaffold.
SkaffoldInitMojo() - Constructor for class com.google.cloud.tools.jib.maven.skaffold.SkaffoldInitMojo
 
SkaffoldInitOutput - Class in com.google.cloud.tools.jib.plugins.common
Builds a JSON string containing the configured target image and sub-project name, to be consumed by Skaffold.
SkaffoldInitOutput() - Constructor for class com.google.cloud.tools.jib.plugins.common.SkaffoldInitOutput
 
SkaffoldInitOutput(String) - Constructor for class com.google.cloud.tools.jib.plugins.common.SkaffoldInitOutput
 
SKIP - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
sleep(long, TimeUnit) - Method in class com.google.cloud.tools.jib.cache.Retry
Set the sleep time between retries.
StepsRunner - Class in com.google.cloud.tools.jib.builder.steps
Runs steps for building an image.
subTimer(String) - Method in class com.google.cloud.tools.jib.builder.TimerEventDispatcher
Creates a new TimerEventDispatcher with its parent timer as this.
suggest(String, String) - Static method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 
suggest(String) - Method in class com.google.cloud.tools.jib.plugins.common.HelpfulSuggestions
 

T

tag(ImageReference, ImageReference) - Method in class com.google.cloud.tools.jib.docker.DockerClient
Tags the image referenced by originalImageReference with a new image reference newImageReference.
tarBuildSteps(Path) - Method in class com.google.cloud.tools.jib.builder.steps.StepsRunner
 
TarExtractor - Class in com.google.cloud.tools.jib.tar
Extracts a tarball.
TarExtractor() - Constructor for class com.google.cloud.tools.jib.tar.TarExtractor
 
TarImage - Class in com.google.cloud.tools.jib.api
Builds to a tarball archive.
TarImage.Builder - Class in com.google.cloud.tools.jib.api
Finishes constructing a TarImage.
TarStreamBuilder - Class in com.google.cloud.tools.jib.tar
Builds a tarball archive.
TarStreamBuilder() - Constructor for class com.google.cloud.tools.jib.tar.TarStreamBuilder
 
tcp(int) - Static method in class com.google.cloud.tools.jib.api.Port
Create a new Port with TCP protocol.
TemporaryDirectory - Class in com.google.cloud.tools.jib.filesystem
A temporary directory that tries to delete itself upon close.
TemporaryDirectory(Path) - Constructor for class com.google.cloud.tools.jib.filesystem.TemporaryDirectory
Creates a new temporary directory under an existing parentDirectory.
ThrottledAccumulatingConsumer - Class in com.google.cloud.tools.jib.event.progress
Wraps a Consumer<Long> so that multiple consume calls (ThrottledAccumulatingConsumer.accept(java.lang.Long)) within a short period of time are merged into a single later call with the value accumulated up to that point.
ThrottledAccumulatingConsumer(Consumer<Long>) - Constructor for class com.google.cloud.tools.jib.event.progress.ThrottledAccumulatingConsumer
Wraps a consumer with the delay of 100 ms.
ThrottledAccumulatingConsumer(Consumer<Long>, Duration, Supplier<Instant>) - Constructor for class com.google.cloud.tools.jib.event.progress.ThrottledAccumulatingConsumer
 
TimerEvent - Class in com.google.cloud.tools.jib.event.events
Timer event for timing various part of Jib's execution.
TimerEvent(TimerEvent.State, TimerEvent.Timer, Duration, Duration, String) - Constructor for class com.google.cloud.tools.jib.event.events.TimerEvent
Creates a new TimerEvent.
TimerEvent.State - Enum in com.google.cloud.tools.jib.event.events
The state of the timing.
TimerEvent.Timer - Interface in com.google.cloud.tools.jib.event.events
Defines a timer hierarchy.
TimerEventDispatcher - Class in com.google.cloud.tools.jib.builder
Handles Timers to dispatch TimerEvents.
TimerEventDispatcher(EventHandlers, String) - Constructor for class com.google.cloud.tools.jib.builder.TimerEventDispatcher
Creates a new TimerEventDispatcher.
TimerEventHandler - Class in com.google.cloud.tools.jib.plugins.common
Handles TimerEvents by producing log messages.
TimerEventHandler(Consumer<String>) - Constructor for class com.google.cloud.tools.jib.plugins.common.TimerEventHandler
Creates a new TimerEventHandler with a consumer for log messages generated by handling TimerEvents.
to(RegistryImage) - Static method in class com.google.cloud.tools.jib.api.Containerizer
Gets a new Containerizer that containerizes to a container registry.
to(DockerDaemonImage) - Static method in class com.google.cloud.tools.jib.api.Containerizer
Gets a new Containerizer that containerizes to a Docker daemon.
to(TarImage) - Static method in class com.google.cloud.tools.jib.api.Containerizer
Gets a new Containerizer that containerizes to a tarball archive.
TO_AUTH_PASSWORD - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
TO_AUTH_USERNAME - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
TO_CRED_HELPER - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
TO_IMAGE - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
TO_IMAGE_ALTERNATE - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
TO_TAGS - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
ToAuthConfiguration() - Constructor for class com.google.cloud.tools.jib.maven.JibPluginConfiguration.ToAuthConfiguration
 
toByteArray(JsonTemplate) - Static method in class com.google.cloud.tools.jib.json.JsonTemplateMapper
 
toByteArray(List<? extends JsonTemplate>) - Static method in class com.google.cloud.tools.jib.json.JsonTemplateMapper
 
ToConfiguration() - Constructor for class com.google.cloud.tools.jib.maven.JibPluginConfiguration.ToConfiguration
 
toContainerBuilder() - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
Returns a new JibContainerBuilder using the parameters specified on the JavaContainerBuilder.
toImage(V21ManifestTemplate) - Static method in class com.google.cloud.tools.jib.image.json.JsonToImageTranslator
Translates V21ManifestTemplate to Image.
toImage(BuildableManifestTemplate, ContainerConfigurationTemplate) - Static method in class com.google.cloud.tools.jib.image.json.JsonToImageTranslator
toOctalString() - Method in class com.google.cloud.tools.jib.api.FilePermissions
Gets the octal string representation of the permissions.
toString() - Method in class com.google.cloud.tools.jib.api.AbsoluteUnixPath
Returns the string form of the absolute Unix-style path.
toString() - Method in class com.google.cloud.tools.jib.api.Credential
 
toString() - Method in class com.google.cloud.tools.jib.api.DescriptorDigest
 
toString() - Method in class com.google.cloud.tools.jib.api.ImageReference
Stringifies the ImageReference.
toString() - Method in class com.google.cloud.tools.jib.api.LogEvent
 
toString() - Method in class com.google.cloud.tools.jib.api.Port
Stringifies the port with protocol, in the form <port>/<protocol>.
toString() - Method in class com.google.cloud.tools.jib.blob.BlobDescriptor
 
toString() - Method in class com.google.cloud.tools.jib.http.Authorization
Return the HTTP Authorization header value.
toString() - Method in class com.google.cloud.tools.jib.image.json.HistoryEntry
 
toStringWithTag() - Method in class com.google.cloud.tools.jib.api.ImageReference
Stringifies the ImageReference, without hiding the tag.
toUtf8String(JsonTemplate) - Static method in class com.google.cloud.tools.jib.json.JsonTemplateMapper
 
toUtf8String(List<? extends JsonTemplate>) - Static method in class com.google.cloud.tools.jib.json.JsonTemplateMapper
 

U

udp(int) - Static method in class com.google.cloud.tools.jib.api.Port
Create a new Port with UDP protocol.
UnixPathParser - Class in com.google.cloud.tools.jib.filesystem
Parses Unix-style paths.
UnknownManifestFormatException - Exception in com.google.cloud.tools.jib.image.json
Exception thrown when trying to parse an unknown image manifest format.
UnknownManifestFormatException(String) - Constructor for exception com.google.cloud.tools.jib.image.json.UnknownManifestFormatException
 
unzip(Path, Path) - Static method in class com.google.cloud.tools.jib.plugins.common.ZipUtil
Unzips archive into destination.
USE_ONLY_PROJECT_CACHE - Static variable in class com.google.cloud.tools.jib.plugins.common.PropertyNames
 
useCrossRepositoryBlobMounts() - Static method in class com.google.cloud.tools.jib.global.JibSystemProperties
Gets whether or not to use cross-repository blob mounts when uploading image layers (mount/from).
UserCacheHome - Class in com.google.cloud.tools.jib.filesystem
Obtains an OS-specific user cache directory based on the XDG Base Directory Specification.
usesDefaultTag() - Method in class com.google.cloud.tools.jib.api.ImageReference
Returns true if the ImageReference uses the default tag ((@code latest} or empty); false if not

V

V21ManifestTemplate - Class in com.google.cloud.tools.jib.image.json
JSON template for Docker Manifest Schema V2.1
V21ManifestTemplate() - Constructor for class com.google.cloud.tools.jib.image.json.V21ManifestTemplate
 
V22ManifestListTemplate - Class in com.google.cloud.tools.jib.image.json
JSON Template for Docker Manifest List Schema V2.2
V22ManifestListTemplate() - Constructor for class com.google.cloud.tools.jib.image.json.V22ManifestListTemplate
 
V22ManifestListTemplate.ManifestDescriptorTemplate - Class in com.google.cloud.tools.jib.image.json
Template for inner JSON object representing a single platform specific manifest.
V22ManifestListTemplate.ManifestDescriptorTemplate.Platform - Class in com.google.cloud.tools.jib.image.json
 
V22ManifestTemplate - Class in com.google.cloud.tools.jib.image.json
JSON Template for Docker Manifest Schema V2.2
V22ManifestTemplate() - Constructor for class com.google.cloud.tools.jib.image.json.V22ManifestTemplate
 
valueOf(String) - Static method in enum com.google.cloud.tools.jib.api.ImageFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.tools.jib.api.JavaContainerBuilder.LayerType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.tools.jib.api.LogEvent.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.tools.jib.api.MainClassFinder.Result.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.tools.jib.event.events.TimerEvent.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.tools.jib.plugins.common.ContainerizingMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.cloud.tools.jib.api.ImageFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.tools.jib.api.JavaContainerBuilder.LayerType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.tools.jib.api.LogEvent.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.tools.jib.api.MainClassFinder.Result.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.tools.jib.event.events.TimerEvent.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.tools.jib.plugins.common.ContainerizingMode
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.google.cloud.tools.jib.ProjectInfo
The project version.
VersionChecker<V extends Comparable<? super V>> - Class in com.google.cloud.tools.jib.plugins.common
A simple version-range checker, intended to check whether a Jib plugin version falls in some range.
VersionChecker(Function<String, V>) - Constructor for class com.google.cloud.tools.jib.plugins.common.VersionChecker
 

W

waitForLoggingThread() - Method in class com.google.cloud.tools.jib.maven.MavenProjectProperties
 
waitForLoggingThread() - Method in interface com.google.cloud.tools.jib.plugins.common.ProjectProperties
 
walk(PathConsumer) - Method in class com.google.cloud.tools.jib.filesystem.DirectoryWalker
Walks DirectoryWalker.rootDir and applies pathConsumer to each file.
walk() - Method in class com.google.cloud.tools.jib.filesystem.DirectoryWalker
warn(String) - Static method in class com.google.cloud.tools.jib.api.LogEvent
 
warn(Consumer<String>) - Method in class com.google.cloud.tools.jib.plugins.common.logging.ConsoleLoggerBuilder
Sets the Consumer to log a LogEvent.Level.WARN message.
wellKnownCredentialHelpers() - Method in class com.google.cloud.tools.jib.frontend.CredentialRetrieverFactory
Creates a new CredentialRetriever that tries well-known Docker credential helpers to retrieve credentials based on the registry of the image, such as docker-credential-gcr for images with the registry ending with gcr.io.
withAdditionalTag(String) - Method in class com.google.cloud.tools.jib.api.Containerizer
Adds an additional tag to tag the target image with.
withDirectory(Path) - Static method in class com.google.cloud.tools.jib.cache.Cache
Initializes the cache using cacheDirectory for storage.
withTag(String) - Method in class com.google.cloud.tools.jib.api.ImageReference
Gets an ImageReference with the same registry and repository, but a different tag.
WritableContents - Interface in com.google.cloud.tools.jib.hash
As a function, writes some contents to an output stream.
write(byte[], int, int) - Method in class com.google.cloud.tools.jib.hash.CountingDigestOutputStream
 
write(int) - Method in class com.google.cloud.tools.jib.hash.CountingDigestOutputStream
 
write(int) - Method in class com.google.cloud.tools.jib.http.NotifyingOutputStream
 
write(byte[]) - Method in class com.google.cloud.tools.jib.http.NotifyingOutputStream
 
write(byte[], int, int) - Method in class com.google.cloud.tools.jib.http.NotifyingOutputStream
 
writeAsTarArchiveTo(OutputStream) - Method in class com.google.cloud.tools.jib.tar.TarStreamBuilder
Writes each entry in the filesystem to the tarball archive stream.
writeCompressedLayer(Blob) - Method in class com.google.cloud.tools.jib.cache.Cache
Saves a cache entry with a compressed layer Blob.
writeImageDigest(Path) - Method in class com.google.cloud.tools.jib.plugins.common.JibBuildRunner
Set the location where the image digest will be saved.
writeImageId(Path) - Method in class com.google.cloud.tools.jib.plugins.common.JibBuildRunner
Set the location where the image id will be saved.
writeMetadata(ImageReference, BuildableManifestTemplate, ContainerConfigurationTemplate) - Method in class com.google.cloud.tools.jib.cache.Cache
Saves a manifest and container configuration for a V2.2 or OCI image.
writeMetadata(ImageReference, V21ManifestTemplate) - Method in class com.google.cloud.tools.jib.cache.Cache
Saves a V2.1 image manifest.
WriteTarFileStep - Class in com.google.cloud.tools.jib.builder.steps
 
writeTo(OutputStream) - Method in interface com.google.cloud.tools.jib.blob.Blob
Writes the BLOB to an OutputStream.
writeTo(OutputStream) - Method in class com.google.cloud.tools.jib.docker.ImageTarball
 
writeTo(OutputStream) - Method in interface com.google.cloud.tools.jib.hash.WritableContents
 
writeTo(OutputStream) - Method in class com.google.cloud.tools.jib.http.BlobHttpContent
 
writeTo(JsonTemplate, OutputStream) - Static method in class com.google.cloud.tools.jib.json.JsonTemplateMapper
 
writeTo(List<? extends JsonTemplate>, OutputStream) - Static method in class com.google.cloud.tools.jib.json.JsonTemplateMapper
 
writeToByteArray(Blob) - Static method in class com.google.cloud.tools.jib.blob.Blobs
Writes the BLOB to a byte array.
writeToString(Blob) - Static method in class com.google.cloud.tools.jib.blob.Blobs
Writes the BLOB to a string with UTF-8 decoding.
writeUncompressedLayer(Blob, ImmutableList<LayerEntry>) - Method in class com.google.cloud.tools.jib.cache.Cache
Saves a cache entry with an uncompressed layer Blob and an additional selector digest.

Z

ZipUtil - Class in com.google.cloud.tools.jib.plugins.common
Utility class for Zip archives.
ZipUtil() - Constructor for class com.google.cloud.tools.jib.plugins.common.ZipUtil
 
A B C D E F G H I J K L M N O P R S T U V W Z 
Skip navigation links

Copyright © 2019. All rights reserved.