public class ContainerConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ContainerConfig.Update
Update class used to change data when creating a container config.
|
Modifier and Type | Method and Description |
---|---|
static ContainerConfig |
of(ImageReference imageReference,
Consumer<ContainerConfig.Update> update)
Factory method to create a
ContainerConfig with specific settings. |
String |
toString() |
void |
writeTo(OutputStream outputStream)
Write this container configuration to the specified
OutputStream . |
public void writeTo(OutputStream outputStream) throws IOException
OutputStream
.outputStream
- the output streamIOException
- on IO errorpublic static ContainerConfig of(ImageReference imageReference, Consumer<ContainerConfig.Update> update)
ContainerConfig
with specific settings.imageReference
- the source image for the container configupdate
- an update callback used to customize the configContainerConfig
instance