Package | Description |
---|---|
org.springframework.boot.buildpack.platform.docker.type |
Docker types.
|
org.springframework.boot.buildpack.platform.io |
IO classes and utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
Layer
A layer that can be written to an
ImageArchive . |
Modifier and Type | Class and Description |
---|---|
class |
InspectedContent
Content that is reads and inspects a source of data only once but allows it to
be consumed multiple times. |
Modifier and Type | Method and Description |
---|---|
static Content |
Content.of(byte[] bytes)
Create a new
Content from the given input stream. |
static Content |
Content.of(File file) |
static Content |
Content.of(int size,
IOSupplier<InputStream> supplier)
Create a new
Content from the given input stream. |
static Content |
Content.of(String string)
Create a new
Content from the given UTF-8 string. |
Modifier and Type | Method and Description |
---|---|
void |
Layout.file(String name,
Owner owner,
Content content)
Write a file to the content.
|
static InspectedContent |
InspectedContent.of(Content content,
InspectedContent.Inspector... inspectors)
Factory method to create an
InspectedContent instance from source content. |