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
↓ 5 callers
Method
isBearerAuth
(@Nullable Authorization authorization)
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryClient.java:594
↓ 5 callers
Method
log
(LogEvent logEvent)
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenProjectProperties.java:393
↓ 5 callers
Method
mockResponseException
(int statusCode)
jib-core/src/test/java/com/google/cloud/tools/jib/registry/RegistryEndpointCallerTest.java:107
↓ 5 callers
Method
newRoot
Creates a new {@link ProgressEventDispatcher} with a root {@link Allocation}. @param eventHandlers the {@link EventHandlers} @param description user-
jib-core/src/main/java/com/google/cloud/tools/jib/builder/ProgressEventDispatcher.java:60
↓ 5 callers
Method
newXpp3Dom
(String name, String value)
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/MavenProjectPropertiesTest.java:163
↓ 5 callers
Method
parseProtocol
Gets a {@link Port} with protocol parsed from the string form {@code protocolString}. Unknown protocols will default to TCP. @param port the port num
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/Port.java:57
↓ 5 callers
Method
processCommonConfiguration
( RawConfiguration rawConfiguration, InferredAuthProvider inferredAuthProvider, ProjectPrope
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java:410
↓ 5 callers
Method
pullAndRunBuiltImage
Pulls a built image and attempts to run it. Also verifies the container configuration and history of the built image. @param imageReference the image
jib-gradle-plugin/src/integration-test/java/com/google/cloud/tools/jib/gradle/JibRunHelper.java:194
↓ 5 callers
Method
pushManifest
Pushes the image manifest for a specific tag. @param manifestTemplate the image manifest @param imageTag the tag to push on @return the digest of the
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryClient.java:451
↓ 5 callers
Method
scheduleCallables
(ImmutableList<? extends Callable<E>> callables)
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/StepsRunner.java:652
↓ 5 callers
Method
setCmd
Sets the container entrypoint program arguments. These are additional tokens added to the end of the entrypoint command. {@code null} signals to use t
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/ContainerBuildPlan.java:332
↓ 5 callers
Method
setContainerConfiguration
(long size, DescriptorDigest digest)
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/V22ManifestTemplate.java:103
↓ 5 callers
Method
setContainerUser
(@Nullable String user)
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java:281
↓ 5 callers
Method
setCreated
(@Nullable String created)
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java:171
↓ 5 callers
Method
setEmptyLayer
(Boolean emptyLayer)
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/HistoryEntry.java:64
↓ 5 callers
Method
setEntrypoint
Sets the container entrypoint. This is the beginning of the command that is run when the container starts. {@link #setProgramArguments} sets additiona
jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java:284
↓ 5 callers
Method
setHttpTimeout
Sets the HTTP connection and read timeout in milliseconds. {@code null} uses the default timeout and {@code 0} an infinite timeout. @param httpTimeou
jib-core/src/main/java/com/google/cloud/tools/jib/http/Request.java:86
↓ 5 callers
Method
setPassword
(String password)
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/AuthParameters.java:70
↓ 5 callers
Method
setPaths
Sets paths. {@code paths} can be any suitable object describing file paths convertible by {@link Project#files} (such as {@link File}, {@code List<Fil
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/ExtraDirectoriesParameters.java:98
↓ 5 callers
Method
setPropertySafe
(String property, @Nullable String value)
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenSettingsProxyProvider.java:95
↓ 5 callers
Method
setSize
(long size)
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/V22ManifestListTemplate.java:143
↓ 5 callers
Method
setTargetImageConfiguration
Sets the target image configuration. @param imageConfiguration the {@link ImageConfiguration} describing the target image @return this
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/BuildContext.java:107
↓ 5 callers
Method
setToolVersion
Sets the version of the tool that is using Jib Core. The tool version is sent as part of the {@code User-Agent} in registry requests and set as the {@
jib-core/src/main/java/com/google/cloud/tools/jib/api/Containerizer.java:310
↓ 5 callers
Method
setUpSpringBootFatJar
()
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/MavenProjectPropertiesTest.java:1123
↓ 5 callers
Method
setUpWar
(Path explodedWar)
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/MavenProjectPropertiesTest.java:1109
↓ 5 callers
Method
setUserAgent
Sets the {@code User-Agent} header. @param userAgent the user agent @return this
jib-core/src/main/java/com/google/cloud/tools/jib/http/Request.java:74
↓ 5 callers
Method
setUsername
(String username)
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/AuthParameters.java:54
↓ 5 callers
Method
skipExistingImages
Gets whether or not to skip pushing tags to existing images. This is defined by the {@code jib.skipExistingImages} system property. @return {@code tr
jib-core/src/main/java/com/google/cloud/tools/jib/global/JibSystemProperties.java:122
↓ 5 callers
Method
toBuildContext
( JibContainerBuilder jibContainerBuilder, Containerizer containerizer)
jib-cli/src/test/java/com/google/cloud/tools/jib/api/JibContainerBuilderTestHelper.java:24
↓ 5 callers
Method
toJibContainerBuilder
Generates a {@link JibContainerBuilder} from contents of a WAR file. @param processor artifact processor @param commonCliOptions common cli options @
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/war/WarFiles.java:48
↓ 5 callers
Method
toOctalString
Gets the octal string representation of the permissions. @return the octal string representation of the permissions
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/FilePermissions.java:115
↓ 5 callers
Method
toString
()
jib-core/src/main/java/com/google/cloud/tools/jib/api/DescriptorDigest.java:90
↓ 5 callers
Method
useCrossRepositoryBlobMounts
Gets whether or not to use <em>cross-repository blob mounts</em> when uploading image layers ({@code mount/from}). This is defined by the {@code jib.b
jib-core/src/main/java/com/google/cloud/tools/jib/global/JibSystemProperties.java:59
↓ 5 callers
Method
verifyDescription
Verifies that the {@code timerEvent}'s description is {@code expectedDescription}. @param timerEvent the {@link TimerEvent} to verify @param expected
jib-core/src/test/java/com/google/cloud/tools/jib/builder/TimerEventDispatcherTest.java:153
↓ 5 callers
Method
verifyNextTarArchiveEntry
Verifies the correctness of the next {@link TarArchiveEntry} in the {@link TarArchiveInputStream}. @param tarArchiveInputStream the {@link TarArchive
jib-core/src/test/java/com/google/cloud/tools/jib/image/ReproducibleLayerBuilderTest.java:59
↓ 5 callers
Method
verifyTaskSuccess
Verifies that the files task succeeded and returns the list of paths it prints out. @param project the project to run the task on @param moduleName t
jib-gradle-plugin/src/test/java/com/google/cloud/tools/jib/gradle/skaffold/FilesTaskV2Test.java:60
↓ 5 callers
Method
writeFileConservatively
Writes a file only when needed (when the file does not exist or the existing file has a different content). It reads the entire bytes into a {@code St
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java:748
↓ 5 callers
Method
writeUncompressedLayer
Saves a cache entry with an uncompressed layer {@link Blob} and an additional selector digest. Use {@link #writeCompressedLayer(Blob)} to save a compr
jib-core/src/main/java/com/google/cloud/tools/jib/cache/Cache.java:143
↓ 4 callers
Method
accept
(TimerEvent timerEvent)
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/TimerEventHandler.java:77
↓ 4 callers
Method
addBlobEntry
Adds a blob to the archive. Note that this should be used with non-file {@link Blob}s; for adding files to the archive, use {@link #addTarArchiveEntry
jib-core/src/main/java/com/google/cloud/tools/jib/tar/TarStreamBuilder.java:93
↓ 4 callers
Method
addDirect
Add a layer entry as a "direct" sync entry. Direct entries can be sync'd to a running container without rebuilding any files. @param layerEntry the l
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/SkaffoldSyncMapTemplate.java:120
↓ 4 callers
Method
addEntryRecursive
Adds an entry to the layer. If the source file is a directory, the directory and its contents will be added recursively. <p>For example, {@code addEn
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/FileEntriesLayer.java:205
↓ 4 callers
Method
addEnvironment
Adds a map of environment variables to the current map. @param environment the map of environment variables @return this
jib-core/src/main/java/com/google/cloud/tools/jib/image/Image.java:104
↓ 4 callers
Method
addLabels
Adds items to the "Labels" field in the container configuration. @param labels the map of labels to add @return this
jib-core/src/main/java/com/google/cloud/tools/jib/image/Image.java:200
↓ 4 callers
Method
addLayerFile
(String layer)
jib-core/src/main/java/com/google/cloud/tools/jib/docker/json/DockerManifestEntryTemplate.java:70
↓ 4 callers
Method
addProjectDependencies
Adds project dependency JARs to the image. Generally, project dependency are jars produced from source in this project as part of other modules/sub-pr
jib-core/src/main/java/com/google/cloud/tools/jib/api/JavaContainerBuilder.java:363
↓ 4 callers
Method
addToClasspath
Adds additional files to the classpath. If {@code otherFiles} contains a directory, the files within are added recursively, maintaining the directory
jib-core/src/main/java/com/google/cloud/tools/jib/api/JavaContainerBuilder.java:450
↓ 4 callers
Method
assertDockerInspect
Asserts that the test project has the required exposed ports, labels and volumes. @param imageReference the image to test @throws IOException if the
jib-gradle-plugin/src/integration-test/java/com/google/cloud/tools/jib/gradle/SingleProjectIntegrationTest.java:99
↓ 4 callers
Method
auth
(Action<? super AuthParameters> action)
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BaseImageParameters.java:118
↓ 4 callers
Method
buildAndRun
(TestProject testProject, String imageReference)
jib-gradle-plugin/src/integration-test/java/com/google/cloud/tools/jib/gradle/JibRunHelper.java:44
↓ 4 callers
Method
buildAndRunComplex
(String imageReference, String pomFile)
jib-maven-plugin/src/integration-test/java/com/google/cloud/tools/jib/maven/BuildImageMojoIntegrationTest.java:233
↓ 4 callers
Method
buildAndRunComplex
( String imageReference, String username, String password, LocalRegistry targetRegistry)
jib-gradle-plugin/src/integration-test/java/com/google/cloud/tools/jib/gradle/SingleProjectIntegrationTest.java:126
↓ 4 callers
Method
buildImages
(ProgressEventDispatcher.Factory progressDispatcherFactory)
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/StepsRunner.java:419
↓ 4 callers
Method
buildMessageWithTargetImageReferences
( ImageReference targetImageReference, Set<String> additionalTags, String prefix, Stri
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/JibBuildRunner.java:70
↓ 4 callers
Method
buildToDockerDaemon
( TestProject testProject, String imageReference, String gradleBuildFile)
jib-gradle-plugin/src/integration-test/java/com/google/cloud/tools/jib/gradle/JibRunHelper.java:117
↓ 4 callers
Method
cacheDockerImageTar
( BuildContext buildContext, Path tarPath, ProgressEventDispatcher.Factory progressEventDisp
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/LocalBaseImageSteps.java:202
↓ 4 callers
Method
checkEquals
Checks if string is equal to the expected string. @param value the string in question @param propertyName the equivalent 'yaml' property name @param
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/buildfile/Validator.java:154
↓ 4 callers
Method
configureHttpLogging
(Level level)
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/JibCli.java:58
↓ 4 callers
Method
createJarFile
( String name, String className, String classPath, String mainClass)
jib-cli/src/integration-test/java/com/google/cloud/tools/jib/cli/JarCommandTest.java:326
↓ 4 callers
Method
createLayers
()
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/jar/SpringBootExplodedProcessor.java:65
↓ 4 callers
Method
createModificationTimeProvider
Creates a modification time provider based on the config value. The value can be: <ol> <li>{@code EPOCH_PLUS_SECOND} to create a provider which tri
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java:913
↓ 4 callers
Method
debug
Sets the {@link Consumer} to log a {@link Level#DEBUG} message. @param messageConsumer the message {@link Consumer} @return this
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/logging/ConsoleLoggerBuilder.java:104
↓ 4 callers
Method
decodeBase64
(String base64String)
jib-core/src/test/java/com/google/cloud/tools/jib/registry/credentials/DockerConfigTest.java:34
↓ 4 callers
Method
determineJavaMajorVersion
Determines the java version of JAR. Derives the version from the first .class file it finds in the JAR. @param jarPath path to the jar @return java v
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/ArtifactProcessors.java:139
↓ 4 callers
Method
digestOf
Gets the digest of {@code blob}. @param blob the {@link Blob} @return the {@link DescriptorDigest} of {@code blob} @throws IOException if an I/O exce
jib-core/src/test/java/com/google/cloud/tools/jib/cache/CacheTest.java:83
↓ 4 callers
Method
dispatchTimerEvent
(State state, Duration duration, String eventDescription)
jib-core/src/main/java/com/google/cloud/tools/jib/builder/TimerEventDispatcher.java:97
↓ 4 callers
Method
doPullBearerAuth
Attempts bearer authentication for pull. @return {@code true} if bearer authentication succeeded; {@code false} if the server expects basic authe
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryClient.java:292
↓ 4 callers
Method
docker
Runs a {@code docker} command.
jib-core/src/main/java/com/google/cloud/tools/jib/docker/CliDockerClient.java:295
↓ 4 callers
Method
equals
(Object other)
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/HistoryEntry.java:148
↓ 4 callers
Method
error
Sets the {@link Consumer} to log an {@link Level#ERROR} message. @param messageConsumer the message {@link Consumer} @return this
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/logging/ConsoleLoggerBuilder.java:115
↓ 4 callers
Method
execute
Executes {@code runnable} on the managed thread. @param runnable the {@link Runnable}
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/logging/SingleThreadedExecutor.java:65
↓ 4 callers
Method
finishUpdateChecker
( ProjectProperties projectProperties, Future<Optional<String>> updateCheckFuture)
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MojoCommon.java:73
↓ 4 callers
Method
finishUpdateChecker
( ConsoleLogger logger, Future<Optional<String>> updateCheckFuture)
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/JibCli.java:102
↓ 4 callers
Method
finishUpdateChecker
( ProjectProperties projectProperties, Future<Optional<String>> updateCheckFuture)
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/TaskCommon.java:70
↓ 4 callers
Method
forForcedDownload
( BuildContext buildContext, ProgressEventDispatcher.Factory progressEventDispatcherFactory,
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/ObtainBaseImageLayerStep.java:50
↓ 4 callers
Method
forIncompatibleBaseImageJavaVersionForGradle
( int baseImageMajorJavaVersion, int projectMajorJavaVersion)
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/HelpfulSuggestions.java:55
↓ 4 callers
Method
forIncompatibleBaseImageJavaVersionForMaven
( int baseImageMajorJavaVersion, int projectMajorJavaVersion)
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/HelpfulSuggestions.java:65
↓ 4 callers
Method
forMainClassNotFound
(String messagePrefix, String pluginName)
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/HelpfulSuggestions.java:51
↓ 4 callers
Method
fromPath
Gets a new {@link AbsoluteUnixPath} from a {@link Path}. The {@code path} must be absolute (indicated by a non-null {@link Path#getRoot}). @param pat
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/AbsoluteUnixPath.java:58
↓ 4 callers
Method
fromWar
Creates a {@link ArtifactProcessor} instance. @param warPath path to the war @param cacheDirectories the location of the relevant caches @param warOp
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/ArtifactProcessors.java:99
↓ 4 callers
Method
ge
Return {@code true} if {@code a} is greater than or equal to {@code b}.
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/VersionChecker.java:80
↓ 4 callers
Method
getApplicationLayersCache
()
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/CacheDirectories.java:99
↓ 4 callers
Method
getAuthRequestParameters
( @Nullable Credential credential, Map<String, String> repositoryScopes)
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryAuthenticator.java:213
↓ 4 callers
Method
getBar
(String bar, double value)
jib-plugins-common/src/test/java/com/google/cloud/tools/jib/plugins/common/logging/ProgressDisplayGeneratorTest.java:27
↓ 4 callers
Method
getBaseImageCredential
Retrieves credentials for the base image.
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/RegistryCredentialRetriever.java:34
↓ 4 callers
Method
getBuildTimeFromVerifierLog
(Verifier verifier)
jib-maven-plugin/src/integration-test/java/com/google/cloud/tools/jib/maven/BuildImageMojoIntegrationTest.java:289
↓ 4 callers
Method
getContainerEnvironment
()
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java:332
↓ 4 callers
Method
getContainerHealthInterval
()
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java:352
↓ 4 callers
Method
getContainerHealthRetries
()
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java:367
↓ 4 callers
Method
getContainerHealthStartPeriod
()
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java:362
↓ 4 callers
Method
getContainerHealthTimeout
()
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java:357
↓ 4 callers
Method
getCreationTime
()
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/ContainerParameters.java:294
↓ 4 callers
Method
getDefaultCacheDirectory
()
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/ProjectProperties.java:71
↓ 4 callers
Method
getDescription
Gets a user-facing description of what this allocation represents. For example, this can a description of the task this allocation represents. @retur
jib-core/src/main/java/com/google/cloud/tools/jib/event/progress/Allocation.java:101
↓ 4 callers
Method
getDockerExecutable
()
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/RawConfiguration.java:122
↓ 4 callers
Method
getExcludes
()
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/buildfile/CopySpec.java:95
↓ 4 callers
Method
getExposedPorts
()
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/ContainerConfiguration.java:390
↓ 4 callers
Method
getFilesModificationTime
()
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/ContainerParameters.java:284
↓ 4 callers
Method
getForProject
Static factory method for {@link MavenProjectProperties}. @param jibPluginDescriptor the jib-maven-plugin plugin descriptor @param project the {@link
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenProjectProperties.java:107
↓ 4 callers
Method
getForProject
Generate an instance for a gradle project. @param project a gradle project @param logger a gradle logging instance to use for logging during the buil
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/GradleProjectProperties.java:112
← previous
next →
701–800 of 4,110, ranked by callers