Documentation
¶
Index ¶
- func DigestSize(srcHub *registry.Registry, srcImage string, uploadLayer []digest.Digest) int64
- func MissingLayers(destHub *registry.Registry, destImage string, srcLayers []manifestV1.FSLayer) []digest.Digest
- func UploadLayer(destHub *registry.Registry, destImage string, srcHub *registry.Registry, ...)
- func UploadLayerWithProgress(destHub *registry.Registry, destImage string, srcHub *registry.Registry, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DigestSize ¶
DigestSize returns total upload size
func MissingLayers ¶
func MissingLayers(destHub *registry.Registry, destImage string, srcLayers []manifestV1.FSLayer) []digest.Digest
MissingLayers computes list of layers required to be uploaded. Upload is optimized by skipping existing layers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.