mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
rebase: bump the k8s-dependencies group in /e2e with 3 updates
Bumps the k8s-dependencies group in /e2e with 3 updates: [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery), [k8s.io/cloud-provider](https://github.com/kubernetes/cloud-provider) and [k8s.io/pod-security-admission](https://github.com/kubernetes/pod-security-admission). Updates `k8s.io/apimachinery` from 0.32.3 to 0.33.0 - [Commits](https://github.com/kubernetes/apimachinery/compare/v0.32.3...v0.33.0) Updates `k8s.io/cloud-provider` from 0.32.3 to 0.33.0 - [Commits](https://github.com/kubernetes/cloud-provider/compare/v0.32.3...v0.33.0) Updates `k8s.io/pod-security-admission` from 0.32.3 to 0.33.0 - [Commits](https://github.com/kubernetes/pod-security-admission/compare/v0.32.3...v0.33.0) --- updated-dependencies: - dependency-name: k8s.io/apimachinery dependency-version: 0.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: k8s-dependencies - dependency-name: k8s.io/cloud-provider dependency-version: 0.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: k8s-dependencies - dependency-name: k8s.io/pod-security-admission dependency-version: 0.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: k8s-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
mergify[bot]
parent
d52dc2c4ba
commit
dd77e72800
42
e2e/vendor/github.com/google/cel-go/interpreter/interpretable.go
generated
vendored
42
e2e/vendor/github.com/google/cel-go/interpreter/interpretable.go
generated
vendored
@ -762,6 +762,9 @@ func (fold *evalFold) Eval(ctx Activation) ref.Val {
|
||||
defer releaseFolder(f)
|
||||
|
||||
foldRange := fold.iterRange.Eval(ctx)
|
||||
if types.IsUnknownOrError(foldRange) {
|
||||
return foldRange
|
||||
}
|
||||
if fold.iterVar2 != "" {
|
||||
var foldable traits.Foldable
|
||||
switch r := foldRange.(type) {
|
||||
@ -1241,7 +1244,7 @@ func invalidOptionalElementInit(value ref.Val) ref.Val {
|
||||
func newFolder(eval *evalFold, ctx Activation) *folder {
|
||||
f := folderPool.Get().(*folder)
|
||||
f.evalFold = eval
|
||||
f.Activation = ctx
|
||||
f.activation = ctx
|
||||
return f
|
||||
}
|
||||
|
||||
@ -1262,7 +1265,7 @@ func releaseFolder(f *folder) {
|
||||
// cel.bind or cel.@block.
|
||||
type folder struct {
|
||||
*evalFold
|
||||
Activation
|
||||
activation Activation
|
||||
|
||||
// fold state objects.
|
||||
accuVal ref.Val
|
||||
@ -1290,7 +1293,7 @@ func (f *folder) foldIterable(iterable traits.Iterable) ref.Val {
|
||||
// Update the accumulation value and check for eval interuption.
|
||||
f.accuVal = f.step.Eval(f)
|
||||
f.initialized = true
|
||||
if f.interruptable && checkInterrupt(f.Activation) {
|
||||
if f.interruptable && checkInterrupt(f.activation) {
|
||||
f.interrupted = true
|
||||
return f.evalResult()
|
||||
}
|
||||
@ -1316,7 +1319,7 @@ func (f *folder) FoldEntry(key, val any) bool {
|
||||
// Update the accumulation value and check for eval interuption.
|
||||
f.accuVal = f.step.Eval(f)
|
||||
f.initialized = true
|
||||
if f.interruptable && checkInterrupt(f.Activation) {
|
||||
if f.interruptable && checkInterrupt(f.activation) {
|
||||
f.interrupted = true
|
||||
return false
|
||||
}
|
||||
@ -1330,7 +1333,7 @@ func (f *folder) ResolveName(name string) (any, bool) {
|
||||
if name == f.accuVar {
|
||||
if !f.initialized {
|
||||
f.initialized = true
|
||||
initVal := f.accu.Eval(f.Activation)
|
||||
initVal := f.accu.Eval(f.activation)
|
||||
if !f.exhaustive {
|
||||
if l, isList := initVal.(traits.Lister); isList && l.Size() == types.IntZero {
|
||||
initVal = types.NewMutableList(f.adapter)
|
||||
@ -1355,7 +1358,32 @@ func (f *folder) ResolveName(name string) (any, bool) {
|
||||
return f.iterVar2Val, true
|
||||
}
|
||||
}
|
||||
return f.Activation.ResolveName(name)
|
||||
return f.activation.ResolveName(name)
|
||||
}
|
||||
|
||||
// Parent returns the activation embedded into the folder.
|
||||
func (f *folder) Parent() Activation {
|
||||
return f.activation
|
||||
}
|
||||
|
||||
// UnknownAttributePatterns implements the PartialActivation interface returning the unknown patterns
|
||||
// if they were provided to the input activation, or an empty set if the proxied activation is not partial.
|
||||
func (f *folder) UnknownAttributePatterns() []*AttributePattern {
|
||||
if pv, ok := f.activation.(partialActivationConverter); ok {
|
||||
if partial, isPartial := pv.asPartialActivation(); isPartial {
|
||||
return partial.UnknownAttributePatterns()
|
||||
}
|
||||
}
|
||||
return []*AttributePattern{}
|
||||
}
|
||||
|
||||
func (f *folder) asPartialActivation() (PartialActivation, bool) {
|
||||
if pv, ok := f.activation.(partialActivationConverter); ok {
|
||||
if _, isPartial := pv.asPartialActivation(); isPartial {
|
||||
return f, true
|
||||
}
|
||||
}
|
||||
return nil, false
|
||||
}
|
||||
|
||||
// evalResult computes the final result of the fold after all entries have been folded and accumulated.
|
||||
@ -1381,7 +1409,7 @@ func (f *folder) evalResult() ref.Val {
|
||||
// reset clears any state associated with folder evaluation.
|
||||
func (f *folder) reset() {
|
||||
f.evalFold = nil
|
||||
f.Activation = nil
|
||||
f.activation = nil
|
||||
f.accuVal = nil
|
||||
f.iterVar1Val = nil
|
||||
f.iterVar2Val = nil
|
||||
|
Reference in New Issue
Block a user