Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleContainerTools/jib
/ functions
Functions
4,110 in github.com/GoogleContainerTools/jib
⨍
Functions
4,110
◇
Types & classes
720
↓ 9 callers
Method
isDisableUpdateCheck
Returns whether to disable update check. @return whether update check is disabled
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/globalconfig/GlobalConfig.java:133
↓ 9 callers
Method
loadJsonResource
(String path, Class<T> jsonClass)
jib-core/src/test/java/com/google/cloud/tools/jib/cache/CacheStorageWriterTest.java:107
↓ 9 callers
Method
performUpdateCheck
( Path configDir, String currentVersion, String versionUrl, String toolName, Con
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/UpdateChecker.java:76
↓ 9 callers
Method
realizeFutures
(Collection<Future<E>> futures)
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/StepsRunner.java:111
↓ 9 callers
Method
setBaseImageConfiguration
Sets the base image configuration. @param imageConfiguration the {@link ImageConfiguration} describing the base image @return this
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/BuildContext.java:96
↓ 9 callers
Method
setBaseImageLayersCache
Sets the directory to use for caching base image layers. This cache can (and should) be shared between multiple images. The default base image layers
jib-core/src/main/java/com/google/cloud/tools/jib/api/Containerizer.java:214
↓ 9 callers
Method
setCredentialHelper
Sets the known credential helper. May either be a path to a credential helper executable, or a credential helper suffix (following {@code docker-crede
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/DefaultCredentialRetrievers.java:145
↓ 9 callers
Method
setOs
Sets the image operating system. @param os the operating system @return this
jib-core/src/main/java/com/google/cloud/tools/jib/image/Image.java:93
↓ 9 callers
Method
setToolName
Sets the name of the tool that is using Jib Core. The tool name is sent as part of the {@code User-Agent} in registry requests and set as the {@code c
jib-core/src/main/java/com/google/cloud/tools/jib/api/Containerizer.java:297
↓ 9 callers
Method
setUpRegistryResponse
(Exception exceptionToThrow)
jib-core/src/test/java/com/google/cloud/tools/jib/registry/RegistryEndpointCallerTest.java:494
↓ 9 callers
Method
setVolumes
Sets the directories that may hold externally mounted volumes. <p>This is similar to <a href="https://docs.docker.com/engine/reference/builder/#volum
jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java:376
↓ 9 callers
Method
setWorkingDirectory
Sets the item in the "WorkingDir" field in the container configuration. @param workingDirectory the working directory @return this
jib-core/src/main/java/com/google/cloud/tools/jib/image/Image.java:225
↓ 9 callers
Method
toImage
Translates {@link V21ManifestTemplate} to {@link Image}. @param manifestTemplate the template containing the image layers. @return the translated {@l
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/JsonToImageTranslator.java:75
↓ 9 callers
Method
verifyIsLayer1
Verifies that {@code cachedLayer} corresponds to the first fake layer in {@link #setUp}. @param cachedLayer the {@link CachedLayer} to verify @throws
jib-core/src/test/java/com/google/cloud/tools/jib/cache/CacheTest.java:215
↓ 8 callers
Method
addHistory
Adds a history element to the image. @param history the history object to add @return this
jib-core/src/main/java/com/google/cloud/tools/jib/image/Image.java:248
↓ 8 callers
Method
addTarArchiveEntry
Adds a {@link TarArchiveEntry} to the archive. @param entry the {@link TarArchiveEntry}
jib-core/src/main/java/com/google/cloud/tools/jib/tar/TarStreamBuilder.java:64
↓ 8 callers
Method
assertBlobsEqual
(Blob expectedBlob, Blob blob)
jib-core/src/test/java/com/google/cloud/tools/jib/builder/steps/BuildAndCacheApplicationLayerStepTest.java:81
↓ 8 callers
Method
assertDockerInspect
(String imageReference)
jib-core/src/integration-test/java/com/google/cloud/tools/jib/api/ContainerizerIntegrationTest.java:116
↓ 8 callers
Method
atLeast
(Verbosity target)
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/logging/Verbosity.java:37
↓ 8 callers
Method
buildImage
( ImageReference baseImage, Containerizer containerizer, List<String> additionalTags)
jib-core/src/integration-test/java/com/google/cloud/tools/jib/api/ContainerizerIntegrationTest.java:337
↓ 8 callers
Method
compareTo
(LayerEntryTemplate otherLayerEntryTemplate)
jib-core/src/main/java/com/google/cloud/tools/jib/cache/LayerEntriesSelector.java:83
↓ 8 callers
Method
createGoodHash
Creates a 32 byte hexademical string to fit valid hash pattern.
jib-core/src/test/java/com/google/cloud/tools/jib/api/DescriptorDigestTest.java:121
↓ 8 callers
Method
defaultFileEntry
(Path source, AbsoluteUnixPath destination)
jib-build-plan/src/test/java/com/google/cloud/tools/jib/api/buildplan/FileEntriesLayerTest.java:32
↓ 8 callers
Method
equals
(Object other)
jib-core/src/main/java/com/google/cloud/tools/jib/api/ImageReference.java:433
↓ 8 callers
Method
extraDirectoryLayerConfiguration
Returns a {@link FileEntriesLayer} for adding the extra directory to the container. @param sourceDirectory the source extra directory path @param tar
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/JavaContainerBuilderHelper.java:59
↓ 8 callers
Method
from
(String jsonString)
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/SkaffoldSyncMapTemplate.java:96
↓ 8 callers
Method
from
Create a Containerizer from a command line specification. @param commonCliOptions common cli options @param logger a logger to inject into the build
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Containerizers.java:56
↓ 8 callers
Method
getApplicationLayersCacheDirectory
()
jib-core/src/main/java/com/google/cloud/tools/jib/api/Containerizer.java:358
↓ 8 callers
Method
getArchitecture
Returns the architecture for which this container was built. See the <a href="https://github.com/opencontainers/image-spec/blob/master/config.md#prope
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java:317
↓ 8 callers
Method
getAuthenticationUrl
(@Nullable Credential credential, Map<String, String> repositoryScopes)
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryAuthenticator.java:205
↓ 8 callers
Method
getDependencies
()
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/ProjectProperties.java:69
↓ 8 callers
Method
getDirectoryPermissions
()
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/buildfile/FilePropertiesStack.java:94
↓ 8 callers
Method
getDockerClient
()
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/JibExtension.java:195
↓ 8 callers
Method
getFilePermissions
()
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/buildfile/FilePropertiesStack.java:90
↓ 8 callers
Method
getGenerated
()
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/SkaffoldSyncMapTemplate.java:140
↓ 8 callers
Method
getHost
Returns the server host name to use for the given registry. @param registry the name of the registry @return the registry host
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryAliasGroup.java:70
↓ 8 callers
Method
getInvalidContainerizingMode
()
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/InvalidContainerizingModeException.java:29
↓ 8 callers
Method
getInvalidPlatform
()
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/InvalidPlatformException.java:32
↓ 8 callers
Method
getLayerDigests
Returns a list of descriptor digests for the layers in the image. @return a list of descriptor digests for the layers in the image.
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/V21ManifestTemplate.java:102
↓ 8 callers
Method
getLayersTestRoot
(String testName)
jib-cli/src/test/java/com/google/cloud/tools/jib/cli/buildfile/LayersTest.java:58
↓ 8 callers
Method
getLocalDirectory
Resolves the {@link #LOCAL_DIRECTORY} in the {@link #cacheDirectory}. @return the directory containing local base image layers
jib-core/src/main/java/com/google/cloud/tools/jib/cache/CacheStorageFiles.java:134
↓ 8 callers
Method
getPlatform
()
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/OciIndexTemplate.java:171
↓ 8 callers
Method
getRelativeToProjectRoot
(Path configuration, String propertyName)
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/OutputPathsParameters.java:102
↓ 8 callers
Method
getSchemaVersion
()
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/V22ManifestTemplate.java:82
↓ 8 callers
Method
getSpringBootRepackageConfiguration
Returns Spring Boot {@code <configuration>} if the Spring Boot plugin is configured to run the {@code repackage} goal to create a Spring Boot artifact
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenProjectProperties.java:581
↓ 8 callers
Method
getTag
Gets the tag portion of the {@link ImageReference}. @return the optional tag
jib-core/src/main/java/com/google/cloud/tools/jib/api/ImageReference.java:305
↓ 8 callers
Method
googleApplicationDefaultCredentials
Creates a new {@link CredentialRetriever} that tries to retrieve credentials from <a href="https://cloud.google.com/docs/authentication/production">Go
jib-core/src/main/java/com/google/cloud/tools/jib/frontend/CredentialRetrieverFactory.java:263
↓ 8 callers
Method
hashCode
()
jib-core/src/main/java/com/google/cloud/tools/jib/api/ImageReference.java:448
↓ 8 callers
Method
invokeAll
(List<Callable<E>> callables)
jib-core/src/test/java/com/google/cloud/tools/jib/MultithreadedExecutor.java:46
↓ 8 callers
Method
isImagePushed
Returns true if we pushed this image all the way to a registry. @return true if pushed.
jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainer.java:70
↓ 8 callers
Method
logTerminatingException
( ConsoleLogger consoleLogger, Exception exception, boolean logStackTrace)
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/JibCli.java:71
↓ 8 callers
Method
newRoot
Creates a new root {@link Allocation}. @param description user-facing description of what the allocation represents @param allocationUnits number of
jib-core/src/main/java/com/google/cloud/tools/jib/event/progress/Allocation.java:50
↓ 8 callers
Method
parse
Parses a Unix-style path into a list of path components. @param unixPath the Unix-style path @return a list of path components
jib-build-plan/src/main/java/com/google/cloud/tools/jib/buildplan/UnixPathParser.java:31
↓ 8 callers
Method
parseLayers
(Path testDir, int expectedLayerCount)
jib-cli/src/test/java/com/google/cloud/tools/jib/cli/buildfile/LayersTest.java:44
↓ 8 callers
Method
progress
(String message)
jib-core/src/main/java/com/google/cloud/tools/jib/api/LogEvent.java:59
↓ 8 callers
Method
resolveMainClass
If {@code mainClass} is {@code null}, tries to infer main class in this order: <ul> <li>1. Looks in a {@code jar} plugin provided by {@code project
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/MainClassResolver.java:49
↓ 8 callers
Method
setApplicationLayersCacheDirectory
Sets the location of the cache for storing application layers. @param applicationLayersCacheDirectory the application layers cache directory @return
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/BuildContext.java:154
↓ 8 callers
Method
setArchitecture
Sets the architecture for which this container was built. See the <a href="https://github.com/opencontainers/image-spec/blob/master/config.md#properti
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java:182
↓ 8 callers
Method
setBaseImageLayersCacheDirectory
Sets the location of the cache for storing base image layers. @param baseImageLayersCacheDirectory the base image layers cache directory @return this
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/BuildContext.java:165
↓ 8 callers
Method
setContainerConfiguration
Sets the content descriptor of the container configuration. @param size the size of the container configuration. @param digest the container configur
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/BuildableManifestTemplate.java:131
↓ 8 callers
Method
setContainerizingMode
(String containerizingMode)
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/JibExtension.java:167
↓ 8 callers
Method
setKnownCredential
Sets the known {@link Credential} to use in the default credential retrievers. @param knownCredential the known credential @param credentialSource th
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/DefaultCredentialRetrievers.java:117
↓ 8 callers
Method
setLayerDigest
(DescriptorDigest layerDigest)
jib-core/src/main/java/com/google/cloud/tools/jib/cache/CachedLayer.java:39
↓ 8 callers
Method
setOs
Sets the operating system for which this container was built. See the <a href="https://github.com/opencontainers/image-spec/blob/master/config.md#prop
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java:193
↓ 8 callers
Method
verifyNextTarArchiveEntryIsDirectory
Verifies that the next {@link TarArchiveEntry} in the {@link TarArchiveInputStream} is a directory with correct permissions. @param tarArchiveInputSt
jib-core/src/test/java/com/google/cloud/tools/jib/image/ReproducibleLayerBuilderTest.java:78
↓ 8 callers
Method
withQualifier
Gets an {@link ImageReference} with the same registry and repository, but a different tag or digest. @param newQualifier the new tag or digest @retur
jib-core/src/main/java/com/google/cloud/tools/jib/api/ImageReference.java:359
↓ 7 callers
Method
addBuild
Adds a build file/directory. @param build the path to the file/directory
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/SkaffoldFilesOutput.java:96
↓ 7 callers
Method
addDependencies
Adds dependency JARs to the image. Duplicate JAR filenames across all dependencies are renamed with the filesize in order to avoid collisions. @param
jib-core/src/main/java/com/google/cloud/tools/jib/api/JavaContainerBuilder.java:297
↓ 7 callers
Method
assertBuildSuccess
Asserts that the test project build output indicates a success. @param buildResult the builds results of the project under test @param taskName the n
jib-gradle-plugin/src/integration-test/java/com/google/cloud/tools/jib/gradle/JibRunHelper.java:153
↓ 7 callers
Method
authenticatePush
Authenticates permission to pull and push. @param credential the credential used to authenticate @return an {@code Authorization} authenticating the
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryAuthenticator.java:188
↓ 7 callers
Method
build
Returns the built {@link FileEntriesLayer}. @return the built {@link FileEntriesLayer}
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/FileEntriesLayer.java:307
↓ 7 callers
Method
builder
()
jib-core/src/main/java/com/google/cloud/tools/jib/http/Request.java:103
↓ 7 callers
Method
builder
Creates a new {@link EventHandlers.Builder}. @return the builder
jib-core/src/main/java/com/google/cloud/tools/jib/event/EventHandlers.java:72
↓ 7 callers
Method
builder
()
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/ContainerBuildPlan.java:374
↓ 7 callers
Method
canAttemptBlobMount
Check if the authorization allows using the specified repository can be mounted by the remote registry as a source for blobs. More specifically, we ca
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryClient.java:579
↓ 7 callers
Method
close
()
jib-core/src/test/java/com/google/cloud/tools/jib/http/TestWebServer.java:96
↓ 7 callers
Method
committer
Returns a new Committer. @param location the upload URL @return a {@link RegistryEndpointProvider} for committing the written BLOB with its digest
jib-core/src/main/java/com/google/cloud/tools/jib/registry/BlobPusher.java:254
↓ 7 callers
Method
compareTo
(TestVersion other)
jib-plugins-common/src/test/java/com/google/cloud/tools/jib/plugins/common/VersionCheckerTest.java:36
↓ 7 callers
Method
computeEntrypoint
Computes the container entrypoint. <p>Computation occurs in this order: <ol> <li>null (inheriting from the base image), if the user specified valu
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java:588
↓ 7 callers
Method
create
Creates a {@link JibContainerBuilder} depending on the base image specified. @param baseImageReference base image reference @param platforms platform
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/ContainerBuilders.java:54
↓ 7 callers
Method
createLayers
Creates layers on container for a JAR or WAR. @return list of {@link FileEntriesLayer} @throws IOException if I/O error occurs when opening the java
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/ArtifactProcessor.java:34
↓ 7 callers
Method
decodeTokenRepositoryGrants
Decode the <a href="https://docs.docker.com/registry/spec/auth/jwt/">Docker Registry v2 Bearer Token</a> to list the granted repositories with their l
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryClient.java:191
↓ 7 callers
Method
defaultLayerEntry
(Path source, AbsoluteUnixPath destination)
jib-core/src/test/java/com/google/cloud/tools/jib/image/ReproducibleLayerBuilderTest.java:87
↓ 7 callers
Method
dockerCredentialHelper
( String serverUrl, Path credentialHelper, Properties properties, Function<List<String
jib-core/src/test/java/com/google/cloud/tools/jib/registry/credentials/DockerCredentialHelperTest.java:228
↓ 7 callers
Method
dockerCredentialHelper
Creates a new {@link CredentialRetriever} for retrieving credentials via a Docker credential helper, such as {@code docker-credential-gcr}. @param cr
jib-core/src/main/java/com/google/cloud/tools/jib/frontend/CredentialRetrieverFactory.java:148
↓ 7 callers
Method
extraDirectories
(Action<? super ExtraDirectoriesParameters> action)
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/JibExtension.java:143
↓ 7 callers
Method
extract
Extracts a tarball to the specified destination. @param source the tarball to extract @param destination the output directory @throws IOException if
jib-core/src/main/java/com/google/cloud/tools/jib/tar/TarExtractor.java:48
↓ 7 callers
Method
forInvalidImageReference
(String reference)
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/HelpfulSuggestions.java:76
↓ 7 callers
Method
fromJar
Creates a {@link ArtifactProcessor} instance based on jar type and processing mode. @param jarPath path to the jar @param cacheDirectories the locati
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/ArtifactProcessors.java:60
↓ 7 callers
Method
generateProgressDisplay
Generates a progress display. @param progress the overall progress, with {@code 1.0} meaning fully complete @param unfinishedLeafTasks the unfinished
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/logging/ProgressDisplayGenerator.java:47
↓ 7 callers
Method
getAllowInsecureRegistries
()
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/RawConfiguration.java:108
↓ 7 callers
Method
getAuth
()
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BaseImageParameters.java:111
↓ 7 callers
Method
getBaseImageCredHelperConfig
Gets the base image credential helper configuration. @return configuration for the base image credential helper
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java:436
↓ 7 callers
Method
getCacheHome
()
jib-core/src/main/java/com/google/cloud/tools/jib/filesystem/XdgDirectories.java:51
↓ 7 callers
Method
getConfigHome
()
jib-core/src/main/java/com/google/cloud/tools/jib/filesystem/XdgDirectories.java:55
↓ 7 callers
Method
getCreated
()
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java:305
↓ 7 callers
Method
getCreationTime
Creates an {@link Instant} based on the config value. The value can be: <ol> <li>{@code EPOCH} to return epoch <li>{@code USE_CURRENT_TIMESTAMP}
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java:947
↓ 7 callers
Method
getCredentialRetrievers
()
jib-core/src/main/java/com/google/cloud/tools/jib/api/RegistryImage.java:113
↓ 7 callers
Method
getDest
()
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/buildfile/CopySpec.java:87
↓ 7 callers
Method
getDigest
()
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/V22ManifestListTemplate.java:151
← previous
next →
401–500 of 4,110, ranked by callers