public class BuildConfiguration
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BuildConfiguration.Builder
Builds an immutable
BuildConfiguration . |
Modifier and Type | Method and Description |
---|---|
static BuildConfiguration.Builder |
builder()
Creates a new
BuildConfiguration.Builder to build a BuildConfiguration . |
boolean |
getAllowInsecureRegistries()
Gets whether or not to allow insecure registries (ignoring certificate validation failure or
communicating over HTTP if all else fail).
|
com.google.common.collect.ImmutableSet<java.lang.String> |
getAllTargetImageTags() |
Cache |
getApplicationLayersCache()
Gets the
Cache for application layers. |
ImageConfiguration |
getBaseImageConfiguration() |
Cache |
getBaseImageLayersCache()
Gets the
Cache for base image layers. |
ContainerConfiguration |
getContainerConfiguration() |
EventDispatcher |
getEventDispatcher() |
java.util.concurrent.ExecutorService |
getExecutorService() |
com.google.common.collect.ImmutableList<LayerConfiguration> |
getLayerConfigurations()
Gets the configurations for building the layers.
|
java.lang.Class<? extends BuildableManifestTemplate> |
getTargetFormat() |
ImageConfiguration |
getTargetImageConfiguration() |
java.lang.String |
getToolName() |
RegistryClient.Factory |
newBaseImageRegistryClientFactory()
Creates a new
RegistryClient.Factory for the base image with fields from the build
configuration. |
RegistryClient.Factory |
newTargetImageRegistryClientFactory()
Creates a new
RegistryClient.Factory for the target image with fields from the build
configuration. |
public static BuildConfiguration.Builder builder()
BuildConfiguration.Builder
to build a BuildConfiguration
.BuildConfiguration.Builder
public ImageConfiguration getBaseImageConfiguration()
public ImageConfiguration getTargetImageConfiguration()
public com.google.common.collect.ImmutableSet<java.lang.String> getAllTargetImageTags()
@Nullable public ContainerConfiguration getContainerConfiguration()
public java.lang.Class<? extends BuildableManifestTemplate> getTargetFormat()
public java.lang.String getToolName()
public EventDispatcher getEventDispatcher()
public java.util.concurrent.ExecutorService getExecutorService()
public Cache getBaseImageLayersCache()
Cache
for base image layers.Cache
for base image layerspublic Cache getApplicationLayersCache()
Cache
for application layers.Cache
for application layerspublic boolean getAllowInsecureRegistries()
true
if insecure connections will be allowed; false
otherwisepublic com.google.common.collect.ImmutableList<LayerConfiguration> getLayerConfigurations()
public RegistryClient.Factory newBaseImageRegistryClientFactory()
RegistryClient.Factory
for the base image with fields from the build
configuration.RegistryClient.Factory
public RegistryClient.Factory newTargetImageRegistryClientFactory()
RegistryClient.Factory
for the target image with fields from the build
configuration.RegistryClient.Factory