use of org.springframework.boot.buildpack.platform.docker.type.Layer in project spring-boot by spring-projects.
the class ImageAssert method getLayers.
private void getLayers() throws IOException {
new DockerApi().image().exportLayers(this.actual, (id, tarArchive) -> {
Layer layer = Layer.fromTarArchive(tarArchive);
this.layers.put(layer.getId().toString(), layer);
});
}