| Modifier and Type | Method and Description |
|---|---|
JibContainerBuilder |
JibContainerBuilder.addLayer(List<Path> files,
AbsoluteUnixPath pathInContainer)
Adds a new layer to the container with
files as the source files and pathInContainer as the path to copy the source files to in the container file system. |
JibContainerBuilder |
JibContainerBuilder.addVolume(AbsoluteUnixPath volume)
Adds a directory that may hold an externally mounted volume.
|
JibContainerBuilder |
JibContainerBuilder.setVolumes(AbsoluteUnixPath... volumes)
Sets the directories that may hold externally mounted volumes.
|
JibContainerBuilder |
JibContainerBuilder.setWorkingDirectory(AbsoluteUnixPath workingDirectory)
Sets the working directory in the container.
|
| Modifier and Type | Method and Description |
|---|---|
JibContainerBuilder |
JibContainerBuilder.setVolumes(Set<AbsoluteUnixPath> volumes)
Sets the directories that may hold externally mounted volumes.
|
| Modifier and Type | Method and Description |
|---|---|
AbsoluteUnixPath |
ContainerConfiguration.getWorkingDirectory() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSet<AbsoluteUnixPath> |
ContainerConfiguration.getVolumes() |
| Modifier and Type | Method and Description |
|---|---|
LayerConfiguration.Builder |
LayerConfiguration.Builder.addEntry(Path sourceFile,
AbsoluteUnixPath pathInContainer)
Adds an entry to the layer.
|
LayerConfiguration.Builder |
LayerConfiguration.Builder.addEntry(Path sourceFile,
AbsoluteUnixPath pathInContainer,
FilePermissions permissions)
Adds an entry to the layer with the given permissions.
|
LayerConfiguration.Builder |
LayerConfiguration.Builder.addEntryRecursive(Path sourceFile,
AbsoluteUnixPath pathInContainer)
Adds an entry to the layer.
|
void |
ContainerConfiguration.Builder.addVolume(AbsoluteUnixPath volume) |
ContainerConfiguration.Builder |
ContainerConfiguration.Builder.setWorkingDirectory(AbsoluteUnixPath workingDirectory)
Sets the working directory in the container.
|
| Modifier and Type | Method and Description |
|---|---|
ContainerConfiguration.Builder |
ContainerConfiguration.Builder.setVolumes(Set<AbsoluteUnixPath> volumes)
Sets the container's volumes.
|
| Modifier and Type | Method and Description |
|---|---|
static AbsoluteUnixPath |
AbsoluteUnixPath.fromPath(Path path)
Gets a new
AbsoluteUnixPath from a Path. |
static AbsoluteUnixPath |
AbsoluteUnixPath.get(String unixPath)
Gets a new
AbsoluteUnixPath from a Unix-style path string. |
AbsoluteUnixPath |
AbsoluteUnixPath.resolve(Path relativePath)
Resolves this path against another relative path (by the name elements of
relativePath). |
AbsoluteUnixPath |
AbsoluteUnixPath.resolve(RelativeUnixPath relativeUnixPath)
Resolves this path against another relative path.
|
AbsoluteUnixPath |
AbsoluteUnixPath.resolve(String relativeUnixPath)
Resolves this path against another relative Unix path in string form.
|
| Modifier and Type | Method and Description |
|---|---|
JavaLayerConfigurations.Builder |
JavaLayerConfigurations.Builder.addDirectoryContents(JavaLayerConfigurations.LayerType layerType,
Path sourceRoot,
Predicate<Path> pathFilter,
AbsoluteUnixPath basePathInContainer)
Adds directory contents to a layer selectively (via
pathFilter) and recursively. |
JavaLayerConfigurations.Builder |
JavaLayerConfigurations.Builder.addDirectoryContents(JavaLayerConfigurations.LayerType layerType,
Path sourceRoot,
Predicate<Path> pathFilter,
AbsoluteUnixPath basePathInContainer,
Map<AbsoluteUnixPath,FilePermissions> permissionsMap)
Adds directory contents to a layer selectively (via
pathFilter) and recursively. |
JavaLayerConfigurations.Builder |
JavaLayerConfigurations.Builder.addFile(JavaLayerConfigurations.LayerType layerType,
Path sourceFile,
AbsoluteUnixPath pathInContainer)
Adds a file to a layer.
|
JavaLayerConfigurations.Builder |
JavaLayerConfigurations.Builder.addFile(JavaLayerConfigurations.LayerType layerType,
Path sourceFile,
AbsoluteUnixPath pathInContainer,
FilePermissions permissions)
Adds a file to a layer.
|
static List<String> |
JavaEntrypointConstructor.makeDefaultEntrypoint(AbsoluteUnixPath appRoot,
List<String> jvmFlags,
String mainClass) |
| Modifier and Type | Method and Description |
|---|---|
JavaLayerConfigurations.Builder |
JavaLayerConfigurations.Builder.addDirectoryContents(JavaLayerConfigurations.LayerType layerType,
Path sourceRoot,
Predicate<Path> pathFilter,
AbsoluteUnixPath basePathInContainer,
Map<AbsoluteUnixPath,FilePermissions> permissionsMap)
Adds directory contents to a layer selectively (via
pathFilter) and recursively. |
| Modifier and Type | Method and Description |
|---|---|
AbsoluteUnixPath |
LayerEntry.getExtractionPath()
Gets the extraction path.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSet<AbsoluteUnixPath> |
Image.getVolumes() |
| Modifier and Type | Method and Description |
|---|---|
Image.Builder<T> |
Image.Builder.addVolumes(Set<AbsoluteUnixPath> volumes)
Adds items to the "Volumes" field in the container configuration.
|
| Constructor and Description |
|---|
LayerEntry(Path sourceFile,
AbsoluteUnixPath extractionPath,
FilePermissions permissions)
Instantiates with a source file and the path to place the source file in the container file
system.
|
| Modifier and Type | Method and Description |
|---|---|
static JavaLayerConfigurations |
JavaLayerConfigurationsHelper.fromExplodedWar(Path explodedWar,
AbsoluteUnixPath appRoot,
Path extraFilesDirectory,
Map<AbsoluteUnixPath,FilePermissions> extraDirectoryPermissions)
Constructs a new
JavaLayerConfigurations for a WAR project. |
| Modifier and Type | Method and Description |
|---|---|
static JavaLayerConfigurations |
JavaLayerConfigurationsHelper.fromExplodedWar(Path explodedWar,
AbsoluteUnixPath appRoot,
Path extraFilesDirectory,
Map<AbsoluteUnixPath,FilePermissions> extraDirectoryPermissions)
Constructs a new
JavaLayerConfigurations for a WAR project. |
Copyright © 2018. All rights reserved.