Skip to content

Commit

Permalink
Update to containerd v2.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Estes <[email protected]>
  • Loading branch information
estesp committed Nov 6, 2024
1 parent 4487583 commit 4070c7a
Show file tree
Hide file tree
Showing 498 changed files with 26,914 additions and 53,919 deletions.
38 changes: 17 additions & 21 deletions v2/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module github.com/estesp/manifest-tool/v2

go 1.21
go 1.22.0

toolchain go1.22.1
toolchain go1.23.2

require (
github.com/containerd/containerd v1.7.22
github.com/containerd/errdefs v0.1.0
github.com/containerd/containerd/v2 v2.0.0
github.com/containerd/errdefs v1.0.0
github.com/docker/cli v27.0.1+incompatible
github.com/docker/distribution v2.8.2+incompatible
github.com/docker/docker v27.1.1+incompatible
Expand All @@ -15,38 +15,34 @@ require (
github.com/opencontainers/image-spec v1.1.0
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.9.3
github.com/urfave/cli/v2 v2.27.1
github.com/urfave/cli/v2 v2.27.5
gopkg.in/yaml.v3 v3.0.1
oras.land/oras-go/v2 v2.4.0
)

require (
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 // indirect
github.com/containerd/log v0.1.0 // indirect
github.com/containerd/platforms v0.2.1 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/containerd/platforms v1.0.0-rc.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
github.com/docker/docker-credential-helpers v0.7.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/klauspost/compress v1.16.7 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/moby/locker v1.0.1 // indirect
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.50.0 // indirect
go.opentelemetry.io/otel v1.25.0 // indirect
go.opentelemetry.io/otel/metric v1.25.0 // indirect
go.opentelemetry.io/otel/trace v1.25.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.18.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect
google.golang.org/grpc v1.62.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0 // indirect
go.opentelemetry.io/otel v1.31.0 // indirect
go.opentelemetry.io/otel/metric v1.31.0 // indirect
go.opentelemetry.io/otel/trace v1.31.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.26.0 // indirect
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
gotest.tools/v3 v3.4.0 // indirect
)
106 changes: 54 additions & 52 deletions v2/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/registry/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package registry
import (
"context"

"github.com/containerd/containerd/remotes"
"github.com/containerd/containerd/v2/core/remotes"
"github.com/docker/distribution/reference"
"github.com/estesp/manifest-tool/v2/pkg/store"
"github.com/estesp/manifest-tool/v2/pkg/types"
Expand Down
8 changes: 4 additions & 4 deletions v2/pkg/registry/fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"context"
"encoding/json"

ccontent "github.com/containerd/containerd/content"
"github.com/containerd/containerd/images"
"github.com/containerd/containerd/remotes"
"github.com/containerd/containerd/remotes/docker"
ccontent "github.com/containerd/containerd/v2/core/content"
"github.com/containerd/containerd/v2/core/images"
"github.com/containerd/containerd/v2/core/remotes"
"github.com/containerd/containerd/v2/core/remotes/docker"
"github.com/estesp/manifest-tool/v2/pkg/store"
"github.com/estesp/manifest-tool/v2/pkg/types"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
Expand Down
4 changes: 2 additions & 2 deletions v2/pkg/registry/pusher.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/estesp/manifest-tool/v2/pkg/store"
"github.com/estesp/manifest-tool/v2/pkg/types"

"github.com/containerd/containerd/images"
"github.com/containerd/containerd/remotes"
"github.com/containerd/containerd/v2/core/images"
"github.com/containerd/containerd/v2/core/remotes"
"github.com/docker/distribution/manifest/manifestlist"
"github.com/docker/distribution/reference"
"github.com/opencontainers/go-digest"
Expand Down
2 changes: 1 addition & 1 deletion v2/pkg/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"sync"
"time"

ccontent "github.com/containerd/containerd/content"
ccontent "github.com/containerd/containerd/v2/core/content"
"github.com/containerd/errdefs"
"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
Expand Down
2 changes: 1 addition & 1 deletion v2/pkg/types/manifests.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package types

import (
"github.com/containerd/containerd/remotes"
"github.com/containerd/containerd/v2/core/remotes"
"github.com/docker/distribution/reference"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)
Expand Down
2 changes: 1 addition & 1 deletion v2/pkg/types/request.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package types

import (
"github.com/containerd/containerd/remotes"
"github.com/containerd/containerd/v2/core/remotes"
"github.com/docker/distribution/reference"
digest "github.com/opencontainers/go-digest"
)
Expand Down
4 changes: 2 additions & 2 deletions v2/pkg/util/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"path/filepath"
"strings"

"github.com/containerd/containerd/remotes"
"github.com/containerd/containerd/remotes/docker"
"github.com/containerd/containerd/v2/core/remotes"
"github.com/containerd/containerd/v2/core/remotes/docker"
"github.com/docker/cli/cli/config"
"github.com/docker/cli/cli/config/configfile"
"github.com/docker/cli/cli/config/credentials"
Expand Down
48 changes: 47 additions & 1 deletion v2/vendor/github.com/AdaLogics/go-fuzz-headers/consumer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4070c7a

Please sign in to comment.