Package | Description |
---|---|
org.springframework.boot.buildpack.platform.build |
Central API for performing a buildpack build.
|
org.springframework.boot.buildpack.platform.io |
IO classes and utilities.
|
Modifier and Type | Method and Description |
---|---|
TarArchive |
BuildRequest.getApplicationContent(Owner owner)
Return a
TarArchive containing the application content that the buildpack
should package. |
Modifier and Type | Method and Description |
---|---|
static BuildRequest |
BuildRequest.of(ImageReference name,
Function<Owner,TarArchive> applicationContent)
Factory method to create a new
BuildRequest with specific content. |
Modifier and Type | Field and Description |
---|---|
static Owner |
Owner.ROOT
Owner for root ownership.
|
Modifier and Type | Method and Description |
---|---|
static Owner |
Owner.of(long uid,
long gid)
Factory method to create a new
Owner with specified user/group identifier. |
Modifier and Type | Method and Description |
---|---|
default void |
Layout.directory(String name,
Owner owner)
Add a directory to the content.
|
void |
Layout.directory(String name,
Owner owner,
int mode)
Add a directory to the content.
|
default void |
Layout.file(String name,
Owner owner,
Content content)
Write a file to the content.
|
void |
Layout.file(String name,
Owner owner,
int mode,
Content content)
Write a file to the content.
|
static TarArchive |
TarArchive.fromZip(File zip,
Owner owner)
Factory method to adapt a ZIP file to
TarArchive . |
Constructor and Description |
---|
ZipFileTarArchive(File zip,
Owner owner)
Creates an archive from the contents of the given
zip . |