| Package | Description |
|---|---|
| com.google.cloud.tools.jib.api | |
| com.google.cloud.tools.jib.maven | |
| com.google.cloud.tools.jib.plugins.common |
| Modifier and Type | Method and Description |
|---|---|
<E extends JibEvent> |
Containerizer.addEventHandler(Class<E> eventType,
Consumer<? super E> eventConsumer)
|
Containerizer |
Containerizer.addEventHandler(Consumer<JibEvent> eventConsumer)
Adds the
eventConsumer to handle all JibEvent types. |
Containerizer |
Containerizer.setAllowInsecureRegistries(boolean allowInsecureRegistries)
Sets whether or not to allow communication over HTTP/insecure HTTPS.
|
Containerizer |
Containerizer.setApplicationLayersCache(Path cacheDirectory)
Sets the directory to use for caching application layers.
|
Containerizer |
Containerizer.setBaseImageLayersCache(Path cacheDirectory)
Sets the directory to use for caching base image layers.
|
Containerizer |
Containerizer.setExecutorService(ExecutorService executorService)
Sets the
ExecutorService Jib executes on. |
Containerizer |
Containerizer.setOfflineMode(boolean offline)
Sets whether or not to run the build in offline mode.
|
Containerizer |
Containerizer.setToolName(String toolName)
Sets the name of the tool that is using Jib Core.
|
static Containerizer |
Containerizer.to(DockerDaemonImage dockerDaemonImage)
Gets a new
Containerizer that containerizes to a Docker daemon. |
static Containerizer |
Containerizer.to(RegistryImage registryImage)
Gets a new
Containerizer that containerizes to a container registry. |
static Containerizer |
Containerizer.to(TarImage tarImage)
Gets a new
Containerizer that containerizes to a tarball archive. |
Containerizer |
Containerizer.withAdditionalTag(String tag)
Adds an additional tag to tag the target image with.
|
| Modifier and Type | Method and Description |
|---|---|
JibContainer |
JibContainerBuilder.containerize(Containerizer containerizer)
Builds the container.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MavenProjectProperties.configureEventHandlers(Containerizer containerizer) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectProperties.configureEventHandlers(Containerizer containerizer)
Adds the plugin's event handlers to a containerizer.
|
static JibBuildRunner |
JibBuildRunner.forBuildImage(JibContainerBuilder jibContainerBuilder,
Containerizer containerizer,
Consumer<LogEvent> logger,
HelpfulSuggestions helpfulSuggestions,
ImageReference targetImageReference,
Set<String> additionalTags)
Creates a runner to build an image.
|
static JibBuildRunner |
JibBuildRunner.forBuildTar(JibContainerBuilder jibContainerBuilder,
Containerizer containerizer,
Consumer<LogEvent> logger,
HelpfulSuggestions helpfulSuggestions,
Path outputPath)
Creates a runner to build an image tarball.
|
static JibBuildRunner |
JibBuildRunner.forBuildToDockerDaemon(JibContainerBuilder jibContainerBuilder,
Containerizer containerizer,
Consumer<LogEvent> logger,
HelpfulSuggestions helpfulSuggestions,
ImageReference targetImageReference,
Set<String> additionalTags)
Creates a runner to build to the Docker daemon.
|
Copyright © 2019. All rights reserved.