Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add properties field to the edge message #41943

Merged
merged 2 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Move to map<string,string> for edge properties.
  • Loading branch information
Tener committed May 27, 2024
commit 890db12f790f4b7416bbec7dab8402d39be4f431
108 changes: 55 additions & 53 deletions gen/proto/go/accessgraph/v1alpha/graph.pb.go

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

6 changes: 2 additions & 4 deletions proto/accessgraph/v1alpha/graph.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ syntax = "proto3";

package accessgraph.v1alpha;

import "google/protobuf/struct.proto";

option go_package = "github.com/gravitational/teleport/gen/proto/go/accessgraph/v1alpha;accessgraphv1alpha";

// Node is a node in the access graph.
Expand Down Expand Up @@ -50,6 +48,6 @@ message Edge {
string to = 2;
// edge_type is the type of the edge, e.g. "member_of", "belongs_to", etc.
string edge_type = 3;
// properties is dynamically typed set of edge properties, with the schema varying from one edge type to another.
google.protobuf.Struct properties = 4;
// Properties is a set of properties for the edges.
map<string, string> properties = 4;
}
Loading