Skip to content

Commit

Permalink
refactor: move plugin/fieldpath to api/types/
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
  • Loading branch information
akhilerm committed Jan 25, 2024
1 parent be9336f commit b16e357
Show file tree
Hide file tree
Showing 21 changed files with 482 additions and 501 deletions.
77 changes: 38 additions & 39 deletions api/events/container.pb.go

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

4 changes: 2 additions & 2 deletions api/events/container.proto
Expand Up @@ -19,10 +19,10 @@ syntax = "proto3";
package containerd.events;

import "google/protobuf/any.proto";
import "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto";
import "github.com/containerd/containerd/api/types/fieldpath.proto";

option go_package = "github.com/containerd/containerd/v2/api/events;events";
option (containerd.plugin.fieldpath_all) = true;
option (containerd.types.fieldpath_all) = true;

message ContainerCreate {
string id = 1;
Expand Down
22 changes: 11 additions & 11 deletions api/events/content.pb.go

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

4 changes: 2 additions & 2 deletions api/events/content.proto
Expand Up @@ -18,10 +18,10 @@ syntax = "proto3";

package containerd.events;

import "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto";
import "github.com/containerd/containerd/api/types/fieldpath.proto";

option go_package = "github.com/containerd/containerd/v2/api/events;events";
option (containerd.plugin.fieldpath_all) = true;
option (containerd.types.fieldpath_all) = true;

message ContentDelete {
string digest = 1;
Expand Down
66 changes: 33 additions & 33 deletions api/events/image.pb.go

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

4 changes: 2 additions & 2 deletions api/events/image.proto
Expand Up @@ -18,10 +18,10 @@ syntax = "proto3";

package containerd.services.images.v1;

import "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto";
import "github.com/containerd/containerd/api/types/fieldpath.proto";

option go_package = "github.com/containerd/containerd/v2/api/events;events";
option (containerd.plugin.fieldpath_all) = true;
option (containerd.types.fieldpath_all) = true;

message ImageCreate {
string name = 1;
Expand Down

0 comments on commit b16e357

Please sign in to comment.