- AbsoluteUnixPath - Class in com.google.cloud.tools.jib.filesystem
-
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(Path) - Method in interface com.google.cloud.tools.jib.filesystem.PathConsumer
-
- add(JibEventType<E>, Consumer<E>) - Method in class com.google.cloud.tools.jib.event.EventHandlers
-
Adds the
eventConsumer
to handle the
JibEvent
with class
eventClass
.
- add(Consumer<JibEvent>) - Method in class com.google.cloud.tools.jib.event.EventHandlers
-
Adds the
eventConsumer
to handle all
JibEvent
types.
- add(T) - Method in class com.google.cloud.tools.jib.image.ImageLayers.Builder
-
Adds a layer.
- addAll(ImageLayers<U>) - Method in class com.google.cloud.tools.jib.image.ImageLayers.Builder
-
Adds all layers in layers
.
- 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(Path, AbsoluteUnixPath) - Method in class com.google.cloud.tools.jib.configuration.LayerConfiguration.Builder
-
Adds an entry to the layer.
- addEntry(Path, AbsoluteUnixPath, FilePermissions) - Method in class com.google.cloud.tools.jib.configuration.LayerConfiguration.Builder
-
Adds an entry to the layer with the given permissions.
- addEntry(Path, AbsoluteUnixPath, FilePermissions, Instant) - Method in class com.google.cloud.tools.jib.configuration.LayerConfiguration.Builder
-
Adds an entry to the layer with the given permissions.
- addEntryRecursive(Path, AbsoluteUnixPath) - Method in class com.google.cloud.tools.jib.configuration.LayerConfiguration.Builder
-
Adds an entry to the layer.
- addEntryRecursive(Path, AbsoluteUnixPath, BiFunction<Path, AbsoluteUnixPath, FilePermissions>) - Method in class com.google.cloud.tools.jib.configuration.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.configuration.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
-
- 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
-
- 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
-
- addLayer(T) - 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.DockerLoadManifestEntryTemplate
-
- 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.
- addStep(AsyncStep<?>) - Method in class com.google.cloud.tools.jib.async.AsyncDependencies
-
- addSteps(List<? extends AsyncStep<?>>) - Method in class com.google.cloud.tools.jib.async.AsyncDependencies
-
- 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.
- ALL - Static variable in class com.google.cloud.tools.jib.event.JibEventType
-
All event types.
- Allocation - Class in com.google.cloud.tools.jib.event.progress
-
Represents a Decentralized Allocation Tree (DAT) node.
- AsyncDependencies - Class in com.google.cloud.tools.jib.async
-
Builds a list of dependency ListenableFuture
s to wait on before calling a Callable
.
- AsyncStep<T> - Interface in com.google.cloud.tools.jib.async
-
Holds the future for an asynchronously-running step.
- AsyncSteps - Class in com.google.cloud.tools.jib.async
-
- authenticatePull() - Method in class com.google.cloud.tools.jib.registry.RegistryAuthenticator
-
Authenticates permissions to pull.
- authenticatePush() - Method in class com.google.cloud.tools.jib.builder.steps.StepsRunner
-
- authenticatePush() - 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.
- Authorizations - Class in com.google.cloud.tools.jib.http
-
- AuthTemplate() - Constructor for class com.google.cloud.tools.jib.registry.credentials.json.DockerConfigTemplate.AuthTemplate
-
- debug(String) - Static method in class com.google.cloud.tools.jib.event.events.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_FILE_PERMISSIONS - Static variable in class com.google.cloud.tools.jib.configuration.FilePermissions
-
Default permissions for files added to the container.
- DEFAULT_FILE_PERMISSIONS_PROVIDER - Static variable in class com.google.cloud.tools.jib.image.LayerEntry
-
Provider that returns default file permissions (644 for files, 755 for directories).
- DEFAULT_FOLDER_PERMISSIONS - Static variable in class com.google.cloud.tools.jib.configuration.FilePermissions
-
Default permissions for folders added to the container.
- DEFAULT_MODIFIED_TIME - Static variable in class com.google.cloud.tools.jib.image.LayerEntry
-
- DEFAULT_MODIFIED_TIME_PROVIDER - Static variable in class com.google.cloud.tools.jib.image.LayerEntry
-
Provider that returns default file modification time (EPOCH + 1 second).
- DEFAULT_RELATIVE_CLASSES_PATH_ON_IMAGE - Static variable in class com.google.cloud.tools.jib.frontend.JavaEntrypointConstructor
-
- DEFAULT_RELATIVE_DEPENDENCIES_PATH_ON_IMAGE - Static variable in class com.google.cloud.tools.jib.frontend.JavaEntrypointConstructor
-
- DEFAULT_RELATIVE_RESOURCES_PATH_ON_IMAGE - Static variable in class com.google.cloud.tools.jib.frontend.JavaEntrypointConstructor
-
- DEFAULT_WEB_APP_ROOT - Static variable in class com.google.cloud.tools.jib.api.JavaContainerBuilder
-
The default webapp root in the image.
- DefaultEventDispatcher - Class in com.google.cloud.tools.jib.event
-
- DefaultEventDispatcher(EventHandlers) - Constructor for class com.google.cloud.tools.jib.event.DefaultEventDispatcher
-
- DescriptorDigest - Class in com.google.cloud.tools.jib.image
-
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
-
- 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.DefaultEventDispatcher
-
Dispatches jibEvent
to all the handlers that can handle it.
- dispatch(JibEvent) - Method in interface com.google.cloud.tools.jib.event.EventDispatcher
-
- dispatchProgress(long) - Method in class com.google.cloud.tools.jib.builder.ProgressEventDispatcher
-
- DockerClient - Class in com.google.cloud.tools.jib.docker
-
Calls out to the docker
CLI.
- DockerClient.Builder - Class in com.google.cloud.tools.jib.docker
-
- 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
-
- 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
-
- DockerLoadManifestEntryTemplate - Class in com.google.cloud.tools.jib.docker.json
-
JSON Template for a loadable Docker Manifest entry.
- DockerLoadManifestEntryTemplate() - Constructor for class com.google.cloud.tools.jib.docker.json.DockerLoadManifestEntryTemplate
-
- get(AsyncStep<T>) - Static method in class com.google.cloud.tools.jib.async.NonBlockingSteps
-
Gets the completed computation result of asyncStep
.
- get(String) - Static method in class com.google.cloud.tools.jib.filesystem.AbsoluteUnixPath
-
- get(String) - Static method in class com.google.cloud.tools.jib.filesystem.RelativeUnixPath
-
- get(Request) - Method in class com.google.cloud.tools.jib.http.Connection
-
Sends the request with method GET.
- get(int) - Method in class com.google.cloud.tools.jib.image.ImageLayers
-
- get(DescriptorDigest) - Method in class com.google.cloud.tools.jib.image.ImageLayers
-
- 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).
- 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.
- 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
-
- getAuthorization() - Method in class com.google.cloud.tools.jib.registry.credentials.RegistryCredentials
-
- 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.
- 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.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
-
- getBuildConfiguration() - Method in class com.google.cloud.tools.jib.builder.BuildSteps
-
- getBuildStepType() - Method in class com.google.cloud.tools.jib.event.events.LayerCountEvent
-
Gets the type of build step that fired the event.
- getBuildStepType() - Method in class com.google.cloud.tools.jib.event.events.ProgressEvent
-
Gets the build step that the progress event corresponds to.
- getCacheHome() - Static method in class com.google.cloud.tools.jib.filesystem.UserCacheHome
-
- 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.
- getConnectionFactory() - Static method in class com.google.cloud.tools.jib.http.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.OCIManifestTemplate
-
- getContainerConfiguration() - Method in class com.google.cloud.tools.jib.image.json.V22ManifestTemplate
-
- getContainerConfigurationBlob() - Method in class com.google.cloud.tools.jib.image.json.ImageToJsonTranslator
-
Gets the container configuration as a
Blob
.
- getContentLength() - Method in class com.google.cloud.tools.jib.http.Response
-
- getCount() - Method in class com.google.cloud.tools.jib.event.events.LayerCountEvent
-
Gets the number of layers.
- 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
-
- getCredentialSource() - Method in class com.google.cloud.tools.jib.registry.credentials.RegistryCredentials
-
- 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
-
- getDelayBetweenCallbacks() - Method in interface com.google.cloud.tools.jib.http.BlobProgressListener
-
- 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.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 interface com.google.cloud.tools.jib.cache.CachedLayer
-
Gets the digest of the layer.
- getDigest() - Method in class com.google.cloud.tools.jib.image.json.BuildableManifestTemplate.ContentDescriptorTemplate
-
- 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
-
- getEnvironment() - Method in class com.google.cloud.tools.jib.image.Image
-
- 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
-
- getEventDispatcher() - 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
-
- getExtractionPath() - Method in class com.google.cloud.tools.jib.image.LayerEntry
-
Gets the extraction path.
- getFoundMainClass() - Method in class com.google.cloud.tools.jib.frontend.MainClassFinder.Result
-
Gets the found main class.
- getFoundMainClasses() - Method in class com.google.cloud.tools.jib.frontend.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
-
- getFuture() - Method in interface com.google.cloud.tools.jib.async.AsyncStep
-
- getFuture() - Method in class com.google.cloud.tools.jib.builder.steps.WriteTarFileStep
-
- getHash() - Method in class com.google.cloud.tools.jib.image.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.registry.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
-
- getImageName() - Method in exception com.google.cloud.tools.jib.registry.RegistryAuthenticationFailedException
-
- getImageReference() - Method in exception com.google.cloud.tools.jib.registry.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
-
- 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.
- getInvalidReference() - Method in exception com.google.cloud.tools.jib.image.InvalidImageReferenceException
-
- getLabels() - Method in class com.google.cloud.tools.jib.configuration.ContainerConfiguration
-
- getLabels() - Method in class com.google.cloud.tools.jib.image.Image
-
- getLastModifiedTime() - Method in class com.google.cloud.tools.jib.image.LayerEntry
-
Returns the modification time of the file in the entry.
- getLayerConfigurations() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
-
Gets the configurations for building the layers.
- getLayerDigests() - Method in class com.google.cloud.tools.jib.image.json.V21ManifestTemplate
-
- getLayerEntries() - Method in class com.google.cloud.tools.jib.configuration.LayerConfiguration
-
Gets the list of layer entries.
- getLayers() - Method in class com.google.cloud.tools.jib.image.Image
-
- getLayers() - Method in class com.google.cloud.tools.jib.image.ImageLayers
-
- 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.event.events.LogEvent
-
Gets the log level to log at.
- 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
-
- getManifestTemplate(Class<T>, BlobDescriptor) - Method in class com.google.cloud.tools.jib.image.json.ImageToJsonTranslator
-
Gets the manifest as a JSON template.
- getManifestTemplateClass() - Method in enum com.google.cloud.tools.jib.image.ImageFormat
-
- getMessage() - Method in class com.google.cloud.tools.jib.event.events.LogEvent
-
Gets the log message.
- getMessage() - Method in class com.google.cloud.tools.jib.registry.json.ErrorEntryTemplate
-
- getName() - Method in enum com.google.cloud.tools.jib.api.JavaContainerBuilder.LayerType
-
- getName() - Method in class com.google.cloud.tools.jib.configuration.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.configuration.credentials.Credential
-
Gets the password.
- getPermissionBits() - Method in class com.google.cloud.tools.jib.configuration.FilePermissions
-
- getPermissions() - Method in class com.google.cloud.tools.jib.image.LayerEntry
-
Gets the file permissions on the container.
- getPort() - Method in class com.google.cloud.tools.jib.configuration.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.configuration.Port
-
Gets the protocol.
- getRegistry() - Method in class com.google.cloud.tools.jib.image.ImageReference
-
- getRegistry() - Method in exception com.google.cloud.tools.jib.registry.RegistryUnauthorizedException
-
- getRegistryAuthenticator() - Method in class com.google.cloud.tools.jib.registry.RegistryClient
-
- getRepository() - Method in class com.google.cloud.tools.jib.image.ImageReference
-
- getRepository() - Method in exception com.google.cloud.tools.jib.registry.RegistryUnauthorizedException
-
- 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.V22ManifestTemplate
-
- getScheme() - Method in class com.google.cloud.tools.jib.http.Authorization
-
- getServerUrl() - Method in exception com.google.cloud.tools.jib.registry.RegistryAuthenticationFailedException
-
- getSize() - Method in class com.google.cloud.tools.jib.blob.BlobDescriptor
-
- getSize() - Method in interface com.google.cloud.tools.jib.cache.CachedLayer
-
Gets the size of the layer, in bytes.
- getSize() - Method in class com.google.cloud.tools.jib.image.json.BuildableManifestTemplate.ContentDescriptorTemplate
-
- getSourceFile() - Method in class com.google.cloud.tools.jib.image.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.image.ImageReference
-
- getTargetFormat() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
-
- 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.
- getToken() - Method in class com.google.cloud.tools.jib.http.Authorization
-
- getToolName() - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration
-
- getTotalBytes() - Method in class com.google.cloud.tools.jib.hash.CountingDigestOutputStream
-
- getType() - Method in class com.google.cloud.tools.jib.frontend.MainClassFinder.Result
-
Gets the type of the result.
- getType() - Method in class com.google.cloud.tools.jib.http.BlobHttpContent
-
- getUnfinishedAllocations() - Method in class com.google.cloud.tools.jib.event.progress.ProgressEventHandler.Update
-
- 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
.
- 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.configuration.credentials.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.
- readJson(String, Class<T>) - Static method in class com.google.cloud.tools.jib.json.JsonTemplateMapper
-
Deserializes a JSON object from a JSON string.
- 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
-
- 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.registry
-
Thrown because registry authentication failed.
- RegistryAuthenticator - Class in com.google.cloud.tools.jib.registry
-
Authenticates push/pull access with a registry service.
- RegistryAuthenticator.Initializer - Class in com.google.cloud.tools.jib.registry
-
- RegistryClient - Class in com.google.cloud.tools.jib.registry
-
Interfaces with a registry.
- RegistryClient.Factory - Class in com.google.cloud.tools.jib.registry
-
- RegistryCredentials - Class in com.google.cloud.tools.jib.registry.credentials
-
Stores retrieved registry credentials and their source.
- RegistryCredentials(String, Authorization) - Constructor for class com.google.cloud.tools.jib.registry.credentials.RegistryCredentials
-
- 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.registry
-
Thrown when interacting with a registry.
- RegistryException(String, Throwable) - Constructor for exception com.google.cloud.tools.jib.registry.RegistryException
-
- RegistryException(String) - Constructor for exception com.google.cloud.tools.jib.registry.RegistryException
-
- RegistryException(Throwable) - Constructor for exception com.google.cloud.tools.jib.registry.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.
- RegistryUnauthorizedException - Exception in com.google.cloud.tools.jib.registry
-
Thrown when a registry request was unauthorized and therefore authentication is needed.
- RegistryUnauthorizedException(String, String, HttpResponseException) - Constructor for exception com.google.cloud.tools.jib.registry.RegistryUnauthorizedException
-
Identifies the image registry and repository that denied access.
- RelativeUnixPath - Class in com.google.cloud.tools.jib.filesystem
-
Represents a Unix-style path in relative form (does not start at the file system root /
).
- removeDuplicates() - Method in class com.google.cloud.tools.jib.image.ImageLayers.Builder
-
Remove any duplicate layers, keeping the last occurrence of the layer.
- 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
-
- resolve(RelativeUnixPath) - Method in class com.google.cloud.tools.jib.filesystem.AbsoluteUnixPath
-
Resolves this path against another relative path.
- resolve(Path) - Method in class com.google.cloud.tools.jib.filesystem.AbsoluteUnixPath
-
Resolves this path against another relative path (by the name elements of relativePath
).
- resolve(String) - Method in class com.google.cloud.tools.jib.filesystem.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.
- 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() - Method in interface com.google.cloud.tools.jib.configuration.credentials.CredentialRetriever
-
Fetches the credentials.
- retrieve(EventDispatcher) - 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:
- retrieveTargetRegistryCredentials() - Method in class com.google.cloud.tools.jib.builder.steps.StepsRunner
-
- retrySupported() - Method in class com.google.cloud.tools.jib.http.BlobHttpContent
-
- run() - Method in class com.google.cloud.tools.jib.builder.BuildSteps
-
Executes the build.
- run() - Method in class com.google.cloud.tools.jib.builder.steps.StepsRunner
-
- 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.image.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
-
- serialize(DescriptorDigest, JsonGenerator, SerializerProvider) - Method in class com.google.cloud.tools.jib.image.json.DescriptorDigestSerializer
-
- 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
-
- 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.RegistryAuthenticator.Initializer
-
- 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(BlobHttpContent) - 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
-
- 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
-
- setCredential(Credential) - Method in class com.google.cloud.tools.jib.registry.RegistryAuthenticator
-
Sets a Credential
to help the authentication.
- 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
.
- setDockerEnvironment(ImmutableMap<String, String>) - Method in class com.google.cloud.tools.jib.docker.DockerClient.Builder
-
Sets environment variables to use when executing the docker
executable.
- setDockerExecutable(Path) - Method in class com.google.cloud.tools.jib.api.DockerDaemonImage
-
Sets the path to the docker
CLI.
- setDockerExecutable(Path) - Method in class com.google.cloud.tools.jib.docker.DockerClient.Builder
-
Sets a path for a docker
executable.
- 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.
- setEventDispatcher(EventDispatcher) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
-
- setEventHandlers(EventHandlers) - Method in class com.google.cloud.tools.jib.api.Containerizer
-
Sets the
EventHandlers
to handle events dispatched during Jib's execution.
- 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.
- 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.
- setLayerConfigurations(List<LayerConfiguration>) - Method in class com.google.cloud.tools.jib.configuration.BuildConfiguration.Builder
-
Sets the layers to build.
- 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.
- setMainClass(String) - Method in class com.google.cloud.tools.jib.api.JavaContainerBuilder
-
Sets the container entrypoint with the specified main class.
- setName(String) - Method in class com.google.cloud.tools.jib.configuration.LayerConfiguration.Builder
-
Sets a name for this layer.
- 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.
- setRepoTags(String) - Method in class com.google.cloud.tools.jib.docker.json.DockerLoadManifestEntryTemplate
-
- 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(Class<? extends BuildableManifestTemplate>) - 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.
- 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.RegistryAuthenticator.Initializer
-
- 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.
- size() - Method in class com.google.cloud.tools.jib.image.ImageLayers
-
- 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
-
- 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
-
- 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.JavaContainerBuilder.LayerType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.tools.jib.builder.BuildStepType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.tools.jib.event.events.LogEvent.Level
-
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.frontend.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.image.ImageFormat
-
Returns the enum constant of this type with the specified name.
- 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.builder.BuildStepType
-
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.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.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.frontend.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.image.ImageFormat
-
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.