GoogleContainerTools / minikube-build-tools-for-java

Minikube lifecycle management tools for Gradle and Maven.
Apache License 2.0
57 stars 27 forks source link

Add a layer representation. #33

Closed coollog closed 6 years ago

coollog commented 6 years ago

Should consist of digest, size, and diffId.

If the layer is cached, all of these values should be able to be loaded directly. If the layer is not cached (or needs to be pushed to the registry), it should have another field content that is the actual tar.gzip layer blob. In the case that the layer is pulled from a registry, it might not have diffId and that would need to be computed by uncompressing the layer blob.