mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
build: move e2e dependencies into e2e/go.mod
Several packages are only used while running the e2e suite. These packages are less important to update, as the they can not influence the final executable that is part of the Ceph-CSI container-image. By moving these dependencies out of the main Ceph-CSI go.mod, it is easier to identify if a reported CVE affects Ceph-CSI, or only the testing (like most of the Kubernetes CVEs). Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
committed by
mergify[bot]
parent
15da101b1b
commit
bec6090996
Makefile
e2e
go.modgo.summodules.txt
go.modgo.sumvendor
cel.dev
expr
github.com
JeffAshton
Microsoft
go-winio
NYTimes
gziphandler
antlr4-go
antlr
v4
.gitignoreLICENSEREADME.mdantlrdoc.goatn.goatn_config.goatn_config_set.goatn_deserialization_options.goatn_deserializer.goatn_simulator.goatn_state.goatn_type.gochar_stream.gocommon_token_factory.gocommon_token_stream.gocomparators.goconfiguration.godfa.godfa_serializer.godfa_state.godiagnostic_error_listener.goerror_listener.goerror_strategy.goerrors.gofile_stream.goinput_stream.goint_stream.gointerval_set.gojcollect.golexer.golexer_action.golexer_action_executor.golexer_atn_simulator.goll1_analyzer.gonostatistics.goparser.goparser_atn_simulator.goparser_rule_context.goprediction_context.goprediction_context_cache.goprediction_mode.gorecognizer.gorule_context.gosemantic_context.gostatistics.gostats_data.gotoken.gotoken_source.gotoken_stream.gotokenstream_rewriter.gotrace_listener.gotransition.gotree.gotrees.goutils.go
asaskevich
govalidator
beorn7
perks
blang
cenkalti
backoff
ceph
ceph-csi
cespare
xxhash
containerd
coreos
go-semver
go-systemd
cyphar
filepath-securejoin
davecgh
distribution
reference
docker
emicklei
go-restful
v3
.gitignore.goconvey.travis.ymlCHANGES.mdLICENSEMakefileREADME.mdSECURITY.mdSrcfilebench_test.shcompress.gocompressor_cache.gocompressor_pools.gocompressors.goconstants.gocontainer.gocors_filter.gocoverage.shcurly.gocurly_route.gocustom_verb.godoc.goentity_accessors.goextensions.gofilter.gofilter_adapter.gojsr311.go
log
logger.gomime.gooptions_filter.goparameter.gopath_expression.gopath_processor.gorequest.goresponse.goroute.goroute_builder.goroute_reader.gorouter.goservice_error.goweb_service.goweb_service_container.goeuank
go-kmsg-parser
felixge
httpsnoop
fsnotify
fsnotify
fxamacker
cbor
go-logr
logr
.golangci.yamlCHANGELOG.mdCONTRIBUTING.mdLICENSEREADME.mdSECURITY.mdcontext.gocontext_noslog.gocontext_slog.godiscard.go
funcr
logr.gosloghandler.goslogr.goslogsink.gostdr
go-openapi
jsonpointer
jsonreference
swag
go-task
slim-sprig
godbus
dbus
v5
CONTRIBUTING.mdLICENSEMAINTAINERSREADME.mdauth.goauth_anonymous.goauth_external.goauth_sha1.gocall.goconn.goconn_darwin.goconn_other.goconn_unix.goconn_windows.godbus.godecoder.godefault_handler.godoc.goencoder.goescape.goexport.gohomedir.gomatch.gomessage.goobject.gosequence.gosequential_handler.goserver_interfaces.gosig.gotransport_darwin.gotransport_generic.gotransport_nonce_tcp.gotransport_tcp.gotransport_unix.gotransport_unixcred_dragonfly.gotransport_unixcred_freebsd.gotransport_unixcred_linux.gotransport_unixcred_netbsd.gotransport_unixcred_openbsd.gotransport_zos.govariant.govariant_lexer.govariant_parser.go
gogo
protobuf
AUTHORSCONTRIBUTORSLICENSE
gogoproto
proto
Makefileclone.gocustom_gogo.godecode.godeprecated.godiscard.goduration.goduration_gogo.goencode.goencode_gogo.goequal.goextensions.goextensions_gogo.golib.golib_gogo.gomessage_set.gopointer_reflect.gopointer_reflect_gogo.gopointer_unsafe.gopointer_unsafe_gogo.goproperties.goproperties_gogo.goskip_gogo.gotable_marshal.gotable_marshal_gogo.gotable_merge.gotable_unmarshal.gotable_unmarshal_gogo.gotext.gotext_gogo.gotext_parser.gotimestamp.gotimestamp_gogo.gowrappers.gowrappers_gogo.go
protoc-gen-gogo
sortkeys
golang
protobuf
google
btree
cadvisor
AUTHORSLICENSE
cache
memory
collector
container
common
container.gocontainerd
crio
factory.golibcontainer
raw
systemd
devicemapper
events
fs
info
machine
manager
nvm
perf
collector_libpfm.gocollector_no_libpfm.goconfig.gomanager_libpfm.gomanager_no_libpfm.gotypes_libpfm.gouncore_libpfm.go
resctrl
stats
storage
summary
utils
version
watcher
cel-go
LICENSE
cel
BUILD.bazelcel.godecls.goenv.gofolding.goinlining.goio.golibrary.gomacro.gooptimizer.gooptions.goprogram.govalidator.go
checker
BUILD.bazelchecker.gocost.go
decls
env.goerrors.goformat.gomapping.gooptions.goprinter.goscopes.gotypes.gocommon
BUILD.bazel
ast
containers
cost.godebug
decls
doc.goerror.goerrors.gofunctions
location.gooperators
overloads
runes
source.gostdlib
types
BUILD.bazelany_value.gobool.gobytes.gocompare.godoc.godouble.goduration.goerr.goint.goiterator.gojson_value.golist.gomap.gonull.goobject.gooptional.gooverflow.go
pb
provider.goref
string.gotimestamp.gotraits
BUILD.bazelcomparer.gocontainer.gofield_tester.goindexer.goiterator.golister.gomapper.gomatcher.gomath.goreceiver.gosizer.gotraits.gozeroer.go
types.gouint.gounknown.goutil.goext
BUILD.bazelREADME.mdbindings.gocomprehensions.goencoders.goformatting.goguards.golists.gomath.gonative.goprotos.gosets.gostrings.go
interpreter
BUILD.bazelactivation.goattribute_patterns.goattributes.godecorators.godispatcher.goevalstate.go
functions
interpretable.gointerpreter.gooptimizations.goplanner.goprune.goruntimecost.goparser
gnostic-models
go-cmp
LICENSE
cmp
gofuzz
pprof
uuid
gorilla
websocket
grpc-ecosystem
go-grpc-prometheus
.gitignore.travis.ymlCHANGELOG.mdLICENSEREADME.mdclient.goclient_metrics.goclient_reporter.gomakefilemetric_options.goserver.goserver_metrics.goserver_reporter.goutil.go
grpc-gateway
inconshreveable
josharian
json-iterator
go
.codecov.yml.gitignore.travis.ymlGopkg.lockGopkg.tomlLICENSEREADME.mdadapter.goany.goany_array.goany_bool.goany_float.goany_int32.goany_int64.goany_invalid.goany_nil.goany_number.goany_object.goany_str.goany_uint32.goany_uint64.gobuild.shconfig.gofuzzy_mode_convert_table.mditer.goiter_array.goiter_float.goiter_int.goiter_object.goiter_skip.goiter_skip_sloppy.goiter_skip_strict.goiter_str.gojsoniter.gopool.goreflect.goreflect_array.goreflect_dynamic.goreflect_extension.goreflect_json_number.goreflect_json_raw_message.goreflect_map.goreflect_marshaler.goreflect_native.goreflect_optional.goreflect_slice.goreflect_struct_decoder.goreflect_struct_encoder.gostream.gostream_float.gostream_int.gostream_str.gotest.sh
karrick
godirwalk
.gitignoreLICENSEREADME.mdazure-pipelines.ymlbench.shdebug_development.godebug_release.godirent.godoc.goinoWithFileno.goinoWithIno.gomodeType.gomodeTypeWithType.gomodeTypeWithoutType.gonameWithNamlen.gonameWithoutNamlen.goreaddir.goreaddir_unix.goreaddir_windows.goreclenFromNamlen.goreclenFromReclen.goscandir_unix.goscandir_windows.goscanner.gowalk.go
klauspost
compress
.gitattributes.gitignore.goreleaser.ymlLICENSEREADME.mdSECURITY.mdcompressible.gos2sx.mods2sx.sum
fse
gen.shhuff0
.gitignoreREADME.mdbitreader.gobitwriter.gocompress.godecompress.godecompress_amd64.godecompress_amd64.sdecompress_generic.gohuff0.go
internal
cpuinfo
snapref
zstd
README.mdbitreader.gobitwriter.goblockdec.goblockenc.goblocktype_string.gobytebuf.gobytereader.godecodeheader.godecoder.godecoder_options.godict.goenc_base.goenc_best.goenc_better.goenc_dfast.goenc_fast.goencoder.goencoder_options.goframedec.goframeenc.gofse_decoder.gofse_decoder_amd64.gofse_decoder_amd64.sfse_decoder_generic.gofse_encoder.gofse_predefined.gohash.gohistory.gomatchlen_amd64.gomatchlen_amd64.smatchlen_generic.goseqdec.goseqdec_amd64.goseqdec_amd64.sseqdec_generic.goseqenc.gosnappy.gozip.gozstd.go
internal
xxhash
kubernetes-csi
external-snapshotter
client
v8
kylelemons
mailru
easyjson
mistifyio
go-zfs
moby
spdystream
CONTRIBUTING.mdLICENSEMAINTAINERSNOTICEREADME.mdconnection.gohandlers.gopriority.go
spdy
stream.goutils.gosys
modern-go
concurrent
.gitignore.travis.ymlLICENSEREADME.mdexecutor.gogo_above_19.gogo_below_19.golog.gotest.shunbounded_executor.go
reflect2
.gitignore.travis.ymlGopkg.lockGopkg.tomlLICENSEREADME.mdgo_above_118.gogo_above_19.gogo_below_118.goreflect2.goreflect2_amd64.sreflect2_kind.gorelfect2_386.srelfect2_amd64p32.srelfect2_arm.srelfect2_arm64.srelfect2_mips64x.srelfect2_mipsx.srelfect2_ppc64x.srelfect2_s390x.ssafe_field.gosafe_map.gosafe_slice.gosafe_struct.gosafe_type.gotype_map.gounsafe_array.gounsafe_eface.gounsafe_field.gounsafe_iface.gounsafe_link.gounsafe_map.gounsafe_ptr.gounsafe_slice.gounsafe_struct.gounsafe_type.go
munnerz
goautoneg
mxk
go-flowrate
onsi
ginkgo
v2
.gitignoreCHANGELOG.mdCONTRIBUTING.mdLICENSEMakefileREADME.mdRELEASING.mdginkgo_cli_dependencies.goginkgo_t_dsl.go
config
core_dsl.godecorator_dsl.godeprecated_dsl.goformatter
ginkgo
build
command
generators
boostrap_templates.gobootstrap_command.gogenerate_command.gogenerate_templates.gogenerators_common.go
internal
labels
main.gooutline
run
unfocus
watch
internal
counter.gofailer.gofocus.go
global
group.gointerrupt_handler
node.goordering.gooutput_interceptor.gooutput_interceptor_unix.gooutput_interceptor_wasm.gooutput_interceptor_win.goparallel_support
progress_report.goprogress_report_bsd.goprogress_report_unix.goprogress_report_wasm.goprogress_report_win.goprogress_reporter_manager.goreport_entry.gospec.gospec_context.gosuite.gotestingtproxy
tree.gowriter.goreporters
reporting_dsl.gotable_dsl.gotypes
gomega
.gitignoreCHANGELOG.mdCONTRIBUTING.mdLICENSEREADME.mdRELEASING.md
format
gcustom
gomega_dsl.gointernal
matchers.gomatchers
and.goassignable_to_type_of_matcher.goattributes_slice.gobe_a_directory.gobe_a_regular_file.gobe_an_existing_file.gobe_closed_matcher.gobe_comparable_to_matcher.gobe_element_of_matcher.gobe_empty_matcher.gobe_equivalent_to_matcher.gobe_false_matcher.gobe_identical_to.gobe_key_of_matcher.gobe_nil_matcher.gobe_numerically_matcher.gobe_sent_matcher.gobe_temporally_matcher.gobe_true_matcher.gobe_zero_matcher.goconsist_of.gocontain_element_matcher.gocontain_elements_matcher.gocontain_substring_matcher.goequal_matcher.gohave_cap_matcher.gohave_each_matcher.gohave_exact_elements.gohave_existing_field_matcher.gohave_field.gohave_http_body_matcher.gohave_http_header_with_value_matcher.gohave_http_status_matcher.gohave_key_matcher.gohave_key_with_value_matcher.gohave_len_matcher.gohave_occurred_matcher.gohave_prefix_matcher.gohave_suffix_matcher.gohave_value.gotype_support.gowith_transform.go
internal
match_error_matcher.gomatch_json_matcher.gomatch_regexp_matcher.gomatch_xml_matcher.gomatch_yaml_matcher.gonot.goor.gopanic_matcher.goreceive_matcher.gosatisfy_matcher.gosemi_structured_data_support.gosucceed_matcher.gosupport
goraph
types
opencontainers
go-digest
.mailmap.pullapprove.yml.travis.ymlCONTRIBUTING.mdLICENSELICENSE.docsMAINTAINERSREADME.mdalgorithm.godigest.godigester.godoc.goverifiers.go
runc
LICENSENOTICE
libcontainer
cgroups
cgroups.gofile.go
fs
blkio.gocpu.gocpuacct.gocpuset.godevices.goerror.gofreezer.gofs.gohugetlb.gomemory.goname.gonet_cls.gonet_prio.gopaths.goperf_event.gopids.gordma.go
fs2
fscommon
getallpids.gomanager
stats.gosystemd
utils.gov1_utils.goconfigs
blkio_device.gocgroup_linux.gocgroup_unsupported.goconfig.goconfig_linux.goconfigs_fuzzer.gohugepage_limit.gointelrdt.gointerface_priority_map.gomount.gomount_linux.gomount_unsupported.gonamespaces.gonamespaces_linux.gonamespaces_syscall.gonamespaces_syscall_unsupported.gonamespaces_unsupported.gonetwork.gordma.go
devices
intelrdt
utils
runtime-spec
selinux
pkg
prometheus
client_golang
LICENSENOTICE
internal
github.com
golang
gddo
prometheus
.gitignoreREADME.mdatomic_update.gobuild_info_collector.gocollector.go
collectors
collectors.godbstats_collector.goexpvar_collector.gogo_collector_go116.gogo_collector_latest.goprocess_collector.go
counter.godesc.godoc.goexpvar_collector.gofnv.gogauge.goget_pid.goget_pid_gopherjs.gogo_collector.gogo_collector_go116.gogo_collector_latest.gohistogram.gointernal
labels.gometric.gonum_threads.gonum_threads_gopherjs.goobserver.goprocess_collector.goprocess_collector_cgo_darwin.cprocess_collector_cgo_darwin.goprocess_collector_darwin.goprocess_collector_nocgo_darwin.goprocess_collector_other.goprocess_collector_wasip1_js.goprocess_collector_windows.gopromhttp
registry.gosummary.gotestutil
timer.gountyped.govalue.govec.govnext.gowrap.goclient_model
common
procfs
.gitignore.golangci.ymlCODE_OF_CONDUCT.mdCONTRIBUTING.mdLICENSEMAINTAINERS.mdMakefileMakefile.commonNOTICEREADME.mdSECURITY.mdarp.gobuddyinfo.gocmdline.gocpuinfo.gocpuinfo_armx.gocpuinfo_loong64.gocpuinfo_mipsx.gocpuinfo_others.gocpuinfo_ppcx.gocpuinfo_riscvx.gocpuinfo_s390x.gocpuinfo_x86.gocrypto.godoc.gofs.gofs_statfs_notype.gofs_statfs_type.gofscache.go
internal
ipvs.gokernel_random.goloadavg.gomdstat.gomeminfo.gomountinfo.gomountstats.gonet_conntrackstat.gonet_dev.gonet_ip_socket.gonet_protocols.gonet_route.gonet_sockstat.gonet_softnet.gonet_tcp.gonet_tls_stat.gonet_udp.gonet_unix.gonet_wireless.gonet_xfrm.gonetstat.goproc.goproc_cgroup.goproc_cgroups.goproc_environ.goproc_fdinfo.goproc_interrupts.goproc_io.goproc_limits.goproc_maps.goproc_netstat.goproc_ns.goproc_psi.goproc_smaps.goproc_snmp.goproc_snmp6.goproc_stat.goproc_status.goproc_sys.goschedstat.goslab.gosoftirqs.gostat.goswaps.gothread.gottarvm.gozoneinfo.gosirupsen
logrus
.gitignore.golangci.yml.travis.ymlCHANGELOG.mdLICENSEREADME.mdalt_exit.goappveyor.ymlbuffer_pool.godoc.goentry.goexported.goformatter.gohooks.gojson_formatter.gologger.gologrus.goterminal_check_appengine.goterminal_check_bsd.goterminal_check_js.goterminal_check_no_terminal.goterminal_check_notappengine.goterminal_check_solaris.goterminal_check_unix.goterminal_check_windows.gotext_formatter.gowriter.go
spf13
cobra
.gitignore.golangci.yml.mailmapCONDUCT.mdCONTRIBUTING.mdLICENSE.txtMAINTAINERSMakefileREADME.mdactive_help.goargs.gobash_completions.gobash_completionsV2.gocobra.gocommand.gocommand_notwin.gocommand_win.gocompletions.gofish_completions.goflag_groups.gopowershell_completions.goshell_completions.gozsh_completions.go
pflag
.gitignore.travis.ymlLICENSEREADME.mdbool.gobool_slice.gobytes.gocount.goduration.goduration_slice.goflag.gofloat32.gofloat32_slice.gofloat64.gofloat64_slice.gogolangflag.goint.goint16.goint32.goint32_slice.goint64.goint64_slice.goint8.goint_slice.goip.goip_slice.goipmask.goipnet.gostring.gostring_array.gostring_slice.gostring_to_int.gostring_to_int64.gostring_to_string.gouint.gouint16.gouint32.gouint64.gouint8.gouint_slice.go
stoewer
x448
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.gokeepalive_listener_openbsd.gokeepalive_listener_unix.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
auto
sdk
contrib
instrumentation
google.golang.org
grpc
net
http
otel
.codespellignore.codespellrc.gitattributes.gitignore.golangci.yml.lycheeignore.markdownlint.yamlCHANGELOG.mdCODEOWNERSCONTRIBUTING.mdLICENSEMakefileREADME.mdRELEASING.mdVERSIONING.mdget_main_pkgs.shhandler.gotrace.go
attribute
baggage
codes
doc.goerror_handler.goexporters
otlp
otlptrace
LICENSEREADME.mdclients.godoc.goexporter.go
internal
tracetransform
otlptracegrpc
LICENSEREADME.mdclient.godoc.goexporter.go
version.gointernal
options.gointernal
internal_logging.gometric.gometric
LICENSEREADME.mdasyncfloat64.goasyncint64.goconfig.godoc.go
propagation.goembedded
instrument.gometer.gonoop
syncfloat64.gosyncint64.gopropagation
renovate.jsonrequirements.txtsdk
LICENSEREADME.md
instrumentation
internal
resource
README.mdauto.gobuiltin.goconfig.gocontainer.godoc.goenv.gohost_id.gohost_id_bsd.gohost_id_darwin.gohost_id_exec.gohost_id_linux.gohost_id_readfile.gohost_id_unsupported.gohost_id_windows.goos.goos_release_darwin.goos_release_unix.goos_unix.goos_unsupported.goos_windows.goprocess.goresource.go
trace
README.mdbatch_span_processor.godoc.goevent.goevictedqueue.goid_generator.golink.goprovider.gosampler_env.gosampling.gosimple_span_processor.gosnapshot.gospan.gospan_exporter.gospan_limits.gospan_processor.gotracer.goversion.go
version.gosemconv
internal
v1.12.0
v1.17.0
v1.20.0
v1.24.0
v1.26.0
trace
LICENSEREADME.mdconfig.gocontext.godoc.go
verify_readmes.shverify_released_changelog.shversion.goversions.yamlembedded
nonrecording.gonoop.gonoop
provider.gospan.gotrace.gotracer.gotracestate.goproto
otlp
go.uber.org
multierr
.codecov.yml.gitignoreCHANGELOG.mdLICENSE.txtMakefileREADME.mderror.goerror_post_go120.goerror_pre_go120.go
zap
.codecov.yml.gitignore.golangci.yml.readme.tmplCHANGELOG.mdCODE_OF_CONDUCT.mdCONTRIBUTING.mdFAQ.mdLICENSEMakefileREADME.mdarray.go
buffer
checklicense.shconfig.godoc.goencoder.goerror.gofield.goflag.goglide.yamlglobal.gohttp_handler.gointernal
level.gologger.gooptions.gosink.gosugar.gotime.gowriter.gozapcore
buffered_write_syncer.goclock.goconsole_encoder.gocore.godoc.goencoder.goentry.goerror.gofield.gohook.goincrease_level.gojson_encoder.golazy_with.golevel.golevel_strings.gomarshaler.gomemory_encoder.goreflected_encoder.gosampler.gotee.gowrite_syncer.go
zapgrpc
golang.org
x
crypto
LICENSEPATENTS
blowfish
chacha20
chacha_arm64.gochacha_arm64.schacha_generic.gochacha_noasm.gochacha_ppc64x.gochacha_ppc64x.schacha_s390x.gochacha_s390x.sxor.go
cryptobyte
curve25519
hkdf
internal
alias
poly1305
nacl
secretbox
salsa20
ssh
exp
net
LICENSEPATENTS
context
html
atom
charset
const.godoc.godoctype.goentity.goescape.goforeign.goiter.gonode.goparse.gorender.gotoken.gohttp
httpguts
http2
.gitignoreascii.gociphers.goclient_conn_pool.goconfig.goconfig_go124.goconfig_pre_go124.godatabuffer.goerrors.goflow.goframe.gogotrack.go
hpack
http2.gopipe.goserver.gotimer.gotransport.gounencrypted.gowrite.gowritesched.gowritesched_priority.gowritesched_random.gowritesched_roundrobin.goidna
go118.goidna10.0.0.goidna9.0.0.gopre_go118.gopunycode.gotables10.0.0.gotables11.0.0.gotables12.0.0.gotables13.0.0.gotables15.0.0.gotables9.0.0.gotrie.gotrie12.0.0.gotrie13.0.0.gotrieval.go
internal
proxy
trace
websocket
oauth2
sync
sys
LICENSEPATENTS
cpu
asm_aix_ppc64.sasm_darwin_x86_gc.sbyteorder.gocpu.gocpu_aix.gocpu_arm.gocpu_arm64.gocpu_arm64.scpu_darwin_x86.gocpu_gc_arm64.gocpu_gc_s390x.gocpu_gc_x86.gocpu_gc_x86.scpu_gccgo_arm64.gocpu_gccgo_s390x.gocpu_gccgo_x86.ccpu_gccgo_x86.gocpu_linux.gocpu_linux_arm.gocpu_linux_arm64.gocpu_linux_mips64x.gocpu_linux_noinit.gocpu_linux_ppc64x.gocpu_linux_riscv64.gocpu_linux_s390x.gocpu_loong64.gocpu_mips64x.gocpu_mipsx.gocpu_netbsd_arm64.gocpu_openbsd_arm64.gocpu_openbsd_arm64.scpu_other_arm.gocpu_other_arm64.gocpu_other_mips64x.gocpu_other_ppc64x.gocpu_other_riscv64.gocpu_other_x86.gocpu_ppc64x.gocpu_riscv64.gocpu_s390x.gocpu_s390x.scpu_wasm.gocpu_x86.gocpu_zos.gocpu_zos_s390x.goendian_big.goendian_little.gohwcap_linux.goparse.goproc_cpuinfo_linux.goruntime_auxv.goruntime_auxv_go121.gosyscall_aix_gccgo.gosyscall_aix_ppc64_gc.gosyscall_darwin_x86_gc.go
plan9
asm.sasm_plan9_386.sasm_plan9_amd64.sasm_plan9_arm.sconst_plan9.godir_plan9.goenv_plan9.goerrors_plan9.gomkall.shmkerrors.shmksysnum_plan9.shpwd_go15_plan9.gopwd_plan9.gorace.gorace0.gostr.gosyscall.gosyscall_plan9.gozsyscall_plan9_386.gozsyscall_plan9_amd64.gozsyscall_plan9_arm.gozsysnum_plan9.go
unix
.gitignoreREADME.mdaffinity_linux.goaliases.goasm_aix_ppc64.sasm_bsd_386.sasm_bsd_amd64.sasm_bsd_arm.sasm_bsd_arm64.sasm_bsd_ppc64.sasm_bsd_riscv64.sasm_linux_386.sasm_linux_amd64.sasm_linux_arm.sasm_linux_arm64.sasm_linux_loong64.sasm_linux_mips64x.sasm_linux_mipsx.sasm_linux_ppc64x.sasm_linux_riscv64.sasm_linux_s390x.sasm_openbsd_mips64.sasm_solaris_amd64.sasm_zos_s390x.sauxv.goauxv_unsupported.gobluetooth_linux.gobpxsvc_zos.gobpxsvc_zos.scap_freebsd.goconstants.godev_aix_ppc.godev_aix_ppc64.godev_darwin.godev_dragonfly.godev_freebsd.godev_linux.godev_netbsd.godev_openbsd.godev_zos.godirent.goendian_big.goendian_little.goenv_unix.gofcntl.gofcntl_darwin.gofcntl_linux_32bit.gofdset.gogccgo.gogccgo_c.cgccgo_linux_amd64.goifreq_linux.goioctl_linux.goioctl_signed.goioctl_unsigned.goioctl_zos.gomkall.shmkerrors.shmmap_nomremap.gomremap.gopagesize_unix.gopledge_openbsd.goptrace_darwin.goptrace_ios.gorace.gorace0.goreaddirent_getdents.goreaddirent_getdirentries.gosockcmsg_dragonfly.gosockcmsg_linux.gosockcmsg_unix.gosockcmsg_unix_other.gosockcmsg_zos.gosymaddr_zos_s390x.ssyscall.gosyscall_aix.gosyscall_aix_ppc.gosyscall_aix_ppc64.gosyscall_bsd.gosyscall_darwin.gosyscall_darwin_amd64.gosyscall_darwin_arm64.gosyscall_darwin_libSystem.gosyscall_dragonfly.gosyscall_dragonfly_amd64.gosyscall_freebsd.gosyscall_freebsd_386.gosyscall_freebsd_amd64.gosyscall_freebsd_arm.gosyscall_freebsd_arm64.gosyscall_freebsd_riscv64.gosyscall_hurd.gosyscall_hurd_386.gosyscall_illumos.gosyscall_linux.gosyscall_linux_386.gosyscall_linux_alarm.gosyscall_linux_amd64.gosyscall_linux_amd64_gc.gosyscall_linux_arm.gosyscall_linux_arm64.gosyscall_linux_gc.gosyscall_linux_gc_386.gosyscall_linux_gc_arm.gosyscall_linux_gccgo_386.gosyscall_linux_gccgo_arm.gosyscall_linux_loong64.gosyscall_linux_mips64x.gosyscall_linux_mipsx.gosyscall_linux_ppc.gosyscall_linux_ppc64x.gosyscall_linux_riscv64.gosyscall_linux_s390x.gosyscall_linux_sparc64.gosyscall_netbsd.gosyscall_netbsd_386.gosyscall_netbsd_amd64.gosyscall_netbsd_arm.gosyscall_netbsd_arm64.gosyscall_openbsd.gosyscall_openbsd_386.gosyscall_openbsd_amd64.gosyscall_openbsd_arm.gosyscall_openbsd_arm64.gosyscall_openbsd_libc.gosyscall_openbsd_mips64.gosyscall_openbsd_ppc64.gosyscall_openbsd_riscv64.gosyscall_solaris.gosyscall_solaris_amd64.gosyscall_unix.gosyscall_unix_gc.gosyscall_unix_gc_ppc64x.gosyscall_zos_s390x.gosysvshm_linux.gosysvshm_unix.gosysvshm_unix_other.gotimestruct.gounveil_openbsd.govgetrandom_linux.govgetrandom_unsupported.goxattr_bsd.gozerrors_aix_ppc.gozerrors_aix_ppc64.gozerrors_darwin_amd64.gozerrors_darwin_arm64.gozerrors_dragonfly_amd64.gozerrors_freebsd_386.gozerrors_freebsd_amd64.gozerrors_freebsd_arm.gozerrors_freebsd_arm64.gozerrors_freebsd_riscv64.gozerrors_linux.gozerrors_linux_386.gozerrors_linux_amd64.gozerrors_linux_arm.gozerrors_linux_arm64.gozerrors_linux_loong64.gozerrors_linux_mips.gozerrors_linux_mips64.gozerrors_linux_mips64le.gozerrors_linux_mipsle.gozerrors_linux_ppc.gozerrors_linux_ppc64.gozerrors_linux_ppc64le.gozerrors_linux_riscv64.gozerrors_linux_s390x.gozerrors_linux_sparc64.gozerrors_netbsd_386.gozerrors_netbsd_amd64.gozerrors_netbsd_arm.gozerrors_netbsd_arm64.gozerrors_openbsd_386.gozerrors_openbsd_amd64.gozerrors_openbsd_arm.gozerrors_openbsd_arm64.gozerrors_openbsd_mips64.gozerrors_openbsd_ppc64.gozerrors_openbsd_riscv64.gozerrors_solaris_amd64.gozerrors_zos_s390x.gozptrace_armnn_linux.gozptrace_linux_arm64.gozptrace_mipsnn_linux.gozptrace_mipsnnle_linux.gozptrace_x86_linux.gozsymaddr_zos_s390x.szsyscall_aix_ppc.gozsyscall_aix_ppc64.gozsyscall_aix_ppc64_gc.gozsyscall_aix_ppc64_gccgo.gozsyscall_darwin_amd64.gozsyscall_darwin_amd64.szsyscall_darwin_arm64.gozsyscall_darwin_arm64.szsyscall_dragonfly_amd64.gozsyscall_freebsd_386.gozsyscall_freebsd_amd64.gozsyscall_freebsd_arm.gozsyscall_freebsd_arm64.gozsyscall_freebsd_riscv64.gozsyscall_illumos_amd64.gozsyscall_linux.gozsyscall_linux_386.gozsyscall_linux_amd64.gozsyscall_linux_arm.gozsyscall_linux_arm64.gozsyscall_linux_loong64.gozsyscall_linux_mips.gozsyscall_linux_mips64.gozsyscall_linux_mips64le.gozsyscall_linux_mipsle.gozsyscall_linux_ppc.gozsyscall_linux_ppc64.gozsyscall_linux_ppc64le.gozsyscall_linux_riscv64.gozsyscall_linux_s390x.gozsyscall_linux_sparc64.gozsyscall_netbsd_386.gozsyscall_netbsd_amd64.gozsyscall_netbsd_arm.gozsyscall_netbsd_arm64.gozsyscall_openbsd_386.gozsyscall_openbsd_386.szsyscall_openbsd_amd64.gozsyscall_openbsd_amd64.szsyscall_openbsd_arm.gozsyscall_openbsd_arm.szsyscall_openbsd_arm64.gozsyscall_openbsd_arm64.szsyscall_openbsd_mips64.gozsyscall_openbsd_mips64.szsyscall_openbsd_ppc64.gozsyscall_openbsd_ppc64.szsyscall_openbsd_riscv64.gozsyscall_openbsd_riscv64.szsyscall_solaris_amd64.gozsyscall_zos_s390x.gozsysctl_openbsd_386.gozsysctl_openbsd_amd64.gozsysctl_openbsd_arm.gozsysctl_openbsd_arm64.gozsysctl_openbsd_mips64.gozsysctl_openbsd_ppc64.gozsysctl_openbsd_riscv64.gozsysnum_darwin_amd64.gozsysnum_darwin_arm64.gozsysnum_dragonfly_amd64.gozsysnum_freebsd_386.gozsysnum_freebsd_amd64.gozsysnum_freebsd_arm.gozsysnum_freebsd_arm64.gozsysnum_freebsd_riscv64.gozsysnum_linux_386.gozsysnum_linux_amd64.gozsysnum_linux_arm.gozsysnum_linux_arm64.gozsysnum_linux_loong64.gozsysnum_linux_mips.gozsysnum_linux_mips64.gozsysnum_linux_mips64le.gozsysnum_linux_mipsle.gozsysnum_linux_ppc.gozsysnum_linux_ppc64.gozsysnum_linux_ppc64le.gozsysnum_linux_riscv64.gozsysnum_linux_s390x.gozsysnum_linux_sparc64.gozsysnum_netbsd_386.gozsysnum_netbsd_amd64.gozsysnum_netbsd_arm.gozsysnum_netbsd_arm64.gozsysnum_openbsd_386.gozsysnum_openbsd_amd64.gozsysnum_openbsd_arm.gozsysnum_openbsd_arm64.gozsysnum_openbsd_mips64.gozsysnum_openbsd_ppc64.gozsysnum_openbsd_riscv64.gozsysnum_zos_s390x.goztypes_aix_ppc.goztypes_aix_ppc64.goztypes_darwin_amd64.goztypes_darwin_arm64.goztypes_dragonfly_amd64.goztypes_freebsd_386.goztypes_freebsd_amd64.goztypes_freebsd_arm.goztypes_freebsd_arm64.goztypes_freebsd_riscv64.goztypes_linux.goztypes_linux_386.goztypes_linux_amd64.goztypes_linux_arm.goztypes_linux_arm64.goztypes_linux_loong64.goztypes_linux_mips.goztypes_linux_mips64.goztypes_linux_mips64le.goztypes_linux_mipsle.goztypes_linux_ppc.goztypes_linux_ppc64.goztypes_linux_ppc64le.goztypes_linux_riscv64.goztypes_linux_s390x.goztypes_linux_sparc64.goztypes_netbsd_386.goztypes_netbsd_amd64.goztypes_netbsd_arm.goztypes_netbsd_arm64.goztypes_openbsd_386.goztypes_openbsd_amd64.goztypes_openbsd_arm.goztypes_openbsd_arm64.goztypes_openbsd_mips64.goztypes_openbsd_ppc64.goztypes_openbsd_riscv64.goztypes_solaris_amd64.goztypes_zos_s390x.go
windows
aliases.godll_windows.goenv_windows.goeventlog.goexec_windows.gomemory_windows.gomkerrors.bashmkknownfolderids.bashmksyscall.gorace.gorace0.go
registry
security_windows.goservice.gosetupapi_windows.gostr.gosyscall.gosyscall_windows.gotypes_windows.gotypes_windows_386.gotypes_windows_amd64.gotypes_windows_arm.gotypes_windows_arm64.gozerrors_windows.gozknownfolderids_windows.gozsyscall_windows.goterm
CONTRIBUTING.mdLICENSEPATENTSREADME.mdcodereview.cfgterm.goterm_plan9.goterm_unix.goterm_unix_bsd.goterm_unix_other.goterm_unsupported.goterm_windows.goterminal.go
text
LICENSEPATENTS
encoding
feature
internal
catmsg
format
internal.golanguage
match.gonumber
stringset
tag
utf8internal
language
message
runes
secure
transform
unicode
time
tools
google.golang.org
genproto
googleapis
grpc
AUTHORSCODE-OF-CONDUCT.mdCONTRIBUTING.mdGOVERNANCE.mdLICENSEMAINTAINERS.mdMakefileNOTICE.txtREADME.mdSECURITY.mdcall.gointerceptor.go
attributes
backoff.gobackoff
balancer
balancer_wrapper.gobinarylog
grpc_binarylog_v1
channelz
clientconn.gocodec.gocodes
connectivity
credentials
dialoptions.godoc.goencoding
experimental
grpclog
health
grpc_health_v1
internal
backoff
balancer
gracefulswitch
balancerload
binarylog
buffer
channelz
channel.gochannelmap.gofuncs.gologging.goserver.gosocket.gosubchannel.gosyscall_linux.gosyscall_nonlinux.gotrace.go
credentials
envconfig
experimental.gogrpclog
grpcsync
grpcutil
idle
internal.gometadata
pretty
resolver
serviceconfig
stats
status
syscall
tcp_keepalive_others.gotcp_keepalive_unix.gotcp_keepalive_windows.gotransport
keepalive
mem
metadata
peer
picker_wrapper.gopreloader.goresolver
resolver_wrapper.gorpc_util.goserver.goservice_config.goserviceconfig
stats
status
stream.gostream_interfaces.gotap
trace.gotrace_notrace.gotrace_withtrace.goversion.goprotobuf
LICENSEPATENTS
encoding
protodelim
protojson
prototext
protowire
internal
descfmt
descopts
detrand
editiondefaults
editionssupport
encoding
defval
json
messageset
tag
text
errors
filedesc
filetype
flags
genid
any_gen.goapi_gen.godescriptor_gen.godoc.goduration_gen.goempty_gen.gofield_mask_gen.gogo_features_gen.gogoname.gomap_entry.goname.gosource_context_gen.gostruct_gen.gotimestamp_gen.gotype_gen.gowrappers.gowrappers_gen.go
impl
api_export.goapi_export_opaque.gobitmap.gobitmap_race.gocheckinit.gocodec_extension.gocodec_field.gocodec_field_opaque.gocodec_gen.gocodec_map.gocodec_message.gocodec_message_opaque.gocodec_messageset.gocodec_tables.gocodec_unsafe.goconvert.goconvert_list.goconvert_map.godecode.goencode.goenum.goequal.goextension.golazy.golegacy_enum.golegacy_export.golegacy_extension.golegacy_file.golegacy_message.gomerge.gomerge_gen.gomessage.gomessage_opaque.gomessage_opaque_gen.gomessage_reflect.gomessage_reflect_field.gomessage_reflect_field_gen.gomessage_reflect_gen.gopointer_unsafe.gopointer_unsafe_opaque.gopresence.govalidate.go
order
pragma
protolazy
set
strs
version
proto
checkinit.godecode.godecode_gen.godoc.goencode.goencode_gen.goequal.goextension.gomerge.gomessageset.goproto.goproto_methods.goproto_reflect.goreset.gosize.gosize_gen.gowrapperopaque.gowrappers.go
protoadapt
reflect
protodesc
protoreflect
methods.goproto.gosource.gosource_gen.gotype.govalue.govalue_equal.govalue_union.govalue_unsafe_go120.govalue_unsafe_go121.go
protoregistry
runtime
types
descriptorpb
dynamicpb
gofeaturespb
known
anypb
durationpb
emptypb
fieldmaskpb
structpb
timestamppb
wrapperspb
gopkg.in
evanphx
inf.v0
natefinch
yaml.v3
k8s.io
api
LICENSE
admission
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
admissionregistration
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1alpha1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
apidiscovery
v2
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v2beta1
apiserverinternal
v1alpha1
apps
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta2
authentication
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1alpha1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
authorization
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
autoscaling
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v2
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v2beta1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v2beta2
batch
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
certificates
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1alpha1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
coordination
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1alpha2
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
core
v1
discovery
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gowell_known_labels.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
events
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
extensions
v1beta1
flowcontrol
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta2
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta3
imagepolicy
v1alpha1
networking
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gowell_known_annotations.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1alpha1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gowell_known_labels.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
node
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1alpha1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.go
v1beta1
policy
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
rbac
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1alpha1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.go
v1beta1
resource
v1alpha3
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
scheduling
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1alpha1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.go
v1beta1
storage
v1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1alpha1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gotypes_swagger_doc_generated.gozz_generated.deepcopy.gozz_generated.prerelease-lifecycle.go
v1beta1
storagemigration
apiextensions-apiserver
LICENSE
pkg
apis
apiextensions
deepcopy.godoc.gohelpers.goregister.gotypes.gotypes_jsonschema.go
v1
.import-restrictionsconversion.godeepcopy.godefaults.godoc.gogenerated.pb.gogenerated.protomarshal.goregister.gotypes.gotypes_jsonschema.gozz_generated.conversion.gozz_generated.deepcopy.gozz_generated.defaults.gozz_generated.prerelease-lifecycle.go
zz_generated.deepcopy.gofeatures
apimachinery
LICENSE
pkg
api
equality
errors
meta
OWNERSconditions.godoc.goerrors.gofirsthit_restmapper.gohelp.gointerfaces.golazy.gometa.gomultirestmapper.gopriority.gorestmapper.go
testrestmapper
resource
OWNERSamount.gogenerated.pb.gogenerated.protomath.goquantity.goquantity_proto.goscale_int.gosuffix.gozz_generated.deepcopy.go
validation
apis
meta
internalversion
defaults.godoc.goregister.go
scheme
types.govalidation
zz_generated.conversion.gozz_generated.deepcopy.gov1
OWNERScontroller_ref.goconversion.godeepcopy.godoc.goduration.gogenerated.pb.gogenerated.protogroup_version.gohelpers.golabels.gometa.gomicro_time.gomicro_time_fuzz.gomicro_time_proto.goregister.gotime.gotime_fuzz.gotime_proto.gotypes.gotypes_swagger_doc_generated.go
unstructured
validation
watch.gozz_generated.conversion.gozz_generated.deepcopy.gozz_generated.defaults.gov1beta1
conversion
fields
labels
runtime
allocator.gocodec.gocodec_check.goconversion.goconverter.godoc.goembedded.goerror.goextension.gogenerated.pb.gogenerated.protohelper.gointerfaces.gomapper.gonegotiate.goregister.gosplice.goswagger_doc_generator.gotypes.gotypes_proto.gozz_generated.deepcopy.go
schema
scheme.goscheme_builder.goserializer
cbor
codec_factory.gojson
negotiated_codec.goprotobuf
recognizer
streaming
versioning
selection
types
util
cache
diff
dump
errors
framer
httpstream
intstr
json
managedfields
endpoints.yamlextract.gofieldmanager.gogvkparser.go
internal
atmostevery.gobuildmanagerinfo.gocapmanagers.goconflict.gofieldmanager.gofields.golastapplied.golastappliedmanager.golastappliedupdater.gomanagedfields.gomanagedfieldsupdater.gomanager.gopathelement.goskipnonapplied.gostripmeta.gostructuredmerge.gotypeconverter.goversioncheck.goversionconverter.go
node.yamlpod.yamlscalehandler.gotypeconverter.gomergepatch
naming
net
portforward
proxy
rand
remotecommand
runtime
sets
strategicpatch
uuid
validation
version
wait
waitgroup
yaml
version
watch
third_party
apiserver
LICENSE
pkg
admission
attributes.goaudit.gochain.goconfig.goplugins.goreinvocation.goutil.go
configuration
conversion.godecorator.goerrors.gohandler.goinitializer
interfaces.gometrics
plugin
authorizer
cel
namespace
lifecycle
policy
generic
accessor.gointerfaces.goplugin.gopolicy_dispatcher.gopolicy_matcher.gopolicy_source.gopolicy_test_context.go
internal
matching
mutating
validating
webhook
accessors.go
config
errors
generic
matchconditions
mutating
predicates
request
validating
apis
apidiscovery
apiserver
doc.go
install
register.gotypes.gotypes_encryption.gov1
defaults.godoc.goregister.gotypes.gotypes_encryption.gozz_generated.conversion.gozz_generated.deepcopy.gozz_generated.defaults.go
v1alpha1
conversion.godefaults.godoc.goregister.gotypes.gozz_generated.conversion.gozz_generated.deepcopy.gozz_generated.defaults.go
v1beta1
conversion.godefaults.godoc.goregister.gotypes.gozz_generated.conversion.gozz_generated.deepcopy.gozz_generated.defaults.go
validation
zz_generated.deepcopy.goaudit
OWNERSdoc.gohelpers.go
install
register.gotypes.gov1
doc.gogenerated.pb.gogenerated.protoregister.gotypes.gozz_generated.conversion.gozz_generated.deepcopy.gozz_generated.defaults.go
validation
zz_generated.deepcopy.gocel
flowcontrol
bootstrap
audit
authentication
authenticator
authenticatorfactory
cel
group
request
anonymous
bearertoken
headerrequest
union
websocket
x509
serviceaccount
token
user
authorization
authorizer
authorizerfactory
cel
path
union
cel
OWNERScidr.go
common
environment
errors.goescaping.goformat.goip.golazy
library
authz.gocidr.gocost.goformat.goip.gojsonpatch.golibraries.golists.goquantity.goregex.gosemverlib.gotest.gourls.go
limits.gomutation
openapi
quantity.gosemver.gotypes.gourl.govalue.goendpoints
OWNERS
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
finisher
get.gohelpers.gometrics
namer.gonegotiation
patch.goresponse.goresponsewriters
rest.gotrace_util.goupdate.gowatch.gometrics
openapi
request
responsewriter
warning
features
quota
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
egressselector
filters
OWNERScontent_type.gocors.godoc.gogoaway.gohsts.golongrunning.gomaxinflight.gopriority-and-fairness.gotimeout.gowaitgroup.gowatch_termination.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.godoc.goegress_selector.go
plugins.goencryptionconfig
etcd.gofeature.gorecommended.goserver_run_options.goserving.goserving_unix.goserving_windows.goserving_with_loopback.gotracing.goresourceconfig
routes
routine
secure_serving.gosignal.gosignal_posix.gosignal_windows.gostorage
storage_readiness_hook.gostorage
OWNERSapi_object_versioner.go
cacher
cache_watcher.gocacher.gocaching_object.golister_watcher.go
continue.godoc.goerrors.gometrics
ready.gostore.gostore_btree.gotime_budget.goutil.gowatch_cache.gowatch_cache_interval.gowatch_progress.goerrors
etcd3
OWNERScompact.gocorrupt_obj_deleter.godecoder.goerrors.goevent.gohealthcheck.golatency_tracker.golease_manager.gologger.go
metrics
store.gowatcher.gofeature
interfaces.gonames
selection_predicate.gostoragebackend
util.govalue
OWNERS
encrypt
metrics.gotransformer.gostorageversion
util
apihelpers
dryrun
feature
flowcontrol
OWNERSapf_context.goapf_controller.goapf_controller_debug.goapf_filter.goconc_alloc.go
debug
dropped_requests_tracker.gofairqueuing
format
formatting.gomax_seats.gometrics
request
config.golist_work_estimator.gomutating_work_estimator.goobject_count_tracker.goseat_seconds.gowidth.go
rule.gowatch_tracker.goflushwriter
peerproxy
metrics
shufflesharding
webhook
x509metrics
warning
plugin
pkg
audit
authenticator
token
webhook
authorizer
webhook
client-go
LICENSEgeneric_helpers.go
applyconfigurations
OWNERSdoc.goutils.go
admissionregistration
v1
auditannotation.goexpressionwarning.gomatchcondition.gomatchresources.gomutatingwebhook.gomutatingwebhookconfiguration.gonamedrulewithoperations.goparamkind.goparamref.gorule.gorulewithoperations.goservicereference.gotypechecking.govalidatingadmissionpolicy.govalidatingadmissionpolicybinding.govalidatingadmissionpolicybindingspec.govalidatingadmissionpolicyspec.govalidatingadmissionpolicystatus.govalidatingwebhook.govalidatingwebhookconfiguration.govalidation.govariable.gowebhookclientconfig.go
v1alpha1
applyconfiguration.goauditannotation.goexpressionwarning.gojsonpatch.gomatchcondition.gomatchresources.gomutatingadmissionpolicy.gomutatingadmissionpolicybinding.gomutatingadmissionpolicybindingspec.gomutatingadmissionpolicyspec.gomutation.gonamedrulewithoperations.goparamkind.goparamref.gotypechecking.govalidatingadmissionpolicy.govalidatingadmissionpolicybinding.govalidatingadmissionpolicybindingspec.govalidatingadmissionpolicyspec.govalidatingadmissionpolicystatus.govalidation.govariable.go
v1beta1
auditannotation.goexpressionwarning.gomatchcondition.gomatchresources.gomutatingwebhook.gomutatingwebhookconfiguration.gonamedrulewithoperations.goparamkind.goparamref.goservicereference.gotypechecking.govalidatingadmissionpolicy.govalidatingadmissionpolicybinding.govalidatingadmissionpolicybindingspec.govalidatingadmissionpolicyspec.govalidatingadmissionpolicystatus.govalidatingwebhook.govalidatingwebhookconfiguration.govalidation.govariable.gowebhookclientconfig.go
apiserverinternal
apps
v1
controllerrevision.godaemonset.godaemonsetcondition.godaemonsetspec.godaemonsetstatus.godaemonsetupdatestrategy.godeployment.godeploymentcondition.godeploymentspec.godeploymentstatus.godeploymentstrategy.goreplicaset.goreplicasetcondition.goreplicasetspec.goreplicasetstatus.gorollingupdatedaemonset.gorollingupdatedeployment.gorollingupdatestatefulsetstrategy.gostatefulset.gostatefulsetcondition.gostatefulsetordinals.gostatefulsetpersistentvolumeclaimretentionpolicy.gostatefulsetspec.gostatefulsetstatus.gostatefulsetupdatestrategy.go
v1beta1
controllerrevision.godeployment.godeploymentcondition.godeploymentspec.godeploymentstatus.godeploymentstrategy.gorollbackconfig.gorollingupdatedeployment.gorollingupdatestatefulsetstrategy.gostatefulset.gostatefulsetcondition.gostatefulsetordinals.gostatefulsetpersistentvolumeclaimretentionpolicy.gostatefulsetspec.gostatefulsetstatus.gostatefulsetupdatestrategy.go
v1beta2
controllerrevision.godaemonset.godaemonsetcondition.godaemonsetspec.godaemonsetstatus.godaemonsetupdatestrategy.godeployment.godeploymentcondition.godeploymentspec.godeploymentstatus.godeploymentstrategy.goreplicaset.goreplicasetcondition.goreplicasetspec.goreplicasetstatus.gorollingupdatedaemonset.gorollingupdatedeployment.gorollingupdatestatefulsetstrategy.goscale.gostatefulset.gostatefulsetcondition.gostatefulsetordinals.gostatefulsetpersistentvolumeclaimretentionpolicy.gostatefulsetspec.gostatefulsetstatus.gostatefulsetupdatestrategy.go
autoscaling
v1
crossversionobjectreference.gohorizontalpodautoscaler.gohorizontalpodautoscalerspec.gohorizontalpodautoscalerstatus.goscale.goscalespec.goscalestatus.go
v2
containerresourcemetricsource.gocontainerresourcemetricstatus.gocrossversionobjectreference.goexternalmetricsource.goexternalmetricstatus.gohorizontalpodautoscaler.gohorizontalpodautoscalerbehavior.gohorizontalpodautoscalercondition.gohorizontalpodautoscalerspec.gohorizontalpodautoscalerstatus.gohpascalingpolicy.gohpascalingrules.gometricidentifier.gometricspec.gometricstatus.gometrictarget.gometricvaluestatus.goobjectmetricsource.goobjectmetricstatus.gopodsmetricsource.gopodsmetricstatus.goresourcemetricsource.goresourcemetricstatus.go
v2beta1
containerresourcemetricsource.gocontainerresourcemetricstatus.gocrossversionobjectreference.goexternalmetricsource.goexternalmetricstatus.gohorizontalpodautoscaler.gohorizontalpodautoscalercondition.gohorizontalpodautoscalerspec.gohorizontalpodautoscalerstatus.gometricspec.gometricstatus.goobjectmetricsource.goobjectmetricstatus.gopodsmetricsource.gopodsmetricstatus.goresourcemetricsource.goresourcemetricstatus.go
v2beta2
containerresourcemetricsource.gocontainerresourcemetricstatus.gocrossversionobjectreference.goexternalmetricsource.goexternalmetricstatus.gohorizontalpodautoscaler.gohorizontalpodautoscalerbehavior.gohorizontalpodautoscalercondition.gohorizontalpodautoscalerspec.gohorizontalpodautoscalerstatus.gohpascalingpolicy.gohpascalingrules.gometricidentifier.gometricspec.gometricstatus.gometrictarget.gometricvaluestatus.goobjectmetricsource.goobjectmetricstatus.gopodsmetricsource.gopodsmetricstatus.goresourcemetricsource.goresourcemetricstatus.go
batch
v1
cronjob.gocronjobspec.gocronjobstatus.gojob.gojobcondition.gojobspec.gojobstatus.gojobtemplatespec.gopodfailurepolicy.gopodfailurepolicyonexitcodesrequirement.gopodfailurepolicyonpodconditionspattern.gopodfailurepolicyrule.gosuccesspolicy.gosuccesspolicyrule.gouncountedterminatedpods.go
v1beta1
certificates
v1
certificatesigningrequest.gocertificatesigningrequestcondition.gocertificatesigningrequestspec.gocertificatesigningrequeststatus.go
v1alpha1
v1beta1
coordination
core
v1
affinity.goapparmorprofile.goattachedvolume.goawselasticblockstorevolumesource.goazurediskvolumesource.goazurefilepersistentvolumesource.goazurefilevolumesource.gocapabilities.gocephfspersistentvolumesource.gocephfsvolumesource.gocinderpersistentvolumesource.gocindervolumesource.goclientipconfig.goclustertrustbundleprojection.gocomponentcondition.gocomponentstatus.goconfigmap.goconfigmapenvsource.goconfigmapkeyselector.goconfigmapnodeconfigsource.goconfigmapprojection.goconfigmapvolumesource.gocontainer.gocontainerimage.gocontainerport.gocontainerresizepolicy.gocontainerstate.gocontainerstaterunning.gocontainerstateterminated.gocontainerstatewaiting.gocontainerstatus.gocontaineruser.gocsipersistentvolumesource.gocsivolumesource.godaemonendpoint.godownwardapiprojection.godownwardapivolumefile.godownwardapivolumesource.goemptydirvolumesource.goendpointaddress.goendpointport.goendpoints.goendpointsubset.goenvfromsource.goenvvar.goenvvarsource.goephemeralcontainer.goephemeralcontainercommon.goephemeralvolumesource.goevent.goeventseries.goeventsource.goexecaction.gofcvolumesource.goflexpersistentvolumesource.goflexvolumesource.goflockervolumesource.gogcepersistentdiskvolumesource.gogitrepovolumesource.goglusterfspersistentvolumesource.goglusterfsvolumesource.gogrpcaction.gohostalias.gohostip.gohostpathvolumesource.gohttpgetaction.gohttpheader.goimagevolumesource.goiscsipersistentvolumesource.goiscsivolumesource.gokeytopath.golifecycle.golifecyclehandler.golimitrange.golimitrangeitem.golimitrangespec.golinuxcontaineruser.goloadbalanceringress.goloadbalancerstatus.golocalobjectreference.golocalvolumesource.gomodifyvolumestatus.gonamespace.gonamespacecondition.gonamespacespec.gonamespacestatus.gonfsvolumesource.gonode.gonodeaddress.gonodeaffinity.gonodecondition.gonodeconfigsource.gonodeconfigstatus.gonodedaemonendpoints.gonodefeatures.gonoderuntimehandler.gonoderuntimehandlerfeatures.gonodeselector.gonodeselectorrequirement.gonodeselectorterm.gonodespec.gonodestatus.gonodesysteminfo.goobjectfieldselector.goobjectreference.gopersistentvolume.gopersistentvolumeclaim.gopersistentvolumeclaimcondition.gopersistentvolumeclaimspec.gopersistentvolumeclaimstatus.gopersistentvolumeclaimtemplate.gopersistentvolumeclaimvolumesource.gopersistentvolumesource.gopersistentvolumespec.gopersistentvolumestatus.gophotonpersistentdiskvolumesource.gopod.gopodaffinity.gopodaffinityterm.gopodantiaffinity.gopodcondition.gopoddnsconfig.gopoddnsconfigoption.gopodip.gopodos.gopodreadinessgate.gopodresourceclaim.gopodresourceclaimstatus.gopodschedulinggate.gopodsecuritycontext.gopodspec.gopodstatus.gopodtemplate.gopodtemplatespec.goportstatus.goportworxvolumesource.gopreferredschedulingterm.goprobe.goprobehandler.goprojectedvolumesource.goquobytevolumesource.gorbdpersistentvolumesource.gorbdvolumesource.goreplicationcontroller.goreplicationcontrollercondition.goreplicationcontrollerspec.goreplicationcontrollerstatus.goresourceclaim.goresourcefieldselector.goresourcehealth.goresourcequota.goresourcequotaspec.goresourcequotastatus.goresourcerequirements.goresourcestatus.goscaleiopersistentvolumesource.goscaleiovolumesource.goscopedresourceselectorrequirement.goscopeselector.goseccompprofile.gosecret.gosecretenvsource.gosecretkeyselector.gosecretprojection.gosecretreference.gosecretvolumesource.gosecuritycontext.goselinuxoptions.goservice.goserviceaccount.goserviceaccounttokenprojection.goserviceport.goservicespec.goservicestatus.gosessionaffinityconfig.gosleepaction.gostorageospersistentvolumesource.gostorageosvolumesource.gosysctl.gotaint.gotcpsocketaction.gotoleration.gotopologyselectorlabelrequirement.gotopologyselectorterm.gotopologyspreadconstraint.gotypedlocalobjectreference.gotypedobjectreference.govolume.govolumedevice.govolumemount.govolumemountstatus.govolumenodeaffinity.govolumeprojection.govolumeresourcerequirements.govolumesource.govspherevirtualdiskvolumesource.goweightedpodaffinityterm.gowindowssecuritycontextoptions.go
discovery
v1
v1beta1
events
extensions
v1beta1
daemonset.godaemonsetcondition.godaemonsetspec.godaemonsetstatus.godaemonsetupdatestrategy.godeployment.godeploymentcondition.godeploymentspec.godeploymentstatus.godeploymentstrategy.gohttpingresspath.gohttpingressrulevalue.goingress.goingressbackend.goingressloadbalanceringress.goingressloadbalancerstatus.goingressportstatus.goingressrule.goingressrulevalue.goingressspec.goingressstatus.goingresstls.goipblock.gonetworkpolicy.gonetworkpolicyegressrule.gonetworkpolicyingressrule.gonetworkpolicypeer.gonetworkpolicyport.gonetworkpolicyspec.goreplicaset.goreplicasetcondition.goreplicasetspec.goreplicasetstatus.gorollbackconfig.gorollingupdatedaemonset.gorollingupdatedeployment.goscale.go
flowcontrol
v1
exemptprioritylevelconfiguration.goflowdistinguishermethod.goflowschema.goflowschemacondition.goflowschemaspec.goflowschemastatus.gogroupsubject.golimitedprioritylevelconfiguration.golimitresponse.gononresourcepolicyrule.gopolicyruleswithsubjects.goprioritylevelconfiguration.goprioritylevelconfigurationcondition.goprioritylevelconfigurationreference.goprioritylevelconfigurationspec.goprioritylevelconfigurationstatus.goqueuingconfiguration.goresourcepolicyrule.goserviceaccountsubject.gosubject.gousersubject.go
v1beta1
exemptprioritylevelconfiguration.goflowdistinguishermethod.goflowschema.goflowschemacondition.goflowschemaspec.goflowschemastatus.gogroupsubject.golimitedprioritylevelconfiguration.golimitresponse.gononresourcepolicyrule.gopolicyruleswithsubjects.goprioritylevelconfiguration.goprioritylevelconfigurationcondition.goprioritylevelconfigurationreference.goprioritylevelconfigurationspec.goprioritylevelconfigurationstatus.goqueuingconfiguration.goresourcepolicyrule.goserviceaccountsubject.gosubject.gousersubject.go
v1beta2
exemptprioritylevelconfiguration.goflowdistinguishermethod.goflowschema.goflowschemacondition.goflowschemaspec.goflowschemastatus.gogroupsubject.golimitedprioritylevelconfiguration.golimitresponse.gononresourcepolicyrule.gopolicyruleswithsubjects.goprioritylevelconfiguration.goprioritylevelconfigurationcondition.goprioritylevelconfigurationreference.goprioritylevelconfigurationspec.goprioritylevelconfigurationstatus.goqueuingconfiguration.goresourcepolicyrule.goserviceaccountsubject.gosubject.gousersubject.go
v1beta3
exemptprioritylevelconfiguration.goflowdistinguishermethod.goflowschema.goflowschemacondition.goflowschemaspec.goflowschemastatus.gogroupsubject.golimitedprioritylevelconfiguration.golimitresponse.gononresourcepolicyrule.gopolicyruleswithsubjects.goprioritylevelconfiguration.goprioritylevelconfigurationcondition.goprioritylevelconfigurationreference.goprioritylevelconfigurationspec.goprioritylevelconfigurationstatus.goqueuingconfiguration.goresourcepolicyrule.goserviceaccountsubject.gosubject.gousersubject.go
imagepolicy
internal
meta
v1
networking
v1
httpingresspath.gohttpingressrulevalue.goingress.goingressbackend.goingressclass.goingressclassparametersreference.goingressclassspec.goingressloadbalanceringress.goingressloadbalancerstatus.goingressportstatus.goingressrule.goingressrulevalue.goingressservicebackend.goingressspec.goingressstatus.goingresstls.goipblock.gonetworkpolicy.gonetworkpolicyegressrule.gonetworkpolicyingressrule.gonetworkpolicypeer.gonetworkpolicyport.gonetworkpolicyspec.goservicebackendport.go
v1alpha1
v1beta1
httpingresspath.gohttpingressrulevalue.goingress.goingressbackend.goingressclass.goingressclassparametersreference.goingressclassspec.goingressloadbalanceringress.goingressloadbalancerstatus.goingressportstatus.goingressrule.goingressrulevalue.goingressspec.goingressstatus.goingresstls.goipaddress.goipaddressspec.goparentreference.goservicecidr.goservicecidrspec.goservicecidrstatus.go
node
v1
v1alpha1
v1beta1
policy
v1
v1beta1
rbac
v1
aggregationrule.goclusterrole.goclusterrolebinding.gopolicyrule.gorole.gorolebinding.goroleref.gosubject.go
v1alpha1
aggregationrule.goclusterrole.goclusterrolebinding.gopolicyrule.gorole.gorolebinding.goroleref.gosubject.go
v1beta1
resource
v1alpha3
allocateddevicestatus.goallocationresult.gobasicdevice.goceldeviceselector.godevice.godeviceallocationconfiguration.godeviceallocationresult.godeviceattribute.godeviceclaim.godeviceclaimconfiguration.godeviceclass.godeviceclassconfiguration.godeviceclassspec.godeviceconfiguration.godeviceconstraint.godevicerequest.godevicerequestallocationresult.godeviceselector.gonetworkdevicedata.goopaquedeviceconfiguration.goresourceclaim.goresourceclaimconsumerreference.goresourceclaimspec.goresourceclaimstatus.goresourceclaimtemplate.goresourceclaimtemplatespec.goresourcepool.goresourceslice.goresourceslicespec.go
v1beta1
allocateddevicestatus.goallocationresult.gobasicdevice.goceldeviceselector.godevice.godeviceallocationconfiguration.godeviceallocationresult.godeviceattribute.godevicecapacity.godeviceclaim.godeviceclaimconfiguration.godeviceclass.godeviceclassconfiguration.godeviceclassspec.godeviceconfiguration.godeviceconstraint.godevicerequest.godevicerequestallocationresult.godeviceselector.gonetworkdevicedata.goopaquedeviceconfiguration.goresourceclaim.goresourceclaimconsumerreference.goresourceclaimspec.goresourceclaimstatus.goresourceclaimtemplate.goresourceclaimtemplatespec.goresourcepool.goresourceslice.goresourceslicespec.go
scheduling
storage
v1
csidriver.gocsidriverspec.gocsinode.gocsinodedriver.gocsinodespec.gocsistoragecapacity.gostorageclass.gotokenrequest.govolumeattachment.govolumeattachmentsource.govolumeattachmentspec.govolumeattachmentstatus.govolumeerror.govolumenoderesources.go
v1alpha1
csistoragecapacity.govolumeattachment.govolumeattachmentsource.govolumeattachmentspec.govolumeattachmentstatus.govolumeattributesclass.govolumeerror.go
v1beta1
storagemigration
v1alpha1
discovery
dynamic
features
gentype
informers
admissionregistration
interface.go
v1
interface.gomutatingwebhookconfiguration.govalidatingadmissionpolicy.govalidatingadmissionpolicybinding.govalidatingwebhookconfiguration.go
v1alpha1
interface.gomutatingadmissionpolicy.gomutatingadmissionpolicybinding.govalidatingadmissionpolicy.govalidatingadmissionpolicybinding.go
v1beta1
apiserverinternal
apps
autoscaling
batch
certificates
coordination
core
discovery
doc.goevents
extensions
factory.goflowcontrol
generic.gointernalinterfaces
networking
node
policy
rbac
resource
scheduling
storage
storagemigration
kubernetes
clientset.godoc.go
fake
import.goscheme
typed
admissionregistration
v1
admissionregistration_client.godoc.go
fake
doc.gofake_admissionregistration_client.gofake_mutatingwebhookconfiguration.gofake_validatingadmissionpolicy.gofake_validatingadmissionpolicybinding.gofake_validatingwebhookconfiguration.go
generated_expansion.gomutatingwebhookconfiguration.govalidatingadmissionpolicy.govalidatingadmissionpolicybinding.govalidatingwebhookconfiguration.gov1alpha1
admissionregistration_client.godoc.go
fake
doc.gofake_admissionregistration_client.gofake_mutatingadmissionpolicy.gofake_mutatingadmissionpolicybinding.gofake_validatingadmissionpolicy.gofake_validatingadmissionpolicybinding.go
generated_expansion.gomutatingadmissionpolicy.gomutatingadmissionpolicybinding.govalidatingadmissionpolicy.govalidatingadmissionpolicybinding.gov1beta1
admissionregistration_client.godoc.go
fake
doc.gofake_admissionregistration_client.gofake_mutatingwebhookconfiguration.gofake_validatingadmissionpolicy.gofake_validatingadmissionpolicybinding.gofake_validatingwebhookconfiguration.go
generated_expansion.gomutatingwebhookconfiguration.govalidatingadmissionpolicy.govalidatingadmissionpolicybinding.govalidatingwebhookconfiguration.goapiserverinternal
v1alpha1
apps
v1
apps_client.gocontrollerrevision.godaemonset.godeployment.godoc.go
fake
doc.gofake_apps_client.gofake_controllerrevision.gofake_daemonset.gofake_deployment.gofake_replicaset.gofake_statefulset.go
generated_expansion.goreplicaset.gostatefulset.gov1beta1
v1beta2
authentication
v1
v1alpha1
v1beta1
authorization
v1
authorization_client.godoc.go
fake
doc.gofake_authorization_client.gofake_localsubjectaccessreview.gofake_selfsubjectaccessreview.gofake_selfsubjectrulesreview.gofake_subjectaccessreview.go
generated_expansion.golocalsubjectaccessreview.goselfsubjectaccessreview.goselfsubjectrulesreview.gosubjectaccessreview.gov1beta1
authorization_client.godoc.go
fake
doc.gofake_authorization_client.gofake_localsubjectaccessreview.gofake_selfsubjectaccessreview.gofake_selfsubjectrulesreview.gofake_subjectaccessreview.go
generated_expansion.golocalsubjectaccessreview.goselfsubjectaccessreview.goselfsubjectrulesreview.gosubjectaccessreview.goautoscaling
v1
v2
v2beta1
v2beta2
batch
certificates
v1
v1alpha1
v1beta1
coordination
v1
v1alpha2
v1beta1
core
v1
componentstatus.goconfigmap.gocore_client.godoc.goendpoints.goevent.goevent_expansion.go
fake
doc.gofake_componentstatus.gofake_configmap.gofake_core_client.gofake_endpoints.gofake_event.gofake_event_expansion.gofake_limitrange.gofake_namespace.gofake_namespace_expansion.gofake_node.gofake_node_expansion.gofake_persistentvolume.gofake_persistentvolumeclaim.gofake_pod.gofake_pod_expansion.gofake_podtemplate.gofake_replicationcontroller.gofake_resourcequota.gofake_secret.gofake_service.gofake_service_expansion.gofake_serviceaccount.go
generated_expansion.golimitrange.gonamespace.gonamespace_expansion.gonode.gonode_expansion.gopersistentvolume.gopersistentvolumeclaim.gopod.gopod_expansion.gopodtemplate.goreplicationcontroller.goresourcequota.gosecret.goservice.goservice_expansion.goserviceaccount.godiscovery
events
v1
v1beta1
extensions
v1beta1
flowcontrol
v1
v1beta1
v1beta2
v1beta3
networking
v1
v1alpha1
v1beta1
node
v1
v1alpha1
v1beta1
policy
v1
doc.goeviction.goeviction_expansion.go
fake
generated_expansion.gopoddisruptionbudget.gopolicy_client.gov1beta1
rbac
v1
clusterrole.goclusterrolebinding.godoc.go
fake
doc.gofake_clusterrole.gofake_clusterrolebinding.gofake_rbac_client.gofake_role.gofake_rolebinding.go
generated_expansion.gorbac_client.gorole.gorolebinding.gov1alpha1
clusterrole.goclusterrolebinding.godoc.go
fake
doc.gofake_clusterrole.gofake_clusterrolebinding.gofake_rbac_client.gofake_role.gofake_rolebinding.go
generated_expansion.gorbac_client.gorole.gorolebinding.gov1beta1
resource
v1alpha3
deviceclass.godoc.go
fake
doc.gofake_deviceclass.gofake_resource_client.gofake_resourceclaim.gofake_resourceclaimtemplate.gofake_resourceslice.go
generated_expansion.goresource_client.goresourceclaim.goresourceclaimtemplate.goresourceslice.gov1beta1
scheduling
v1
v1alpha1
v1beta1
storage
v1
csidriver.gocsinode.gocsistoragecapacity.godoc.go
fake
doc.gofake_csidriver.gofake_csinode.gofake_csistoragecapacity.gofake_storage_client.gofake_storageclass.gofake_volumeattachment.go
generated_expansion.gostorage_client.gostorageclass.govolumeattachment.gov1alpha1
csistoragecapacity.godoc.go
fake
doc.gofake_csistoragecapacity.gofake_storage_client.gofake_volumeattachment.gofake_volumeattributesclass.go
generated_expansion.gostorage_client.govolumeattachment.govolumeattributesclass.gov1beta1
csidriver.gocsinode.gocsistoragecapacity.godoc.go
fake
doc.gofake_csidriver.gofake_csinode.gofake_csistoragecapacity.gofake_storage_client.gofake_storageclass.gofake_volumeattachment.gofake_volumeattributesclass.go
generated_expansion.gostorage_client.gostorageclass.govolumeattachment.govolumeattributesclass.gostoragemigration
listers
admissionregistration
v1
expansion_generated.gomutatingwebhookconfiguration.govalidatingadmissionpolicy.govalidatingadmissionpolicybinding.govalidatingwebhookconfiguration.go
v1alpha1
expansion_generated.gomutatingadmissionpolicy.gomutatingadmissionpolicybinding.govalidatingadmissionpolicy.govalidatingadmissionpolicybinding.go
v1beta1
apiserverinternal
apps
v1
controllerrevision.godaemonset.godaemonset_expansion.godeployment.goexpansion_generated.goreplicaset.goreplicaset_expansion.gostatefulset.gostatefulset_expansion.go
v1beta1
v1beta2
autoscaling
v1
v2
v2beta1
v2beta2
batch
certificates
v1
v1alpha1
v1beta1
coordination
v1
v1alpha2
v1beta1
core
v1
discovery
doc.goevents
extensions
v1beta1
flowcontrol
v1
v1beta1
v1beta2
v1beta3
networking
v1
v1alpha1
v1beta1
node
v1
v1alpha1
v1beta1
policy
v1
v1beta1
rbac
v1
v1alpha1
v1beta1
resource
v1alpha3
v1beta1
scheduling
v1
v1alpha1
v1beta1
storage
v1
v1alpha1
v1beta1
storagemigration
openapi
pkg
apis
clientauthentication
version
plugin
pkg
client
auth
rest
OWNERSclient.goconfig.goexec.go
fake
plugin.gorequest.gotransport.gourl_utils.gourlbackoff.gowarnings.gowatch
with_retry.gozz_generated.deepcopy.gorestmapper
scale
client.godoc.gointerfaces.goutil.go
scheme
appsint
appsv1beta1
appsv1beta2
autoscalingv1
doc.goextensionsint
extensionsv1beta1
register.gotypes.gozz_generated.deepcopy.gotesting
tools
auth
cache
OWNERScontroller.godelta_fifo.godoc.goexpiration_cache.goexpiration_cache_fakes.gofake_custom_store.gofifo.goheap.goindex.golisters.golistwatch.gomutation_cache.gomutation_detector.goobject-names.goreflector.goreflector_data_consistency_detector.goreflector_metrics.goretry_with_deadline.goshared_informer.gostore.go
synctrack
thread_safe_store.goundelta_store.goclientcmd
api
doc.gohelpers.go
auth_loaders.goclient_config.goconfig.godoc.goflag.gohelpers.goloader.gomerge.gomerged_client_builder.gooverrides.govalidation.golatest
register.gotypes.gov1
conversion.godefaults.godoc.goregister.gotypes.gozz_generated.conversion.gozz_generated.deepcopy.gozz_generated.defaults.go
zz_generated.deepcopy.goevents
internal
events
metrics
pager
portforward
record
reference
remotecommand
OWNERSdoc.goerrorstream.gofallback.goreader.goremotecommand.goresize.gospdy.gov1.gov2.gov3.gov4.gov5.gowebsocket.go
watch
transport
OWNERScache.gocache_go118.gocert_rotation.goconfig.goround_trippers.go
spdy
token_source.gotransport.gowebsocket
util
apply
cert
connrotation
consistencydetector
data_consistency_detector.golist_data_consistency_detector.gowatch_list_data_consistency_detector.go
exec
flowcontrol
homedir
keyutil
retry
watchlist
workqueue
cloud-provider
CONTRIBUTING.mdLICENSEOWNERSREADME.mdSECURITY_CONTACTScloud.gocode-of-conduct.mddoc.go
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
node
config
service
names
options
plugins.goports.govolume
component-base
LICENSE
cli
flag
config
featuregate
logs
metrics
OWNERSbuckets.gocollector.gocounter.godesc.go
features
gauge.gohistogram.gohttp.golabels.golegacyregistry
metric.gooptions.goopts.goprocessstarttime.goprocessstarttime_others.goprocessstarttime_windows.goprometheus
prometheusextension
registry.gosummary.gotestutil
timing_histogram.govalue.goversion.goversion_parser.gowrappers.gotracing
version
zpages
component-helpers
controller-manager
LICENSE
config
options
pkg
clientbuilder
features
leadermigration
cri-api
cri-client
LICENSE
pkg
csi-translation-lib
CONTRIBUTING.mdLICENSEOWNERSREADME.mdSECURITY_CONTACTScode-of-conduct.md
plugins
aws_ebs.goazure_disk.goazure_file.goconst.gogce_pd.goin_tree_volume.goopenstack_cinder.goportworx.govsphere_volume.go
translate.godynamic-resource-allocation
klog
v2
.gitignore.golangci.yamlCONTRIBUTING.mdLICENSEOWNERSREADME.mdRELEASE.mdSECURITY.mdSECURITY_CONTACTScode-of-conduct.mdcontextual.gocontextual_slog.goexit.goformat.goimports.gok8s_references.gok8s_references_slog.goklog.goklog_file.goklog_file_others.goklog_file_windows.goklogr.goklogr_slog.gosafeptr.go
internal
buffer
clock
dbg
serialize
severity
sloghandler
verbosity
textlogger
kms
kube-openapi
LICENSE
pkg
builder
builder3
cached
common
handler
handler3
internal
schemaconv
schemamutation
spec3
component.goencoding.goexample.goexternal_documentation.gofuzz.goheader.gomedia_type.gooperation.goparameter.gopath.gorequest_body.goresponse.gosecurity_scheme.goserver.gospec.go
util
validation
kube-scheduler
kubectl
kubelet
LICENSE
pkg
apis
kubernetes
LICENSE
pkg
api
apis
apps
autoscaling
batch
core
OWNERSannotation_key_constants.godoc.go
helper
install
json.goobjectreference.gopods
register.goresource.gotaint.gotoleration.gotypes.gov1
OWNERSconversion.godefaults.godoc.go
helper
register.gozz_generated.conversion.gozz_generated.defaults.govalidation
zz_generated.deepcopy.goextensions
networking
scheduling
capabilities
client
conditions
cluster
controller
features
fieldpath
kubelet
apis
config
podresources
cadvisor
.mockery.yamlcadvisor_linux.gocadvisor_unsupported.gocadvisor_windows.godoc.gohelpers_linux.gohelpers_unsupported.gotypes.goutil.go
checkpointmanager
cm
.mockery.yamlOWNERS
admission
cgroup_manager_linux.gocgroup_manager_unsupported.gocgroup_v1_manager_linux.gocgroup_v2_manager_linux.gocontainer_manager.gocontainer_manager_linux.gocontainer_manager_stub.gocontainer_manager_unsupported.gocontainer_manager_windows.gocontainermap
cpumanager
OWNERScpu_assignment.gocpu_manager.gocpu_manager_others.gocpu_manager_windows.gofake_cpu_manager.gopolicy.gopolicy_none.gopolicy_options.gopolicy_static.go
state
topology
devicemanager
doc.godra
fake_container_manager.gofake_internal_container_lifecycle.gofake_pod_container_manager.gohelpers.gohelpers_linux.gohelpers_unsupported.gointernal_container_lifecycle.gointernal_container_lifecycle_linux.gointernal_container_lifecycle_unsupported.gointernal_container_lifecycle_windows.gomemorymanager
fake_memory_manager.gomemory_manager.gopolicy.gopolicy_best_effort.gopolicy_none.gopolicy_static.go
node_container_manager_linux.gopod_container_manager_linux.gopod_container_manager_stub.goqos_container_manager_linux.gostate
resourceupdates
topologymanager
OWNERS
types.gobitmask
fake_topology_manager.gonuma_info.gopolicy.gopolicy_best_effort.gopolicy_none.gopolicy_options.gopolicy_restricted.gopolicy_single_numa_node.goscope.goscope_container.goscope_none.goscope_pod.gotopology_manager.goutil
config
apiserver.gocommon.goconfig.godefaults.godoc.gofile.gofile_linux.gofile_unsupported.goflags.gohttp.gomux.gosources.go
container
.mockery.yamlcache.gocontainer_gc.gohelpers.goos.goref.goruntime.goruntime_cache.goruntime_cache_fake.gosync_result.go
events
eviction
api
kuberuntime
util
lifecycle
metrics
pluginmanager
server
metrics
stats
status
types
util
boottime_util_darwin.goboottime_util_freebsd.goboottime_util_linux.godoc.go
format
node_startup_latency_tracker.gonodelease.gopod_startup_latency_tracker.gostore
swap
util.goutil_linux.goutil_others.goutil_unix.goutil_unsupported.goutil_windows.gowinstats
probe
scheduler
OWNERS
apis
config
backend
eventhandlers.goextender.goframework
cycle_state.goevents.goextender.gointerface.golisters.go
parallelize
plugins
README.md
defaultbinder
defaultpreemption
dynamicresources
feature
helper
imagelocality
interpodaffinity
names
nodeaffinity
nodename
nodeports
noderesources
balanced_allocation.gofit.goleast_allocated.gomost_allocated.gorequested_to_capacity_ratio.goresource_allocation.gotest_util.go
nodeunschedulable
nodevolumelimits
podtopologyspread
queuesort
registry.goschedulinggates
tainttoleration
volumebinding
volumerestrictions
volumezone
preemption
runtime
types.gometrics
profile
schedule_one.goscheduler.goutil
security
securitycontext
util
filesystem
hash
kernel
labels
oom
parsers
pod
slice
taints
volume
OWNERSdoc.gometrics_block.gometrics_cached.gometrics_du.gometrics_errors.gometrics_nil.gometrics_statfs.gonoop_expandable_plugin.goplugins.go
util
atomic_writer.goatomic_writer_linux.goatomic_writer_unsupported.goattach_limit.godevice_util.godevice_util_linux.godevice_util_unsupported.godoc.gofinalizer.go
volume.govolume_linux.govolume_unsupported.gofs
fsquota
hostutil
io_util.gometrics.gonested_volumes.gorecyclerclient
resize_util.goselinux.gostorageclass.gosubpath
types
util.govolumepathhandler
test
e2e
framework
.import-restrictionsOWNERSREADME.mdbugs.go
config
debug
expect.goflake_reporting_util.goframework.goget.goginkgologger.goginkgowrapper.gointernal
junit
kubectl
log.gometrics
.import-restrictionsOWNERSapi.goapi_server_metrics.gocluster_autoscaler_metrics.gocontroller_manager_metrics.goe2e_metrics.gograb.gointeresting_metrics.gokube_proxy_metrics.gokubelet_metrics.golatencies.gometrics_grabber.gopod.goscheduler_metrics.gosnapshot_controller_metrics.go
namespacedname.gonode
nodes_util.gopod
.import-restrictionscreate.godelete.godial.goexec_util.goget.gonode_selection.go
ports.goprovider.gooutput
pod_client.goresize.goresource.goutils.gowait.gopv
size.goskipper
ssh
test_context.gotestfiles
timeouts.goutil.govolume
perftype
storage
podlogs
utils
testing-manifests
README.md
dra
embed.goflexvolume
gpu
guestbook
agnhost-primary-deployment.yaml.inagnhost-primary-service.yamlagnhost-replica-deployment.yaml.inagnhost-replica-service.yamlfrontend-deployment.yaml.infrontend-service.yaml
legacy
redis-master-deployment.yaml.inredis-master-service.yamlredis-slave-deployment.yaml.inredis-slave-service.yamlkubectl
agnhost-primary-controller.json.inagnhost-primary-pod.yamlagnhost-primary-service.jsonbusybox-cronjob.yaml.inbusybox-pod.yaml.inhttpd-deployment1.yaml.inhttpd-deployment2.yaml.inhttpd-deployment3.yaml.inhttpd-rc.yaml.inpause-pod.yaml.inpod-with-readiness-probe.yaml.in
podrbd-storage-class.yamlsample-device-plugin
statefulset
cassandra
cockroachdb
etcd
mysql-galera
mysql-upgrade
nginx
redis
zookeeper
storage-csi
OWNERS
any-volume-datasource
controller-role.yamlexternal-attacher
external-health-monitor
external-health-monitor-controller
external-provisioner
external-resizer
external-snapshotter
csi-snapshotter
groupsnapshot.storage.k8s.io_volumegroupsnapshotclasses.yamlgroupsnapshot.storage.k8s.io_volumegroupsnapshotcontents.yamlgroupsnapshot.storage.k8s.io_volumegroupsnapshots.yamlvolume-group-snapshots
gce-pd
hostpath
README.md
hostpath
mock
csi-mock-driver-attacher.yamlcsi-mock-driver-resizer.yamlcsi-mock-driver-snapshotter.yamlcsi-mock-driver.yamlcsi-mock-driverinfo.yamlcsi-mock-proxy.yamlcsi-mock-rbac.yamlcsi-storageclass.yaml
update-hostpath.shutils
third_party
forked
golang
libcontainer
mount-utils
LICENSEOWNERSREADME.mdSECURITY_CONTACTScode-of-conduct.mddoc.gofake_mounter.gomount.gomount_helper_common.gomount_helper_unix.gomount_helper_windows.gomount_linux.gomount_unsupported.gomount_windows.goresizefs_linux.goresizefs_unsupported.go
pod-security-admission
LICENSE
api
policy
check_allowPrivilegeEscalation.gocheck_appArmorProfile.gocheck_capabilities_baseline.gocheck_capabilities_restricted.gocheck_hostNamespaces.gocheck_hostPathVolumes.gocheck_hostPorts.gocheck_privileged.gocheck_procMount.gocheck_restrictedVolumes.gocheck_runAsNonRoot.gocheck_runAsUser.gocheck_seLinuxOptions.gocheck_seccompProfile_baseline.gocheck_seccompProfile_restricted.gocheck_sysctls.gocheck_windowsHostProcess.gochecks.godoc.gohelpers.goregistry.govisitor.go
utils
sigs.k8s.io
apiserver-network-proxy
konnectivity-client
json
CONTRIBUTING.mdLICENSEMakefileOWNERSREADME.mdSECURITY.mdSECURITY_CONTACTScode-of-conduct.mddoc.gojson.go
internal
golang
structured-merge-diff
v4
LICENSE
fieldpath
merge
schema
typed
compare.godoc.gohelpers.gomerge.goparser.goreconcile_schema.goremove.gotofieldset.gotyped.govalidate.go
value
yaml
.gitignore.travis.ymlCONTRIBUTING.mdLICENSEOWNERSREADME.mdRELEASE.mdSECURITY_CONTACTScode-of-conduct.mdfields.go
goyaml.v2
LICENSELICENSE.libyamlNOTICEOWNERSREADME.mdapic.godecode.goemitterc.goencode.goparserc.goreaderc.goresolve.goscannerc.gosorter.gowriterc.goyaml.goyamlh.goyamlprivateh.go
yaml.goyaml_go110.goscripts
vendor
576
e2e/vendor/github.com/google/cel-go/cel/macro.go
generated
vendored
Normal file
576
e2e/vendor/github.com/google/cel-go/cel/macro.go
generated
vendored
Normal file
@ -0,0 +1,576 @@
|
||||
// Copyright 2022 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 cel
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/google/cel-go/common"
|
||||
"github.com/google/cel-go/common/ast"
|
||||
"github.com/google/cel-go/common/types"
|
||||
"github.com/google/cel-go/parser"
|
||||
|
||||
exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
|
||||
)
|
||||
|
||||
// Macro describes a function signature to match and the MacroExpander to apply.
|
||||
//
|
||||
// Note: when a Macro should apply to multiple overloads (based on arg count) of a given function,
|
||||
// a Macro should be created per arg-count or as a var arg macro.
|
||||
type Macro = parser.Macro
|
||||
|
||||
// MacroFactory defines an expansion function which converts a call and its arguments to a cel.Expr value.
|
||||
type MacroFactory = parser.MacroExpander
|
||||
|
||||
// MacroExprFactory assists with the creation of Expr values in a manner which is consistent
|
||||
// the internal semantics and id generation behaviors of the parser and checker libraries.
|
||||
type MacroExprFactory = parser.ExprHelper
|
||||
|
||||
// MacroExpander converts a call and its associated arguments into a protobuf Expr representation.
|
||||
//
|
||||
// If the MacroExpander determines within the implementation that an expansion is not needed it may return
|
||||
// a nil Expr value to indicate a non-match. However, if an expansion is to be performed, but the arguments
|
||||
// are not well-formed, the result of the expansion will be an error.
|
||||
//
|
||||
// The MacroExpander accepts as arguments a MacroExprHelper as well as the arguments used in the function call
|
||||
// and produces as output an Expr ast node.
|
||||
//
|
||||
// Note: when the Macro.IsReceiverStyle() method returns true, the target argument will be nil.
|
||||
type MacroExpander func(eh MacroExprHelper, target *exprpb.Expr, args []*exprpb.Expr) (*exprpb.Expr, *Error)
|
||||
|
||||
// MacroExprHelper exposes helper methods for creating new expressions within a CEL abstract syntax tree.
|
||||
// ExprHelper assists with the manipulation of proto-based Expr values in a manner which is
|
||||
// consistent with the source position and expression id generation code leveraged by both
|
||||
// the parser and type-checker.
|
||||
type MacroExprHelper interface {
|
||||
// Copy the input expression with a brand new set of identifiers.
|
||||
Copy(*exprpb.Expr) *exprpb.Expr
|
||||
|
||||
// LiteralBool creates an Expr value for a bool literal.
|
||||
LiteralBool(value bool) *exprpb.Expr
|
||||
|
||||
// LiteralBytes creates an Expr value for a byte literal.
|
||||
LiteralBytes(value []byte) *exprpb.Expr
|
||||
|
||||
// LiteralDouble creates an Expr value for double literal.
|
||||
LiteralDouble(value float64) *exprpb.Expr
|
||||
|
||||
// LiteralInt creates an Expr value for an int literal.
|
||||
LiteralInt(value int64) *exprpb.Expr
|
||||
|
||||
// LiteralString creates am Expr value for a string literal.
|
||||
LiteralString(value string) *exprpb.Expr
|
||||
|
||||
// LiteralUint creates an Expr value for a uint literal.
|
||||
LiteralUint(value uint64) *exprpb.Expr
|
||||
|
||||
// NewList creates a CreateList instruction where the list is comprised of the optional set
|
||||
// of elements provided as arguments.
|
||||
NewList(elems ...*exprpb.Expr) *exprpb.Expr
|
||||
|
||||
// NewMap creates a CreateStruct instruction for a map where the map is comprised of the
|
||||
// optional set of key, value entries.
|
||||
NewMap(entries ...*exprpb.Expr_CreateStruct_Entry) *exprpb.Expr
|
||||
|
||||
// NewMapEntry creates a Map Entry for the key, value pair.
|
||||
NewMapEntry(key *exprpb.Expr, val *exprpb.Expr, optional bool) *exprpb.Expr_CreateStruct_Entry
|
||||
|
||||
// NewObject creates a CreateStruct instruction for an object with a given type name and
|
||||
// optional set of field initializers.
|
||||
NewObject(typeName string, fieldInits ...*exprpb.Expr_CreateStruct_Entry) *exprpb.Expr
|
||||
|
||||
// NewObjectFieldInit creates a new Object field initializer from the field name and value.
|
||||
NewObjectFieldInit(field string, init *exprpb.Expr, optional bool) *exprpb.Expr_CreateStruct_Entry
|
||||
|
||||
// Fold creates a fold comprehension instruction.
|
||||
//
|
||||
// - iterVar is the iteration variable name.
|
||||
// - iterRange represents the expression that resolves to a list or map where the elements or
|
||||
// keys (respectively) will be iterated over.
|
||||
// - accuVar is the accumulation variable name, typically parser.AccumulatorName.
|
||||
// - accuInit is the initial expression whose value will be set for the accuVar prior to
|
||||
// folding.
|
||||
// - condition is the expression to test to determine whether to continue folding.
|
||||
// - step is the expression to evaluation at the conclusion of a single fold iteration.
|
||||
// - result is the computation to evaluate at the conclusion of the fold.
|
||||
//
|
||||
// The accuVar should not shadow variable names that you would like to reference within the
|
||||
// environment in the step and condition expressions. Presently, the name __result__ is commonly
|
||||
// used by built-in macros but this may change in the future.
|
||||
Fold(iterVar string,
|
||||
iterRange *exprpb.Expr,
|
||||
accuVar string,
|
||||
accuInit *exprpb.Expr,
|
||||
condition *exprpb.Expr,
|
||||
step *exprpb.Expr,
|
||||
result *exprpb.Expr) *exprpb.Expr
|
||||
|
||||
// Ident creates an identifier Expr value.
|
||||
Ident(name string) *exprpb.Expr
|
||||
|
||||
// AccuIdent returns an accumulator identifier for use with comprehension results.
|
||||
AccuIdent() *exprpb.Expr
|
||||
|
||||
// GlobalCall creates a function call Expr value for a global (free) function.
|
||||
GlobalCall(function string, args ...*exprpb.Expr) *exprpb.Expr
|
||||
|
||||
// ReceiverCall creates a function call Expr value for a receiver-style function.
|
||||
ReceiverCall(function string, target *exprpb.Expr, args ...*exprpb.Expr) *exprpb.Expr
|
||||
|
||||
// PresenceTest creates a Select TestOnly Expr value for modelling has() semantics.
|
||||
PresenceTest(operand *exprpb.Expr, field string) *exprpb.Expr
|
||||
|
||||
// Select create a field traversal Expr value.
|
||||
Select(operand *exprpb.Expr, field string) *exprpb.Expr
|
||||
|
||||
// OffsetLocation returns the Location of the expression identifier.
|
||||
OffsetLocation(exprID int64) common.Location
|
||||
|
||||
// NewError associates an error message with a given expression id.
|
||||
NewError(exprID int64, message string) *Error
|
||||
}
|
||||
|
||||
// GlobalMacro creates a Macro for a global function with the specified arg count.
|
||||
func GlobalMacro(function string, argCount int, factory MacroFactory) Macro {
|
||||
return parser.NewGlobalMacro(function, argCount, factory)
|
||||
}
|
||||
|
||||
// ReceiverMacro creates a Macro for a receiver function matching the specified arg count.
|
||||
func ReceiverMacro(function string, argCount int, factory MacroFactory) Macro {
|
||||
return parser.NewReceiverMacro(function, argCount, factory)
|
||||
}
|
||||
|
||||
// GlobalVarArgMacro creates a Macro for a global function with a variable arg count.
|
||||
func GlobalVarArgMacro(function string, factory MacroFactory) Macro {
|
||||
return parser.NewGlobalVarArgMacro(function, factory)
|
||||
}
|
||||
|
||||
// ReceiverVarArgMacro creates a Macro for a receiver function matching a variable arg count.
|
||||
func ReceiverVarArgMacro(function string, factory MacroFactory) Macro {
|
||||
return parser.NewReceiverVarArgMacro(function, factory)
|
||||
}
|
||||
|
||||
// NewGlobalMacro creates a Macro for a global function with the specified arg count.
|
||||
//
|
||||
// Deprecated: use GlobalMacro
|
||||
func NewGlobalMacro(function string, argCount int, expander MacroExpander) Macro {
|
||||
expand := adaptingExpander{expander}
|
||||
return parser.NewGlobalMacro(function, argCount, expand.Expander)
|
||||
}
|
||||
|
||||
// NewReceiverMacro creates a Macro for a receiver function matching the specified arg count.
|
||||
//
|
||||
// Deprecated: use ReceiverMacro
|
||||
func NewReceiverMacro(function string, argCount int, expander MacroExpander) Macro {
|
||||
expand := adaptingExpander{expander}
|
||||
return parser.NewReceiverMacro(function, argCount, expand.Expander)
|
||||
}
|
||||
|
||||
// NewGlobalVarArgMacro creates a Macro for a global function with a variable arg count.
|
||||
//
|
||||
// Deprecated: use GlobalVarArgMacro
|
||||
func NewGlobalVarArgMacro(function string, expander MacroExpander) Macro {
|
||||
expand := adaptingExpander{expander}
|
||||
return parser.NewGlobalVarArgMacro(function, expand.Expander)
|
||||
}
|
||||
|
||||
// NewReceiverVarArgMacro creates a Macro for a receiver function matching a variable arg count.
|
||||
//
|
||||
// Deprecated: use ReceiverVarArgMacro
|
||||
func NewReceiverVarArgMacro(function string, expander MacroExpander) Macro {
|
||||
expand := adaptingExpander{expander}
|
||||
return parser.NewReceiverVarArgMacro(function, expand.Expander)
|
||||
}
|
||||
|
||||
// HasMacroExpander expands the input call arguments into a presence test, e.g. has(<operand>.field)
|
||||
func HasMacroExpander(meh MacroExprHelper, target *exprpb.Expr, args []*exprpb.Expr) (*exprpb.Expr, *Error) {
|
||||
ph, err := toParserHelper(meh)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
arg, err := adaptToExpr(args[0])
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if arg.Kind() == ast.SelectKind {
|
||||
s := arg.AsSelect()
|
||||
return adaptToProto(ph.NewPresenceTest(s.Operand(), s.FieldName()))
|
||||
}
|
||||
return nil, ph.NewError(arg.ID(), "invalid argument to has() macro")
|
||||
}
|
||||
|
||||
// ExistsMacroExpander expands the input call arguments into a comprehension that returns true if any of the
|
||||
// elements in the range match the predicate expressions:
|
||||
// <iterRange>.exists(<iterVar>, <predicate>)
|
||||
func ExistsMacroExpander(meh MacroExprHelper, target *exprpb.Expr, args []*exprpb.Expr) (*exprpb.Expr, *Error) {
|
||||
ph, err := toParserHelper(meh)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
out, err := parser.MakeExists(ph, mustAdaptToExpr(target), mustAdaptToExprs(args))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return adaptToProto(out)
|
||||
}
|
||||
|
||||
// ExistsOneMacroExpander expands the input call arguments into a comprehension that returns true if exactly
|
||||
// one of the elements in the range match the predicate expressions:
|
||||
// <iterRange>.exists_one(<iterVar>, <predicate>)
|
||||
func ExistsOneMacroExpander(meh MacroExprHelper, target *exprpb.Expr, args []*exprpb.Expr) (*exprpb.Expr, *Error) {
|
||||
ph, err := toParserHelper(meh)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
out, err := parser.MakeExistsOne(ph, mustAdaptToExpr(target), mustAdaptToExprs(args))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return adaptToProto(out)
|
||||
}
|
||||
|
||||
// MapMacroExpander expands the input call arguments into a comprehension that transforms each element in the
|
||||
// input to produce an output list.
|
||||
//
|
||||
// There are two call patterns supported by map:
|
||||
//
|
||||
// <iterRange>.map(<iterVar>, <transform>)
|
||||
// <iterRange>.map(<iterVar>, <predicate>, <transform>)
|
||||
//
|
||||
// In the second form only iterVar values which return true when provided to the predicate expression
|
||||
// are transformed.
|
||||
func MapMacroExpander(meh MacroExprHelper, target *exprpb.Expr, args []*exprpb.Expr) (*exprpb.Expr, *Error) {
|
||||
ph, err := toParserHelper(meh)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
out, err := parser.MakeMap(ph, mustAdaptToExpr(target), mustAdaptToExprs(args))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return adaptToProto(out)
|
||||
}
|
||||
|
||||
// FilterMacroExpander expands the input call arguments into a comprehension which produces a list which contains
|
||||
// only elements which match the provided predicate expression:
|
||||
// <iterRange>.filter(<iterVar>, <predicate>)
|
||||
func FilterMacroExpander(meh MacroExprHelper, target *exprpb.Expr, args []*exprpb.Expr) (*exprpb.Expr, *Error) {
|
||||
ph, err := toParserHelper(meh)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
out, err := parser.MakeFilter(ph, mustAdaptToExpr(target), mustAdaptToExprs(args))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return adaptToProto(out)
|
||||
}
|
||||
|
||||
var (
|
||||
// Aliases to each macro in the CEL standard environment.
|
||||
// Note: reassigning these macro variables may result in undefined behavior.
|
||||
|
||||
// HasMacro expands "has(m.f)" which tests the presence of a field, avoiding the need to
|
||||
// specify the field as a string.
|
||||
HasMacro = parser.HasMacro
|
||||
|
||||
// AllMacro expands "range.all(var, predicate)" into a comprehension which ensures that all
|
||||
// elements in the range satisfy the predicate.
|
||||
AllMacro = parser.AllMacro
|
||||
|
||||
// ExistsMacro expands "range.exists(var, predicate)" into a comprehension which ensures that
|
||||
// some element in the range satisfies the predicate.
|
||||
ExistsMacro = parser.ExistsMacro
|
||||
|
||||
// ExistsOneMacro expands "range.exists_one(var, predicate)", which is true if for exactly one
|
||||
// element in range the predicate holds.
|
||||
ExistsOneMacro = parser.ExistsOneMacro
|
||||
|
||||
// MapMacro expands "range.map(var, function)" into a comprehension which applies the function
|
||||
// to each element in the range to produce a new list.
|
||||
MapMacro = parser.MapMacro
|
||||
|
||||
// MapFilterMacro expands "range.map(var, predicate, function)" into a comprehension which
|
||||
// first filters the elements in the range by the predicate, then applies the transform function
|
||||
// to produce a new list.
|
||||
MapFilterMacro = parser.MapFilterMacro
|
||||
|
||||
// FilterMacro expands "range.filter(var, predicate)" into a comprehension which filters
|
||||
// elements in the range, producing a new list from the elements that satisfy the predicate.
|
||||
FilterMacro = parser.FilterMacro
|
||||
|
||||
// StandardMacros provides an alias to all the CEL macros defined in the standard environment.
|
||||
StandardMacros = []Macro{
|
||||
HasMacro, AllMacro, ExistsMacro, ExistsOneMacro, MapMacro, MapFilterMacro, FilterMacro,
|
||||
}
|
||||
|
||||
// NoMacros provides an alias to an empty list of macros
|
||||
NoMacros = []Macro{}
|
||||
)
|
||||
|
||||
type adaptingExpander struct {
|
||||
legacyExpander MacroExpander
|
||||
}
|
||||
|
||||
func (adapt *adaptingExpander) Expander(eh parser.ExprHelper, target ast.Expr, args []ast.Expr) (ast.Expr, *common.Error) {
|
||||
var legacyTarget *exprpb.Expr = nil
|
||||
var err *Error = nil
|
||||
if target != nil {
|
||||
legacyTarget, err = adaptToProto(target)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
legacyArgs := make([]*exprpb.Expr, len(args))
|
||||
for i, arg := range args {
|
||||
legacyArgs[i], err = adaptToProto(arg)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
ah := &adaptingHelper{modernHelper: eh}
|
||||
legacyExpr, err := adapt.legacyExpander(ah, legacyTarget, legacyArgs)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ex, err := adaptToExpr(legacyExpr)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ex, nil
|
||||
}
|
||||
|
||||
func wrapErr(id int64, message string, err error) *common.Error {
|
||||
return &common.Error{
|
||||
Location: common.NoLocation,
|
||||
Message: fmt.Sprintf("%s: %v", message, err),
|
||||
ExprID: id,
|
||||
}
|
||||
}
|
||||
|
||||
type adaptingHelper struct {
|
||||
modernHelper parser.ExprHelper
|
||||
}
|
||||
|
||||
// Copy the input expression with a brand new set of identifiers.
|
||||
func (ah *adaptingHelper) Copy(e *exprpb.Expr) *exprpb.Expr {
|
||||
return mustAdaptToProto(ah.modernHelper.Copy(mustAdaptToExpr(e)))
|
||||
}
|
||||
|
||||
// LiteralBool creates an Expr value for a bool literal.
|
||||
func (ah *adaptingHelper) LiteralBool(value bool) *exprpb.Expr {
|
||||
return mustAdaptToProto(ah.modernHelper.NewLiteral(types.Bool(value)))
|
||||
}
|
||||
|
||||
// LiteralBytes creates an Expr value for a byte literal.
|
||||
func (ah *adaptingHelper) LiteralBytes(value []byte) *exprpb.Expr {
|
||||
return mustAdaptToProto(ah.modernHelper.NewLiteral(types.Bytes(value)))
|
||||
}
|
||||
|
||||
// LiteralDouble creates an Expr value for double literal.
|
||||
func (ah *adaptingHelper) LiteralDouble(value float64) *exprpb.Expr {
|
||||
return mustAdaptToProto(ah.modernHelper.NewLiteral(types.Double(value)))
|
||||
}
|
||||
|
||||
// LiteralInt creates an Expr value for an int literal.
|
||||
func (ah *adaptingHelper) LiteralInt(value int64) *exprpb.Expr {
|
||||
return mustAdaptToProto(ah.modernHelper.NewLiteral(types.Int(value)))
|
||||
}
|
||||
|
||||
// LiteralString creates am Expr value for a string literal.
|
||||
func (ah *adaptingHelper) LiteralString(value string) *exprpb.Expr {
|
||||
return mustAdaptToProto(ah.modernHelper.NewLiteral(types.String(value)))
|
||||
}
|
||||
|
||||
// LiteralUint creates an Expr value for a uint literal.
|
||||
func (ah *adaptingHelper) LiteralUint(value uint64) *exprpb.Expr {
|
||||
return mustAdaptToProto(ah.modernHelper.NewLiteral(types.Uint(value)))
|
||||
}
|
||||
|
||||
// NewList creates a CreateList instruction where the list is comprised of the optional set
|
||||
// of elements provided as arguments.
|
||||
func (ah *adaptingHelper) NewList(elems ...*exprpb.Expr) *exprpb.Expr {
|
||||
return mustAdaptToProto(ah.modernHelper.NewList(mustAdaptToExprs(elems)...))
|
||||
}
|
||||
|
||||
// NewMap creates a CreateStruct instruction for a map where the map is comprised of the
|
||||
// optional set of key, value entries.
|
||||
func (ah *adaptingHelper) NewMap(entries ...*exprpb.Expr_CreateStruct_Entry) *exprpb.Expr {
|
||||
adaptedEntries := make([]ast.EntryExpr, len(entries))
|
||||
for i, e := range entries {
|
||||
adaptedEntries[i] = mustAdaptToEntryExpr(e)
|
||||
}
|
||||
return mustAdaptToProto(ah.modernHelper.NewMap(adaptedEntries...))
|
||||
}
|
||||
|
||||
// NewMapEntry creates a Map Entry for the key, value pair.
|
||||
func (ah *adaptingHelper) NewMapEntry(key *exprpb.Expr, val *exprpb.Expr, optional bool) *exprpb.Expr_CreateStruct_Entry {
|
||||
return mustAdaptToProtoEntry(
|
||||
ah.modernHelper.NewMapEntry(mustAdaptToExpr(key), mustAdaptToExpr(val), optional))
|
||||
}
|
||||
|
||||
// NewObject creates a CreateStruct instruction for an object with a given type name and
|
||||
// optional set of field initializers.
|
||||
func (ah *adaptingHelper) NewObject(typeName string, fieldInits ...*exprpb.Expr_CreateStruct_Entry) *exprpb.Expr {
|
||||
adaptedEntries := make([]ast.EntryExpr, len(fieldInits))
|
||||
for i, e := range fieldInits {
|
||||
adaptedEntries[i] = mustAdaptToEntryExpr(e)
|
||||
}
|
||||
return mustAdaptToProto(ah.modernHelper.NewStruct(typeName, adaptedEntries...))
|
||||
}
|
||||
|
||||
// NewObjectFieldInit creates a new Object field initializer from the field name and value.
|
||||
func (ah *adaptingHelper) NewObjectFieldInit(field string, init *exprpb.Expr, optional bool) *exprpb.Expr_CreateStruct_Entry {
|
||||
return mustAdaptToProtoEntry(
|
||||
ah.modernHelper.NewStructField(field, mustAdaptToExpr(init), optional))
|
||||
}
|
||||
|
||||
// Fold creates a fold comprehension instruction.
|
||||
//
|
||||
// - iterVar is the iteration variable name.
|
||||
// - iterRange represents the expression that resolves to a list or map where the elements or
|
||||
// keys (respectively) will be iterated over.
|
||||
// - accuVar is the accumulation variable name, typically parser.AccumulatorName.
|
||||
// - accuInit is the initial expression whose value will be set for the accuVar prior to
|
||||
// folding.
|
||||
// - condition is the expression to test to determine whether to continue folding.
|
||||
// - step is the expression to evaluation at the conclusion of a single fold iteration.
|
||||
// - result is the computation to evaluate at the conclusion of the fold.
|
||||
//
|
||||
// The accuVar should not shadow variable names that you would like to reference within the
|
||||
// environment in the step and condition expressions. Presently, the name __result__ is commonly
|
||||
// used by built-in macros but this may change in the future.
|
||||
func (ah *adaptingHelper) Fold(iterVar string,
|
||||
iterRange *exprpb.Expr,
|
||||
accuVar string,
|
||||
accuInit *exprpb.Expr,
|
||||
condition *exprpb.Expr,
|
||||
step *exprpb.Expr,
|
||||
result *exprpb.Expr) *exprpb.Expr {
|
||||
return mustAdaptToProto(
|
||||
ah.modernHelper.NewComprehension(
|
||||
mustAdaptToExpr(iterRange),
|
||||
iterVar,
|
||||
accuVar,
|
||||
mustAdaptToExpr(accuInit),
|
||||
mustAdaptToExpr(condition),
|
||||
mustAdaptToExpr(step),
|
||||
mustAdaptToExpr(result),
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
// Ident creates an identifier Expr value.
|
||||
func (ah *adaptingHelper) Ident(name string) *exprpb.Expr {
|
||||
return mustAdaptToProto(ah.modernHelper.NewIdent(name))
|
||||
}
|
||||
|
||||
// AccuIdent returns an accumulator identifier for use with comprehension results.
|
||||
func (ah *adaptingHelper) AccuIdent() *exprpb.Expr {
|
||||
return mustAdaptToProto(ah.modernHelper.NewAccuIdent())
|
||||
}
|
||||
|
||||
// GlobalCall creates a function call Expr value for a global (free) function.
|
||||
func (ah *adaptingHelper) GlobalCall(function string, args ...*exprpb.Expr) *exprpb.Expr {
|
||||
return mustAdaptToProto(ah.modernHelper.NewCall(function, mustAdaptToExprs(args)...))
|
||||
}
|
||||
|
||||
// ReceiverCall creates a function call Expr value for a receiver-style function.
|
||||
func (ah *adaptingHelper) ReceiverCall(function string, target *exprpb.Expr, args ...*exprpb.Expr) *exprpb.Expr {
|
||||
return mustAdaptToProto(
|
||||
ah.modernHelper.NewMemberCall(function, mustAdaptToExpr(target), mustAdaptToExprs(args)...))
|
||||
}
|
||||
|
||||
// PresenceTest creates a Select TestOnly Expr value for modelling has() semantics.
|
||||
func (ah *adaptingHelper) PresenceTest(operand *exprpb.Expr, field string) *exprpb.Expr {
|
||||
op := mustAdaptToExpr(operand)
|
||||
return mustAdaptToProto(ah.modernHelper.NewPresenceTest(op, field))
|
||||
}
|
||||
|
||||
// Select create a field traversal Expr value.
|
||||
func (ah *adaptingHelper) Select(operand *exprpb.Expr, field string) *exprpb.Expr {
|
||||
op := mustAdaptToExpr(operand)
|
||||
return mustAdaptToProto(ah.modernHelper.NewSelect(op, field))
|
||||
}
|
||||
|
||||
// OffsetLocation returns the Location of the expression identifier.
|
||||
func (ah *adaptingHelper) OffsetLocation(exprID int64) common.Location {
|
||||
return ah.modernHelper.OffsetLocation(exprID)
|
||||
}
|
||||
|
||||
// NewError associates an error message with a given expression id.
|
||||
func (ah *adaptingHelper) NewError(exprID int64, message string) *Error {
|
||||
return ah.modernHelper.NewError(exprID, message)
|
||||
}
|
||||
|
||||
func mustAdaptToExprs(exprs []*exprpb.Expr) []ast.Expr {
|
||||
adapted := make([]ast.Expr, len(exprs))
|
||||
for i, e := range exprs {
|
||||
adapted[i] = mustAdaptToExpr(e)
|
||||
}
|
||||
return adapted
|
||||
}
|
||||
|
||||
func mustAdaptToExpr(e *exprpb.Expr) ast.Expr {
|
||||
out, _ := adaptToExpr(e)
|
||||
return out
|
||||
}
|
||||
|
||||
func adaptToExpr(e *exprpb.Expr) (ast.Expr, *Error) {
|
||||
if e == nil {
|
||||
return nil, nil
|
||||
}
|
||||
out, err := ast.ProtoToExpr(e)
|
||||
if err != nil {
|
||||
return nil, wrapErr(e.GetId(), "proto conversion failure", err)
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func mustAdaptToEntryExpr(e *exprpb.Expr_CreateStruct_Entry) ast.EntryExpr {
|
||||
out, _ := ast.ProtoToEntryExpr(e)
|
||||
return out
|
||||
}
|
||||
|
||||
func mustAdaptToProto(e ast.Expr) *exprpb.Expr {
|
||||
out, _ := adaptToProto(e)
|
||||
return out
|
||||
}
|
||||
|
||||
func adaptToProto(e ast.Expr) (*exprpb.Expr, *Error) {
|
||||
if e == nil {
|
||||
return nil, nil
|
||||
}
|
||||
out, err := ast.ExprToProto(e)
|
||||
if err != nil {
|
||||
return nil, wrapErr(e.ID(), "expr conversion failure", err)
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func mustAdaptToProtoEntry(e ast.EntryExpr) *exprpb.Expr_CreateStruct_Entry {
|
||||
out, _ := ast.EntryExprToProto(e)
|
||||
return out
|
||||
}
|
||||
|
||||
func toParserHelper(meh MacroExprHelper) (parser.ExprHelper, *Error) {
|
||||
ah, ok := meh.(*adaptingHelper)
|
||||
if !ok {
|
||||
return nil, common.NewError(0,
|
||||
fmt.Sprintf("unsupported macro helper: %v (%T)", meh, meh),
|
||||
common.NoLocation)
|
||||
}
|
||||
return ah.modernHelper, nil
|
||||
}
|
Reference in New Issue
Block a user