MCPcopy Create free account

hub / github.com/GoogleContainerTools/jib / functions

Functions4,110 in github.com/GoogleContainerTools/jib

↓ 4 callersMethodgetFromCredentialRetrievers
Gets credentials for a base image registry. @param commonCliOptions common cli options @param defaultCredentialRetrievers An initialized {@link Defau
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Credentials.java:73
↓ 4 callersMethodgetGeneratedTargetDockerTag
Returns an {@link ImageReference} parsed from the configured target image, or one of the form {@code project-name:project-version} if target image is
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/ConfigurationPropertyValidator.java:108
↓ 4 callersMethodgetGroup
()
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/buildfile/FilePropertiesSpec.java:90
↓ 4 callersMethodgetImageConfiguration
()
jib-core/src/main/java/com/google/cloud/tools/jib/api/Containerizer.java:401
↓ 4 callersMethodgetImageDigest
()
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/BuildResult.java:62
↓ 4 callersMethodgetImageFormat
()
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/RawConfiguration.java:110
↓ 4 callersMethodgetImageQualifier
()
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/ImageConfiguration.java:141
↓ 4 callersMethodgetIncludes
()
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/buildfile/CopySpec.java:99
↓ 4 callersMethodgetJavaContainerBuilderWithBaseImage
Returns a {@link JavaContainerBuilder} with the correctly parsed base image configuration. @param rawConfiguration contains the base image configurat
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java:505
↓ 4 callersMethodgetJsonString
Gets the added files in JSON format. @return the files in a JSON string @throws IOException if writing out the JSON fails
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/SkaffoldInitOutput.java:84
↓ 4 callersMethodgetLabels
()
jib-core/src/main/java/com/google/cloud/tools/jib/image/Image.java:407
↓ 4 callersMethodgetLabels
()
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/ContainerConfiguration.java:405
↓ 4 callersMethodgetLayerByName
(BuildContext buildContext, String name)
jib-gradle-plugin/src/test/java/com/google/cloud/tools/jib/gradle/GradleProjectPropertiesTest.java:114
↓ 4 callersMethodgetLayerEntries
(ContainerBuildPlan buildPlan, String layerName)
jib-plugins-common/src/test/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessorTest.java:144
↓ 4 callersMethodgetLayerFilename
Gets the filename for the layer file. The filename is in the form {@code <layer diff ID>.layer}. @param layerDiffId the layer's diff ID @return the l
jib-core/src/main/java/com/google/cloud/tools/jib/cache/CacheStorageFiles.java:96
↓ 4 callersMethodgetLayerSize
(String imageReference)
jib-gradle-plugin/src/integration-test/java/com/google/cloud/tools/jib/gradle/SingleProjectIntegrationTest.java:85
↓ 4 callersMethodgetLayers
(Path tar)
jib-gradle-plugin/src/integration-test/java/com/google/cloud/tools/jib/gradle/GradleLayerConfigurationIntegrationTest.java:167
↓ 4 callersMethodgetLayersDirectory
Resolves the {@link #LAYERS_DIRECTORY} in the {@link #cacheDirectory}. @return the directory containing all the layer directories
jib-core/src/main/java/com/google/cloud/tools/jib/cache/CacheStorageFiles.java:115
↓ 4 callersMethodgetManifestListTemplate
Generates a manifest list JSON for the given {@link Image}s. @param <T> child type of {@link BuildableManifestTemplate} @param manifestTemplateClass
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ManifestListGenerator.java:45
↓ 4 callersMethodgetPlatformsSet
Parses the list of platforms to a set of {@link Platform}. @param rawConfiguration raw configuration data @return the set of parsed platforms @throws
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java:798
↓ 4 callersMethodgetPorts
()
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/RawConfiguration.java:102
↓ 4 callersMethodgetProtocol
Gets the protocol. @return the protocol
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/Port.java:84
↓ 4 callersMethodgetRelativeToProjectRoot
(Path configuration, String propertyName)
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java:795
↓ 4 callersMethodgetSchemaVersion
()
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/OciManifestTemplate.java:80
↓ 4 callersMethodgetState
Gets the state of the timer. @return the state of the timer @see State
jib-core/src/main/java/com/google/cloud/tools/jib/event/events/TimerEvent.java:94
↓ 4 callersMethodgetStderrOutput
(Process process)
jib-core/src/main/java/com/google/cloud/tools/jib/docker/CliDockerClient.java:166
↓ 4 callersMethodgetTargetImage
Get the target image that was built. @return the target image reference.
jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainer.java:61
↓ 4 callersMethodgetToCredentialRetrievers
Gets credentials for a target image registry. @param commonCliOptions common cli options @param defaultCredentialRetrievers An initialized {@link Def
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/Credentials.java:39
↓ 4 callersMethodgetToken
()
jib-core/src/main/java/com/google/cloud/tools/jib/http/Authorization.java:67
↓ 4 callersMethodgetUrls
()
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/BuildableManifestTemplate.java:81
↓ 4 callersMethodgetWarFilePath
()
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/GradleProjectProperties.java:130
↓ 4 callersMethodgetWarTaskProvider
(Project project)
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/TaskCommon.java:92
↓ 4 callersMethodgetWatch
()
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/skaffold/SkaffoldParameters.java:50
↓ 4 callersMethodgetWorkingDirectoryChecked
(RawConfiguration rawConfiguration)
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java:884
↓ 4 callersMethodhashCode
()
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/BuildResult.java:74
↓ 4 callersMethodisDockerInstalled
Checks if Docker is installed on the user's system and by verifying if the executable path provided has the appropriate permissions. @param dockerExe
jib-core/src/main/java/com/google/cloud/tools/jib/docker/CliDockerClient.java:139
↓ 4 callersMethodisHttpsProtocol
(URL url)
jib-core/src/main/java/com/google/cloud/tools/jib/http/FailoverHttpClient.java:88
↓ 4 callersMethodisImagePushed
()
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/ImageMetadataOutput.java:104
↓ 4 callersMethodlap
Captures the time since last lap or creation, and resets the start time. @return the duration of the last lap, or since creation
jib-core/src/main/java/com/google/cloud/tools/jib/builder/Timer.java:53
↓ 4 callersMethodlap
Captures the time since last lap or creation and dispatches an {@link State#LAP} {@link TimerEvent}. @see #lap(String)
jib-core/src/main/java/com/google/cloud/tools/jib/builder/TimerEventDispatcher.java:76
↓ 4 callersMethodlegacyDockerConfig
Creates a new {@link CredentialRetriever} that tries to retrieve credentials from a legacy Docker config file. @param dockerConfigFile the path to a
jib-core/src/main/java/com/google/cloud/tools/jib/frontend/CredentialRetrieverFactory.java:248
↓ 4 callersMethodload
(ImageTarball imageTarball, Consumer<Long> writtenByteCountListener)
jib-core/src/main/java/com/google/cloud/tools/jib/docker/CliDockerClient.java:218
↓ 4 callersMethodlock
Creates a lock file. @param lockFile the path of the lock file @return a new {@link LockFile} that can be released later @throws IOException if creat
jib-core/src/main/java/com/google/cloud/tools/jib/filesystem/LockFile.java:53
↓ 4 callersMethodlogError
Logs error message in red.
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryEndpointCaller.java:216
↓ 4 callersMethodlogGotCredentialsFrom
(String credentialSource)
jib-core/src/main/java/com/google/cloud/tools/jib/frontend/CredentialRetrieverFactory.java:325
↓ 4 callersMethodlookUpPlatformSpecificImageManifest
Looks through a manifest list for the manifest matching the {@code platform} and returns the digest of the first manifest it finds.
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/PullBaseImageStep.java:362
↓ 4 callersMethodmakeLayerConfiguration
Lists the files in the {@code resourcePath} resources directory and creates a {@link FileEntriesLayer} with entries from those files.
jib-core/src/test/java/com/google/cloud/tools/jib/builder/steps/BuildAndCacheApplicationLayerStepTest.java:68
↓ 4 callersMethodmakeListForManifestList
( BuildContext buildContext, ProgressEventDispatcher.Factory progressEventDispatcherFactory,
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/PushImageStep.java:108
↓ 4 callersMethodnewLogger
Create a new logger for the CLI. @param verbosity the configure verbosity @param httpTraceLevel the log level for http trace @param consoleOutput the
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/logging/CliLogger.java:42
↓ 4 callersMethodnewRegistryErrorException
(ResponseException responseException)
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryEndpointCaller.java:185
↓ 4 callersMethodnewSettingsDecrypter
Create a new {@link SettingsDecrypter} for testing purposes. @param settingsSecurityFile absolute path to security-settings.xml @return {@link Settin
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/SettingsFixture.java:62
↓ 4 callersMethodnewUpdateChecker
( GlobalConfig globalConfig, Verbosity verbosity, Consumer<LogEvent> log)
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/JibCli.java:88
↓ 4 callersMethodnone
()
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/HelpfulSuggestions.java:197
↓ 4 callersMethodnormalizeArchitecture
(String architecture)
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/StepsRunner.java:656
↓ 4 callersMethodobtainBaseImageLayers
( Image baseImage, boolean layersRequiredLocally, Map<DescriptorDigest, Future<PreparedLayer
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/StepsRunner.java:335
↓ 4 callersMethodparseVersion
Parses and returns a version object. @return the parsed version @throws IllegalArgumentException if an exception occurred
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/VersionChecker.java:136
↓ 4 callersMethodpost
Sends the request with method POST. @param url endpoint URL @param request the request to send @return the response to the sent request @throws IOExc
jib-core/src/main/java/com/google/cloud/tools/jib/http/FailoverHttpClient.java:227
↓ 4 callersMethodprintInBold
(List<String> lines)
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/logging/AnsiLoggerWithFooter.java:194
↓ 4 callersMethodpullAndPushToLocal
Pulls an image and pushes it to the local registry under a new tag. @param from the image reference to pull @param to the new location of the image (
jib-core/src/integration-test/java/com/google/cloud/tools/jib/registry/LocalRegistry.java:146
↓ 4 callersMethodreadDigestFile
(Path digestPath)
jib-gradle-plugin/src/integration-test/java/com/google/cloud/tools/jib/gradle/SingleProjectIntegrationTest.java:120
↓ 4 callersMethodrequestAuthorizationCleared
Returns whether the {@code Authorization} HTTP header was cleared (and thus not sent). @return whether the {@code Authorization} HTTP header was clea
jib-core/src/main/java/com/google/cloud/tools/jib/http/ResponseException.java:53
↓ 4 callersMethodretrieveTarLayer
Retrieves a {@link CachedLayer} for a local base image layer with the given diff id. @param diffId the diff id @return the {@link CachedLayer} with t
jib-core/src/main/java/com/google/cloud/tools/jib/cache/Cache.java:246
↓ 4 callersMethodsetAuthorization
Sets the {@code Authorization} header. @param authorization the authorization @return this
jib-core/src/main/java/com/google/cloud/tools/jib/http/Request.java:52
↓ 4 callersMethodsetCredential
Sets the authentication credentials to use to authenticate with the registry. @param credential the {@link Credential} to access the registry/reposit
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryClient.java:84
↓ 4 callersMethodsetEnvironment
(Map<String, String> environment)
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/ContainerParameters.java:120
↓ 4 callersMethodsetHealthCheck
Sets the container's healthcheck configuration. @param healthCheck the healthcheck configuration @return this
jib-core/src/main/java/com/google/cloud/tools/jib/image/Image.java:163
↓ 4 callersMethodsetHelper
(String helper)
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/CredHelperParameters.java:58
↓ 4 callersMethodsetInterval
Sets the time between healthchecks. @param interval the duration to wait between healthchecks. @return this
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/DockerHealthCheck.java:49
↓ 4 callersMethodsetMainClass
Sets the container entrypoint with the specified main class. The entrypoint will be left unconfigured if this method is not called. To find the main c
jib-core/src/main/java/com/google/cloud/tools/jib/api/JavaContainerBuilder.java:519
↓ 4 callersMethodsetOfflineMode
Sets whether or not to run the build in offline mode. In offline mode, the base image is retrieved from the cache instead of pulled from a registry, a
jib-core/src/main/java/com/google/cloud/tools/jib/api/Containerizer.java:281
↓ 4 callersMethodsetPlatform
Sets a platform. @param architecture the manifest architecture @param os the manifest os
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/OciIndexTemplate.java:165
↓ 4 callersMethodsetProxyProperties
Set proxy system properties based on Maven proxy configuration. @param proxy Maven proxy settings
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MavenSettingsProxyProvider.java:84
↓ 4 callersMethodsetRetries
Sets the number of times to retry the healthcheck before the container is considered to be unhealthy. @param retries the number of retries before the
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/DockerHealthCheck.java:83
↓ 4 callersMethodsetStartPeriod
Sets the initialization time to wait before using healthchecks. @param startPeriod the duration to wait before using healthchecks @return this
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/DockerHealthCheck.java:71
↓ 4 callersMethodsetTimeout
Sets the time until a healthcheck is considered hung. @param timeout the duration to wait until considering the healthcheck to be hung. @return this
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/DockerHealthCheck.java:60
↓ 4 callersMethodsetUpBuildContext
()
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/MavenProjectPropertiesTest.java:1092
↓ 4 callersMethodsetUpWarProject
(Path webAppDirectory)
jib-gradle-plugin/src/test/java/com/google/cloud/tools/jib/gradle/GradleProjectPropertiesTest.java:544
↓ 4 callersMethodsetupLastUpdateCheck
()
jib-plugins-common/src/test/java/com/google/cloud/tools/jib/plugins/common/UpdateCheckerTest.java:225
↓ 4 callersMethodshouldSkipJibExecution
Determines if Jib goal execution on this project/module should be skipped due to configuration. @param jibPluginConfiguration usually {@code this}, t
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MojoCommon.java:186
↓ 4 callersMethodtoLayerEntryTemplates
( ImmutableList<FileEntry> layerEntries)
jib-core/src/test/java/com/google/cloud/tools/jib/cache/LayerEntriesSelectorTest.java:54
↓ 4 callersMethodtoString
()
jib-core/src/main/java/com/google/cloud/tools/jib/blob/BlobDescriptor.java:85
↓ 4 callersMethodtryMirrors
( BuildContext buildContext, ProgressEventDispatcher.Factory progressDispatcherFactory)
jib-core/src/main/java/com/google/cloud/tools/jib/builder/steps/PullBaseImageStep.java:211
↓ 4 callersMethodverifyBlobWriteTo
Checks that the {@link Blob} streams the expected string.
jib-core/src/test/java/com/google/cloud/tools/jib/blob/BlobTest.java:70
↓ 4 callersMethodverifyGoals
(Path projectRoot, String profilesString, String... expectedGoals)
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/skaffold/PackageGoalsMojoTest.java:39
↓ 4 callersMethodverifyTo
(Containerizer containerizer)
jib-core/src/test/java/com/google/cloud/tools/jib/api/ContainerizerTest.java:49
↓ 4 callersMethodwarn
Sets the {@link Consumer} to log a {@link Level#WARN} 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:137
↓ 4 callersMethodwellKnownCredentialHelpers
Creates a new {@link CredentialRetriever} that tries well-known Docker credential helpers to retrieve credentials based on the registry of the image,
jib-core/src/main/java/com/google/cloud/tools/jib/frontend/CredentialRetrieverFactory.java:185
↓ 4 callersMethodwithGradleVersion
(String version)
jib-gradle-plugin/src/test/java/com/google/cloud/tools/jib/gradle/TestProject.java:87
↓ 4 callersMethodwriteCompressed
Writes a compressed layer {@link Blob}. <p>The {@code compressedLayerBlob} is written to the layer directory under the layers directory corresponding
jib-core/src/main/java/com/google/cloud/tools/jib/cache/CacheStorageWriter.java:219
↓ 4 callersMethodwriteImageJson
Set the location where the image metadata json will be saved. If {@code null} then the metadata is not saved. @param imageJsonOutputPath the location
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/JibBuildRunner.java:325
↓ 4 callersMethodwriteImageJson
Writes image details (imageId, digest, tags, etc.) to a json file, if the path to the json is provided. @param imageJsonOutputPath optional path to j
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/JibCli.java:133
↓ 3 callersMethodaddCredentialRetriever
Adds {@link CredentialRetriever} to fetch push/pull credentials for the image. Credential retrievers are attempted in the order in which they are spec
jib-core/src/main/java/com/google/cloud/tools/jib/api/RegistryImage.java:104
↓ 3 callersMethodaddDirectoryContentsToLayer
( Map<LayerType, FileEntriesLayer.Builder> layerBuilders, LayerType layerType, Path sourceRo
jib-core/src/main/java/com/google/cloud/tools/jib/api/JavaContainerBuilder.java:701
↓ 3 callersMethodaddEntry
Adds an entry to the layer. @param entry the layer entry to add @return this
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/FileEntriesLayer.java:69
↓ 3 callersMethodaddEntryRecursive
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-core/src/main/java/com/google/cloud/tools/jib/api/LayerConfiguration.java:184
↓ 3 callersMethodaddError
(ErrorEntryTemplate errorEntryTemplate)
jib-core/src/main/java/com/google/cloud/tools/jib/registry/json/ErrorResponseTemplate.java:50
↓ 3 callersMethodaddHistoryEntry
(HistoryEntry historyEntry)
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/ContainerConfigurationTemplate.java:293
↓ 3 callersMethodaddLabel
Adds an item to the "Labels" field in the container configuration. @param name the name of the label @param value the value of the label @return this
jib-core/src/main/java/com/google/cloud/tools/jib/image/Image.java:214
↓ 3 callersMethodaddLayer
(long size, DescriptorDigest digest)
jib-core/src/main/java/com/google/cloud/tools/jib/image/json/V22ManifestTemplate.java:108
↓ 3 callersMethodaddPlatform
Adds a desired image platform (OS and architecture pair). If the base image reference is a Docker manifest list or an OCI image index, an image builde
jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java:538
← previousnext →801–900 of 4,110, ranked by callers