package v1

import "github.com/docker/cli/components/engine/migrate/v1"

Index

Functions

func CalculateLayerChecksums

func CalculateLayerChecksums(root string, ls checksumCalculator, mappings map[string]image.ID)

CalculateLayerChecksums walks an old graph directory and calculates checksums for each layer. These checksums are later used for migration.

func Migrate

func Migrate(root, driverName string, ls layer.Store, is image.Store, rs refstore.Store, ms metadata.Store) error

Migrate takes an old graph directory and transforms the metadata into the new format.

Source Files

migratev1.go

Version
v17.10.0-ce+incompatible
Published
Oct 17, 2017
Platform
js/wasm
Imports
19 packages
Last checked
4 hours ago

Tools for package owners.