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
22
e2e/vendor/github.com/google/cel-go/interpreter/activation.go
generated
vendored
22
e2e/vendor/github.com/google/cel-go/interpreter/activation.go
generated
vendored
@ -156,6 +156,11 @@ type PartialActivation interface {
|
||||
UnknownAttributePatterns() []*AttributePattern
|
||||
}
|
||||
|
||||
// partialActivationConverter indicates whether an Activation implementation supports conversion to a PartialActivation
|
||||
type partialActivationConverter interface {
|
||||
asPartialActivation() (PartialActivation, bool)
|
||||
}
|
||||
|
||||
// partActivation is the default implementations of the PartialActivation interface.
|
||||
type partActivation struct {
|
||||
Activation
|
||||
@ -166,3 +171,20 @@ type partActivation struct {
|
||||
func (a *partActivation) UnknownAttributePatterns() []*AttributePattern {
|
||||
return a.unknowns
|
||||
}
|
||||
|
||||
// asPartialActivation returns the partActivation as a PartialActivation interface.
|
||||
func (a *partActivation) asPartialActivation() (PartialActivation, bool) {
|
||||
return a, true
|
||||
}
|
||||
|
||||
func asPartialActivation(vars Activation) (PartialActivation, bool) {
|
||||
// Only internal activation instances may implement this interface
|
||||
if pv, ok := vars.(partialActivationConverter); ok {
|
||||
return pv.asPartialActivation()
|
||||
}
|
||||
// Since Activations may be hierarchical, test whether a parent converts to a PartialActivation
|
||||
if vars.Parent() != nil {
|
||||
return asPartialActivation(vars.Parent())
|
||||
}
|
||||
return nil, false
|
||||
}
|
||||
|
Reference in New Issue
Block a user