Skip to content

Commit

Permalink
changes to removed required (project-kessel#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
randymgeorge authored and clyang82 committed Sep 20, 2024
1 parent df80b7a commit 158869b
Show file tree
Hide file tree
Showing 21 changed files with 399 additions and 616 deletions.
99 changes: 40 additions & 59 deletions api/kessel/inventory/v1beta1/k8s_cluster.pb.go

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

34 changes: 0 additions & 34 deletions api/kessel/inventory/v1beta1/k8s_cluster.pb.validate.go

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

12 changes: 2 additions & 10 deletions api/kessel/inventory/v1beta1/k8s_cluster.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package kessel.inventory.v1beta1;

import "google/api/field_behavior.proto";

import "kessel/inventory/v1beta1/k8s_cluster_detail.proto";
import "kessel/inventory/v1beta1/metadata.proto";
import "kessel/inventory/v1beta1/reporter_data.proto";
Expand All @@ -15,16 +13,10 @@ option java_outer_classname = "K8sClusterProto";

message K8sCluster {
// Metadata about this resource
Metadata metadata = 1 [ (google.api.field_behavior) = REQUIRED ];
Metadata metadata = 1;

// Write only reporter specific data
ReporterData reporter_data = 245278792
[ (google.api.field_behavior) = INPUT_ONLY ];

// The entities that registered this item in the Kessel Asset Inventory. The
// same resource may be registered by multiple reporters.
repeated ReporterData reporters = 353323086
[ (google.api.field_behavior) = OUTPUT_ONLY ];
ReporterData reporter_data = 245278792;

K8sClusterDetail resource_data = 2122698;
}
Loading

0 comments on commit 158869b

Please sign in to comment.