File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ import (
2121 "io"
2222 "os"
2323
24- "github.com/containerd/imgcrypt"
25- "github.com/containerd/imgcrypt/images/encryption"
2624 "github.com/containerd/typeurl/v2"
2725
26+ "github.com/containerd/imgcrypt/v2"
27+ "github.com/containerd/imgcrypt/v2/images/encryption"
28+
2829 "github.com/containerd/containerd/v2/pkg/protobuf/proto"
2930 "github.com/containerd/containerd/v2/pkg/protobuf/types"
3031 "github.com/urfave/cli/v2"
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ import (
2424 containerd "github.com/containerd/containerd/v2/client"
2525 "github.com/containerd/containerd/v2/core/images"
2626 "github.com/containerd/imgcrypt/cmd/ctr/commands/img"
27- imgenc "github.com/containerd/imgcrypt/images/encryption"
28- "github.com/containerd/imgcrypt/images/encryption/parsehelpers"
27+ imgenc "github.com/containerd/imgcrypt/v2/ images/encryption"
28+ "github.com/containerd/imgcrypt/v2/ images/encryption/parsehelpers"
2929 "github.com/containerd/platforms"
3030 encconfig "github.com/containers/ocicrypt/config"
3131 "github.com/urfave/cli/v2"
Original file line number Diff line number Diff line change @@ -23,8 +23,9 @@ import (
2323 "github.com/containerd/containerd/v2/cmd/ctr/commands"
2424 "github.com/containerd/imgcrypt/cmd/ctr/commands/flags"
2525 "github.com/containerd/imgcrypt/cmd/ctr/commands/img"
26- imgenc "github.com/containerd/imgcrypt/images/encryption"
27- "github.com/containerd/imgcrypt/images/encryption/parsehelpers"
26+
27+ imgenc "github.com/containerd/imgcrypt/v2/images/encryption"
28+ "github.com/containerd/imgcrypt/v2/images/encryption/parsehelpers"
2829
2930 "github.com/urfave/cli/v2"
3031)
Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ import (
2323 "github.com/containerd/containerd/v2/cmd/ctr/commands"
2424 "github.com/containerd/imgcrypt/cmd/ctr/commands/flags"
2525 "github.com/containerd/imgcrypt/cmd/ctr/commands/img"
26- "github.com/containerd/imgcrypt/images/encryption/parsehelpers"
26+
27+ "github.com/containerd/imgcrypt/v2/images/encryption/parsehelpers"
2728
2829 "github.com/urfave/cli/v2"
2930)
Original file line number Diff line number Diff line change @@ -25,13 +25,14 @@ import (
2525 containerd "github.com/containerd/containerd/v2/client"
2626 "github.com/containerd/containerd/v2/cmd/ctr/commands"
2727 "github.com/containerd/containerd/v2/core/images/archive"
28- "github.com/containerd/imgcrypt"
2928 "github.com/containerd/imgcrypt/cmd/ctr/commands/flags"
30- "github.com/containerd/imgcrypt/images/encryption"
31- "github.com/containerd/imgcrypt/images/encryption/parsehelpers"
3229 "github.com/containerd/log"
3330 "github.com/containerd/platforms"
3431 "github.com/urfave/cli/v2"
32+
33+ "github.com/containerd/imgcrypt/v2"
34+ "github.com/containerd/imgcrypt/v2/images/encryption"
35+ "github.com/containerd/imgcrypt/v2/images/encryption/parsehelpers"
3536)
3637
3738var importCommand = cli.Command {
Original file line number Diff line number Diff line change @@ -26,10 +26,11 @@ import (
2626
2727 "github.com/containerd/containerd/v2/cmd/ctr/commands"
2828 "github.com/containerd/imgcrypt/cmd/ctr/commands/img"
29- "github.com/containerd/imgcrypt/images/encryption/parsehelpers"
3029 "github.com/containerd/platforms"
3130 "github.com/containers/ocicrypt"
3231
32+ "github.com/containerd/imgcrypt/v2/images/encryption/parsehelpers"
33+
3334 "github.com/urfave/cli/v2"
3435)
3536
Original file line number Diff line number Diff line change @@ -24,13 +24,14 @@ import (
2424 "github.com/containerd/containerd/v2/cmd/ctr/commands"
2525 "github.com/containerd/containerd/v2/cmd/ctr/commands/content"
2626 "github.com/containerd/containerd/v2/core/images"
27- "github.com/containerd/imgcrypt"
2827 "github.com/containerd/imgcrypt/cmd/ctr/commands/flags"
29- "github.com/containerd/imgcrypt/images/encryption"
30- "github.com/containerd/imgcrypt/images/encryption/parsehelpers"
3128 "github.com/containerd/log"
3229 "github.com/containerd/platforms"
3330
31+ "github.com/containerd/imgcrypt/v2"
32+ "github.com/containerd/imgcrypt/v2/images/encryption"
33+ "github.com/containerd/imgcrypt/v2/images/encryption/parsehelpers"
34+
3435 "github.com/opencontainers/image-spec/identity"
3536 ocispec "github.com/opencontainers/image-spec/specs-go/v1"
3637 "github.com/urfave/cli/v2"
Original file line number Diff line number Diff line change @@ -37,11 +37,12 @@ import (
3737 "github.com/containerd/containerd/v2/core/containers"
3838 "github.com/containerd/containerd/v2/core/snapshots"
3939 "github.com/containerd/containerd/v2/pkg/oci"
40- "github.com/containerd/imgcrypt"
41- "github.com/containerd/imgcrypt/images/encryption"
42- "github.com/containerd/imgcrypt/images/encryption/parsehelpers"
4340 "github.com/containerd/platforms"
4441
42+ "github.com/containerd/imgcrypt/v2"
43+ "github.com/containerd/imgcrypt/v2/images/encryption"
44+ "github.com/containerd/imgcrypt/v2/images/encryption/parsehelpers"
45+
4546 "github.com/containerd/imgcrypt/cmd/ctr/commands"
4647 "github.com/containerd/imgcrypt/cmd/ctr/commands/images"
4748
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ import (
2525 containerd "github.com/containerd/containerd/v2/client"
2626 "github.com/containerd/containerd/v2/pkg/netns"
2727 "github.com/containerd/containerd/v2/pkg/oci"
28- "github.com/containerd/imgcrypt"
2928 "github.com/containerd/imgcrypt/cmd/ctr/commands"
3029 "github.com/containerd/imgcrypt/cmd/ctr/commands/images"
31- "github.com/containerd/imgcrypt/images/encryption"
32- "github.com/containerd/imgcrypt/images/encryption/parsehelpers"
30+ "github.com/containerd/imgcrypt/v2"
31+ "github.com/containerd/imgcrypt/v2/images/encryption"
32+ "github.com/containerd/imgcrypt/v2/images/encryption/parsehelpers"
3333
3434 specs "github.com/opencontainers/runtime-spec/specs-go"
3535 "github.com/sirupsen/logrus"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ require (
1010 github.com/containerd/containerd/v2 v2.0.0-rc.6
1111 github.com/containerd/errdefs v0.3.0
1212 github.com/containerd/go-cni v1.1.10
13- github.com/containerd/imgcrypt v1.2.0-rc1
13+ github.com/containerd/imgcrypt/v2 v2.0.0
1414 github.com/containerd/log v0.1.0
1515 github.com/containerd/platforms v0.2.1
1616 github.com/containerd/typeurl/v2 v2.2.0
@@ -92,4 +92,4 @@ require (
9292 tags.cncf.io/container-device-interface/specs-go v0.8.0 // indirect
9393)
9494
95- replace github.com/containerd/imgcrypt => ../
95+ replace github.com/containerd/imgcrypt/v2 => ../
You can’t perform that action at this time.
0 commit comments