Skip to content

Commit 3d93add

Browse files
authored
Merge pull request containerd#9687 from akhilerm/refactor-protos
refactor: move plugin/fieldpath to api/types/
2 parents a2d0ddc + b16e357 commit 3d93add

21 files changed

+482
-501
lines changed

api/events/container.pb.go

Lines changed: 38 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/events/container.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ syntax = "proto3";
1919
package containerd.events;
2020

2121
import "google/protobuf/any.proto";
22-
import "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto";
22+
import "github.com/containerd/containerd/api/types/fieldpath.proto";
2323

2424
option go_package = "github.com/containerd/containerd/v2/api/events;events";
25-
option (containerd.plugin.fieldpath_all) = true;
25+
option (containerd.types.fieldpath_all) = true;
2626

2727
message ContainerCreate {
2828
string id = 1;

api/events/content.pb.go

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/events/content.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ syntax = "proto3";
1818

1919
package containerd.events;
2020

21-
import "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto";
21+
import "github.com/containerd/containerd/api/types/fieldpath.proto";
2222

2323
option go_package = "github.com/containerd/containerd/v2/api/events;events";
24-
option (containerd.plugin.fieldpath_all) = true;
24+
option (containerd.types.fieldpath_all) = true;
2525

2626
message ContentDelete {
2727
string digest = 1;

api/events/image.pb.go

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/events/image.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ syntax = "proto3";
1818

1919
package containerd.services.images.v1;
2020

21-
import "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto";
21+
import "github.com/containerd/containerd/api/types/fieldpath.proto";
2222

2323
option go_package = "github.com/containerd/containerd/v2/api/events;events";
24-
option (containerd.plugin.fieldpath_all) = true;
24+
option (containerd.types.fieldpath_all) = true;
2525

2626
message ImageCreate {
2727
string name = 1;

0 commit comments

Comments
 (0)