migrate platforms package to github.com/containerd/platforms

This updates the platforms package to be an alias for the new platforms module.
This helps transitioning consumers to the new module, and makes sure that
containerd v2 and v1 use the same definitions.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2024-06-03 15:13:30 +02:00
parent 3eb3e53ecd
commit 6ff3e09d20
92 changed files with 639 additions and 1472 deletions

View File

@@ -25,10 +25,10 @@ import (
"github.com/containerd/containerd/metadata"
"github.com/containerd/containerd/pkg/transfer/local"
"github.com/containerd/containerd/pkg/unpack"
"github.com/containerd/containerd/platforms"
"github.com/containerd/containerd/plugin"
"github.com/containerd/errdefs"
"github.com/containerd/log"
"github.com/containerd/platforms"
// Load packages with type registrations
_ "github.com/containerd/containerd/pkg/transfer/archive"