Update go module to github.com/containerd/containerd/v2

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2023-10-29 20:52:21 -07:00
parent abfc8be530
commit 5fdf55e493
748 changed files with 3443 additions and 2839 deletions

View File

@@ -25,10 +25,10 @@ import (
"strings"
"time"
"github.com/containerd/containerd/errdefs"
"github.com/containerd/containerd/filters"
"github.com/containerd/containerd/metadata/boltutil"
"github.com/containerd/containerd/snapshots"
"github.com/containerd/containerd/v2/errdefs"
"github.com/containerd/containerd/v2/filters"
"github.com/containerd/containerd/v2/metadata/boltutil"
"github.com/containerd/containerd/v2/snapshots"
bolt "go.etcd.io/bbolt"
)

View File

@@ -22,7 +22,7 @@ import (
// Does not require root but flag must be defined for snapshot tests
_ "github.com/containerd/containerd/pkg/testutil"
_ "github.com/containerd/containerd/v2/pkg/testutil"
)
func TestMetastore(t *testing.T) {

View File

@@ -27,7 +27,7 @@ import (
"fmt"
"sync"
"github.com/containerd/containerd/snapshots"
"github.com/containerd/containerd/v2/snapshots"
"github.com/containerd/log"
bolt "go.etcd.io/bbolt"
)

View File

@@ -21,7 +21,7 @@ import (
"fmt"
"testing"
"github.com/containerd/containerd/snapshots"
"github.com/containerd/containerd/v2/snapshots"
)
// Benchmarks returns a benchmark suite using the provided metadata store

View File

@@ -23,8 +23,8 @@ import (
"testing"
"time"
"github.com/containerd/containerd/errdefs"
"github.com/containerd/containerd/snapshots"
"github.com/containerd/containerd/v2/errdefs"
"github.com/containerd/containerd/v2/snapshots"
"github.com/google/go-cmp/cmp"
"github.com/stretchr/testify/assert"
)