Skip to content

Commit

Permalink
Rebase & update few protos
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Marcantonio <[email protected]>
  • Loading branch information
lennysgarage committed Sep 3, 2024
1 parent f9f4c60 commit 19eda87
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 683 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package kessel.inventory.v1beta1.relationships;
import "kessel/inventory/v1beta1/relationships/metadata.proto";
import "kessel/inventory/v1beta1/relationships/reporter_data.proto";
import "kessel/inventory/v1beta1/relationships/k8spolicy_ispropagatedto_k8scluster_detail.proto";
import "validate/validate.proto";
import "buf/validate/validate.proto";

option go_package = "github.com/project-kessel/inventory-api/api/kessel/inventory/v1beta1/relationships";
option java_multiple_files = true;
Expand All @@ -14,10 +14,10 @@ option java_package = "org.project_kessel.api.inventory.v1beta1.relationships";
message K8SPolicyIsPropagatedToK8SCluster {

// Metadata about this resource
Metadata metadata = 1 [ (validate.rules).message = {required: false, skip: false} ];
Metadata metadata = 1 [ (buf.validate.field) = {required: false, ignore: IGNORE_ALWAYS} ];

// Write only reporter specific data
ReporterData reporter_data = 245278793 [ (validate.rules).message.required = true ];
ReporterData reporter_data = 245278793 [ (buf.validate.field).required = true ];

K8SPolicyIsPropagatedToK8SClusterDetail relationship_data = 2122699 [ (validate.rules).message.required = true ];
K8SPolicyIsPropagatedToK8SClusterDetail relationship_data = 2122699 [ (buf.validate.field).required = true ];
}
201 changes: 0 additions & 201 deletions api/kessel/inventory/v1beta1/relationships/metadata.pb.validate.go

This file was deleted.

106 changes: 53 additions & 53 deletions api/kessel/inventory/v1beta1/relationships/reporter_data.pb.go

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

Loading

0 comments on commit 19eda87

Please sign in to comment.