| Package | Description |
|---|---|
| com.google.cloud.tools.jib.configuration | |
| com.google.cloud.tools.jib.frontend | |
| com.google.cloud.tools.jib.image | |
| com.google.cloud.tools.jib.plugins.common |
| Modifier and Type | Field and Description |
|---|---|
static FilePermissions |
FilePermissions.DEFAULT_FILE_PERMISSIONS |
static FilePermissions |
FilePermissions.DEFAULT_FOLDER_PERMISSIONS |
| Modifier and Type | Method and Description |
|---|---|
static FilePermissions |
FilePermissions.fromOctalString(String octalPermissions)
Creates a new
FilePermissions from an octal string representation (e.g. |
static FilePermissions |
FilePermissions.fromPosixFilePermissions(Set<PosixFilePermission> posixFilePermissions)
Creates a new
FilePermissions from a set of PosixFilePermission. |
| Modifier and Type | Method and Description |
|---|---|
LayerConfiguration.Builder |
LayerConfiguration.Builder.addEntry(Path sourceFile,
AbsoluteUnixPath pathInContainer,
FilePermissions permissions)
Adds an entry to the layer with the given permissions.
|
| Modifier and Type | Method and Description |
|---|---|
JavaLayerConfigurations.Builder |
JavaLayerConfigurations.Builder.addFile(JavaLayerConfigurations.LayerType layerType,
Path sourceFile,
AbsoluteUnixPath pathInContainer,
FilePermissions permissions)
Adds a file to a layer.
|
| 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 |
|---|---|
FilePermissions |
LayerEntry.getPermissions()
Gets the file permissions on the container.
|
| 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. |
Copyright © 2018. All rights reserved.