- 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
-
- 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.
- 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
-
- 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
-
Adds an environment entry to the container configuration.
- 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
-
Adds an exposed port entry to the container configuration.
- 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
-
- 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
-
Add a label to the container configuration.
- 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
-
- 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
-
- addManifest(BlobDescriptor, String) - Method in class com.google.cloud.tools.jib.image.json.OciIndexTemplate
-
- 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.
- addRepoTag(String) - Method in class com.google.cloud.tools.jib.docker.json.DockerManifestEntryTemplate
-
- 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
-
Adds a volume entry to the container configuration.
- 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.
- at(Path) - Static method in class com.google.cloud.tools.jib.api.TarImage
-
Constructs a
TarImage
with the specified path.
- 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.
- AuthTemplate() - Constructor for class com.google.cloud.tools.jib.registry.credentials.json.DockerConfigTemplate.AuthTemplate
-
- Cache - Class in com.google.cloud.tools.jib.cache
-
Cache for storing data to be shared between Jib executions.
- 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
-
A reference to an image layer that is in the Cache.
- CachedLayer.Builder - Class in com.google.cloud.tools.jib.cache
-
- call() - Method in class com.google.cloud.tools.jib.builder.steps.WriteTarFileStep
-
- call(String, URL, Request) - Method in class com.google.cloud.tools.jib.http.FailoverHttpClient
-
Sends the request.
- checkBlob(DescriptorDigest) - Method in class com.google.cloud.tools.jib.registry.RegistryClient
-
Check if a blob is on the registry.
- 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.
- 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
-
- close() - Method in class com.google.cloud.tools.jib.configuration.BuildContext
-
- 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.TempDirectoryProvider
-
- close() - Method in class com.google.cloud.tools.jib.http.NotifyingOutputStream
-
- close() - Method in class com.google.cloud.tools.jib.http.Response
-
- 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.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
-
- 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
-
- configureBasicAuth() - Method in class com.google.cloud.tools.jib.registry.RegistryClient
-
Configure basic authentication on this registry client.
- 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
-
- 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.
- Containerizer - Class in com.google.cloud.tools.jib.api
-
Configures how to containerize.
- 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
-
- create(String, Path) - Static method in class com.google.cloud.tools.jib.registry.credentials.DockerConfigCredentialRetriever
-
- createForLegacyFormat(String, Path) - Static method in class com.google.cloud.tools.jib.registry.credentials.DockerConfigCredentialRetriever
-
- 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
-
- 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
-
- debug(String) - Static method in class com.google.cloud.tools.jib.api.LogEvent
-
- 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.
- describeContainer() - Method in class com.google.cloud.tools.jib.api.JibContainerBuilder
-
Describes the container contents and configuration without actually physically building a
container.
- 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
-
- DescriptorDigestDeserializer() - Constructor for class com.google.cloud.tools.jib.image.json.DescriptorDigestDeserializer
-
- DescriptorDigestSerializer - Class in com.google.cloud.tools.jib.image.json
-
- 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
-
- DigestOnlyLayer(DescriptorDigest) - Constructor for class com.google.cloud.tools.jib.image.DigestOnlyLayer
-
- 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
-
- DOCKER_DAEMON_IMAGE_PREFIX - Static variable in class com.google.cloud.tools.jib.api.Jib
-
- 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.
- DockerClient.DockerImageDetails - Class in com.google.cloud.tools.jib.docker
-
Contains the size, image ID, and diff IDs of an image inspected with docker inspect
.
- 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
System.getProperty("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.
- DockerConfigTemplate - Class in com.google.cloud.tools.jib.registry.credentials.json
-
Template for a Docker config file.
- DockerConfigTemplate(Map<String, DockerConfigTemplate.AuthTemplate>) - 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
-
- 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
-
- DockerImageDetails() - Constructor for class com.google.cloud.tools.jib.docker.DockerClient.DockerImageDetails
-
- dockerLoadSteps(DockerClient) - Method in class com.google.cloud.tools.jib.builder.steps.StepsRunner
-
Add steps for loading an image to docker daemon.
- 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
-
- doPullBearerAuth() - Method in class com.google.cloud.tools.jib.registry.RegistryClient
-
Attempts bearer authentication for pull.
- doPushBearerAuth() - Method in class com.google.cloud.tools.jib.registry.RegistryClient
-
Attempts bearer authentication for pull and push.
- factory(EventHandlers, String, String, FailoverHttpClient) - Static method in class com.google.cloud.tools.jib.registry.RegistryClient
-
- factory(EventHandlers, String, String, String, FailoverHttpClient) - Static method in class com.google.cloud.tools.jib.registry.RegistryClient
-
- FailoverHttpClient - Class in com.google.cloud.tools.jib.http
-
Thread-safe HTTP client that can automatically failover from secure HTTPS to insecure HTTPS or
HTTP.
- FailoverHttpClient(boolean, boolean, Consumer<LogEvent>) - Constructor for class com.google.cloud.tools.jib.http.FailoverHttpClient
-
Create a new FailoverHttpclient.
- 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.
- 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
-
- forImage(ImageReference, Consumer<LogEvent>) - Static method in class com.google.cloud.tools.jib.frontend.CredentialRetrieverFactory
-
- 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
-
- from(ImageReference) - Static method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
-
- from(RegistryImage) - Static method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
-
- from(DockerDaemonImage) - Static method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
-
Starts building the container from a base image stored in the Docker cache.
- from(TarImage) - Static method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
-
Starts building the container from a tarball.
- 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 registry base image.
- from(DockerDaemonImage) - Static method in class com.google.cloud.tools.jib.api.Jib
-
Starts building the container from a base image stored in the Docker cache.
- from(TarImage) - Static method in class com.google.cloud.tools.jib.api.Jib
-
Starts building the container from a tarball.
- 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
-
- fromBasicCredentials(String, String) - Static method in class com.google.cloud.tools.jib.http.Authorization
-
Create an authentication from basic credentials.
- fromBearerToken(String) - Static method in class com.google.cloud.tools.jib.http.Authorization
-
Create an authentication from bearer token.
- fromCommand(List<String>) - Static method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck
-
- 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
-
- fromDistrolessJetty() - Static method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
-
- 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
-
- fromPath(Path) - Static method in class com.google.cloud.tools.jib.api.AbsoluteUnixPath
-
- fromPosixFilePermissions(Set<PosixFilePermission>) - Static method in class com.google.cloud.tools.jib.api.FilePermissions
-
- fromScratch() - Static method in class com.google.cloud.tools.jib.api.Jib
-
Starts building the container from an empty base image.
- get(String) - Static method in class com.google.cloud.tools.jib.api.AbsoluteUnixPath
-
- get(String) - Static method in class com.google.cloud.tools.jib.api.RelativeUnixPath
-
- get(URL, Request) - Method in class com.google.cloud.tools.jib.http.FailoverHttpClient
-
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.
- getAllTargetImageTags() - Method in class com.google.cloud.tools.jib.configuration.BuildContext
-
Returns all image tags configured for this build.
- getAlwaysCacheBaseImage() - Method in class com.google.cloud.tools.jib.configuration.BuildContext
-
Gets whether or not to force caching the base images.
- getAnnotations() - Method in class com.google.cloud.tools.jib.image.json.BuildableManifestTemplate.ContentDescriptorTemplate
-
- getApplicationLayersCache() - Method in class com.google.cloud.tools.jib.configuration.BuildContext
-
Gets the
Cache
for application layers.
- 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
-
- getAuths() - Method in class com.google.cloud.tools.jib.registry.credentials.json.DockerConfigTemplate
-
- getBaseImageConfiguration() - Method in class com.google.cloud.tools.jib.configuration.BuildContext
-
- getBaseImageLayersCache() - Method in class com.google.cloud.tools.jib.configuration.BuildContext
-
Gets the
Cache
for base image layers.
- 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
-
Returns this layer's contents.
- 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
-
Returns this layer's content descriptor.
- 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
-
Returns the content of the HTTP response.
- getCacheHome() - Static method in class com.google.cloud.tools.jib.filesystem.XdgDirectories
-
- 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.
- getConfigHome() - Static method in class com.google.cloud.tools.jib.filesystem.XdgDirectories
-
- getContainerConfiguration() - Method in class com.google.cloud.tools.jib.configuration.BuildContext
-
- getContainerConfiguration() - Method in interface com.google.cloud.tools.jib.image.json.BuildableManifestTemplate
-
Returns the content descriptor of the container configuration.
- 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
-
- getContent() - Method in exception com.google.cloud.tools.jib.http.ResponseException
-
- getContentLength() - Method in class com.google.cloud.tools.jib.http.Response
-
Returns the content length from the header.
- getCreated() - Method in class com.google.cloud.tools.jib.image.Image
-
- getCreationTime() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
-
- 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
-
- 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
-
Returns this layer's diff ID.
- getDiffId() - Method in class com.google.cloud.tools.jib.image.ReferenceLayer
-
- getDiffId() - Method in class com.google.cloud.tools.jib.image.ReferenceNoDiffIdLayer
-
- getDiffIds() - Method in class com.google.cloud.tools.jib.docker.DockerClient.DockerImageDetails
-
Return a list of diff ids of the layers in the image.
- 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
-
- getDigest() - Method in class com.google.cloud.tools.jib.registry.ManifestAndDigest
-
Gets the digest.
- getDigestsForPlatform(String, String) - Method in class com.google.cloud.tools.jib.image.json.V22ManifestListTemplate
-
Returns a list of digests for a specific platform found in the manifest list.
- getDockerClient() - Method in class com.google.cloud.tools.jib.configuration.ImageConfiguration
-
- getDockerConfigFile() - Method in class com.google.cloud.tools.jib.registry.credentials.DockerConfigCredentialRetriever
-
- 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
-
- getEnvironment() - Method in class com.google.cloud.tools.jib.image.Image
-
- getEnvironmentMap() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
-
- getErrorCode(ResponseException) - 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.BuildContext
-
- getExecutorService() - Method in class com.google.cloud.tools.jib.configuration.BuildContext
-
- getExposedPorts() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
-
- getExposedPorts() - Method in class com.google.cloud.tools.jib.image.Image
-
- getExtractionPath() - Method in class com.google.cloud.tools.jib.api.LayerEntry
-
Gets the extraction path.
- 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.
- getFsLayers() - Method in class com.google.cloud.tools.jib.image.json.V21ManifestTemplate
-
- getHash() - Method in class com.google.cloud.tools.jib.api.DescriptorDigest
-
- getHeader(String) - Method in class com.google.cloud.tools.jib.http.Response
-
Returns a list of the header string values for the given header name.
- getHeaders() - Method in exception com.google.cloud.tools.jib.http.ResponseException
-
- 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.
- getImage() - Method in class com.google.cloud.tools.jib.configuration.ImageConfiguration
-
- getImageDigest() - Method in class com.google.cloud.tools.jib.builder.steps.BuildResult
-
- getImageFormat() - Method in class com.google.cloud.tools.jib.image.Image
-
- 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
-
- getImageId() - Method in class com.google.cloud.tools.jib.docker.DockerClient.DockerImageDetails
-
- getImageName() - Method in exception com.google.cloud.tools.jib.api.RegistryAuthenticationFailedException
-
The image being authenticated.
- 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
-
- getInterval() - Method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck
-
Gets the optional healthcheck interval.
- getInvalidReference() - Method in exception com.google.cloud.tools.jib.api.InvalidImageReferenceException
-
- getLabels() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
-
- getLabels() - Method in class com.google.cloud.tools.jib.image.Image
-
- getLayerConfigurations() - Method in class com.google.cloud.tools.jib.configuration.BuildContext
-
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
-
Returns a list of descriptor digests for the layers in the image.
- 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.api.JibContainerDescription
-
Returns a list of "user configured" layers, does not include base layer information.
- getLayers() - Method in class com.google.cloud.tools.jib.image.Image
-
- getLayers() - Method in interface com.google.cloud.tools.jib.image.json.BuildableManifestTemplate
-
Returns an unmodifiable view of the layers.
- 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.
- getManifest() - Method in class com.google.cloud.tools.jib.image.json.ManifestAndConfig
-
Gets the manifest.
- getManifest() - Method in class com.google.cloud.tools.jib.registry.ManifestAndDigest
-
Gets the manifest.
- getManifestMediaType() - Method in interface com.google.cloud.tools.jib.image.json.BuildableManifestTemplate
-
Returns the media type for this manifest, specific to the image format.
- 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.OciIndexTemplate
-
- 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.
- 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.
- getParent() - Method in interface com.google.cloud.tools.jib.event.events.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.
- getPermissionBits() - Method in class com.google.cloud.tools.jib.api.FilePermissions
-
- getPermissions() - Method in class com.google.cloud.tools.jib.api.LayerEntry
-
Gets the file permissions on the container.
- getPort() - Method in class com.google.cloud.tools.jib.api.Port
-
Gets the port number.
- getProgramArguments() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
-
- getProgramArguments() - Method in class com.google.cloud.tools.jib.image.Image
-
- getProgress() - Method in class com.google.cloud.tools.jib.event.progress.ProgressEventHandler.Update
-
Gets the overall progress, with 1.0
meaning fully complete.
- 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
-
- getRepository() - Method in class com.google.cloud.tools.jib.api.ImageReference
-
- getRepoTags() - Method in class com.google.cloud.tools.jib.docker.json.DockerManifestEntryTemplate
-
- getRequestUrl() - Method in class com.google.cloud.tools.jib.http.Response
-
Returns the original request URL.
- 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
-
The server being authenticated.
- 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.docker.DockerClient.DockerImageDetails
-
- 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
-
Returns the HTTP status code of the response.
- getStatusCode() - Method in exception com.google.cloud.tools.jib.http.ResponseException
-
- getTag() - Method in class com.google.cloud.tools.jib.api.ImageReference
-
- getTags() - Method in class com.google.cloud.tools.jib.api.JibContainer
-
Get the tags applied to the container.
- getTargetFormat() - Method in class com.google.cloud.tools.jib.configuration.BuildContext
-
- getTargetImage() - Method in class com.google.cloud.tools.jib.api.JibContainer
-
Get the target image that was built.
- getTargetImageConfiguration() - Method in class com.google.cloud.tools.jib.configuration.BuildContext
-
- getTarPath() - Method in class com.google.cloud.tools.jib.configuration.ImageConfiguration
-
- 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.
- getToken() - Method in class com.google.cloud.tools.jib.http.Authorization
-
- getToolName() - Method in class com.google.cloud.tools.jib.configuration.BuildContext
-
- getTotalLayerSize() - Method in class com.google.cloud.tools.jib.image.ImageTarball
-
Returns the total size of the image's layers in bytes.
- 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
.
- getUrls() - Method in class com.google.cloud.tools.jib.image.json.BuildableManifestTemplate.ContentDescriptorTemplate
-
- getUser() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
-
- getUser() - Method in class com.google.cloud.tools.jib.image.Image
-
- getUsername() - Method in class com.google.cloud.tools.jib.api.Credential
-
Gets the username.
- getVolumes() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
-
- getVolumes() - Method in class com.google.cloud.tools.jib.image.Image
-
- getWorkingDirectory() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
-
- getWorkingDirectory() - Method in class com.google.cloud.tools.jib.image.Image
-
- 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
-
- readJson(InputStream, Class<T>) - Static method in class com.google.cloud.tools.jib.json.JsonTemplateMapper
-
Deserializes a JSON object from a JSON input stream.
- 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
-
- 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
-
- REGISTRY_IMAGE_PREFIX - Static variable in class com.google.cloud.tools.jib.api.Jib
-
- 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
-
Creates a new exception with a human readable message.
- RegistryAuthenticationFailedException(String, String, String) - Constructor for exception com.google.cloud.tools.jib.api.RegistryAuthenticationFailedException
-
Creates a new exception with a human readable message.
- 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
-
- 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
-
Add steps for pushing an image to a remote registry.
- RegistryUnauthorizedException - Exception in com.google.cloud.tools.jib.api
-
Thrown when a registry request was unauthorized and therefore authentication is needed.
- RegistryUnauthorizedException(String, String, ResponseException) - 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
-
- requestAuthorizationCleared() - Method in exception com.google.cloud.tools.jib.http.ResponseException
-
Returns whether the Authorization
HTTP header was cleared (and thus not sent).
- 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.
- Response - Class in com.google.cloud.tools.jib.http
-
Holds an HTTP response.
- ResponseException - Exception in com.google.cloud.tools.jib.http
-
Holds an HTTP response exception.
- 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.
- retrieveLocalConfig(DescriptorDigest) - Method in class com.google.cloud.tools.jib.cache.Cache
-
- retrieveMetadata(ImageReference) - Method in class com.google.cloud.tools.jib.cache.Cache
-
Retrieves the cached manifest and container configuration for an image reference.
- retrieveTarLayer(DescriptorDigest) - Method in class com.google.cloud.tools.jib.cache.Cache
-
Retrieves a
CachedLayer
for a local base image layer with the given diff id.
- Retry<E extends java.lang.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 java.lang.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
-
- run() - Method in class com.google.cloud.tools.jib.builder.steps.StepsRunner
-
Run all steps and return a BuildResult after a build is completed.
- 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
-
- save(ImageReference, Path, Consumer<Long>) - Method in class com.google.cloud.tools.jib.docker.DockerClient
-
Saves an image tarball from the Docker daemon.
- 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_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.
- 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.BuildContext.Builder
-
- 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.BuildContext.Builder
-
Sets whether or not to allow communication over HTTP (as opposed to HTTPS).
- setAlwaysCacheBaseImage(boolean) - Method in class com.google.cloud.tools.jib.api.Containerizer
-
Controls the optimization which skips downloading base image layers that exist in a target
registry.
- setAlwaysCacheBaseImage(boolean) - Method in class com.google.cloud.tools.jib.configuration.BuildContext.Builder
-
Controls the optimization which skips downloading base image layers that exist in a target
registry.
- 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.BuildContext.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.
- setBaseImageConfiguration(ImageConfiguration) - Method in class com.google.cloud.tools.jib.configuration.BuildContext.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.BuildContext.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.BuildContext.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
-
Sets interval on HealthCheck, creates an empty HealthCheck object if necessary.
- setContainerHealthCheckRetries(Integer) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
-
Sets retries on HealthCheck, creates an empty HealthCheck object if necessary.
- setContainerHealthCheckStartPeriod(Long) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
-
Sets startPeriod on HealthCheck, creates an empty HealthCheck object if necessary.
- setContainerHealthCheckTest(List<String>) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
-
Sets test on HealthCheck, creates an empty HealthCheck object if necessary.
- setContainerHealthCheckTimeout(Long) - Method in class com.google.cloud.tools.jib.image.json.ContainerConfigurationTemplate
-
Sets timeout on HealthCheck, creates an empty HealthCheck object if necessary.
- 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
-
- setCredential(Credential) - Method in class com.google.cloud.tools.jib.registry.RegistryClient.Factory
-
Sets the authentication credentials to use to authenticate with the registry.
- 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).
- setDockerClient(DockerClient) - Method in class com.google.cloud.tools.jib.configuration.ImageConfiguration.Builder
-
Sets the Docker client to be used for Docker daemon base images.
- 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.BuildContext.Builder
-
- 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.BuildContext.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.
- 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.
- setInterval(Duration) - Method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck.Builder
-
Sets the time between healthchecks.
- 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.BuildContext.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
-
- 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.BuildContext.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.
- 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.BuildContext.Builder
-
Sets the target format of the container image.
- setTargetImageConfiguration(ImageConfiguration) - Method in class com.google.cloud.tools.jib.configuration.BuildContext.Builder
-
Sets the target image configuration.
- setTarPath(Path) - Method in class com.google.cloud.tools.jib.configuration.ImageConfiguration.Builder
-
Sets the path for tarball base images.
- setTimeout(Duration) - Method in class com.google.cloud.tools.jib.configuration.DockerHealthCheck.Builder
-
Sets the time until a healthcheck is considered hung.
- 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.BuildContext.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.
- shutDown() - Method in class com.google.cloud.tools.jib.http.FailoverHttpClient
-
Closes all connections and allocated resources, whether they are currently used or not.
- 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
-