mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
rebase: bump the golang-dependencies group with 1 update
Bumps the golang-dependencies group with 1 update: [golang.org/x/crypto](https://github.com/golang/crypto). Updates `golang.org/x/crypto` from 0.16.0 to 0.17.0 - [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor dependency-group: golang-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
mergify[bot]
parent
1ad79314f9
commit
e5d9b68d36
13
vendor/github.com/google/cel-go/parser/options.go
generated
vendored
13
vendor/github.com/google/cel-go/parser/options.go
generated
vendored
@ -25,6 +25,7 @@ type options struct {
|
||||
macros map[string]Macro
|
||||
populateMacroCalls bool
|
||||
enableOptionalSyntax bool
|
||||
enableVariadicOperatorASTs bool
|
||||
}
|
||||
|
||||
// Option configures the behavior of the parser.
|
||||
@ -125,3 +126,15 @@ func EnableOptionalSyntax(optionalSyntax bool) Option {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// EnableVariadicOperatorASTs enables a compact representation of chained like-kind commutative
|
||||
// operators. e.g. `a || b || c || d` -> `call(op='||', args=[a, b, c, d])`
|
||||
//
|
||||
// The benefit of enabling variadic operators ASTs is a more compact representation deeply nested
|
||||
// logic graphs.
|
||||
func EnableVariadicOperatorASTs(varArgASTs bool) Option {
|
||||
return func(opts *options) error {
|
||||
opts.enableVariadicOperatorASTs = varArgASTs
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user