mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
rebase: bump k8s.io/kubernetes from 1.26.2 to 1.27.2
Bumps [k8s.io/kubernetes](https://github.com/kubernetes/kubernetes) from 1.26.2 to 1.27.2. - [Release notes](https://github.com/kubernetes/kubernetes/releases) - [Commits](https://github.com/kubernetes/kubernetes/compare/v1.26.2...v1.27.2) --- updated-dependencies: - dependency-name: k8s.io/kubernetes dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
mergify[bot]
parent
0e79135419
commit
07b05616a0
go.modgo.summodules.txt
vendor
github.com
NYTimes
gziphandler
antlr
antlr4
runtime
Go
antlr
LICENSEatn.goatn_config.goatn_config_set.goatn_deserialization_options.goatn_deserializer.goatn_simulator.goatn_state.goatn_type.gochar_stream.gocommon_token_factory.gocommon_token_stream.godfa.godfa_serializer.godfa_state.godiagnostic_error_listener.goerror_listener.goerror_strategy.goerrors.gofile_stream.goinput_stream.goint_stream.gointerval_set.golexer.golexer_action.golexer_action_executor.golexer_atn_simulator.goll1_analyzer.goparser.goparser_atn_simulator.goparser_rule_context.goprediction_context.goprediction_mode.gorecognizer.gorule_context.gosemantic_context.gotoken.gotoken_source.gotoken_stream.gotokenstream_rewriter.gotrace_listener.gotransition.gotree.gotrees.goutils.goutils_set.go
aws
aws-sdk-go
private
protocol
ec2query
service
coreos
go-semver
go-systemd
go-openapi
gogo
protobuf
gogoproto
protoc-gen-gogo
google
cel-go
LICENSE
cel
checker
common
BUILD.bazel
containers
cost.godebug
doc.goerror.goerrors.golocation.gooperators
overloads
runes
source.gotypes
BUILD.bazelany_value.gobool.gobytes.gocompare.godoc.godouble.goduration.goerr.goint.goiterator.gojson_value.golist.gomap.gonull.goobject.gooverflow.go
pb
provider.goref
string.gotimestamp.gotraits
BUILD.bazelcomparer.gocontainer.gofield_tester.goindexer.goiterator.golister.gomapper.gomatcher.gomath.goreceiver.gosizer.gotraits.go
type.gouint.gounknown.goutil.goext
interpreter
BUILD.bazelactivation.goattribute_patterns.goattributes.gocoster.godecorators.godispatcher.goevalstate.go
functions
interpretable.gointerpreter.gooptimizations.goplanner.goprune.goruntimecost.goparser
onsi
gomega
gcustom
stoewer
go.etcd.io
etcd
api
v3
client
pkg
v3
LICENSE
fileutil
dir_unix.godir_windows.godoc.gofilereader.gofileutil.golock.golock_flock.golock_linux.golock_plan9.golock_solaris.golock_unix.golock_windows.gopreallocate.gopreallocate_darwin.gopreallocate_unix.gopreallocate_unsupported.gopurge.goread_dir.gosync.gosync_darwin.gosync_linux.go
logutil
systemd
tlsutil
transport
doc.gokeepalive_listener.golimit_listen.golistener.golistener_opts.golistener_tls.gosockopt.gosockopt_solaris.gosockopt_unix.gosockopt_windows.gotimeout_conn.gotimeout_dialer.gotimeout_listener.gotimeout_transport.gotls.gotransport.gounix_listener.go
types
v3
go.opentelemetry.io
contrib
instrumentation
google.golang.org
grpc
net
http
otelhttp
go.uber.org
zap
zapgrpc
golang.org
x
crypto
cryptobyte
nacl
secretbox
salsa20
net
sync
text
google.golang.org
genproto
googleapis
grpc
resolver
manual
protobuf
types
gopkg.in
natefinch
k8s.io
apimachinery
pkg
apis
meta
util
waitgroup
apiserver
pkg
admission
cel
plugin
namespace
lifecycle
validatingadmissionpolicy
OWNERSadmission.gocompiler.gocontroller.gocontroller_reconcile.goinitializer.gointerface.go
internal
matching
policy_decision.govalidator.gowebhook
validating
apis
audit
config
doc.goregister.gotypes.go
v1
defaults.godoc.goregister.gotypes.gozz_generated.conversion.gozz_generated.deepcopy.gozz_generated.defaults.go
validation
zz_generated.deepcopy.goflowcontrol
bootstrap
audit
authentication
authenticator
authenticatorfactory
group
request
anonymous
bearertoken
headerrequest
union
websocket
x509
serviceaccount
token
authorization
cel
endpoints
deprecation
discovery
doc.gofilterlatency
filters
OWNERSaudit.goaudit_init.goauthentication.goauthn_audit.goauthorization.gocachecontrol.godoc.goimpersonation.gometrics.gomux_discovery_complete.gorequest_deadline.gorequest_received_time.gorequestinfo.gostorageversion.gotraces.gowarning.gowebhook_duration.go
groupversion.gohandlers
create.godelete.godoc.go
installer.gofieldmanager
OWNERSadmission.gobuildmanagerinfo.gocapmanagers.goendpoints.yamlequality.gofieldmanager.go
internal
lastappliedmanager.golastappliedupdater.gomanagedfieldsupdater.gonode.yamlpod.yamlscalehandler.goskipnonapplied.gostripmeta.gostructuredmerge.gotypeconverter.goversionconverter.gofinisher
get.gohelpers.gometrics
namer.gonegotiation
patch.goresponse.goresponsewriters
rest.gotrace_util.goupdate.gowatch.gometrics
openapi
responsewriter
warning
registry
server
config.goconfig_selfclient.godeleted_kinds.godeprecated_insecure_serving.godoc.go
dynamiccertificates
cert_key.goclient_ca.goconfigmap_cafile_content.godynamic_cafile_content.godynamic_serving_content.godynamic_sni_content.gointerfaces.gonamed_certificates.gostatic_content.gotlsconfig.gounion_content.goutil.go
filters
OWNERScontent_type.gocors.godoc.gogoaway.gohsts.golongrunning.gomaxinflight.gopriority-and-fairness.gotimeout.gowaitgroup.gowith_retry_after.gowrap.go
genericapiserver.gohandler.gohealthz.gohealthz
hooks.gohttplog
lifecycle_signals.gomux
options
OWNERSadmission.goapi_enablement.goaudit.goauthentication.goauthentication_dynamic_request_header.goauthorization.gocoreapi.godeprecated_insecure_serving.godoc.goegress_selector.go
plugins.goencryptionconfig
etcd.gofeature.gorecommended.goserver_run_options.goserving.goserving_unix.goserving_windows.goserving_with_loopback.gotracing.goresourceconfig
routes
secure_serving.gosignal.gosignal_posix.gosignal_windows.gostorage
storage
OWNERSapi_object_versioner.go
cacher
continue.godoc.goerrors.goerrors
etcd3
OWNERScompact.goerrors.goevent.gohealthcheck.golatency_tracker.golease_manager.gologger.go
interfaces.goselection_predicate.gometrics
store.gowatcher.gostoragebackend
util.govalue
OWNERS
encrypt
metrics.gotransformer.gostorageversion
util
apihelpers
dryrun
flowcontrol
OWNERSapf_context.goapf_controller.goapf_controller_debug.goapf_filter.goconc_alloc.go
debug
fairqueuing
format
formatting.gometrics
request
config.golist_work_estimator.gomutating_work_estimator.goobject_count_tracker.goseat_seconds.gowidth.go
rule.gowatch_tracker.goflushwriter
openapi
shufflesharding
wsstream
plugin
pkg
audit
authenticator
token
webhook
authorizer
client-go
dynamic
cloud-provider
app
config
config
doc.go
install
register.gotypes.gov1alpha1
conversion.godefaults.godoc.goregister.gotypes.gozz_generated.conversion.gozz_generated.deepcopy.gozz_generated.defaults.go
zz_generated.deepcopy.gocontrollers
service
options
component-base
config
options
logs
metrics
controller-manager
LICENSE
config
options
pkg
clientbuilder
features
leadermigration
kms
kube-openapi
pkg
builder
builder3
cached
common
common.go
restfuladapter
handler
handler3
internal
schemaconv
spec3
encoding.goexample.goexternal_documentation.gofuzz.goheader.gomedia_type.gooperation.goparameter.gopath.gorequest_body.goresponse.gosecurity_requirement.gosecurity_scheme.goserver.gospec.go
util
validation
kubelet
pkg
kubernetes
pkg
api
apis
apps
autoscaling
batch
core
extensions
networking
policy
client
conditions
cluster
ports
controller
features
fieldpath
kubelet
proxy
securitycontext
volume
test
e2e
framework
.import-restrictionsOWNERSREADME.md
config
debug
expect.goframework.goget.goginkgowrapper.gointernal
junit
kubectl
log.gometrics
namespacedname.gonode
pod
.import-restrictionscreate.godelete.godial.goexec_util.goget.go
provider.gooutput
pod_client.goresource.goutils.gowait.gopv
skipper
ssh
test_context.gotestfiles
timeouts.goutil.govolume
storage
testing-manifests
utils
utils
lru
sigs.k8s.io
apiserver-network-proxy
konnectivity-client
json
structured-merge-diff
v4
merge
104
vendor/github.com/google/cel-go/parser/options.go
generated
vendored
Normal file
104
vendor/github.com/google/cel-go/parser/options.go
generated
vendored
Normal file
@ -0,0 +1,104 @@
|
||||
// Copyright 2021 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package parser
|
||||
|
||||
import "fmt"
|
||||
|
||||
type options struct {
|
||||
maxRecursionDepth int
|
||||
errorRecoveryTokenLookaheadLimit int
|
||||
errorRecoveryLimit int
|
||||
expressionSizeCodePointLimit int
|
||||
macros map[string]Macro
|
||||
populateMacroCalls bool
|
||||
}
|
||||
|
||||
// Option configures the behavior of the parser.
|
||||
type Option func(*options) error
|
||||
|
||||
// MaxRecursionDepth limits the maximum depth the parser will attempt to parse the expression before giving up.
|
||||
func MaxRecursionDepth(limit int) Option {
|
||||
return func(opts *options) error {
|
||||
if limit < -1 {
|
||||
return fmt.Errorf("max recursion depth must be greater than or equal to -1: %d", limit)
|
||||
}
|
||||
opts.maxRecursionDepth = limit
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// ErrorRecoveryLookaheadTokenLimit limits the number of lexer tokens that may be considered during error recovery.
|
||||
//
|
||||
// Error recovery often involves looking ahead in the input to determine if there's a point at which parsing may
|
||||
// successfully resume. In some pathological cases, the parser can look through quite a large set of input which
|
||||
// in turn generates a lot of back-tracking and performance degredation.
|
||||
//
|
||||
// The limit must be > 1, and is recommended to be less than the default of 256.
|
||||
func ErrorRecoveryLookaheadTokenLimit(limit int) Option {
|
||||
return func(opts *options) error {
|
||||
if limit < 1 {
|
||||
return fmt.Errorf("error recovery lookahead token limit must be at least 1: %d", limit)
|
||||
}
|
||||
opts.errorRecoveryTokenLookaheadLimit = limit
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// ErrorRecoveryLimit limits the number of attempts the parser will perform to recover from an error.
|
||||
func ErrorRecoveryLimit(limit int) Option {
|
||||
return func(opts *options) error {
|
||||
if limit < -1 {
|
||||
return fmt.Errorf("error recovery limit must be greater than or equal to -1: %d", limit)
|
||||
}
|
||||
opts.errorRecoveryLimit = limit
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// ExpressionSizeCodePointLimit is an option which limits the maximum code point count of an
|
||||
// expression.
|
||||
func ExpressionSizeCodePointLimit(expressionSizeCodePointLimit int) Option {
|
||||
return func(opts *options) error {
|
||||
if expressionSizeCodePointLimit < -1 {
|
||||
return fmt.Errorf("expression size code point limit must be greater than or equal to -1: %d", expressionSizeCodePointLimit)
|
||||
}
|
||||
opts.expressionSizeCodePointLimit = expressionSizeCodePointLimit
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// Macros adds the given macros to the parser.
|
||||
func Macros(macros ...Macro) Option {
|
||||
return func(opts *options) error {
|
||||
for _, m := range macros {
|
||||
if m != nil {
|
||||
if opts.macros == nil {
|
||||
opts.macros = make(map[string]Macro)
|
||||
}
|
||||
opts.macros[m.MacroKey()] = m
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// PopulateMacroCalls ensures that the original call signatures replaced by expanded macros
|
||||
// are preserved in the `SourceInfo` of parse result.
|
||||
func PopulateMacroCalls(populateMacroCalls bool) Option {
|
||||
return func(opts *options) error {
|
||||
opts.populateMacroCalls = populateMacroCalls
|
||||
return nil
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user