Skip to content

Commit

Permalink
cel: add a description to the AST (#61)
Browse files Browse the repository at this point in the history
Signed-off-by: Kuat Yessenov <kuat@google.com>
  • Loading branch information
kyessenov authored Oct 11, 2023
1 parent e9ce688 commit 776c4db
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 10 deletions.
30 changes: 20 additions & 10 deletions go/xds/type/matcher/v3/cel.pb.go

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

2 changes: 2 additions & 0 deletions go/xds/type/matcher/v3/cel.pb.validate.go

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

4 changes: 4 additions & 0 deletions xds/type/matcher/v3/cel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ option (xds.annotations.v3.file_status).work_in_progress = true;
message CelMatcher {
// Either parsed or checked representation of the CEL program.
type.v3.CelExpression expr_match = 1 [(validate.rules).message = {required: true}];

// Free-form description of the CEL AST, e.g. the original expression text, to be
// used for debugging assistance.
string description = 2;
}

0 comments on commit 776c4db

Please sign in to comment.