MCPcopy Create free account
hub / github.com/bytebase/bytebase / ValidateProjectMemberCELExpr

Function ValidateProjectMemberCELExpr

backend/common/cel.go:186–188  ·  view source on GitHub ↗
(expression *expr.Expr)

Source from the content-addressed store, hash-verified

184}
185
186func ValidateProjectMemberCELExpr(expression *expr.Expr) (cel.Program, error) {
187 return validateCELExpr(expression, IAMPolicyConditionCELAttributes)
188}
189
190func validateCELExpr(expression *expr.Expr, conditionCELAttributes []cel.EnvOption) (cel.Program, error) {
191 if expression == nil || expression.Expression == "" {

Callers 1

validateBindingsFunction · 0.92

Calls 1

validateCELExprFunction · 0.85

Tested by

no test coverage detected