From ca5a50dbaf3d9191fa83a55fd55c0df16397dfaf Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Tue, 29 Aug 2023 02:41:22 +0000 Subject: [PATCH] upgrade to latest dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bumping github.com/matttproud/golang_protobuf_extensions c182aff...c182aff: bumping go.uber.org/multierr 10aaa3c...8767aa9: > 8767aa9 Prepare release v1.10 (# 74) > 4504ef7 README: Add Features section (# 73) > 2fd451d Drop external atomic dependency (# 72) > 7876a02 Remove unused glide.yaml (# 71) > 55bc553 Support Go 1.20 Unwrap() []error (# 69) > 39ca40c Prepare release v1.9.0 (# 68) > 4459990 Add a shorthand for AppendInvoke (# 65) > 80b07a7 Document named return constraint for defer (# 63) > 492b792 Test and lint against Go 1.19 (# 62) > aa8f15f Upgrade to yaml.v3 3.0.1 (# 60) > f46d400 Use append instead of copy to clone slices (# 58) > 6fede5c CI: Test against Go 1.17/1.18 (# 57) bumping knative.dev/eventing 248a471...eacaac5: > eacaac5 deprecate kntest (# 7211) > b5a4460 Added rekt test for broker eventtype autocreate (# 7202) > d547e2d [main] Format Go code (# 7206) > 25f7e03 Reflect on e2e flags that PingSource is now v1 (# 7208) > 0e8b7ca Move eventtype rekttest pingsource to experiment (# 7180) > 08cf00f Add rekt test for "Any" filter (# 7130) > 11f1ee4 Added rekt test for channel event autocreate (# 7198) > 0045fa9 Broker eventtype autocreate fixes (# 7161) > 7749771 Added benchmark for any filter (# 7195) > 4d8da11 Upgrade to latest dependencies (# 7190) > a2e2aa3 Eventing TLS: Test SinkBinding with Broker as sink (# 7172) > d8a2ad5 change the deprecated string (# 7179) > 0e88db1 Switch to trigger.WithNewFilters() to set trigger filter (# 7188) > 9d2bcef Add kind e2e tests for Kubernetes v1.27.3 (# 7139) > 2b02cb4 Add OIDC Authentication feature flag (# 7183) > 29ac3ee [main] Upgrade to latest dependencies (# 7170) > 8e9ab2a [main] Update community files (# 7171) > 742c45e Create new trigger rekt helper functions (# 7135) > 1b1b690 Test ApiServerSource with Broker as sink (# 7151) > ea81855 [main] Upgrade to latest dependencies (# 7164) > abba035 Fix unique name generator for auto-created EventType (# 7160) > 8eaf932 Added .env files to the gitignore (# 7162) > 56e9420 [main] Upgrade to latest dependencies (# 7157) > 7636997 [main] Update community files (# 7159) > e255593 Update to kind v0.20.0 (# 7138) > 763eb0c [main] Upgrade to latest dependencies (# 7156) > 4a77f6f [main] Upgrade to latest dependencies (# 7155) > 8d5cfd9 Rename knative-sandbox to knative-extensions (# 7137) > f614df3 [main] Upgrade to latest dependencies (# 7143) > ce3b0c8 [main] Update community files (# 7152) > 6ab1a21 Remove deprecated kncloudevents.CloudEventsRequest (# 7146) > 67b3bf5 Set cluster domain suffix in TLS manifests correctly (# 7145) > 55225e0 Install Kail from source in test_setup (# 7150) > 37a5651 Fix retryAfter experimental e2e test (# 7148) > 0fd9aa1 Benchmark Base SubscriptionsAPI filters (# 7121) > 8a90e40 TLS certificate rotation tests (# 7103) > bfba6fd Use correct cluster domain in e2e tests (# 7140) > 91e156c [main] Upgrade to latest dependencies (# 7131) > 3915df7 Refactor kncloudevents and add `SendEvent` function (# 7092) > 8a09756 [main] Update actions (# 7136) > de2e8ff Global resync brokers on config-features changes (# 7126) > 5e76ff2 Watch config-features in IMC controller (# 7125) > 63fd638 Introduce a script to build and deploy Eventing for local development (# 7117) > 694ae3e Fix edit role aggregation (# 7124) > 187be65 [main] Upgrade to latest dependencies (# 7123) > ffa5915 Remove deprecated httpclient msgsender (# 7018) > 874d288 [main] Update community files (# 7116) bumping google.golang.org/genproto/googleapis/api 1aefcd6...f966b18: > f966b18 chore(googleapis): remove obsolete types referencing field_mask package (# 1042) > e0aa005 chore(all): update all (# 1033) > cbb8c96 chore(all): update all (major) (# 1041) > 23370e0 chore(all): auto-regenerate .pb.go files (# 1039) > b022f6e chore(all): auto-regenerate .pb.go files (# 1038) > 66ad5b6 chore(all): update all (major) (# 1037) > 659f7aa chore(all): auto-regenerate .pb.go files (# 1036) > 3f92550 chore(all): update all (major) (# 1024) > 782d3b1 chore: remove gaming (# 1032) > e685fd7 chore(all): update all (# 1031) > ccb25ca chore(all): update all (# 1022) > f517056 chore(all): add go.work and fix apidiff (# 1030) > 9506855 chore(all): auto-regenerate .pb.go files (# 1028) > 1f95444 chore(all): auto-regenerate .pb.go files (# 1026) > e449d1e chore(all): update apidiff.yaml for submodules (# 1027) > 9b080da chore(all): auto-regenerate .pb.go files (# 1025) > e85fd2c chore: bump deps (# 1020) > 71b5a4f chore(all): update README with submodules warning (# 1017) > 0005af6 chore(all): update genproto reference to api/rpc submodule versions with back-reference (# 1016) > 6ee61e4 chore(all): format doc.go (# 1013) > 86246a8 chore(all): update modules: googleapis/bytestream, googleapis/api/apikeys, googleapis/api/servicemanagement, googleapis/api/servicecontrol, googleapis/api/serviceusage > dd9d682 chore(all): update modules: googleapis/api > 28d5490 chore(all): update modules: googleapis/rpc > 438c736 chore(all): update modules: genproto bumping github.com/benbjohnson/clock 307483a...68df829: > 68df829 Merge pull request # 41 from morigs/master > 5178ebe Merge pull request # 40 from djmitche/issue39 > b6e5242 Add essential context tests > 1ae85fe Merge pull request # 37 from djmitche/issue8 > 26f124e add docs badge to README > a284242 Remove meaningles callback for cancelled context > 0a12ec5 Merge pull request # 38 from djmitche/issue29 > 47e2ce0 use atomics instead of channels > 3e4357c Use Until instead of Sub in WithDeadline > 4378ee0 Merge pull request # 36 from djmitche/issue30 > eb95674 Apply suggestions from code review > 99d58a2 Use channels to avoid races in tests > 6754fcb Add mock implementation of context methods and type check > f495692 Merge pull request # 35 from djmitche/issue33 > 850609f add a Duration type alias > 37a1270 add Until > 83715db Add context WithDeadline/WithTimeout methods to Clock interface > 5ad814c add note about maintenance > 0b9476f Address re-entrancy of Tick > f7a1d13 Merge pull request # 34 from djmitche/test-fixes > c97fc7b Merge pull request # 28 from dcherman/master > ae80999 Fix tests to not call t.Fatal from a goroutine > 4031354 Merge pull request # 26 from narqo/patch-1 > 0f43ae6 Implement reset for mocked tickers > 9d456ff Fix typo in Ticker example bumping golang.org/x/sys a1a9c4b...104d401: > 104d401 unix: add riscv_hwprobe for riscv64 > 70f4e40 unix: retry fetching of lists through sysctl if the size changes > ad7130c unix: add more block device ioctl numbers > c406141 all: fix some typos > 25d0004 unix: fix last argument of pselect6 on linux > 706fa98 windows: remove repetitive words > 3fead03 unix: add Mremap for netbsd bumping golang.org/x/sync 1ea3257...93782cc: > 93782cc errgroup: use WithCancelCause to cancel context > 4966af6 singleflight: example for using Group > a6666c1 go.mod: upgrade to go 1.17 bumping knative.dev/hack ddae802...9cc05a3: > 9cc05a3 Deprecate calling kubetest2 via kntest (# 230) > 044c02b Update community files (# 309) > 3403e35 Update e2e-kind.sh (# 308) > ab12e24 Update community files (# 306) > a75befb Update community files (# 305) > d7fde30 Added knative-extensions (# 293) > 338500e Update actions (# 304) > 6f48889 Update community files (# 303) bumping knative.dev/pkg aef227e...81e4ee1: > 81e4ee1 Bump go.uber.org/zap from 1.24.0 to 1.25.0 (# 2800) > 2aafe0e Bump cloud.google.com/go/storage from 1.31.0 to 1.32.0 (# 2801) > 2ad39e9 Bump github.com/hashicorp/golang-lru from 0.5.4 to 1.0.2 (# 2804) > d36cc59 Bump google.golang.org/api from 0.136.0 to 0.138.0 (# 2802) > 35b0890 Bump go.uber.org/automaxprocs from 1.4.0 to 1.5.3 (# 2803) > 93a9858 upgrade to latest dependencies (# 2799) > 4f651e0 Bump gomodules.xyz/jsonpatch/v2 from 2.2.0 to 2.3.0 (# 2789) > 6519aff Update community files (# 2794) > 26b41ba Bump google.golang.org/api from 0.126.0 to 0.136.0 (# 2790) > 42a4ec1 Bump contrib.go.opencensus.io/exporter/prometheus from 0.4.0 to 0.4.2 (# 2793) > 404648b Bump golang.org/x/oauth2 from 0.8.0 to 0.11.0 (# 2792) > a6e28fc Bump golang.org/x/tools from 0.11.0 to 0.12.0 (# 2791) > b409e16 Bump github.com/openzipkin/zipkin-go from 0.3.0 to 0.4.1 (# 2785) > cceb144 Update community files (# 2788) > ea6c1f2 Bump github.com/gobuffalo/flect from 0.2.4 to 1.0.2 (# 2786) > 936112b Bump golang.org/x/net from 0.12.0 to 0.14.0 (# 2787) > 79fa1f6 Bump cloud.google.com/go/storage from 1.30.1 to 1.31.0 (# 2784) > 7333c86 Update community files (# 2781) > 6d68d7f upgrade to latest dependencies (# 2780) > 8d3f951 Allow overriding webhook secret data keys (# 2662) > c11003a Use go sync/atomic instead of go.uber.org/atomic (# 2777) > b3a65a0 Bump github.com/gorilla/websocket from 1.4.2 to 1.5.0 (# 2775) > e888f79 rename-sandbox (# 2779) > 532e082 Update actions (# 2778) > 72f2648 Bump go.uber.org/zap from 1.19.1 to 1.24.0 (# 2774) > 7b50f3c Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 (# 2771) > 1ea9b2d Bump github.com/tsenart/vegeta/v12 from 12.8.4 to 12.11.0 (# 2772) > 4866914 Fix github action for dependabot (# 2776) > edf95e6 Bump actions/setup-go from 3 to 4 (# 2770) > 801a900 Add dependabot and auto update deps (# 2768) > aa56e29 Update community files (# 2769) bumping golang.org/x/mod 69aa7ac...baa5c2d: > baa5c2d all: add godoc links > 7603649 zip: fix TestCreateFromDirSpecial/ignore_symlink on wasmtime > 22d21f4 zip: fix doc for CreateFromVCS function > bfed713 zip: fix LICENSE file handling to match modfetch > 62c7e57 sumdb: handle panic from c.ReadRemote during ReadTiles > 2a1c06a modfile: update toolchain syntax > e81ad10 sumdb: correct spelling mistakes > e343115 sumdb: add missing return after http.Error > fc83a8f modfile: add support for dropping go and toolchain stmts > 1846133 modfile: add parsing support for toolchain > a73672d modfile: add support for go and toolchain lines > e7bea8f modfile: use semantic sort for exclude blocks > ad6fd61 zip: fix on Windows bumping golang.org/x/term edd9fb7...19e73c2: > 19e73c2 go.mod: update golang.org/x dependencies bumping contrib.go.opencensus.io/exporter/prometheus f3a7283...e6b6b80: > e6b6b80 Merge pull request # 30 from bogdandrutu/updatedeps > aaaf212 Merge pull request # 28 from wincus/update-prometheus > 75046ad Upgrade all deps to lastest > bf25aba update prometheus golang client bumping github.com/go-kit/log 71fa7d7...0b69c70: > 0b69c70 Allow to configure allowed levels by string value (# 22) > 3752ef7 Update CI and add badges to README (# 21) > 2b8dc2b fix safeError & safeString for json format (# 20) bumping github.com/prometheus/statsd_exporter ef6627b...c2505cf: > c2505cf Release 0.22.7 > 8f351a5 Merge pull request # 450 from prometheus/superq/update_build > 3b9ef1f Update changelog & release 0.22.6 > b1068d0 Update build > 9d4eeda Merge pull request # 449 from prometheus/mr/dependency-update > 9115f0f Merge pull request # 447 from pedro-stanaka/feat/doc-special-regex-match > c2c1af1 housekeeping: update dependencies > 3a63a4b Merge pull request # 445 from SandroJijavadze/fix-443-flaky-test > 6ef0b3b Changing issue number for tracking support for globbling > 848212e Merge pull request # 440 from prometheus/repo_sync > 2ab624a fix flaky test gosched hack > 1a14821 Adding note about behavior of .+ regex > d90c8ff Merge pull request # 441 from pedro-stanaka/fix/benchmarks-mapper > c753dfa Update common Prometheus files > f935a9c Adding documentation about special regex match group > 0d22f85 Merge pull request # 436 from prometheus/repo_sync > 6e341dd Fixing broken benchmark for mapper > c714dcd Add # 434 to release notes > b8504ed Update common Prometheus files > dcddbc4 Merge pull request # 434 from pedro-stanaka/relay-new-line-count-metric > 4d07e28 Release 0.22.5 > d46243a Update Year > ada7248 Merge pull request # 432 from prometheus/mr/go-image > 0de518d Adding new metric to keep track of total relayed lines > 99a94fa Merge pull request # 433 from prometheus/revert-429-relay-new-line-count-metric > 3427e36 Switch to cimg/go for build+test > e416ec1 Merge pull request # 429 from pedro-stanaka/relay-new-line-count-metric > 4b69838 Revert "New metric for total lines relayed" > f8fc001 Merge pull request # 431 from prometheus/repo_sync > fbf7837 Fixing linting problems on new code > 0cb34c7 Merge pull request # 430 from prometheus/repo_sync > 542ee7c Update common Prometheus files > d015cda Adding new test section to check on metrics > 4ad11fc Merge pull request # 426 from prometheus/repo_sync > 549a96a Update common Prometheus files > 2d339b0 Adding new metric to relay > 4a086bc Merge pull request # 423 from prometheus/repo_sync > 2f5add4 Update common Prometheus files > 60742e1 Adding metric testing on relay > 161f982 Merge pull request # 422 from prometheus/repo_sync > 55e536b Update common Prometheus files > 78dcd3b Adding new simple test to relay package > 1a1dd2d Merge pull request # 421 from prometheus/repo_sync > 5654505 Update common Prometheus files > c481b95 Merge pull request # 419 from prometheus/repo_sync > b8462d0 Update common Prometheus files > db4a4f2 Merge pull request # 415 from prometheus/repo_sync > b122283 Update common Prometheus files > 5c6c8a2 Merge pull request # 412 from prometheus/repo_sync > 83180ae Update common Prometheus files > 7e2fe6c Bump version & add changelog for # 409 # 410 > a32a9da Update common Prometheus files > 7ba3f6a Merge pull request # 409 from aleksandr-vin/aleksandr-vin-patch-1 > 6a5a089 Merge pull request # 410 from mattdurham/use_instance_registry > 258c8c0 Set numeric user to comply runAsNonRoot k8s policy > 6564725 Merge pull request # 411 from prometheus/repo_sync > aadb43e Use the instance registry instead of the prometheus.registry > fae515f Merge pull request # 405 from prometheus/repo_sync > bfdf4dd Update common Prometheus files > 16d4f31 Release 0.22.3 > 339c8ef Update common Prometheus files > 6c02839 Merge pull request # 402 from agneum/389-allow-multiple-dashes > d0d948e Merge pull request # 404 from agneum/364-enable-more-linters > b6fc5de fix linter warnings: goimports, wsl > 69b17ee Merge pull request # 403 from prometheus/repo_sync > 697eb33 fix: remove vendor and disable-all options, disable the errcheck linter > 2ab2c44 feat: handle double dashes in unmapped metrics (# 389) > 95d3444 Merge pull request # 401 from prometheus/repo_sync > f699c4a Update common Prometheus files > b609892 feat: enable more linters and fix warnings (# 364) > 5c8622a Merge pull request # 400 from prometheus/beorn7/deprecation > 83513ab Update common Prometheus files > d4e89cd Merge pull request # 398 from prometheus/repo_sync > 4946fc8 Add deprecation note to pkg directory > f789413 Merge pull request # 395 from prometheus/superq/release_0.22.2 > f0c6a23 Update common Prometheus files > 884a8c0 Merge pull request # 393 from prometheus/superq/relay_metrics > 9200507 Release 0.22.2 > f39c9c3 Merge pull request # 392 from prometheus/mr/update-scenarios > ae26c50 Add metrics to relay > 9b31bb8 Add changelog entry for # 390 & # 388 > f5c6a55 Update transition scenarios > e86e67a Merge pull request # 388 from prometheus/superq/relay > b04eba2 Merge pull request # 391 from prometheus/superq/go1.17 > 0b84893 Add statsd relay > 6c43ebb Merge pull request # 390 from royeo/feature/replace-level-pkg > 37da8dd Update build for Go 1.17 > d57c8b1 Changelog for # 381 > 6329577 refactor: replace level pkg > a9c883a Merge pull request # 381 from evandam/allow-multi-dash > f9fea18 Skip version 0.22.0 > abb7ec0 allow multiple dashes in StatsD metric names > e849909 Merge pull request # 382 from prometheus/repo_sync > eea2c0f Back out of release 0.22.0 > 42158f5 Manually sync Makefile.common > 828d50c Merge pull request # 387 from prometheus/revert-385-master > 1f53a74 Update common Prometheus files > efdf113 Release 0.22.0 > c4f435e Revert "replace level pkg" > e395798 Merge pull request # 386 from royeo/feature/pprof > 4c8028e Merge pull request # 385 from royeo/master > f4fe58d use http.DefaultServeMux to support pprof > c3a818e replace level pkg bumping google.golang.org/genproto/googleapis/rpc 9506855...1744710: > 1744710 chore(all): update all (# 1043) > f966b18 chore(googleapis): remove obsolete types referencing field_mask package (# 1042) > e0aa005 chore(all): update all (# 1033) > cbb8c96 chore(all): update all (major) (# 1041) > 23370e0 chore(all): auto-regenerate .pb.go files (# 1039) > b022f6e chore(all): auto-regenerate .pb.go files (# 1038) > 66ad5b6 chore(all): update all (major) (# 1037) > 659f7aa chore(all): auto-regenerate .pb.go files (# 1036) > 3f92550 chore(all): update all (major) (# 1024) > 782d3b1 chore: remove gaming (# 1032) > e685fd7 chore(all): update all (# 1031) > ccb25ca chore(all): update all (# 1022) > f517056 chore(all): add go.work and fix apidiff (# 1030) bumping gomodules.xyz/jsonpatch/v2 93a4daf...13a9e4a: > 13a9e4a Merge pull request # 36 from howardjohn/v2/improvements > 62e0c90 Update repository config (# 33) > 6d5c3df Fully remove dead code > 0c26413 Update repository config (# 32) > 45186ed (hackily) remove inefficient optimization > e0f6c24 Fix known broken case > c616a48 Fix marshaling invalid chars > 2c05a51 Fix inputs with empty keys > 1f7eb13 Improve fuzz tests > 471fa30 Fix CI > 4844bbf Add fuzzing test > 87f8876 add benchmarks > a81e531 Go.mod for go 1.20 > fc9e957 Update to Go 1.20 bumping google.golang.org/grpc 5b67e5e...87bf02a: > 87bf02a Change version to 1.57.0 (# 6448) > 6b64be9 resolver/weighted_round_robin: remove experimental suffix from name > 9489082 github: replace deprecated command with environment file (# 6417) > d1868a5 clusterresolver: add logs for dns discovery mechanism error cases (# 6444) > 8e9c8f8 grpc: do not use balancer attributes during address comparison (# 6439) > db32c5b Fix preloader mode in benchmarks (# 6359) > f0280f9 xds: require EDS service name in new-style CDS clusters (gRFC A47) (# 6438) > bf5b7ae clusterresolver: handle EDS nacks and resource-not-found errors correctly (# 6436) > fc0aa46 client: encode the authority by default (# 6428) > 11feb0a resolver: delete Target.Scheme and Target.Authority (# 6363) > df3e021 status: fix panic when servers return a wrapped error with status OK (# 6374) > acbfcbb internal/grpcsync: refactor test (# 6427) > 51042db internal/grpcsync: Provide an internal-only pub-sub type API (# 6167) > 620a118 xds/internal/balancer/clusterimpl: Switch cluster impl child to graceful switch (# 6420) > 6b8f427 orca: remove useless log statement (# 6424) > ea492f5 xdsclient: indicate authority serverURI in authority + transport logs (# 6425) > 67e881c xds: E2E Test for Audit Logging (# 6377) > 07718ef internal/xds/rbac: Add support for string matcher in RBAC header matching (# 6419) > 575a936 xds: Fail xDS Server Serve() if called after Stop() or GracefulStop() (# 6410) > 7eb5727 xds: switch EDS watch to new generic xdsClient API (# 6414) > e859984 server: with TLS, set TCP user timeout on the underlying raw connection (# 5646) (# 6321) > 1634254 rpc_util: Reuse memory buffer for receiving message (# 5862) > 789cf4e reflection: rename proto imports for disambiguation in import script (# 6411) > 0673105 clusterresolver: switch a couple of tests to e2e style (# 6394) > 0b3a81e clusterresolver: remove priority LB related tests (# 6395) > dd931c8 xds: clusterresolver e2e test cleanup (# 6391) > 10f5b50 [PSM interop] Don't fail target if sub-target already failed (# 6390) > 963238a clusterresolver: move tests around to different files (# 6392) > f24b4c7 clusterresolver: remove redundant tests (# 6388) > a9c7942 benchmark: Add support for Poisson load in benchmark client (# 6378) > dd350d0 stats/opencensus: Fix flaky metrics test (# 6372) > 642dd63 reflection: expose both v1 and v1alpha reflection services (# 6329) > 3c6084b xds/outlierdetection: fix config handling (# 6361) > 3e8eca8 Revert "client: encode the authority by default (# 6318)" (# 6365) > 1c0572a benchmark: fix package used to reference service to use grpc suffix instead of pb (# 6362) > 7a7caf3 protoc-gen-go-grpc: Update README.md file (# 6349) > 89790ea grpclb: fix typo (# 6356) > 907bdaa alts: Read max number of concurrent ALTS handshakes from environment variable. (# 6267) > 2ac1aae weightedroundrobin: prefer application_utilization to cpu_utilization (# 6358) > 7aeea8f orca: add application utilization and range checking (# 6357) > 6578ef7 client: handle empty address lists correctly in addrConn.updateAddrs (# 6354) > 761c084 xds/ringhash: cache connectivity state of subchannels inside picker (# 6351) > 1b66663 benchmark: Add sleepBetweenRPCs and connections parameters (# 6299) > 81c513a opencensus: stop overwriting ctx parameter in tests (# 6350) > 68576b3 client: encode the authority by default (# 6318) > c9d3ea5 deps: google.golang.org/genproto to latest in all modules (# 6319) > 02188e6 Change version to 1.57.0-dev (# 6346) bumping knative.dev/networking 75dcd54...1e4e183: > 1e4e183 Improve InternalTLSEnabled util function (# 847) > 1d7920d upgrade to latest dependencies (# 845) > 4bfcc9f Network Config Changes (# 842) > 4901742 upgrade to latest dependencies (# 844) > ed0534b Update community files (# 843) > e50e66f upgrade to latest dependencies (# 841) > 1632591 correct readme link (# 840) > 04f25c2 Update community files (# 838) > 29c1660 upgrade to latest dependencies (# 837) > f25e82a Update community files (# 836) > c39ba8f upgrade to latest dependencies (# 835) > e8f7562 upgrade to latest dependencies (# 834) > 29da3ac rename-sandbox (# 833) > 23adcb7 Update actions (# 832) > 964322c Fix comment for old config (# 831) > b13f88f Update community files (# 829) bumping golang.org/x/net c73c09c...c8c0290: > c8c0290 go.mod: update golang.org/x dependencies > 0b21d06 quic: framework for testing blocking operations > 4648651 quic: add -vv flag for more verbose tests > 60ae793 quic: don't send session tickets > a7da556 http2: optimize buffer allocation in transport > 167593b quic: create and accept streams > 8ffa475 html: only render content literally in the HTML namespace > 63fe334 quic: gate and queue synchronization primitives > bd8ac9e quic: fill out connection id handling > 08001cc quic: debug logging of packets > dd0aa33 quic: tls handshake > 5e678bb quic: CRYPTO stream handling > dd5bc96 internal/quic: deflake TestConnTestConn > d0912d4 quic: add pipe type > 8db2ead quic: transport parameter encoding and decoding > 0adcadf quic: send and receive datagrams > 16cc77a quic: print better stacks on SIGQUIT > 4a3f925 quic: basic connection event loop > 57553cb quic: connection ids > 304cc91 quic: tracking of received packets and acks to send > 9475ce1 quic: fix typos in comments > d8f9c01 dns/dnsmessage: add fuzz test > 8126108 dns/dnsmessage: update Parser docs > a1613c2 http2: handle trailing colon in authorityAddr bumping github.com/prometheus/client_golang 254e546...3583c1e: > 3583c1e Cut v1.16.0 (# 1292) > 2feda42 Fixed README & CHANGELOG; Added fmt makefile command (+bingo) for easier contributions. (# 1289) > 5b9cf9c Merge pull request # 1290 from prometheus/fix-nh-docstring-refs > 7352ab7 Moving fully to GH actions. (# 1288) > 1b19d5f Fix docstring references to renamed native histogram fields / functions. > e4ff34d Improve metricUnits runtime (# 1286) > 781ea28 added circleci as gh action YAML (# 1281) > a09a1d3 Reduce constrainLabels allocations (# 1272) > 8840afc Bump github.com/prometheus/procfs from 0.9.0 to 0.10.1 (# 1283) > 5e78d5f Merge pull request # 1279 from prometheus/beorn7/histogram > b8cb86a add process start time header to client_golang prometheus (# 1278) > 77e97da histogram: Fix bug in bucket key calculation > 8b1a836 GitHub Workflows security hardening (# 1180) > 3094812 histogram: expose bug in bucket key calculation > f51d823 Merge pull request # 1267 from prometheus/release-1.15 > 297fea3 fix undefined execution order in return statements (# 1260) > 4bbb297 Cut 1.15.1 (# 1266) > 0f060a0 Add detection for WSL address (# 1257) > 2eaffbd Merge pull request # 1253 from prometheus/fixpro > 8a51463 Cleanup proto use in tests (# 1264) > d7896d4 Cut v1.15.0 (# 1249) > b8fdd23 Added clarification. > 0ae0013 Bump golang.org/x/sys from 0.6.0 to 0.7.0 (# 1265) > bba12b5 Bump github.com/prometheus/common from 0.41.0 to 0.42.0 (# 1244) > 2ea234e Revert "Remove unnecessary check if label is nil in observeWithExemplar (# 1235)" > 671a2f0 Fixed tutorial. (# 1256) > 9015fcf Bump github.com/golang/protobuf from 1.5.2 to 1.5.3 (# 1245) > 90eb83b Added interactive tutorial [kubeCon] (# 1255) > 1bb8cf8 Bump golang.org/x/sys from 0.5.0 to 0.6.0 (# 1246) > c36c6ab [collectors]: fix typo in test assertion (# 1153) > ff7efed Merge pull request # 1243 from prometheus/dependabot/go_modules/google.golang.org/protobuf-1.30.0 > 0392dff Switch to POST for LabelNames, Series, and QueryExemplars to DoGetFallback (# 1252) > 63a3955 Merge pull request # 1238 from jacksontj/issue_621 > 852a282 Bump google.golang.org/protobuf from 1.28.1 to 1.30.0 > e3b6de8 Merge pull request # 1250 from prometheus/release-1.15 > eb33971 Filter expected metrics as well in CollectAndCompare (# 1143) > 6037863 Only set start/end if time is not Zero > 5c7821d Update common Prometheus files (# 1237) > e79d7e7 timer: Added support for exemplars. (# 1233) > 232b949 Added support for go 1.20. (# 1234) > 3726cdd README: Remove not working gocoverage images. (# 1236) > 3ce88f3 Remove unnecessary check if label is nil in observeWithExemplar (# 1235) > 3d2cf0b Indent example in godoc consistently (# 1226) > ffbbe80 Merge pull request # 1225 from prometheus/beorn7/api > 66687e5 Update common Prometheus files (# 1224) > 2236d78 api: Extend and improve json-iterator usage > 2771bcc Add `Header` method to Pusher for custom header (# 1218) > 2fced96 Bump github.com/prometheus/common from 0.37.0 to 0.39.0 (# 1197) > 031748d Update common Prometheus files (# 1213) > b8b41c8 Bump golang.org/x/sys from 0.3.0 to 0.4.0 (# 1217) > d5a9239 Merge pull request # 1198 from prometheus/dependabot/go_modules/github.com/prometheus/procfs-0.9.0 > 40692cb Merge pull request # 1199 from prometheus/dependabot/go_modules/github.com/cespare/xxhash/v2-2.2.0 > 26620fd Bump github.com/prometheus/procfs from 0.8.0 to 0.9.0 > fcdc3ec Add possibility to dynamically get label values for http instrumentation (# 1066) > 14aa203 Bump github.com/cespare/xxhash/v2 from 2.1.2 to 2.2.0 > 27f0506 Bump golang.org/x/text to v0.3.8 to mitigate CVE-2022-32149 (# 1187) > fc5f34c Merge pull request # 1178 from ibreakthecloud/patch-1 > 7f99379 Replace deprecated github.com/golang/protobuf package (# 1183) > a787555 typo fix > e29ed9f Support for multiple samples within same metric (# 1181) > 07b1397 examples: Add exemplars and middleware examples (# 1173) > fae2f63 Add constrained labels and Constrained variant for all MetricVecs (# 1151) > 8b6e680 Merge pull request # 1171 from prometheus/beorn7/histogram > 3d765a1 Add context to "duplicate label names" to enable debugging (# 1177) > 449b464 Merge pull request # 1166 from prometheus/beorn7/doc > 043372e Initialize atomic variables in histogramCounts with atomic.Store... > db41dad Merge pull request # 1164 from prometheus/release-1.14 > b804be1 Fix typo in doc comment > efef903 Rename histogram tests (from sparse to native) bumping go.uber.org/automaxprocs 1c8b231...e83e959: > e83e959 Release v1.5.3 (# 77) > 9440450 Update actions (# 76) > 4b0a5c9 set CI perms to readonly (# 75) > c64632e Drop Go 1.17 and Go 1.18 from CI (# 74) > 60f2278 fix: mountinfo parsing (# 73) > d064ede Fix division by zero (# 71) > f6364fc Release v1.5.2 > e1c1306 Test against Go 1.20 > 77a1338 CI: upgrade staticcheck to v2023.1.2 to make test pass, Add go1.19 > abb2d82 Bump golang.org/x/sys in /tools (# 60) > 58f5aee typo fix in runtime.go > db7cbd0 Merge pull request # 57 from rphillips/fix_leak > 0b356b1 Upgrade to yaml.v3 3.0.1 (# 55) > 1759cfc defer close cpuMaxParams to fix leak > d835ace Support child control cgroups in cgroupsv2 (# 53) > ce572da README: add performance section (# 52) > 297d7ee Release v1.5.1 (# 51) > 721b013 cgroups2: Fix mountpoint detection (# 50) > 2e85815 Release v1.5.0 (# 48) > ad6f05b Support cgroups v2 (# 44) > 7ff767a CI: Run against Go 1.17, 1.18 (# 47) > beef368 ci: Test with Go 1.16/1.17, lint on 1.17 (# 46) > 975e177 maxprocs.go: fix typo (# 45) > 0180b04 fossa: Run separately, only on push (# 40) > 1cf66b1 Integrate FOSSA (# 39) > 6fdb667 ci: Use GitHub Workflow (# 37) bumping google.golang.org/genproto 438c736...f966b18: > f966b18 chore(googleapis): remove obsolete types referencing field_mask package (# 1042) > e0aa005 chore(all): update all (# 1033) > cbb8c96 chore(all): update all (major) (# 1041) > 23370e0 chore(all): auto-regenerate .pb.go files (# 1039) > b022f6e chore(all): auto-regenerate .pb.go files (# 1038) > 66ad5b6 chore(all): update all (major) (# 1037) > 659f7aa chore(all): auto-regenerate .pb.go files (# 1036) > 3f92550 chore(all): update all (major) (# 1024) > 782d3b1 chore: remove gaming (# 1032) > e685fd7 chore(all): update all (# 1031) > ccb25ca chore(all): update all (# 1022) > f517056 chore(all): add go.work and fix apidiff (# 1030) > 9506855 chore(all): auto-regenerate .pb.go files (# 1028) > 1f95444 chore(all): auto-regenerate .pb.go files (# 1026) > e449d1e chore(all): update apidiff.yaml for submodules (# 1027) > 9b080da chore(all): auto-regenerate .pb.go files (# 1025) > e85fd2c chore: bump deps (# 1020) > 71b5a4f chore(all): update README with submodules warning (# 1017) > 0005af6 chore(all): update genproto reference to api/rpc submodule versions with back-reference (# 1016) > 6ee61e4 chore(all): format doc.go (# 1013) > 86246a8 chore(all): update modules: googleapis/bytestream, googleapis/api/apikeys, googleapis/api/servicemanagement, googleapis/api/servicecontrol, googleapis/api/serviceusage > dd9d682 chore(all): update modules: googleapis/api > 28d5490 chore(all): update modules: googleapis/rpc bumping knative.dev/serving f1617ef...ae86b1d: > ae86b1d upgrade to latest dependencies (# 14302) > 43f7526 Do not skip TestTargetBurstCapacity when `dataplane-trust` is not specified (# 14300) > d39a379 Support conformance test with cgroup v2 (# 14297) > c63d9be Fix comment about Cgroup limit (# 14298) > 9ac8996 Update net-istio nightly (# 14293) > 59bfc12 Update net-certmanager nightly (# 14294) > 7aef47b Update net-contour nightly (# 14295) > 90046c3 Don't reset ENV vars (# 14276) > 82747ef Update net-kourier nightly (# 14292) > eaff0b3 upgrade to latest dependencies (# 14290) > 587de3d Update net-kourier nightly (# 14286) > 21264fc Update net-contour nightly (# 14284) > a9b48be Deprecate calling kubetest2 via kntest (# 13329) > 397cfde Update net-istio nightly (# 14285) > e9425f8 chore: remove v1alpha1 domainmapping (# 14275) > b3b793f Update net-gateway-api nightly (# 14280) > 89b4341 upgrade to latest dependencies (# 14277) > b5585ac Update net-certmanager nightly (# 14279) > 1d6701e upgrade to latest dependencies (# 14266) > 8e2aa70 Update net-gateway-api nightly (# 14272) > ec057c1 Update net-contour nightly (# 14271) > 38f9b47 Update net-istio nightly (# 14270) > b7e573d Update net-kourier nightly (# 14269) > 8d29085 Update net-certmanager nightly (# 14268) > becea87 Update net-kourier nightly (# 14261) > 2cb31ee Update community files (# 14259) > 59cb3d3 Update net-contour nightly (# 14264) > 4931532 Update net-certmanager nightly (# 14262) > 5e20e1e Update net-istio nightly (# 14263) > 6bfe5c3 add app: webhook label to webhook service (# 14258) > ece2fea upgrade to latest dependencies (# 14256) > 5c1c855 Support to use vegeta client with HTTPS (# 14255) > f9d9b28 Update net-gateway-api nightly (# 14249) > 4ab6b88 Update net-istio nightly (# 14247) > 5edb5a9 Update community files (# 14241) > 3f62086 Update net-kourier nightly (# 14246) > 342693a Update net-certmanager nightly (# 14245) > e1bbe1f Update net-gateway-api nightly (# 14243) > 0d79514 Update net-contour nightly (# 14244) > ad26685 upgrade to latest dependencies (# 14240) > 241a1e9 upgrade to latest dependencies (# 14238) > 07f0b3b Update net-gateway-api nightly (# 14236) > 62daafd Update net-kourier nightly (# 14233) > 4c55422 Update net-contour nightly (# 14235) > efb99ba Update net-certmanager nightly (# 14234) > 0f27ffc Update net-istio nightly (# 14232) > 9f845d1 Update community files (# 14230) > 08814cd Update net-gateway-api nightly (# 14226) > f2969d2 Update net-kourier nightly (# 14221) > 883aaa5 Update net-contour nightly (# 14228) > c453f07 Update net-certmanager nightly (# 14227) > 33909c3 Update net-istio nightly (# 14220) > a14c956 upgrade to latest dependencies (# 14225) > 8ea1cb6 Set TLS minimum version to 1.3 for Ingress to Activator (# 14074) > c8e7387 Update net-contour nightly (# 14224) > 8ea2071 Update net-certmanager nightly (# 14222) > 2a3f9cc Update net-gateway-api nightly (# 14223) > e7c66a8 Update net-kourier nightly (# 14209) > 04e6524 upgrade to latest dependencies (# 14214) > 0bbb5c7 rename-sandbox (# 14207) > d47f53d Update net-istio nightly (# 14212) > 75e721a Update net-contour nightly (# 14211) > 1b94c0d Update net-gateway-api nightly (# 14210) > f2c3ea4 Update net-certmanager nightly (# 14208) > cd98800 Add Istio ambient to KinD test (# 14103) > e937b62 Update actions (# 14206) > ff6e78d Update net-kourier nightly (# 14205) > bbdef8e Update net-istio nightly (# 14198) > 0a3f5f9 Update community files (# 14195) > 72f4a16 Update net-gateway-api nightly (# 14193) > b9c3bc2 Update net-contour nightly (# 14194) > 5e99c23 Update net-certmanager nightly (# 14192) > 46ba924 Update net-kourier nightly (# 14191) > 9e89832 Update net-istio nightly (# 14190) bumping github.com/prometheus/common 49b3603...94bf982: > 94bf982 Merge pull request # 489 from prometheus/dependabot/go_modules/sigv4/github.com/aws/aws-sdk-go-1.44.266 > ac06723 Merge pull request # 482 from prometheus/dependabot/go_modules/golang.org/x/oauth2-0.8.0 > 211d8fc Bump github.com/aws/aws-sdk-go from 1.43.26 to 1.44.266 in /sigv4 > 062aaec Merge pull request # 485 from prometheus/dependabot/go_modules/sigv4/github.com/stretchr/testify-1.8.2 > 27af2c4 Bump golang.org/x/oauth2 from 0.7.0 to 0.8.0 > 2f0f5c4 Merge pull request # 483 from prometheus/dependabot/go_modules/golang.org/x/net-0.10.0 > 24a8815 Bump github.com/stretchr/testify from 1.8.0 to 1.8.2 in /sigv4 > 96ade15 Merge pull request # 486 from prometheus/dependabot/go_modules/sigv4/github.com/prometheus/common-0.43.0 > 7364518 Bump golang.org/x/net from 0.9.0 to 0.10.0 > 65a4236 Merge pull request # 480 from prometheus/superq/update_sigv4-bot > 68e477e Bump github.com/prometheus/common from 0.42.0 to 0.43.0 in /sigv4 > 085fa47 Merge pull request # 472 from grafana/inline-ca-strings > ad1759c Enable dependabot for sigv4 > f505d86 Merge pull request # 474 from jkroepke/custom-logger > bcb00f1 config: remove unused internal function > b933a95 Merge pull request # 475 from gouthamve/negotiate-om-1.0 > e27922a Merge pull request # 469 from prometheus/dependabot/go_modules/github.com/alecthomas/kingpin/v2-2.3.2 > 01d2b4a Remove unnecessary else and use NewSyncWriter again > 7b35f6a config: add tests for inline TLS configs > 2f04d2e Merge pull request # 463 from prometheus/repo_sync > ad42fa5 Return 0.0.1 with no version for backwards compatibility > a2ac260 Merge pull request # 479 from prometheus/superq/updates > 9a176e1 Bump github.com/alecthomas/kingpin/v2 from 2.3.1 to 2.3.2 > 769f5e1 Allow custom log.Logger > 5915888 config: allow TLS data to be provided inline > 66b493f Merge pull request # 462 from roidelapluie/proxyfromenv > e990082 Update common Prometheus files > 5012e7c Negotiate OM v1.0.0 > 92f8c27 Merge pull request # 481 from prometheus/dependabot/go_modules/github.com/prometheus/client_golang-1.15.1 > 5e8c998 expfmt: Avoid copying mutex in proto message > 6a5f4db Merge pull request # 455 from bboreham/build-tags > c8ca1fb Add support to use Proxy From Environment and set No Proxy > cffd08e Merge pull request # 478 from prometheus/dependabot/go_modules/golang.org/x/oauth2-0.7.0 > 2328fd6 Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.1 > 27a8fa5 Update Go modules > d7d98af Merge pull request # 461 from bboreham/faster-parseduration > 56d83af version: add Go build tags to output > d9a31c0 Merge pull request # 454 from prometheus/dependabot/go_modules/sigv4/golang.org/x/net-0.7.0 > 567ed12 Bump golang.org/x/oauth2 from 0.5.0 to 0.7.0 > 94c865c Merge pull request # 453 from prometheus/beorn7/model > 55b01d1 Parse Durations much faster > 77ee449 Merge pull request # 447 from prometheus/superq/bump_go > aab41f8 Bump golang.org/x/net from 0.4.0 to 0.7.0 in /sigv4 > ab87968 Merge pull request # 433 from lucacome/add-dependabot > 456cf05 model: Remove json-iterator usage (again) > 330a3f5 Add benchmark for ParseDuration > d25d305 Merge pull request # 450 from roidelapluie/marshal > 2cd3d6e Update Go versions > e903cdd Merge pull request # 459 from prometheus/superq/mods > 569c9c3 Apply suggestions from code review > 4827ac3 Merge pull request # 460 from prometheus/repo_sync > 72ed068 Merge pull request # 449 from roidelapluie/test444 > 6004368 Fix and test JSON & YAML marshalling > f9c1994 Merge pull request # 440 from zenador/sparsehistograms > caae7d4 Update Go modules > c3af33b Add dependabot > c4e09cb Merge pull request # 458 from hairyhenderson/switch-kingpin-repo > 51087f9 Update common Prometheus files > 81fdf5b Merge pull request # 448 from roidelapluie/test442 > 69ed1ea expfmt: add test cases for TextParser startOfLine error handling > ff69f32 Merge pull request # 429 from roidelapluie/fix-marshal > ca1f99b Make it more efficient and compatible to use SampleHistogram (# 439) > 18a4214 Update comments according to code review > 846591a Merge pull request # 417 from zenador/sparsehistograms > 8fe65a7 Update kingpin module source > 3bdfd73 expfmt: add test case for issue with *bufio.Reader and FmtText format > 2c9877d Merge pull request # 444 from abursavich/expfmt-eof > 1c521dc Fix marshalling of TLSVersion > 87b15f9 Merge pull request # 438 from zenador/sparsehistograms > 4e9e3f5 Continue to use json-iterator to improve marshalling of SamplePair > ccc2474 Merge pull request # 428 from prometheus/repo_sync > 691e814 Update comments according to review > d888bfa Merge pull request # 443 from abursavich/expfmt-decode > d074dea expfmt: only ignore io.EOF errors in TextParse.startOfLine > 296ec92 Merge pull request # 409 from prometheus/mem/proxy_header > 0dd260f Change HistogramBucket Boundaries type to int32 > f71df30 Continue to use json-iterator to improve marshalling of SampleHistogramPair > 5b981eb Update common Prometheus files > 0267435 Update tests according to code review > 5be97a0 expfmt: only call TextParser.TextToMetricFamilies once from textDecoder > 18281a2 Merge pull request # 424 from prometheus/repo_sync > 4a0d730 Add support for proxy connect headers > eda7de1 Start to use json-iterator to improve marshalling of HistogramBucket > dc2e18b Revert "Try removing sampleHistogramPairPtr" > befeabf Merge pull request # 422 from prometheus/superq/add_mod_check > 017dec0 Update common Prometheus files > 01880dc Add benchmarks for marshalling > f451854 Try removing sampleHistogramPairPtr > 1bc7f65 Add platform info to labels (# 403) > 82accf3 Add go mod version test > 14a8016 Remove sampleHistogramPairPtr > b079cf8 Revert "Add generic interface for float/histogram sample pair (bumping go version - experimental)" > 00e3fd7 Merge pull request # 418 from roidelapluie/go119 > 0e0dee6 Merge branch 'main' into sparsehistograms > 84e64de Add generic interface for float/histogram sample pair (bumping go version - experimental) > ddb642f Merge pull request # 421 from prometheus/superq/update_sigv4 > 045094f Update deps and test with go 1.19 > 4a4b110 Fix according to code review > c2ecee8 Merge pull request # 419 from prometheus/repo_sync > c8ff4cd Update sigv4 Go > 74031a1 Change int type of native histogram count > a33c32f Merge pull request # 374 from roidelapluie/go118vcs > 466075d Update common Prometheus files > e717a78 Make type of Sample and SampleStream in structs more explicit with an enum > 11bcb5b Merge pull request # 415 from FUSAKLA/fus-http-config-from-file > 5b6c049 go118: Get VCS info from debug.BuildInfo > a148981 Update the display strings for model > 87b669d Add the ability to specify the maximum acceptable TLS version (# 414) > d9cd6f2 feat: make LoadHTTPConfigFile set directory and move from tests file > 43914a0 Fix and add tests for model matrices > bebc731 Remove ioutil after merging check client certificates (# 407) > 2b7b371 Split model values into smaller files by category > 8c9cb3f Update common Prometheus files (# 399) > ee927fa Add histograms to model > 1c0fa3e Check if TLS certificate and key file have been modified (# 345) > 54e041d Implement Stringer on TLSVersion (# 405) > c206bfc Merge pull request # 404 from thaJeztah/bump_protobuf_extensions > dfbc25b Merge pull request # 382 from prometheus/superq/update_go > 5ae446c go.mod: github.com/matttproud/golang_protobuf_extensions v1.0.2 > 1482587 Remove ioutil (# 395) > 9d646db Update Go modules bumping google.golang.org/api 63d06ab...85e7e70: > 85e7e70 chore(main): release 0.138.0 (# 2116) > 9b75278 feat(all): auto-regenerate discovery clients (# 2119) > 40ea606 feat(all): auto-regenerate discovery clients (# 2118) > 1770219 feat(all): auto-regenerate discovery clients (# 2115) > c631c0a chore(main): release 0.137.0 (# 2107) > caea956 feat: ok to use S2A with override endpoint (# 2114) > 142ffeb feat(all): auto-regenerate discovery clients (# 2113) > f7f1c7b feat(all): auto-regenerate discovery clients (# 2112) > 0cc62ab feat(all): auto-regenerate discovery clients (# 2111) > 4d775db feat(all): auto-regenerate discovery clients (# 2110) > 6d29bab chore(all): update module github.com/google/s2a-go to v0.1.5 (# 2109) > 80485e0 feat(all): auto-regenerate discovery clients (# 2108) > 3f3ed3d feat(all): auto-regenerate discovery clients (# 2106) > 113082d chore(main): release 0.136.0 (# 2105) > 919cee6 chore(all): update all (# 2101) > c62e5c6 feat: add additional checks before using S2A (# 2103) > 8029f73 feat(all): auto-regenerate discovery clients (# 2104) > cd62080 chore(main): release 0.135.0 (# 2088) > 8fbf572 feat(all): auto-regenerate discovery clients (# 2102) > 262aa70 feat(all): auto-regenerate discovery clients (# 2100) > b16a2d3 feat(all): auto-regenerate discovery clients (# 2099) > ff054ff feat(all): auto-regenerate discovery clients (# 2098) > e59738c feat(all): auto-regenerate discovery clients (# 2096) > 1e19c22 feat(all): auto-regenerate discovery clients (# 2095) > 979195d feat(all): auto-regenerate discovery clients (# 2094) > 06fee15 chore(all): update all (# 2092) > 2b1c61f feat(all): auto-regenerate discovery clients (# 2093) > 597995c feat(all): auto-regenerate discovery clients (# 2091) > 8ba6963 feat(all): auto-regenerate discovery clients (# 2090) > c4d9f14 feat(all): auto-regenerate discovery clients (# 2089) > 8875932 feat(all): auto-regenerate discovery clients (# 2087) > 7fb7c47 chore(main): release 0.134.0 (# 2085) > aec89b7 feat(all): auto-regenerate discovery clients (# 2086) > 66d077d feat(all): auto-regenerate discovery clients (# 2084) > 9a94c5b chore(main): release 0.133.0 (# 2078) > 15c15a6 chore(all): update all to 659f7aa (# 2083) > 0846d92 feat(all): auto-regenerate discovery clients (# 2082) > 94f3caf feat(all): auto-regenerate discovery clients (# 2081) > 3a5236c feat(all): auto-regenerate discovery clients (# 2080) > b88678a feat(all): auto-regenerate discovery clients (# 2079) > d9bd05b feat(all): auto-regenerate discovery clients (# 2077) > 2eab0d1 chore(main): release 0.132.0 (# 2066) > 334c07e feat(all): auto-regenerate discovery clients (# 2076) > bf32188 chore(all): update all to 782d3b1 (# 2074) > 25d96d9 feat(all): auto-regenerate discovery clients (# 2075) > 0011a92 feat(all): auto-regenerate discovery clients (# 2073) > 52ac522 feat(all): auto-regenerate discovery clients (# 2072) > 16cf0c3 feat(all): auto-regenerate discovery clients (# 2069) > 25a3230 feat(all): auto-regenerate discovery clients (# 2065) > 5e7109a chore(main): release 0.131.0 (# 2056) > f391921 feat(all): auto-regenerate discovery clients (# 2064) > 524f72b feat(all): auto-regenerate discovery clients (# 2063) > 16b834e chore(all): update all (# 2061) > 90038ee feat(all): auto-regenerate discovery clients (# 2062) > 16ad84c feat(all): auto-regenerate discovery clients (# 2060) > 24b4d0b feat(all): auto-regenerate discovery clients (# 2059) > c836da9 feat(gensupport): pass in headers via context (# 2052) > e871335 feat(all): auto-regenerate discovery clients (# 2058) > 1b0f818 feat(all): auto-regenerate discovery clients (# 2054) > ed3a635 chore(main): release 0.130.0 (# 2042) > d5c7eef chore(all): update all (# 2048) > 5ec0817 feat(all): auto-regenerate discovery clients (# 2051) > d79dfc2 feat(all): auto-regenerate discovery clients (# 2050) > 5e08be4 feat(all): auto-regenerate discovery clients (# 2049) > 6711565 feat(all): auto-regenerate discovery clients (# 2046) > 50d3e98 feat(all): auto-regenerate discovery clients (# 2045) > 380eafd feat(all): auto-regenerate discovery clients (# 2044) > 7a8816b feat(all): auto-regenerate discovery clients (# 2043) > dc4d425 feat(all): auto-regenerate discovery clients (# 2041) > 78ebbdb chore(main): release 0.129.0 (# 2029) > 5e1c531 feat(all): auto-regenerate discovery clients (# 2040) > 888df6f chore: skip generating integrations:v1alpha (# 2039) > bbfccf8 chore(all): update all (# 2038) > efba8fa chore: restore generating integrations:v1alpha (# 2037) > 177408e feat(all): auto-regenerate discovery clients (# 2035) > 807827a chore(all): update all (# 2031) > cc73573 feat(all): auto-regenerate discovery clients (# 2033) > 247ad09 feat(all): auto-regenerate discovery clients (# 2032) > 3eb845f feat(all): auto-regenerate discovery clients (# 2030) > 922fc6a feat(all): auto-regenerate discovery clients (# 2028) > f06cac5 chore(main): release 0.128.0 (# 2023) > 229def0 feat(all): auto-regenerate discovery clients (# 2027) > 58512c3 feat(all): auto-regenerate discovery clients (# 2026) > d846ea5 feat(all): auto-regenerate discovery clients (# 2022) > 5e2fcf7 chore(main): release 0.127.0 (# 2016) > 0d9a82b chore(all): update module github.com/googleapis/enterprise-certificate-proxy to v0.2.4 (# 2019) > eb914ce feat(all): auto-regenerate discovery clients (# 2021) > c86a815 feat(all): auto-regenerate discovery clients (# 2018) > 4c6e7c1 feat(all): auto-regenerate discovery clients (# 2017) > 21af27f feat(all): auto-regenerate discovery clients (# 2015) > 884dbd5 chore(main): release 0.126.0 (# 2009) > e0fa0b1 chore: skip generating integrations:v1alpha as it fails generation (# 2014) > db9dde2 chore: remove refs to deprecated io/ioutil (# 2008) > 95d3fd1 feat(all): auto-regenerate discovery clients (# 2012) > 4fed5c2 feat(all): auto-regenerate discovery clients (# 2011) > 3dc0dbb feat(all): auto-regenerate discovery clients (# 2010) > 465e95b feat(all): auto-regenerate discovery clients (# 2007) > 1a4c8c2 chore(main): release 0.125.0 (# 1996) > 3e8621c feat: update direct deps (# 2006) > 7143682 chore(main): Enable release-trigger bot for triggering release job (# 1977) > 636c71b chore(deps): bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 in /internal/kokoro/discogen (# 2005) > 693129f chore(all): update all (major) (# 1993) > 3be73e5 chore(all): update all (# 2003) > 37ce51c feat(all): auto-regenerate discovery clients (# 2004) > f18c4ed feat(all): auto-regenerate discovery clients (# 2002) > ed05294 feat(all): auto-regenerate discovery clients (# 2001) > f67c417 chore(all): update google.golang.org/genproto to submodules (# 2000) > 85ab112 feat(all): auto-regenerate discovery clients (# 1999) > f701782 feat(all): auto-regenerate discovery clients (# 1998) > cdcccfa feat(all): auto-regenerate discovery clients (# 1995) bumping go.uber.org/zap 6f34060...56468e7: > 56468e7 Release v1.25.0 > 249507a zap.Any: Reduce stack size with generics (# 1310) > 50b2db4 zap.Any add benchmarks > a0674c8 Add direct coverage to zap.Any (# 1309) > 1310691 Table test TestFieldConstructors > 382e251 Swap expected and got fields (# 1282) > 24b7977 Add Name() to Logger (# 1273) > 1155ed3 Introduce Str + Strs generic string helpers (# 1281) > 4451b47 exp: Update slog, adjust for changes (# 1276) > 845ca51 internal: Add and use a generic pool instead of using sync.Pool directly (# 1262) > 42b7ef0 slog: Ignore frames with a zero PC (# 1258) > 05c4b6c Remove dependency on github.com/pkg/errors (# 1255) > d1a1923 Minimize permissions on CI workflows (# 1257) > 384e782 Use sync/atomic, drop external atomics (# 1253) > 740fda7 TestLevelFlag: Don't print to stderr (# 1254) > f2f1f41 [Feature] Add experiment `zapslog` package to integrate with slog (# 1246) > 54862f5 benchmark: add slog (# 1245) > 85c4932 Add govulncheck as a CI step (# 1239) > f4ba5f5 make: Switch from golint to revive (# 1238) > 8310f89 chore: update bench package versions and results (# 1207) > 8d89127 Bump actions/checkout from 2 to 3 (# 1237) > bc64796 doc: New{Production,Development}Encoder{,Config} (# 1234) > 692ec13 ci: Set up dependabot for GH actions and tools (# 1236) > 7d6a9af ci: Test with Go 1.19 and 1.20 (# 1235) > d4a1083 doc(SugaredLogger): Document print, printf, and println methods (# 1233) > b32f3c5 Update Snyk vulnerable modules (# 1227) > 53fdb6f Reverse comparison for readability (# 1228) > 077b03e Use iota like a original from grpc-go (# 1220) > a55bdc3 Release v1.24.0 (# 1208) > ed5598a Use ReplaceAll instead of Replace with -1 pos arg (# 1195) > da406e3 Chore: Fix deprecation docs and links (# 1193) > 9b86a50 SugaredLogger: Turn error into zap.Error (# 1185) > 9137e0e go.mod: Bump go directive to 1.19 (# 1181) > 7cabba7 Open absolute paths as files, limited Windows support (# 1159) > 7681a0a Export objectMarshalerPtr (# 1171) > 9abd14b chore: remove duplicate word in comments (# 1169) > eae3743 Logger, SugaredLogger: Add Level method (# 1148) > 0d6a75b tests: assert.Error/Contains => assert.ErrorContains (# 1158) > 1ae5819 Release v1.23.0 (# 1157) > 23d6cc7 Add Stringers field constructor for slices of Stringer-compatible objects (# 1155) > 1e46f5e Issue Templates: Show a "Discussions" link for questions (# 1152) > 92dded6 Add issue template for questions (# 1151) > 4a895a2 zapcore: Add LevelOf(LevelEnabler), UnknownLevel (# 1147) > 19a5d8a Open: expose error cause, test for fs.ErrNotExist (# 1149) > bdd673d Replace os.TempDir usage with t.TempDir (# 1146) > 4b03bc5 Prepare release v1.22.0 (# 1145) > ee349f9 CI: Lint against 1.19 (# 1141) > 7ee98d2 ci: add go1.19 (# 1140) > ca232b9 zapcore/BufferedWriteSyncer: More docs (# 1139) > 4cfaabd chore(ztest/timeout): capture original scale after err handling (# 1138) > 11a750e chore(internal/exit): remove deprecated function (# 1137) > d6ce3b9 chore: remove redundant arg from logln (# 1136) > e3a10fc chore: use errors.New instead of format function without args for error (# 1134) > 2cfc92c lint CONTRIBUTING.md and README.md (# 1123) > 56b4e2b Remove the redundant return value of the `open` function (# 1120) > 78c80fb Logger: Add Log method (# 1118) > 2e615d8 CheckedEntry: avoid using deprecated Should internally (# 1117) > c58bc94 CONTRIBUTING: Remove mention of LINTABLE_MINOR_VERSIONS (# 1109) > 88a8b01 Fix typo in Must docs (# 1108) > e06e09a Add Must(*Logger, error) *Logger function (# 1105) > 41970cf Replace deprecated ioutil usage (# 1103) > 54f6204 Upgrade to yaml.v3 3.0.1 (# 1102) > e18477e Create issue templates (# 1100) > 9e61a39 CheckWriteHook: Don't allow Noop action (# 1089) > 71ecc42 Support arbitrary hook for fatal logs (# 1088) > 75dacb4 Tests pass regardless of codebase directory (# 1087) > d38507c SugaredLogger: Add *ln variants (# 1080) > 1d435ba SugaredLogger: Add WithOptions (# 1079) > 212dcb9 zapcore/encoder_test: Use yaml.v3 (# 1075) > 59749c9 Upgrade staticcheck and re-enable (# 1074) > 15be647 Add Objects and ObjectValues field constructors (# 1071) > 34cb012 Replace 'Interface' usage with correct zerolog api (# 1069) > 854d895 CI: Temporarily disable staticcheck > 32a858e CI: Run against Go 1.17 and 1.18 (# 1068) > fb6027f ObjectValues: Avoid copying > cac228a Add ObjectValues field constructor > 1ab8406 Add Objects field constructor for array of objects bumping github.com/prometheus/client_model 63fb982...91c3945: > 91c3945 Merge pull request # 64 from prometheus/superq/update_proto > 31ca668 Update proto tools bumping golang.org/x/text e503480...fb697c0: > fb697c0 cmd/gotext: actually use -dir flag > f3e69ed cmd/gotext: fix misbehaviors > ab07ad1 all: remove repetitive words bumping golang.org/x/oauth2 839de22...2e4a4e2: > 2e4a4e2 go.mod: update golang.org/x dependencies > ac6658e all: update go version to 1.18 > ec5679f go.mod: update golang.org/x dependencies > 989acb1 all: update dependencies to their latest versions > 2323c81 go.mod: update golang.org/x dependencies bumping github.com/openzipkin/zipkin-go d0b32fa...4541717: > 4541717 remove circleci from list (# 213) > a58f3b6 Bump dependencies and remove unnecessary external dependency for example. (# 212) > f916476 Baggage Interface and explicit accept list Implementation for HTTP and gRPC middleware (# 210) > 6ac4138 Update README.md bumping github.com/prometheus/procfs 344b47c...332e865: > 332e865 fs: Statfs_t{} doesn't have a Type field on Windows (# 528) (# 529) > dd377c7 Fix softnet CPU Index (# 517) > 58149ca fs: Statfs_t{} doesn't have a Type field on NetBSD, OpenBSD, or Solaris (# 523) > 7acd99d net_class: catch syscall.EINVAL and better handle read errors > b5b7dd5 Add support CpusAllowedList for /proc/[pid]/status (# 490) > f489b53 Update Go version (# 521) > 24c2637 Merge pull request # 520 from conallob/patch-1 > 035b875 Merge pull request # 514 from prometheus/superq/netstat_refactor > ceb5a6f Sync golangci-lint.yml with https://github.com/prometheus/node_exporter/blob/master/.github/workflows/golangci-lint.yml > 718836a Merge pull request # 487 from ksankeerth/mountstats_nfs_avg_rtt > bad5514 Refactor netstat parsing > 1a35fa6 Update golangci/golangci-lint-action to v3.4.0 > 663692c Merge pull request # 509 from dswarbrick/mdraid-sysfs > 49163ee add avgRTT to nfs mountstats > 99b481d Merge pull request # 513 from artemseleznev/master > 5fce84b Merge pull request # 511 from dcbw/ParseSysfsNetClassAttribute > a038d1f Implement mdraid sysfs parsing > affffdb Update common Prometheus files > 60fe598 Bump golang.org/x/sys from 0.6.0 to 0.7.0 > d89fbe9 static analyzer issue fix > 03e2a93 net class: split out attribute parser and export it > b5312c5 Merge pull request # 503 from prometheus/dependabot/go_modules/golang.org/x/sys-0.6.0 > bb7727a Merge pull request # 483 from prometheus/superq/err_invalid > b4a1860 Update common Prometheus files > 910e933 Bump golang.org/x/sys from 0.5.0 to 0.6.0 > 0c4b3aa Merge pull request # 426 from binjip978/return-error-on-empty-cpu-freq > 58a6c0a Use errors.Is() for invalid argument > dd6bb71 Support old conntrack stats > 03da3a1 handle more columns from softnet_data (# 473) > b9fa528 return error if cpufreq's are empty > 85417ca Add support for several /sys/class/sas_* classes (# 453) > f930a52 Bug Fix: SystemCPUfreq fails when any core is offline > 42aaf8e add /proc/interrupts (# 475) > 757109e Add support for several /sys/class/sas_* classes (# 453) > 80824fa Check whether FS is a real procfs where it matters > 88f86e5 Add CPUInfo parsing for LoongArch64 (# 384) > c8aa9d7 Merge pull request # 461 from xixiliguo/on-cpu > d9f81a9 Enable oppportunistic fd counting fast path > 6e512b8 Merge pull request # 471 from Dentrax/TCPRcvQDrop > c66e798 add processor field for /proc/[pid]/stat > 8b6d466 Merge pull request # 488 from Dentrax/wireless > 945097a Merge pull request # 474 from Dentrax/stat-parse > 3a8e021 Add missing TCPRcvQDrop > 7be8e40 Merge pull request # 495 from prometheus/dependabot/go_modules/golang.org/x/sys-0.5.0 > 150eff5 Use 4-digit uint instead > ce30991 Merge pull request # 477 from Dentrax/disktat-parse > 045a006 Separate /proc/stat parsing logic > b3d77ec fix: Avoid trimming characters incorrectly from ProcStatus (# 469) > 9ccf0f8 Merge pull request # 494 from gaius-qi/feature/vmstat > fe0e697 Bump golang.org/x/sys from 0.4.0 to 0.5.0 > 1ab0de2 Add /proc/net/wireless parsing > 421a743 Merge pull request # 472 from Dentrax/netstat-refactor > 3d7fbad Separate /proc/stat disk stat parsing logic > bf36102 Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (# 468) > 8e530b9 Merge pull request # 493 from prometheus/repo_sync > 31842f6 fix: parseVMStatNUMA return wrong VMStat in nr_zone_inactive_file > cab2d84 Merge pull request # 470 from prometheus/superq/bump_go > a05e0cf Separate NetStat parsing logic > 800411b parse cpu with ID in /proc/stat > 6efaede Merge pull request # 491 from prometheus/dependabot/go_modules/golang.org/x/sys-0.4.0 > 080c853 Update common Prometheus files > 3433fa1 Add support for thread data parsing. (# 481) > b4d3f67 Update Go > f5d82fa Update codespell > 2d852d3 Bump golang.org/x/sys from 0.3.0 to 0.4.0 > 55dabef Update common Prometheus files > 254423d Update common Prometheus files (# 466) > 6f02dd1 Replace float64 with *float64 for proc_netstat, proc_snmp and proc_snmp6 (# 464) > aa41d1a Fix grammar error bumping github.com/hashicorp/golang-lru 14eae34...a032ef5: > a032ef5 Update README for v1.0.2 > bdf35e3 Remove deprecated linters > bc1608d Update other tests to get rid of math/rand > f2408b3 Update test to remove bad rand usage > fa11c6b Update github workflow > 6da3f98 Update MPL 2.0 LICENSE (# 110) > d4900dc fix onEvictedCB bug (# 84) > 003b81b Update go doc url (# 93) > 80c9821 rework lru's external registered callback invocation to avoid concurr… (# 80) > eb52994 Code quality improvements (# 67) bumping golang.org/x/tools 031fc75...229f848: > 229f848 gopls/internal/lsp/source: enable new defers analyzer > 2dc7eba go/analysis: use parser.SkipObjectResolution > f91c023 go.mod: update golang.org/x dependencies > e0783a8 internal/gcimporter: remove bug report on objectpath failure > 75f6f9c gopls/internal/bug: add gopls/bug telemetry counter > 4b271f9 gopls: add gopls/client telemetry counters > d0b18e2 go/analysis/passes/copylock: fix infinite recursion > 5b4d426 gopls/internal/hooks: clean language version before passing to gofumpt > 2160c5f gopls/internal/lsp/analysis: fix stubmethods with variadic parameters > 3d20bbe internal/gcimporter: add a missing return if objectpath fails > c16d0be cmd/gonew: add new tool for starting a module by copying one > 304e203 internal/edit: copy cmd/internal/edit > 82861e0 gopls/internal/lsp/source: reinstate equalOrigin for references check > 1561060 gopls/internal/lsp/source: fix incorrect 'origin' logic for named types > fe58b07 gopls/internal/lsp/source: fix renaming of type parameters > 3a3c169 gopls/internal/lsp/source: refresh embeddirective analyzer docs > 03562de refactor/satisfy/find: composite lits may have type parameter type > bacac14 gopls/internal/lsp/source: Add SuggestedFix for embeddirective Analyzer > 38606b3 gopls/internal/lsp/cache: keep analysis progress reports on one line > e8cdaf4 gopls/internal/lsp/cache: fast-path for type-checking active packages > da5abd3 gopls/internal/lsp/cache: fix use of time.NewTimer instead of NewTicker > b389785 gopls: fix tests that depend on log sequencing > 2ffc4dc all: fix some typos > e66c3a5 gopls/internal/lsp/cache: use correct metadata in resolveImportGraph > 364bdd0 gopls/internal/lsp/cache: fix incorrect check for active package > c6e02e3 gopls/internal/lsp/source: highlight deprecated symbols > 07bfcd4 internal/gcimporter: another workaround for race to interface type set > db5406b gopls/internal/lsp: don't recompute diagnostics during code actions > 4810eda gopls/internal/lsp/cache: memoize active packages after every operation > fa093b2 gopls/internal/regtest/bench: add benchmarks for codeactions > d75c387 internal/facts: don't reexport imported facts unnecessarily > 67ba599 gopls/internal/lsp/cache: fix boundary cond in parseCache age eviction > 478577b gopls/internal/lsp/cache: purge Analysis.Results earlier > ac1b965 gopls/internal/lsp/cache: limit parallelism > 4f74786 gopls/internal/lsp/cache: move purgeFuncBodies into the parse cache > 3577700 gopls/internal/lsp/cache: used time-based eviction in parseCache > 36f607b gopls/internal/lsp/frob: document another restriction > 9b2c3f9 go/types/objectpath: avoid sorting methods for gopls > ebb9ee3 gopls/internal/lsp/cache: UX improvements for analysis > 3e82a5b internal/gcimporter: avoid test assumptions about internal packages in other repos > 7ba5690 go/analysis/passes/composite: fix typo in URL field > 36e4181 Revert "go/packages: avoid unnecessary dependency on StdSizes" > 9161e3a all: remove repetitive words > 2842ed8 go/packages: avoid unnecessary dependency on StdSizes > 84f829e gopls/internal/lsp/cache: better panic if metadata invariant is broken > 03275ec gopls/internal/lsp/cache: frob: a fast encoder with gob-like powers > dbfa513 gopls/internal/lsp: don't awaitLoaded inside resolveImportGraph > b160971 gopls/internal/lsp: fix a latent bug in orphaned file reloading > 67aade5 internal/facts: strength-reduce Package param to PackagePath > ffc82f3 gopls/internal/lsp/source/typerefs: optimize getPackageHandles > 50a6ef6 gopls/internal/lsp: only diagnose one package per file > 48026e1 internal/gcimporter: don't panic when exporting a builtin 'Error' method > 5fed7a8 gopls/protocol/generate: upgrade generating LSP stubs > b9fd8df gopls/internal/lsp/debug: display Analysis.Run times > 799eec0 gopls/internal: update LSP support > c6de5f5 gopls/internal/lsp/source: fix spurious "unexpected var object" error > ba3c31c gopls/internal/regtest/bench: add a test simulating typing > 80c9aad gopls/internal/regtest/bench: add an 'oracle' benchmark repo > e10bcf6 gopls/internal/regtest/bench: clean up profile flags > 50a7e14 go/types/internal/play: show enclosing scopes and method sets > 12fe149 internal/typeparams: improve the panic in OriginMethod > 89d9fae internal/gcimporter: supporting encoding objects from different packages > dbd6001 go/analysis: remove pointless comments > 67d73b2 internal/gopathwalk: use opts.Logf for errors if set > 1ca2185 go/analysis: pass package's Go version to type checker > a721062 gopls/internal/regtest/workspace: fix TestQuickFix_AddGoWork for go1.21 > ba23fc4 internal/analysisutil: avoid IsNamed panic on built-in named types > e1d0f91 go/analysis/passes/slog: unskip test > c35476f gopls: commands to start/stop profiling, and a new benchmark metric > ec9bc53 internal/gopathwalk: use os.ReadFile instead of ioutil.ReadFile > aac7fb6 internal/cmd/deadcode: a command to report dead code in Go programs > 538a6e9 gopls/internal/lsp/source: put context first in extracted functions > ef12545 internal/lsp/analysis: embed directive analyzer check following decl > 7bb8360 internal: fix typo > 7fa7e85 go/callgraph/rta: doc tweaks > d86c729 cmd/digraph: somepath: search breadth-first to find minimal path > eaebeac gopls/internal/lsp/source/completion: avoid duplicates from variants > ac255de cmd/digraph: consolidate -help message and package doc > dfb7d24 go/analysis/passes/slog: replace XXXCtx names with XXXContext > 8f07782 gopls/internal/lsp: make gopls.start_debugging open browser > 4b177d0 go/callgraph/rta: optimise 'implements' operation > eaca1d0 gopls/internal/lsp/filecache: increase idle GC period to 6 hours > 124ebfa internal/pprof: a function to compute total pprof time > 8304532 go/callgraph/rta: model reflective calls soundly > f9f582e go/packages: pass go list-reported Go language version to type checker > e7916d0 gopls/internal/lsp/source/completion: honor usePlaceholders > 1d07f1b gopls/internal/lsp/source/completion: placeholders for type params > 2d90701 gopls/internal/regtest/marker: skip addgowork.txt > 8060af9 gopls/internal/lsp/source/xrefs: include refs to methods of generics > a8cf665 gopls/internal/lsp/source: ignore objectpath error in rename > eeb93ed gopls: remove dead code > 781c467 gopls/internal/lsp/cache: plumb analysis URLs to client > 675bf3c go.mod: update golang.org/x dependencies > ad52c1c go/ssa/interp: support conversions to slices of named bytes > 14ec3c0 gopls/doc/contributing.md: document error handling strategies > c495364 go/packages/gopackages: document -mode flag > 87ad891 gopls/internal/lsp/source/typerefs: move test into _test.go > 27fd94e internal/fastwalk: doc formatting fixes (including godoc links) > d362be0 gopls/internal/lsp/filecache: reduce GC frequency > 969078b Revert "go/analysis: add Sizes that matches gc size computations" > 5aa6acb go/analysis: add Sizes that matches gc size computations > 5a89a3b go/vcs: delete > d03a819 go/vcs: isolate into a nested module > a659412 go/vcs: deprecate package in favor of go list -json > 9d8d408 gopls/internal/lsp/cmd: list bug reports in 'gopls bug' > 8f9bce4 go/ast/inspector: clarify behavior regarding comment traversal > fa10359 gopls/internal/lsp/cache: don't panic when import fails during analysis > c8278fe gopls/internal/lsp/cache: don't record edges to invalid packages > 87df9bc cmd/godoc: disable TestWebIndex, a very slow test > 63624df gopls/internal/lsp/cache: remove ITVs from shared import graph > 0ca9d30 gopls/internal/lsp/cache: fix nil panic in analysis toSourceDiagnostic > 85554d6 gopls/internal/lsp/cache: add debugging assertion for golang/go# 60904 > 9960b69 gopls/internal/lsp/cache: guard against "unsafe" by package path, not ID > 6480332 gopls/internal/lsp/cache: use types.Unsafe in analysisPackage > 155320d gopls/internal/lsp/work: don't crash when hovering over broken mod dir > b71392a gopls/internal/lsp/cache: reduce importing in analysis > d1a388b internal/gcimporter: avoid a crash when exporting a struct with no pkg > a4ed05f cmd/digraph: add "to dot" to emit Graphviz dot > 7261b32 gopls/internal/regtest: fix goimports on windows when using vendoring > 41e4e56 gopls/internal/lsp/source/completion: ensuring completion completeness > ac29460 go/ssa: fix bug in writeSignature on external functions > 3b62e7e go/ssa: use core type within (*builder).receiver > f394d45 gopls/internal/lsp/cache: compute xrefs and methodsets asynchronously > 27dbf85 go.mod: update golang.org/x dependencies > c6c9830 go/types/objectpath: memoize scope lookup in objectpath.Encoder > 0245e1d gopls/internal/regtest/codelens: set GOWORK=off for go mod vendor > 85be888 go/analysis/passes/defers: add analyser for defer mistake > c43232f cmd/digraph: improve examples using go list, mod > 6e1595c internal/gcimporter: treat unknown constant values the same as invalid > c59d87f gopls/internal/lsp/cache: two minor simplifications > db6a81e go/packages/packagestest: set Config.Logf if the test is run verbosely > a01290f internal/typeparams: work around LookupFieldOrMethod inconsistency > 6f567c8 gopls/internal/lsp/filecache: reduce lifespan of os.FileInfos > 726c727 gopls/internal/lsp: enable min/max builtin completion test > 86c93e8 gopls: unimported completion should use the completion matcher > 04ceacb gopls/internal/lsp/source: fix panic in typeDefinition on comparable > 947adca gopls/internal/lsp/source/methodsets: comparable also has no package > c35c44f gopls/internal/lsp/cache: add assertions > 0b4461b internal/diff: fix LineEdits bug in slow path > 1943c1e internal/diff: fix LineEdits bug in fast path > c6d86c4 go/pointer: delete package > 77fd064 go/types/objectpath: remove unnecessary unsafe import > 0dda7d6 go/pointer: remove replace directive > 98f1b4d gopls/internal/lsp/cache: check number of orphaned files after filtering > a260315 go/pointer: create submodule > 96844c3 cmd/{guru,callgraph}: stop using go/pointer > cd694d8 go/packages: include "unsafe".GoFiles=["unsafe.go"] > 33c741d gopls/internal/lsp: add min/max builtin > 933c7cc internal/lsp/source: use exact match in import highlighting > 5974258 gopls/internal/lsp: clear vuln diagnostics on config changes > f3faea1 go/packages: pass -pgo=off on go1.21 and later > 5f74ec7 internal/lsp/debug: add links to profiles and GC > ed90c6d internal/diff: unexport various identifiers > 827f5aa gopls/internal/lsp/source: test references bug on struct{p.T} > a12e1a6 go/ssa/interp: implement min/max builtins > 9c97539 gopls/internal/lsp/cache: remove nested module warning > d44a094 gopls/internal/lsp/cmd: add a stats -anon flag to show anonymous data > e106694 gopls/internal/lsp: bundle certain quick-fixes with their diagnostic > 5dc3f74 gopls/internal/lsp/filecache: reenable memory cache layer > 7e146a6 gopls/internal/lsp/cmd: simplify connection type > 1e60668 gopls/internal/regtest/workspace: unskip duplicate modules test > 5ce721d gopls/doc: Fix broken links > 7a03feb gopls/internal/lsp/cmd: remove vestiges of debugging golang/go# 59475 > a70f2bc gopls/internal/regtest/misc: update and unskip TestHoverIntLiteral > 6997d19 gopls/internal/regtest/misc: unskip TestMajorOptionsChange > ec543c5 gopls/internal/lsp/cache: fix crash in Session.updateViewLocked > a12ee94 gopls/internal/regtest/misc: update some unilaterally skipped tests > 5ff5cbb gopls: deprecate support for Go 1.16 and 1.17, update warnings > e6fd7f4 gopls/internal/lsp/cache: limit module scan to 100K files > 9ca66ba gopls/internal/lsp/regtest: delete TestWatchReplaceTargets > edbfdbe gopls/internal/lsp/source/completion: (unimported) add placeholders > 3a5dbf3 gopls: add a new "subdirWatchPatterns" setting > 3c02551 internal/typesinternal: remove NewObjectpathFunc > 0729362 present: reformat doc comment for lack of inline code > d4e66bd go/ssa: TestStdlib: disable check that function names are distinct > 738ea2b go/ssa: use core type for field accesses > 2ec4299 gopls/internal/lsp: split file-watching glob patterns > 43b02ea gopls/internal/lsp/cache: only delete the most relevant mod tidy handle > 5919673 internal/lsp/filecache: eliminate 'kind' directories > a5ef6c3 gopls/internal/lsp: keep track of overlays on the files map > d7f4359 gopls/internal/lsp/mod: optimizations for mod tidy diagnostics > 2eb726b gopls/internal/lsp/filecache: touch only files older than 1h > b742cb9 gopls/internal/regtest/bench: add a benchmark for diagnosing saves > 4d66324 gopls/internal/lsp/cache: tweak error message > e46df40 gopls/internal/lsp/filecache: delayed tweaks from code review > 3df69b8 gopls/internal/lsp/debug: remove memory monitoring > a069704 gopls/internal/lsp/filecache: avoid flock > 3d53c2d gopls/internal/lsp/cache: fix race in adhoc reloading > 8b4b27b go/analysis/passes/slog: fix Group kv offset > 242e5ed cover: eliminate an unnecessary fsync in TestParseProfiles > 651d951 go/ssa: fix typo in package docs > 743372f gopls/internal/lsp/debug: limit to 100 recent trace entries > 522243a go/ssa/interp: avoid hard-coding GOOS and GOARCH > a059382 gopls/internal/lsp/cache: fail workspace load on context cancellation > e5c8d4d gopls/internal/lsp/cache: unexport ValidBuildConfiguration > f4e8a71 go/ssa: use core type for composite literal addresses > 3b25dbd go/ssa: use core types for array length > e7048d5 gopls/internal/lsp/filecache: front with a 100MB in-memory LRU cache > 8c0fcd2 gopls/internal/lsp/lru: extract LRU logic to a standalone package > 19d700c go/ssa/interp: use the actual GOOS and GOARCH to interpret tests > 9dcd3d5 gopls/internal/lsp/filecache: limit Get parallelism too > 7f203f0 go/ssa: consolidate use of underlying pointer > a13793e gopls/internal/lsp: add quick-fixes to manage the go.work file > 12a0517 internal/gcimporter: improve error handling > 5eb1eb9 gopls/internal/lsp/cache: call filecache.Set asynchronously > 35fe77a gopls/internal/lsp/filecache: limit parallelism in Set > 1c9fe3f gopls: improve diagnostics for orphaned files > ad74ff6 go/gcexportdata: drop support for the ancient binary format > 01128f9 gopls/internal/lsp/source: fix bug renaming field to unexported > cd39d2b internal/lsp/cache: support loading multiple orphaned files > abeba28 gopls/internal/regtest/marker: support proxy files in marker tests > 18186f0 go/analysis/passes/slog: simplify function matching > 9aa9d13 cmd/bisect, internal/bisect: use more precise skip suffixes, written in hex > 3034d9c gopls/internal/lsp/cmd: append, don't overwrite, in PublishDiagnostics > 4318d63 gopls: change the default value of "symbolScope" to "all" > f44f50e gopls/internal/lsp/source: implementation: report builtin 'error' > 787e720 gopls/internal/lsp: optimize checks for ignored files > 4ed7de1 gopls: add google-cloud-go as a benchmark repo > d799eba gopls: additional instrumentation during goimports > a7e7dc4 go/ssa: rename test cases in TestGenericBodies > d668f58 gopls/internal/regtest/marker: require cgo for issue59944.txt > 005fa64 go/analysis/passes/slog: add check for slog.Group > 033e628 go/ssa: more reindentation of TestGenericBodies > 2310848 go/ssa: reindent test cases in TestGenericBodies > 90e9c65 gopls/internal/lsp/cache: skip type errors after parse errors > 08b24db gopls/internal/lsp/regtest: check for "// @marker" rogue space > b9c20f6 gopls/internal/regtest/marker: migrate @diag to new marker tests > 4609d79 cmd/bisect: add -compile and -godebug shorthands > ddfa220 internal/fuzzy: improvements to the symbol scoring algorithm > 3449242 go/types/objectpath: don't panic when receiver is missing a method > 0809ec2 gopls/internal/lsp/source: document {All,Workspace}Metadata > 8f7fb01 go/analysis/unitchecker: add test of go vet on std > 23e52a3 bisect: diagnose bad targets better > d5af889 gopls: set GOWORK=off for loads from debug and safetoken tests > c93329a go/analysis/passes/printf: reshorten diagnostic about %s in Println call > 6219726 go.mod: update golang.org/x dependencies > f4d143e go/ssa: cleanup TestGenericBodies to pickup package name > 3d99ebe gopls/diff/unified: remove redundant information > 479f5c6 go/ssa: Origin is only available after building > 6d1dd12 go/analysis: simplify unusedresult > 4a2dd0d go/callgraph/vta: allow pointer to type parameter in sliceArrayElem > 7c6c2b7 go/ssa: keep syntax for instantiations > ce1b96b all: fix some comments > 0500fd4 go/ssa: use core type in address > 8e9b185 gopls/internal/lsp/source: add the "symbolScope" option > 4ac71c0 internal/imports: sort fixes for deterministic results > 573915d gopls/internal/lsp/cache: always init the resolver in runProcessEnvFunc > dd09381 bisect: move to internal/bisect until API is reviewed > 516063a bisect, cmd/bisect: add new library and tool > 58fedf6 internal/diffp: add patience diff from main repo > 7b684a9 gopls: port import tests to the new marker framework > 87974e3 gopls/internal/lsp/filecache: skip TestConcurrency on plan9 builder > c64bb76 gopls/internal/lsp/source: make infertypeargs a convenience analyzer > 91b7a8e go/ssa: use origin method in source lookup > ba892bb go/types/internal/play: show formatted AST > 7df6af8 gopls/internal/lsp/filecache: silently discard CRC errors on macOS > 2563079 go/analysis/passes/printf: update directive diagnostic message > 3f6c3b3 gopls: upgrade to latest version of LSP protocol > 216928d gopls: port function extraction marker tests to the new framework > 2415ce1 gopls: skip tests that load gopls packages if x/tools replacement is missing > 17e5ef3 gopls/internal/lsp/cache: remove cycle check from buildMetadata > affb5fc gopls/internal/lsp/source: fix crash in definitions of builtins > 558d701 gopls/internal/lsp/source: fix another bug in reference expansion > 51dfad7 gopls: port workspace/symbol marker tests to the new framework > c6b5780 gopls: fix build at older Go versions > 7590fe4 gopls/internal/lsp: hover over linkname directives. > ec61ad3 gopls/internal/lsp/source: add invert-if-condition refactoring > 5283a01 go/packages: delete TestCgoOption as it doesn't test the cgo option > e2f3b25 gopls/internal/bug: record bug reports in file cache > ab24b7b gopls/internal/regtest/marker: add a test case for issue # 59554 > 8235df3 gopls/internal/regtest/marker: port format tests to the new framework > 80dc031 internal/diff: unified: match diff delete for empty file > 165099b all: remove repeated definite articles > ac40903 internal/gocommand: simplify GoVersion invocation > 9e0a7b1 copyright: don't require checkout to be named tools > 94ed378 internal/lsp/testdata: update for new diagnostic from go list > a5c37ba gopls/internal/regtest/marker: skip on small machines > 76e1037 internal/testenv: assume that mobile platforms are small machines > 17e2d70 gopls/internal/bug: remove unused Data parameter > dd89a2e gopls/internal/lsp: remove now redundant debouncing logic > 2a9398d go/analysis/passes/slog: do not report multiple incorrect keys > 4baa3dc gopls/internal/bug: move bug package into gopls > 71ea8f1 go/ssa: lift structs, arrays and typeparams > d59a28f gopls/internal/lsp/source: references: restrict search to workspace packages > e8f417a gopls/internal/lsp/cache: cleanups to active packages > 82c8a38 internal/gocommand: set a WaitDelay (when available) on commands > e286d22 gopls/internal/lsp: eliminate diagnoseDetached > 4e3238a gopls/internal/lsp/cache: break metadata cycles > 660614b gopls/internal/lsp/source: more ITV filtering > ce50135 go/analysis/passes/slog: static checks for slog k-v pairs > b9619ee gopls/internal/regtest/bench: run kubernetes benchmarks with -short > 21a4769 gopls: remove related info for informational diagnostic > 6deeacb all: fix remaining tests on js/wasm > bfcd41e gopls/internal/lsp/source: add missing punctuation to stubbed method doc > 1c5ccad gopls: add a 'stats' subcommand > 9c9e11f gopls/internal/lsp/cache: load modules by dir, not module path > b35949e gopls/internal/lsp/source: filter intermediate test variants > 133605d gopls/internal/lsp/cache: remove spurious error check > 240a4dc gopls/internal/lsp/cmd: add instrumentation for TestFix > ed3ff1b gopls/internal/lsp: finish debouncing on context cancellation > 780626c all: fix non-gopls short tests on js/wasm and update for wasip1/wasm > 13c52bc internal/gocommand: stop copying stdout as soon as ctx is done > 641e4d7 gopls/doc: update coc.nvim config > 85d651a go/analysis/checker/internal: resolve Diagnostic.URLs > 54c806f gopls/internal/lsp: eliminate more uses of Span > 60d9c06 go/analysis/passes: skip passes that do not import relevant packages > 0d77eea gopls/internal/regstest/misc: use go 1.19 instead of 1.29 in TestIssue59124 > 1b2d1bd gopls/internal/lsp/cache: improve precision of cache key > b6f4d07 gopls/internal/lsp: fix initial diagnostics pass > d03c59d gopls/internal/lsp/source/typerefs: serialization support > 6492058 gopls: strict LSP compliance for empty slices > 0f415ef gopls/internal/lsp/source: support hover over non-decimal int literals > 40fb89c internal/lsp/testdata: correct DefinitionsCount in 1.21 summary file > a4ffa6e internal/lsp/testdata: update 'bad0' diagnostics test for 1.21 > 5bcc1bd gopls/internal/lsp/filecache: evict aggressively on Go builders > 866a200 internal/gocommand: more tweaks to DebugHangingGoCommands > a5338c9 go/types/objectpath: add Encoder type, to amortize Scope.Names > 45ef829 gopls/internal/lsp/filecache: add integrity check > 4bea115 gopls/internal/lsp/source/typerefs: collapse SCCs of ref graph > 5ef3193 gopls/internal/lsp/source/typerefs: reexpress tests wrt ExternalRefs > c5f768a go.mod: update golang.org/x dependencies > 7c33a56 gopls/internal/lsp/source: show both the original declaration and the value of constants in hover > 4d205d8 gopls/doc: add instructions for using go.work with the Go distribution > d5076cc gopls/internal/lsp/cache: don't trace a region for MetadataForFile > f796361 gopls/internal/lsp: add tracing instrumentation for all Server methods > e104501 gopls/internal/astutil: TestPurgeFuncBodies requires source code for std > 6520870 gopls/internal/lsp/source/typerefs: allow for duplicate decls > 902fdca gopls/internal/lsp/source/typerefs: purge func bodies before parsing > 58c9a63 go/packages/internal/nodecount: count ast.Node frequency > 0a3e5f0 gopls: use safetoken.Line to compute line numbers > f4e613e go/analysis/passes/tests: enable fuzz checks in 'tests' analysis pass for cmd/vet > 6546e8e gopls/internal/lsp/source/typerefs: new package to analyze syntax deps > 04059e1 gopls/internal/lsp/cache: record unloadable files if loading completes > 4b11203 gopls/internal/lsp/cache: parse the builtin file through the cache > bc35a69 gopls/internal/lsp/source: fix references expansion bug > 374b64a go/types/internal/play: show AST debug representation too > 13850b3 gopls/internal/lsp/regtest: move @symbol to new marker tests > e9188f8 go/analysis/analysistest: Validate analyzers in Run > cc511f4 gopls/internal/lsp/regtest: move @implementation to new framework > e0ecd1b go/analysis/passes/printf: check new fmt.Appendf function too > 488ba86 gopls/internal/lsp/cache: hold on to imports used by open packages > d52bc56 gopls/internal/lsp: reorder the way we compute diagnostics > 83c1ba1 gopls/internal/lsp/cache: fix two crashes when parsed file overflows > cbe6614 go/analysis/passes/printf: improve documentation > 255eeeb go/.../analysisutil: ExtractDoc unifies Analyzer.Doc and package doc > 1b71eda gopls/internal/regtest/bench: add flags to reuse benchmark repo dirs > f8a7325 gopls/internal/lsp/cache: use json encoding for diagnostics > df92f17 gopls: pre-initialize the file cache > c3edf5a gopls/internal/lsp/cache: actually preload files in parallel > acaae98 gopls/internal/lsp/cache: stream package results > fa55648 gopls/internal/lsp/cache: evaluate imports lazily in TypeCheck > a164829 gopls/internal/lsp/cache: add additional debug assertions during parsing > 665c922 gopls/internal/lsp/source: fix panic in quickParse > ff76038 go/analysis/passes/printf: improve workaround doc > b222520 gopls/internal/cache: use AddExistingFiles in the parse cache > 6e5f425 gopls/mod: show hint for discordant module versions > e5f7ae1 go/analysis: add Analyser.URL and Diagnostic.URI fields > b6dbcf8 internal/gcimporter: have IImportShallow accept an import func > 35ef64e internal/tool: add the profile.alloc flag > 912861f gopls/internal/lsp/cache: skip object resolution during parsing > c881168 internal/tokeninternal: add AddExistingFiles helper > c4b943d gopls/internal/lsp: delay workspace diagnostics and analysis > c17e55e gopls/internal/lsp/cmd: definition on items without support for hover. > 537c4aa gopls/internal/regtest: port @refs to new marker tests > 36ed0b1 gopls/internal/lsp/source: rename snapshot.GetFile to ReadFile > 4feee84 go/types/internal/play: a playground for go/types > 243a948 internal/lsp/regtest: have the regtests control their diagnosticsDelay > ae907a4 gopls/internal/lsp/cache: pre-load files after loading packages > 293fdc9 gopls/internal/lsp/cache: don't ignore type-errors that can't be mapped > 6bb0e47 gopls/internal/lsp: improve concurrency of the diagnostics pass > e4da1ee gopls/internal/lsp/debug: show log of recent spans > dd1e2f6 cmd/present/static: fork needed godoc static resources > 75c657b gopls/internal/regtest/bench: small fixes for DiagnoseChange > 786752b gopls/internal/lsp/source: rename FileHandle.Read to Content > edc0084 gopls/internal/regtest/bench: narrow the -short guard in iwl_test.go > 656f17c gopls/internal/lsp/cache: parallelize getPackageData > bac9896 gopls/internal/regtest/marker: add a test for golang/go# 56943 Signed-off-by: Knative Automation --- go.mod | 67 +- go.sum | 199 +-- .../hashicorp/golang-lru/.golangci.yml | 30 + .../github.com/hashicorp/golang-lru/2q.go | 3 +- .../github.com/hashicorp/golang-lru/LICENSE | 2 + .../github.com/hashicorp/golang-lru/README.md | 26 +- .../github.com/hashicorp/golang-lru/arc.go | 1 - .../github.com/hashicorp/golang-lru/lru.go | 119 +- .../hashicorp/golang-lru/simplelru/lru.go | 6 +- .../golang-lru/simplelru/lru_interface.go | 5 +- .../hashicorp/golang-lru/testing.go | 16 + .../statsd_exporter/pkg/{mapper => }/LICENSE | 0 .../statsd_exporter/pkg/{mapper => }/NOTICE | 0 .../go.uber.org/atomic/LICENSE.txt | 19 - vendor/github.com/benbjohnson/clock/README.md | 9 +- vendor/github.com/benbjohnson/clock/clock.go | 46 +- .../github.com/benbjohnson/clock/context.go | 86 + vendor/github.com/go-kit/log/README.md | 5 + vendor/github.com/go-kit/log/json_logger.go | 4 +- vendor/github.com/go-kit/log/level/doc.go | 11 + vendor/github.com/go-kit/log/level/level.go | 53 +- vendor/github.com/go-kit/log/staticcheck.conf | 1 + .../hashicorp/golang-lru/.golangci.yml | 30 + vendor/github.com/hashicorp/golang-lru/2q.go | 3 +- .../github.com/hashicorp/golang-lru/LICENSE | 2 + .../github.com/hashicorp/golang-lru/README.md | 26 +- vendor/github.com/hashicorp/golang-lru/arc.go | 1 - vendor/github.com/hashicorp/golang-lru/lru.go | 119 +- .../hashicorp/golang-lru/simplelru/lru.go | 6 +- .../golang-lru/simplelru/lru_interface.go | 5 +- .../hashicorp/golang-lru/testing.go | 16 + .../github.com/openzipkin/zipkin-go/Makefile | 9 +- .../github.com/openzipkin/zipkin-go/README.md | 11 +- .../openzipkin/zipkin-go/context.go | 13 +- vendor/github.com/openzipkin/zipkin-go/doc.go | 2 +- .../openzipkin/zipkin-go/endpoint.go | 2 +- .../zipkin-go/idgenerator/idgenerator.go | 2 +- .../openzipkin/zipkin-go/model/annotation.go | 2 +- .../openzipkin/zipkin-go/model/doc.go | 2 +- .../openzipkin/zipkin-go/model/endpoint.go | 2 +- .../openzipkin/zipkin-go/model/kind.go | 2 +- .../openzipkin/zipkin-go/model/span.go | 34 +- .../openzipkin/zipkin-go/model/span_id.go | 2 +- .../openzipkin/zipkin-go/model/traceid.go | 2 +- .../github.com/openzipkin/zipkin-go/noop.go | 4 +- .../zipkin-go/propagation/propagation.go | 2 +- .../zipkin-go/reporter/http/http.go | 2 +- .../openzipkin/zipkin-go/reporter/reporter.go | 2 +- .../zipkin-go/reporter/serializer.go | 2 +- .../github.com/openzipkin/zipkin-go/sample.go | 2 +- .../github.com/openzipkin/zipkin-go/span.go | 2 +- .../zipkin-go/span_implementation.go | 2 +- .../openzipkin/zipkin-go/span_options.go | 4 +- .../github.com/openzipkin/zipkin-go/tags.go | 2 +- .../github.com/openzipkin/zipkin-go/tracer.go | 17 +- .../openzipkin/zipkin-go/tracer_options.go | 2 +- .../client_golang/prometheus/counter.go | 26 +- .../client_golang/prometheus/desc.go | 46 +- .../client_golang/prometheus/doc.go | 44 +- .../client_golang/prometheus/gauge.go | 26 +- .../prometheus/go_collector_latest.go | 7 +- .../client_golang/prometheus/histogram.go | 61 +- .../client_golang/prometheus/labels.go | 72 + .../client_golang/prometheus/metric.go | 6 +- .../client_golang/prometheus/promhttp/http.go | 19 +- .../prometheus/promhttp/instrument_client.go | 26 +- .../prometheus/promhttp/instrument_server.go | 101 +- .../prometheus/promhttp/option.go | 38 +- .../client_golang/prometheus/registry.go | 17 +- .../client_golang/prometheus/summary.go | 39 +- .../client_golang/prometheus/timer.go | 28 +- .../client_golang/prometheus/value.go | 10 +- .../client_golang/prometheus/vec.go | 79 +- .../client_golang/prometheus/vnext.go | 23 + .../client_golang/prometheus/wrap.go | 8 +- .../prometheus/client_model/go/metrics.pb.go | 1530 +++++++++++------ .../prometheus/common/expfmt/decode.go | 39 +- .../prometheus/common/expfmt/encode.go | 13 +- .../prometheus/common/expfmt/expfmt.go | 26 +- .../prometheus/common/expfmt/fuzz.go | 4 +- .../common/expfmt/openmetrics_create.go | 22 +- .../prometheus/common/expfmt/text_create.go | 3 +- .../prometheus/common/expfmt/text_parse.go | 12 +- .../bitbucket.org/ww/goautoneg/autoneg.go | 22 +- .../prometheus/common/model/time.go | 89 +- .../prometheus/common/model/value.go | 246 ++- .../prometheus/common/model/value_float.go | 100 ++ .../common/model/value_histogram.go | 178 ++ .../prometheus/common/model/value_type.go | 83 + .../prometheus/procfs/Makefile.common | 23 +- .../github.com/prometheus/procfs/cpuinfo.go | 36 + .../prometheus/procfs/cpuinfo_loong64.go | 19 + .../prometheus/procfs/cpuinfo_others.go | 4 +- vendor/github.com/prometheus/procfs/doc.go | 51 +- vendor/github.com/prometheus/procfs/fs.go | 9 +- .../prometheus/procfs/fs_statfs_notype.go | 23 + .../prometheus/procfs/fs_statfs_type.go | 33 + .../prometheus/procfs/internal/util/parse.go | 15 + .../prometheus/procfs/mountstats.go | 9 +- .../prometheus/procfs/net_conntrackstat.go | 88 +- .../prometheus/procfs/net_softnet.go | 75 +- .../prometheus/procfs/net_wireless.go | 182 ++ .../github.com/prometheus/procfs/netstat.go | 54 +- vendor/github.com/prometheus/procfs/proc.go | 22 +- .../prometheus/procfs/proc_cgroup.go | 2 +- .../prometheus/procfs/proc_interrupts.go | 98 ++ .../prometheus/procfs/proc_netstat.go | 491 +++--- .../github.com/prometheus/procfs/proc_snmp.go | 318 ++-- .../prometheus/procfs/proc_snmp6.go | 364 ++-- .../github.com/prometheus/procfs/proc_stat.go | 10 +- .../prometheus/procfs/proc_status.go | 38 +- vendor/github.com/prometheus/procfs/stat.go | 22 +- vendor/github.com/prometheus/procfs/thread.go | 80 + vendor/github.com/prometheus/procfs/vm.go | 4 +- .../statsd_exporter/pkg/level/level.go | 97 ++ .../statsd_exporter/pkg/mapper/escape.go | 12 + .../statsd_exporter/pkg/mapper/fsm/dump.go | 2 +- .../statsd_exporter/pkg/mapper/fsm/fsm.go | 3 +- .../statsd_exporter/pkg/mapper/mapper.go | 11 +- vendor/go.uber.org/atomic/.codecov.yml | 19 - vendor/go.uber.org/atomic/.gitignore | 15 - vendor/go.uber.org/atomic/CHANGELOG.md | 100 -- vendor/go.uber.org/atomic/LICENSE.txt | 19 - vendor/go.uber.org/atomic/Makefile | 79 - vendor/go.uber.org/atomic/README.md | 63 - vendor/go.uber.org/atomic/bool.go | 81 - vendor/go.uber.org/atomic/duration.go | 82 - vendor/go.uber.org/atomic/duration_ext.go | 40 - vendor/go.uber.org/atomic/error.go | 51 - vendor/go.uber.org/atomic/error_ext.go | 39 - vendor/go.uber.org/atomic/float64.go | 77 - vendor/go.uber.org/atomic/float64_ext.go | 69 - vendor/go.uber.org/atomic/gen.go | 27 - vendor/go.uber.org/atomic/int32.go | 102 -- vendor/go.uber.org/atomic/int64.go | 102 -- vendor/go.uber.org/atomic/nocmp.go | 35 - vendor/go.uber.org/atomic/string.go | 54 - vendor/go.uber.org/atomic/string_ext.go | 45 - vendor/go.uber.org/atomic/uint32.go | 102 -- vendor/go.uber.org/atomic/uint64.go | 102 -- vendor/go.uber.org/atomic/uintptr.go | 102 -- vendor/go.uber.org/atomic/unsafe_pointer.go | 58 - vendor/go.uber.org/atomic/value.go | 31 - .../automaxprocs/internal/cgroups/cgroup.go | 1 + .../automaxprocs/internal/cgroups/cgroups.go | 5 +- .../automaxprocs/internal/cgroups/cgroups2.go | 176 ++ .../automaxprocs/internal/cgroups/errors.go | 1 + .../internal/cgroups/mountpoint.go | 5 + .../automaxprocs/internal/cgroups/subsys.go | 1 + .../internal/runtime/cpu_quota_linux.go | 24 +- .../internal/runtime/cpu_quota_unsupported.go | 1 + .../automaxprocs/internal/runtime/runtime.go | 2 +- .../automaxprocs/maxprocs/maxprocs.go | 2 +- .../automaxprocs/maxprocs/version.go | 2 +- vendor/go.uber.org/multierr/CHANGELOG.md | 16 + vendor/go.uber.org/multierr/README.md | 22 +- vendor/go.uber.org/multierr/error.go | 378 ++-- .../doc.go => multierr/error_post_go120.go} | 14 +- .../error_pre_go120.go} | 54 +- vendor/go.uber.org/multierr/glide.yaml | 8 - vendor/go.uber.org/zap/CHANGELOG.md | 74 + vendor/go.uber.org/zap/CONTRIBUTING.md | 21 +- vendor/go.uber.org/zap/Makefile | 21 +- vendor/go.uber.org/zap/README.md | 47 +- vendor/go.uber.org/zap/array_go118.go | 156 ++ vendor/go.uber.org/zap/buffer/pool.go | 20 +- vendor/go.uber.org/zap/config.go | 88 +- vendor/go.uber.org/zap/doc.go | 60 +- vendor/go.uber.org/zap/encoder.go | 2 +- vendor/go.uber.org/zap/error.go | 9 +- vendor/go.uber.org/zap/field.go | 169 +- vendor/go.uber.org/zap/http_handler.go | 25 +- vendor/go.uber.org/zap/internal/exit/exit.go | 22 +- .../internal/level_enabler.go} | 27 +- .../time.go => zap/internal/pool/pool.go} | 51 +- .../go.uber.org/zap/internal/ztest/timeout.go | 2 +- .../go.uber.org/zap/internal/ztest/writer.go | 6 +- vendor/go.uber.org/zap/level.go | 12 +- vendor/go.uber.org/zap/logger.go | 61 +- vendor/go.uber.org/zap/options.go | 21 +- vendor/go.uber.org/zap/sink.go | 100 +- vendor/go.uber.org/zap/stacktrace.go | 18 +- vendor/go.uber.org/zap/sugar.go | 200 ++- vendor/go.uber.org/zap/writer.go | 11 +- .../zap/zapcore/buffered_write_syncer.go | 31 + .../zap/zapcore/console_encoder.go | 14 +- vendor/go.uber.org/zap/zapcore/core.go | 9 + vendor/go.uber.org/zap/zapcore/encoder.go | 9 +- vendor/go.uber.org/zap/zapcore/entry.go | 90 +- vendor/go.uber.org/zap/zapcore/error.go | 23 +- vendor/go.uber.org/zap/zapcore/hook.go | 9 + .../go.uber.org/zap/zapcore/increase_level.go | 9 + .../go.uber.org/zap/zapcore/json_encoder.go | 18 +- vendor/go.uber.org/zap/zapcore/level.go | 42 + vendor/go.uber.org/zap/zapcore/sampler.go | 34 +- vendor/go.uber.org/zap/zapcore/tee.go | 17 +- vendor/go.uber.org/zap/zaptest/logger.go | 6 +- vendor/go.uber.org/zap/zaptest/writer.go | 2 +- .../x/mod/internal/lazyregexp/lazyre.go | 2 +- vendor/golang.org/x/mod/module/module.go | 30 +- vendor/golang.org/x/mod/module/pseudo.go | 2 +- vendor/golang.org/x/mod/semver/semver.go | 6 +- vendor/golang.org/x/net/http2/transport.go | 35 +- .../x/oauth2/internal/client_appengine.go | 1 - vendor/golang.org/x/sync/errgroup/errgroup.go | 10 +- vendor/golang.org/x/sync/errgroup/go120.go | 14 + .../golang.org/x/sync/errgroup/pre_go120.go | 15 + vendor/golang.org/x/sys/unix/mkerrors.sh | 2 +- vendor/golang.org/x/sys/unix/mmap_nomremap.go | 14 + vendor/golang.org/x/sys/unix/mremap.go | 21 +- vendor/golang.org/x/sys/unix/syscall_aix.go | 15 - vendor/golang.org/x/sys/unix/syscall_bsd.go | 14 - .../golang.org/x/sys/unix/syscall_darwin.go | 50 +- vendor/golang.org/x/sys/unix/syscall_linux.go | 63 +- .../x/sys/unix/syscall_linux_amd64.go | 2 +- .../x/sys/unix/syscall_linux_arm64.go | 2 +- .../x/sys/unix/syscall_linux_loong64.go | 2 +- .../x/sys/unix/syscall_linux_mips64x.go | 2 +- .../x/sys/unix/syscall_linux_riscv64.go | 13 +- .../golang.org/x/sys/unix/syscall_netbsd.go | 13 +- .../golang.org/x/sys/unix/syscall_solaris.go | 14 - vendor/golang.org/x/sys/unix/syscall_unix.go | 8 + .../x/sys/unix/syscall_zos_s390x.go | 14 - .../x/sys/unix/zerrors_linux_386.go | 9 + .../x/sys/unix/zerrors_linux_amd64.go | 9 + .../x/sys/unix/zerrors_linux_arm.go | 9 + .../x/sys/unix/zerrors_linux_arm64.go | 9 + .../x/sys/unix/zerrors_linux_loong64.go | 9 + .../x/sys/unix/zerrors_linux_mips.go | 9 + .../x/sys/unix/zerrors_linux_mips64.go | 9 + .../x/sys/unix/zerrors_linux_mips64le.go | 9 + .../x/sys/unix/zerrors_linux_mipsle.go | 9 + .../x/sys/unix/zerrors_linux_ppc.go | 9 + .../x/sys/unix/zerrors_linux_ppc64.go | 9 + .../x/sys/unix/zerrors_linux_ppc64le.go | 9 + .../x/sys/unix/zerrors_linux_riscv64.go | 9 + .../x/sys/unix/zerrors_linux_s390x.go | 9 + .../x/sys/unix/zerrors_linux_sparc64.go | 9 + .../golang.org/x/sys/unix/zsyscall_linux.go | 2 +- .../x/sys/unix/zsyscall_linux_riscv64.go | 16 + .../x/sys/unix/zsyscall_netbsd_386.go | 11 + .../x/sys/unix/zsyscall_netbsd_amd64.go | 11 + .../x/sys/unix/zsyscall_netbsd_arm.go | 11 + .../x/sys/unix/zsyscall_netbsd_arm64.go | 11 + .../x/sys/unix/zsysnum_linux_riscv64.go | 2 + vendor/golang.org/x/sys/unix/ztypes_linux.go | 5 + .../x/sys/unix/ztypes_linux_riscv64.go | 23 + .../x/sys/windows/syscall_windows.go | 4 +- .../x/tools/internal/event/tag/tag.go | 59 + .../x/tools/internal/fastwalk/fastwalk.go | 16 +- .../x/tools/internal/gocommand/invoke.go | 146 +- .../x/tools/internal/gocommand/version.go | 18 +- .../x/tools/internal/gopathwalk/walk.go | 20 +- .../x/tools/internal/imports/fix.go | 40 +- .../x/tools/internal/imports/imports.go | 9 +- .../x/tools/internal/imports/mod.go | 12 +- .../x/tools/internal/imports/mod_cache.go | 2 +- .../x/tools/internal/typeparams/common.go | 26 + .../internal/typeparams/typeparams_go117.go | 2 +- .../internal/typeparams/typeparams_go118.go | 2 +- .../gomodules.xyz/jsonpatch/v2/jsonpatch.go | 160 +- .../grpc/attributes/attributes.go | 28 +- vendor/google.golang.org/grpc/clientconn.go | 91 +- vendor/google.golang.org/grpc/dialoptions.go | 23 + .../grpc/internal/envconfig/envconfig.go | 3 + .../grpc/internal/grpcrand/grpcrand.go | 7 + .../grpc/internal/grpcsync/pubsub.go | 136 ++ .../internal/resolver/dns/dns_resolver.go | 74 +- .../grpc/internal/transport/http2_server.go | 2 +- .../grpc/resolver/resolver.go | 8 +- vendor/google.golang.org/grpc/rpc_util.go | 27 +- vendor/google.golang.org/grpc/server.go | 27 +- .../grpc/shared_buffer_pool.go | 154 ++ .../google.golang.org/grpc/status/status.go | 29 +- vendor/google.golang.org/grpc/stream.go | 4 +- vendor/google.golang.org/grpc/version.go | 2 +- .../eventing/pkg/apis/feature/features.go | 4 + .../eventing/pkg/apis/feature/flag_names.go | 1 + vendor/knative.dev/hack/e2e-tests.sh | 9 +- vendor/knative.dev/hack/infra-library.sh | 41 +- vendor/knative.dev/hack/library.sh | 2 +- vendor/knative.dev/hack/performance-tests.sh | 16 +- vendor/knative.dev/hack/presubmit-tests.sh | 2 +- .../networking/pkg/config/config.go | 24 +- vendor/knative.dev/pkg/metrics/metrics.go | 6 +- vendor/knative.dev/pkg/profiling/server.go | 7 +- .../pkg/reconciler/testing/context.go | 7 +- .../pkg/reconciler/testing/hooks.go | 14 +- vendor/knative.dev/pkg/webhook/helper.go | 14 + vendor/knative.dev/pkg/webhook/webhook.go | 16 +- .../pkg/apis/serving/v1alpha1/README.md | 9 - .../apis/serving/v1alpha1/conversion_error.go | 51 - .../serving/pkg/apis/serving/v1alpha1/doc.go | 24 - .../v1alpha1/domainmapping_defaults.go | 36 - .../v1alpha1/domainmapping_lifecycle.go | 180 -- .../serving/v1alpha1/domainmapping_types.go | 135 -- .../v1alpha1/domainmapping_validation.go | 73 - .../pkg/apis/serving/v1alpha1/register.go | 55 - .../serving/v1alpha1/zz_generated.deepcopy.go | 170 -- .../client/clientset/versioned/clientset.go | 13 - .../clientset/versioned/scheme/register.go | 2 - .../versioned/typed/serving/v1alpha1/doc.go | 20 - .../typed/serving/v1alpha1/domainmapping.go | 195 --- .../serving/v1alpha1/generated_expansion.go | 21 - .../typed/serving/v1alpha1/serving_client.go | 107 -- .../informers/externalversions/generic.go | 5 - .../externalversions/serving/interface.go | 8 - .../serving/v1alpha1/domainmapping.go | 90 - .../serving/v1alpha1/interface.go | 45 - .../listers/serving/v1alpha1/domainmapping.go | 99 -- .../serving/v1alpha1/expansion_generated.go | 27 - vendor/modules.txt | 99 +- 312 files changed, 7312 insertions(+), 6061 deletions(-) create mode 100644 third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/.golangci.yml create mode 100644 third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/testing.go rename third_party/VENDOR-LICENSE/github.com/prometheus/statsd_exporter/pkg/{mapper => }/LICENSE (100%) rename third_party/VENDOR-LICENSE/github.com/prometheus/statsd_exporter/pkg/{mapper => }/NOTICE (100%) delete mode 100644 third_party/VENDOR-LICENSE/go.uber.org/atomic/LICENSE.txt create mode 100644 vendor/github.com/benbjohnson/clock/context.go create mode 100644 vendor/github.com/go-kit/log/staticcheck.conf create mode 100644 vendor/github.com/hashicorp/golang-lru/.golangci.yml create mode 100644 vendor/github.com/hashicorp/golang-lru/testing.go create mode 100644 vendor/github.com/prometheus/client_golang/prometheus/vnext.go create mode 100644 vendor/github.com/prometheus/common/model/value_float.go create mode 100644 vendor/github.com/prometheus/common/model/value_histogram.go create mode 100644 vendor/github.com/prometheus/common/model/value_type.go create mode 100644 vendor/github.com/prometheus/procfs/cpuinfo_loong64.go create mode 100644 vendor/github.com/prometheus/procfs/fs_statfs_notype.go create mode 100644 vendor/github.com/prometheus/procfs/fs_statfs_type.go create mode 100644 vendor/github.com/prometheus/procfs/net_wireless.go create mode 100644 vendor/github.com/prometheus/procfs/proc_interrupts.go create mode 100644 vendor/github.com/prometheus/procfs/thread.go create mode 100644 vendor/github.com/prometheus/statsd_exporter/pkg/level/level.go delete mode 100644 vendor/go.uber.org/atomic/.codecov.yml delete mode 100644 vendor/go.uber.org/atomic/.gitignore delete mode 100644 vendor/go.uber.org/atomic/CHANGELOG.md delete mode 100644 vendor/go.uber.org/atomic/LICENSE.txt delete mode 100644 vendor/go.uber.org/atomic/Makefile delete mode 100644 vendor/go.uber.org/atomic/README.md delete mode 100644 vendor/go.uber.org/atomic/bool.go delete mode 100644 vendor/go.uber.org/atomic/duration.go delete mode 100644 vendor/go.uber.org/atomic/duration_ext.go delete mode 100644 vendor/go.uber.org/atomic/error.go delete mode 100644 vendor/go.uber.org/atomic/error_ext.go delete mode 100644 vendor/go.uber.org/atomic/float64.go delete mode 100644 vendor/go.uber.org/atomic/float64_ext.go delete mode 100644 vendor/go.uber.org/atomic/gen.go delete mode 100644 vendor/go.uber.org/atomic/int32.go delete mode 100644 vendor/go.uber.org/atomic/int64.go delete mode 100644 vendor/go.uber.org/atomic/nocmp.go delete mode 100644 vendor/go.uber.org/atomic/string.go delete mode 100644 vendor/go.uber.org/atomic/string_ext.go delete mode 100644 vendor/go.uber.org/atomic/uint32.go delete mode 100644 vendor/go.uber.org/atomic/uint64.go delete mode 100644 vendor/go.uber.org/atomic/uintptr.go delete mode 100644 vendor/go.uber.org/atomic/unsafe_pointer.go delete mode 100644 vendor/go.uber.org/atomic/value.go create mode 100644 vendor/go.uber.org/automaxprocs/internal/cgroups/cgroups2.go rename vendor/go.uber.org/{atomic/doc.go => multierr/error_post_go120.go} (82%) rename vendor/go.uber.org/{atomic/bool_ext.go => multierr/error_pre_go120.go} (51%) delete mode 100644 vendor/go.uber.org/multierr/glide.yaml create mode 100644 vendor/go.uber.org/zap/array_go118.go rename vendor/go.uber.org/{atomic/time_ext.go => zap/internal/level_enabler.go} (65%) rename vendor/go.uber.org/{atomic/time.go => zap/internal/pool/pool.go} (56%) create mode 100644 vendor/golang.org/x/sync/errgroup/go120.go create mode 100644 vendor/golang.org/x/sync/errgroup/pre_go120.go create mode 100644 vendor/golang.org/x/sys/unix/mmap_nomremap.go create mode 100644 vendor/golang.org/x/tools/internal/event/tag/tag.go create mode 100644 vendor/google.golang.org/grpc/internal/grpcsync/pubsub.go create mode 100644 vendor/google.golang.org/grpc/shared_buffer_pool.go delete mode 100644 vendor/knative.dev/serving/pkg/apis/serving/v1alpha1/README.md delete mode 100644 vendor/knative.dev/serving/pkg/apis/serving/v1alpha1/conversion_error.go delete mode 100644 vendor/knative.dev/serving/pkg/apis/serving/v1alpha1/doc.go delete mode 100644 vendor/knative.dev/serving/pkg/apis/serving/v1alpha1/domainmapping_defaults.go delete mode 100644 vendor/knative.dev/serving/pkg/apis/serving/v1alpha1/domainmapping_lifecycle.go delete mode 100644 vendor/knative.dev/serving/pkg/apis/serving/v1alpha1/domainmapping_types.go delete mode 100644 vendor/knative.dev/serving/pkg/apis/serving/v1alpha1/domainmapping_validation.go delete mode 100644 vendor/knative.dev/serving/pkg/apis/serving/v1alpha1/register.go delete mode 100644 vendor/knative.dev/serving/pkg/apis/serving/v1alpha1/zz_generated.deepcopy.go delete mode 100644 vendor/knative.dev/serving/pkg/client/clientset/versioned/typed/serving/v1alpha1/doc.go delete mode 100644 vendor/knative.dev/serving/pkg/client/clientset/versioned/typed/serving/v1alpha1/domainmapping.go delete mode 100644 vendor/knative.dev/serving/pkg/client/clientset/versioned/typed/serving/v1alpha1/generated_expansion.go delete mode 100644 vendor/knative.dev/serving/pkg/client/clientset/versioned/typed/serving/v1alpha1/serving_client.go delete mode 100644 vendor/knative.dev/serving/pkg/client/informers/externalversions/serving/v1alpha1/domainmapping.go delete mode 100644 vendor/knative.dev/serving/pkg/client/informers/externalversions/serving/v1alpha1/interface.go delete mode 100644 vendor/knative.dev/serving/pkg/client/listers/serving/v1alpha1/domainmapping.go delete mode 100644 vendor/knative.dev/serving/pkg/client/listers/serving/v1alpha1/expansion_generated.go diff --git a/go.mod b/go.mod index 84c6e10db..56fc1049e 100644 --- a/go.mod +++ b/go.mod @@ -9,22 +9,22 @@ require ( github.com/google/go-cmp v0.5.9 github.com/kelseyhightower/envconfig v1.4.0 github.com/stretchr/testify v1.8.1 - go.uber.org/zap v1.21.0 + go.uber.org/zap v1.25.0 k8s.io/api v0.26.5 k8s.io/apimachinery v0.26.5 k8s.io/client-go v0.26.5 - knative.dev/eventing v0.38.0 - knative.dev/hack v0.0.0-20230712131415-ddae80293c43 - knative.dev/pkg v0.0.0-20230718152110-aef227e72ead - knative.dev/serving v0.38.0 + knative.dev/eventing v0.38.1-0.20230828144301-eacaac5a92d8 + knative.dev/hack v0.0.0-20230818155117-9cc05a31e8c0 + knative.dev/pkg v0.0.0-20230821102121-81e4ee140363 + knative.dev/serving v0.38.1-0.20230828144600-ae86b1df6b4c ) require ( contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d // indirect - contrib.go.opencensus.io/exporter/prometheus v0.4.0 // indirect + contrib.go.opencensus.io/exporter/prometheus v0.4.2 // indirect contrib.go.opencensus.io/exporter/zipkin v0.1.2 // indirect github.com/antlr/antlr4/runtime/Go/antlr v1.4.10 // indirect - github.com/benbjohnson/clock v1.1.0 // indirect + github.com/benbjohnson/clock v1.3.0 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/blang/semver/v4 v4.0.0 // indirect github.com/blendle/zapdriver v1.3.1 // indirect @@ -37,7 +37,7 @@ require ( github.com/emicklei/go-restful/v3 v3.9.0 // indirect github.com/evanphx/json-patch v4.12.0+incompatible // indirect github.com/evanphx/json-patch/v5 v5.6.0 // indirect - github.com/go-kit/log v0.2.0 // indirect + github.com/go-kit/log v0.2.1 // indirect github.com/go-logfmt/logfmt v0.5.1 // indirect github.com/go-logr/logr v1.2.3 // indirect github.com/go-openapi/jsonpointer v0.19.5 // indirect @@ -51,48 +51,47 @@ require ( github.com/google/gofuzz v1.2.0 // indirect github.com/google/uuid v1.3.0 // indirect github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 // indirect - github.com/hashicorp/golang-lru v0.5.4 // indirect + github.com/hashicorp/golang-lru v1.0.2 // indirect github.com/imdario/mergo v0.3.12 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/mailru/easyjson v0.7.7 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.2 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect - github.com/openzipkin/zipkin-go v0.3.0 // indirect + github.com/openzipkin/zipkin-go v0.4.1 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/prometheus/client_golang v1.14.0 // indirect - github.com/prometheus/client_model v0.3.0 // indirect - github.com/prometheus/common v0.37.0 // indirect - github.com/prometheus/procfs v0.8.0 // indirect - github.com/prometheus/statsd_exporter v0.21.0 // indirect + github.com/prometheus/client_golang v1.16.0 // indirect + github.com/prometheus/client_model v0.4.0 // indirect + github.com/prometheus/common v0.44.0 // indirect + github.com/prometheus/procfs v0.10.1 // indirect + github.com/prometheus/statsd_exporter v0.22.7 // indirect github.com/rickb777/date v1.13.0 // indirect github.com/rickb777/plural v1.2.1 // indirect github.com/robfig/cron/v3 v3.0.1 // indirect github.com/spf13/pflag v1.0.5 // indirect go.opencensus.io v0.24.0 // indirect - go.uber.org/atomic v1.9.0 // indirect - go.uber.org/automaxprocs v1.4.0 // indirect - go.uber.org/multierr v1.8.0 // indirect - golang.org/x/mod v0.9.0 // indirect - golang.org/x/net v0.12.0 // indirect - golang.org/x/oauth2 v0.8.0 // indirect - golang.org/x/sync v0.2.0 // indirect - golang.org/x/sys v0.10.0 // indirect - golang.org/x/term v0.10.0 // indirect - golang.org/x/text v0.11.0 // indirect + go.uber.org/automaxprocs v1.5.3 // indirect + go.uber.org/multierr v1.10.0 // indirect + golang.org/x/mod v0.12.0 // indirect + golang.org/x/net v0.14.0 // indirect + golang.org/x/oauth2 v0.11.0 // indirect + golang.org/x/sync v0.3.0 // indirect + golang.org/x/sys v0.11.0 // indirect + golang.org/x/term v0.11.0 // indirect + golang.org/x/text v0.12.0 // indirect golang.org/x/time v0.3.0 // indirect - golang.org/x/tools v0.7.0 // indirect - gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect - google.golang.org/api v0.124.0 // indirect + golang.org/x/tools v0.12.0 // indirect + gomodules.xyz/jsonpatch/v2 v2.3.0 // indirect + google.golang.org/api v0.138.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230525234025-438c736192d0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20230525234020-1aefcd67740a // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230629202037-9506855d4529 // indirect - google.golang.org/grpc v1.56.1 // indirect + google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20230807174057-1744710a1577 // indirect + google.golang.org/grpc v1.57.0 // indirect google.golang.org/protobuf v1.31.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect @@ -103,7 +102,7 @@ require ( k8s.io/klog/v2 v2.80.2-0.20221028030830-9ae4992afb54 // indirect k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 // indirect - knative.dev/networking v0.0.0-20230718160410-75dcd54d9510 // indirect + knative.dev/networking v0.0.0-20230828082700-1e4e18318353 // indirect sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.3.0 // indirect diff --git a/go.sum b/go.sum index ccd674d45..52091cf48 100644 --- a/go.sum +++ b/go.sum @@ -32,8 +32,8 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d h1:LblfooH1lKOpp1hIhukktmSAxFkqMPFk9KR6iZ0MJNI= contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d/go.mod h1:IshRmMJBhDfFj5Y67nVhMYTTIze91RUeT73ipWKs/GY= -contrib.go.opencensus.io/exporter/prometheus v0.4.0 h1:0QfIkj9z/iVZgK31D9H9ohjjIDApI2GOPScCKwxedbs= -contrib.go.opencensus.io/exporter/prometheus v0.4.0/go.mod h1:o7cosnyfuPVK0tB8q0QmaQNhGnptITnPQB+z1+qeFB0= +contrib.go.opencensus.io/exporter/prometheus v0.4.2 h1:sqfsYl5GIY/L570iT+l93ehxaWJs2/OwXtiWwew3oAg= +contrib.go.opencensus.io/exporter/prometheus v0.4.2/go.mod h1:dvEHbiKmgvbr5pjaF9fpw1KeYcjrnC1J8B+JKjsZyRQ= contrib.go.opencensus.io/exporter/zipkin v0.1.2 h1:YqE293IZrKtqPnpwDPH/lOqTWD/s3Iwabycam74JV3g= contrib.go.opencensus.io/exporter/zipkin v0.1.2/go.mod h1:mP5xM3rrgOjpn79MM8fZbj3gsxcuytSqtH0dxSWW1RE= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= @@ -41,19 +41,18 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= -github.com/Shopify/sarama v1.30.0/go.mod h1:zujlQQx1kzHsh4jfV1USnptCQrHAEZ2Hk8fTKCulPVs= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= -github.com/Shopify/toxiproxy/v2 v2.1.6-0.20210914104332-15ea381dcdae/go.mod h1:/cvHQkZ1fst0EmZnA5dFtiQdWCNCFYzb+uE2vqVgvx0= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= +github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/antlr/antlr4/runtime/Go/antlr v1.4.10 h1:yL7+Jz0jTC6yykIK/Wh74gnTJnrGr5AyrNMXuA0gves= github.com/antlr/antlr4/runtime/Go/antlr v1.4.10/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY= -github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= -github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= +github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A= +github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= @@ -84,9 +83,6 @@ github.com/cloudevents/sdk-go/v2 v2.13.0/go.mod h1:xDmKfzNjM8gBvjaF8ijFjM1VYOVUE github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -94,7 +90,6 @@ github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/r github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= -github.com/eapache/go-resiliency v1.2.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= github.com/emicklei/go-restful/v3 v3.9.0 h1:XwGDlfxEnQZzuopoqxwSEllNcCOM9DhhFyhFIIGKwxE= @@ -105,16 +100,12 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= -github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/evanphx/json-patch v0.5.2/go.mod h1:ZWS5hhDbVDyob71nXKNL0+PWn6ToqBHMikGIFbs31qQ= github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84= github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= github.com/flowstack/go-jsonschema v0.1.1/go.mod h1:yL7fNggx1o8rm9RlgXv7hTBWxdBM0rVwpMwimd3F3N0= -github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= -github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= @@ -125,8 +116,9 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2 github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-kit/log v0.2.0 h1:7i2K3eKTos3Vc0enKCfnVcgHh2olr/MyfboYq7cAcFw= github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= +github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU= +github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= @@ -186,7 +178,6 @@ github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiu github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/gomodule/redigo v1.8.3 h1:HR0kYDX2RJZvAup8CsiJwxB4dTCSC0AaUq6S4SiLwUc= github.com/gomodule/redigo v1.8.3/go.mod h1:P9dn9mFrCBvWhGE1wpxx6fgq7BAeLBk+UUUzlpkBYO0= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -204,6 +195,7 @@ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-containerregistry v0.13.0 h1:y1C7Z3e149OJbOPDBxLYR8ITPz8dTKqQwjErKVHJC8k= @@ -229,30 +221,20 @@ github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+ github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= -github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= github.com/grpc-ecosystem/grpc-gateway v1.14.6/go.mod h1:zdiPV4Yse/1gnckTHtghG4GkDEdKCRJduHpTxT3/jcw= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 h1:lLT7ZLSzGLI08vc9cpd+tYmNWjdKDqyr/2L+f6U12Fk= github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= github.com/hashicorp/go-cleanhttp v0.5.1 h1:dH3aiDG9Jvb5r5+bYHsikaOUIpcM0xvgMXVoDkXMzJM= github.com/hashicorp/go-retryablehttp v0.6.7 h1:8/CAEZt/+F7kR7GevNHulKkUjLht3CPmn7egmhieNKo= -github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= -github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/golang-lru v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iPY6p1c= +github.com/hashicorp/golang-lru v1.0.2/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/jcmturner/aescts/v2 v2.0.0/go.mod h1:AiaICIRyfYg35RUkr8yESTqvSy7csK90qZ5xfvvsoNs= -github.com/jcmturner/dnsutils/v2 v2.0.0/go.mod h1:b0TnjGOvI/n42bZa+hmXL+kFJZsFT7G4t3HTlQ184QM= -github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= -github.com/jcmturner/goidentity/v6 v6.0.1/go.mod h1:X1YW3bgtvwAXju7V3LCIMpY0Gbxyjn/mY9zx4tFonSg= -github.com/jcmturner/gokrb5/v8 v8.4.2/go.mod h1:sb+Xq/fTY5yktf/VxLsE3wlfPqQjp0aWNYyvBVK62bc= -github.com/jcmturner/rpc/v2 v2.0.3/go.mod h1:VUJYCIDm3PVOEHw8sgt091/20OJjskO/YJki3ELg/Hc= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= @@ -270,18 +252,15 @@ github.com/kelseyhightower/envconfig v1.4.0 h1:Im6hONhd3pLkfDFsbRgu68RDNkGF1r3dv github.com/kelseyhightower/envconfig v1.4.0/go.mod h1:cccZRl6mQpaq41TPp5QxidR+Sa3axMbJDNb//FQX6Gg= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/lightstep/tracecontext.go v0.0.0-20181129014701-1757c391b1ac h1:+2b6iGRJe3hvV/yVXrd41yVEjxuFHxasJqDhkIjS4gk= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= @@ -290,8 +269,8 @@ github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0 github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.2 h1:hAHbPm5IJGijwng3PWk09JkG9WeqChjprR5s9bBZ+OM= -github.com/matttproud/golang_protobuf_extensions v1.0.2/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= +github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= +github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -311,7 +290,6 @@ github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+W github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= -github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= github.com/onsi/ginkgo/v2 v2.4.0 h1:+Ig9nvqgS5OBSACXNk15PLdp0U9XPYROt9CFzVdFGIs= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= @@ -321,10 +299,9 @@ github.com/onsi/gomega v1.23.0 h1:/oxKu9c2HVap+F3PfKort2Hw5DEU+HGlW8n+tguWsys= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= -github.com/openzipkin/zipkin-go v0.3.0 h1:XtuXmOLIXLjiU2XduuWREDT0LOKtSgos/g7i7RYyoZQ= -github.com/openzipkin/zipkin-go v0.3.0/go.mod h1:4c3sLeE8xjNqehmF5RpAFLPLJxXscc0R4l6Zg0P1tTQ= +github.com/openzipkin/zipkin-go v0.4.1 h1:kNd/ST2yLLWhaWrkgchya40TJabe8Hioj9udfPcEO5A= +github.com/openzipkin/zipkin-go v0.4.1/go.mod h1:qY0VqDSN1pOBN94dBc6w2GJlWLiovAyg7Qt6/I9HecM= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= -github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= @@ -332,38 +309,41 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= -github.com/prometheus/client_golang v1.14.0 h1:nJdhIvne2eSX/XRAFV9PcvFFRbrjbcTUj0VP62TMhnw= -github.com/prometheus/client_golang v1.14.0/go.mod h1:8vpkKitgIVNcqrRBWh1C4TIUQgYNtG/XQE4E/Zae36Y= +github.com/prometheus/client_golang v1.12.2/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_golang v1.13.0/go.mod h1:vTeo+zgvILHsnnj/39Ou/1fPN5nJFOEMgftOUOmlvYQ= +github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= +github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4= -github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= +github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= +github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.28.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/common v0.37.0 h1:ccBbHCgIiT9uSoFY0vX8H3zsNR5eLt17/RQLUvn8pXE= +github.com/prometheus/common v0.35.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= +github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdOOfY= +github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.8.0 h1:ODq8ZFEaYeCaZOJlZZdJA2AbQR98dSHSM1KW/You5mo= github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4= -github.com/prometheus/statsd_exporter v0.21.0 h1:hA05Q5RFeIjgwKIYEdFd59xu5Wwaznf33yKI+pyX6T8= -github.com/prometheus/statsd_exporter v0.21.0/go.mod h1:rbT83sZq2V+p73lHhPZfMc3MLCHmSHelCh9hSGYNLTQ= -github.com/rabbitmq/amqp091-go v1.1.0/go.mod h1:ogQDLSOACsLPsIq0NpbtiifNZi2YOz0VTJ0kHRghqbM= +github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg= +github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= +github.com/prometheus/statsd_exporter v0.22.7 h1:7Pji/i2GuhK6Lu7DHrtTkFmNBCudCPT1pX2CziuyQR0= +github.com/prometheus/statsd_exporter v0.22.7/go.mod h1:N/TevpjkIh9ccs6nuzY3jQn9dFqnUakOjnEuMPJJJnI= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rickb777/date v1.13.0 h1:+8AmwLuY1d/rldzdqvqTEg7107bZ8clW37x4nsdG3Hs= github.com/rickb777/date v1.13.0/go.mod h1:GZf3LoGnxPWjX+/1TXOuzHefZFDovTyNLHDMd3qH70k= github.com/rickb777/plural v1.2.1 h1:UitRAgR70+yHFt26Tmj/F9dU9aV6UfjGXSbO1DcC9/U= @@ -372,13 +352,10 @@ github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= -github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= +github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= @@ -394,16 +371,12 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= +github.com/stvp/go-udp-testing v0.0.0-20201019212854-469649b16807/go.mod h1:7jxmlfBCDBXRzr0eAQJ48XC1hBu1np4CS5+cHEYfwpc= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= -github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= -github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= -github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= @@ -411,7 +384,6 @@ github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -422,28 +394,21 @@ go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= -go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/automaxprocs v1.4.0 h1:CpDZl6aOlLhReez+8S3eEotD7Jx0Os++lemPlMULQP0= -go.uber.org/automaxprocs v1.4.0/go.mod h1:/mTEdr7LvHhs0v7mjdxDreTz1OG5zdZGqgOnhWiR/+Q= -go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= +go.uber.org/automaxprocs v1.5.3 h1:kWazyxZUrS3Gs4qUpbwo5kEIMGe/DAvi5Z4tl2NW4j8= +go.uber.org/automaxprocs v1.5.3/go.mod h1:eRbA25aqJrxAbsLO0xy5jVwPt7FQnRgjW+efnwa1WM0= go.uber.org/goleak v1.2.0 h1:xqgm/S+aQvhWFTtR0XK3Jvg7z8kGV8P4X14IzwN3Eqk= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8= -go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= +go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ= +go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.21.0 h1:WefMeulhovoZ2sYXz7st6K0sLj7bBhpiFaud4r4zST8= -go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= +go.uber.org/zap v1.25.0 h1:4Hvk6GtkucQ790dqmj7l1eEnRdKm3k3ZUrUMS2d5+5c= +go.uber.org/zap v1.25.0/go.mod h1:JIAUzQIH94IC4fOJQm7gMmBJP5k7wQfdcnYdPoEXJYk= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210920023735-84f357641f63/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -474,9 +439,8 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.9.0 h1:KENHtAZL2y3NLMYZeHY9DW8HW8V+kQyJsY/V9JlKvCs= -golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= +golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -510,16 +474,14 @@ golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81R golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210917221730-978cfadd31cf/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.12.0 h1:cfawfvKITfUsFCeJIHJrbSxpeu/E81khclypR0GVT50= -golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14= +golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -527,8 +489,8 @@ golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4Iltr golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= -golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= +golang.org/x/oauth2 v0.11.0 h1:vPL4xzxBM4niKCW6g9whtaWVXTJf1U5e4aZxxFx/gbU= +golang.org/x/oauth2 v0.11.0/go.mod h1:LdF7O/8bLR/qWK9DrpXmbHLTouvRHK0SgJl0GmDBchk= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -539,9 +501,9 @@ golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= -golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= +golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -558,7 +520,6 @@ golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -589,12 +550,14 @@ golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= -golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220708085239-5a0f0661e09d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM= +golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.10.0 h1:3R7pNqamzBraeqj/Tj8qt1aQ2HpmlC+Cx/qL/7hn4/c= -golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= +golang.org/x/term v0.11.0 h1:F9tnn/DA/Im8nCwm+fX+1/eBwi4qFjRT++MhtVC4ZX0= +golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -603,8 +566,8 @@ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4= -golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc= +golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -655,15 +618,14 @@ golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.7.0 h1:W4OVu8VVOaIO0yzWMNdepAulS7YfoS3Zabrm8DOXXU4= -golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= +golang.org/x/tools v0.12.0 h1:YW6HUoUmYBpwSgyaGaZq1fHjrBjX1rlpZ54T6mu2kss= +golang.org/x/tools v0.12.0/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gomodules.xyz/jsonpatch/v2 v2.2.0 h1:4pT439QV83L+G9FkcCriY6EkpcK6r6bK+A5FBUMI7qY= -gomodules.xyz/jsonpatch/v2 v2.2.0/go.mod h1:WXp+iVDkoLQqPudfQ9GBlwB2eZ5DKOnjQZCYdOS8GPY= +gomodules.xyz/jsonpatch/v2 v2.3.0 h1:8NFhfS6gzxNqjLIYnZxg319wZ5Qjnx4m/CcX+Klzazc= +gomodules.xyz/jsonpatch/v2 v2.3.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= @@ -681,8 +643,8 @@ google.golang.org/api v0.25.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0M google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.124.0 h1:dP6Ef1VgOGqQ8eiv4GiY8RhmeyqzovcXBYPDUYG8Syo= -google.golang.org/api v0.124.0/go.mod h1:xu2HQurE5gi/3t1aFCvhPD781p0a3p11sdunTJ2BlP4= +google.golang.org/api v0.138.0 h1:K/tVp05MxNVbHShRw9m7e9VJGdagNeTdMzqPH7AUqr0= +google.golang.org/api v0.138.0/go.mod h1:4xyob8CxC+0GChNBvEUAk8VBKNvYOTWM9T3v3UfRxuY= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -723,12 +685,12 @@ google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20230525234025-438c736192d0 h1:x1vNwUhVOcsYoKyEGCZBH694SBmmBjA2EfauFVEI2+M= -google.golang.org/genproto v0.0.0-20230525234025-438c736192d0/go.mod h1:9ExIQyXL5hZrHzQceCwuSYwZZ5QZBazOcprJ5rgs3lY= -google.golang.org/genproto/googleapis/api v0.0.0-20230525234020-1aefcd67740a h1:HiYVD+FGJkTo+9zj1gqz0anapsa1JxjiSrN+BJKyUmE= -google.golang.org/genproto/googleapis/api v0.0.0-20230525234020-1aefcd67740a/go.mod h1:ts19tUU+Z0ZShN1y3aPyq2+O3d5FUNNgT6FtOzmrNn8= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230629202037-9506855d4529 h1:DEH99RbiLZhMxrpEJCZ0A+wdTe0EOgou/poSLx9vWf4= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230629202037-9506855d4529/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 h1:L6iMMGrtzgHsWofoFcihmDEMYeDR9KN/ThbPWGrh++g= +google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5/go.mod h1:oH/ZOT02u4kWEp7oYBGYFFkCdKS/uYR9Z7+0/xuuFp8= +google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 h1:nIgk/EEq3/YlnmVVXVnm14rC2oxgs1o0ong4sD/rd44= +google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5/go.mod h1:5DZzOUPCLYL3mNkQ0ms0F3EuUNZ7py1Bqeq6sxzI7/Q= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230807174057-1744710a1577 h1:wukfNtZmZUurLN/atp2hiIeTKn7QJWIQdHzqmsOnAOk= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230807174057-1744710a1577/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= @@ -746,9 +708,8 @@ google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTp google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k= -google.golang.org/grpc v1.56.1 h1:z0dNfjIl0VpaZ9iSVjA6daGatAYwPGstTjt5vkRMFkQ= -google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= +google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -762,6 +723,8 @@ google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlba google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= @@ -769,7 +732,6 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= @@ -787,7 +749,6 @@ gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -816,16 +777,16 @@ k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 h1:+70TFaan3hfJzs+7VK2o+O k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280/go.mod h1:+Axhij7bCpeqhklhUTe3xmOn6bWxolyZEeyaFpjGtl4= k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 h1:GfD9OzL11kvZN5iArC6oTS7RTj7oJOIfnislxYlqTj8= k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -knative.dev/eventing v0.38.0 h1:n6/k9IJ1kOvpZx4CMLqa1FG7g2iBiyKXwBu1Fy/81q4= -knative.dev/eventing v0.38.0/go.mod h1:JUqEC0zoyfYqhRHFz8VUxjkxH9G1cQ/Y+UvhXTxUXgI= -knative.dev/hack v0.0.0-20230712131415-ddae80293c43 h1:3SE06uNfSFGm/5XS+0trbyCUpgsOaBeyhPQU8FPNFz8= -knative.dev/hack v0.0.0-20230712131415-ddae80293c43/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= -knative.dev/networking v0.0.0-20230718160410-75dcd54d9510 h1:eNbWjEkbtGjCqK5TB4S0CjSSDd4PvyXm+w7bM9/zce4= -knative.dev/networking v0.0.0-20230718160410-75dcd54d9510/go.mod h1:Vngl91M++hqgoGNIjCii7MXnsEeN3kRbGC1aodhFqbk= -knative.dev/pkg v0.0.0-20230718152110-aef227e72ead h1:2dDzorpKuVZW3Qp7TbirMMq16FbId8f6bacQFX8jXLw= -knative.dev/pkg v0.0.0-20230718152110-aef227e72ead/go.mod h1:WmrwRV/P+hGHoMraAEfwg6ec+fBTf+Obu41v354Iabc= -knative.dev/serving v0.38.0 h1:h2PLGbhXmE1P2jB5ozjnXT6CagadMykaJW4Q/dhv0os= -knative.dev/serving v0.38.0/go.mod h1:3/KPMVdVOZSHdrRhvelLuxuO+Ftln2ZTKq8R3gUu6Gw= +knative.dev/eventing v0.38.1-0.20230828144301-eacaac5a92d8 h1:KPK1wM2DgoNIlVt37EYEIyVxH6D7bTUxTOODPcsYo6w= +knative.dev/eventing v0.38.1-0.20230828144301-eacaac5a92d8/go.mod h1:inFfD7WirG7ALHi7jpoYm3INeJpe1uMNo0cfvVpRxpg= +knative.dev/hack v0.0.0-20230818155117-9cc05a31e8c0 h1:n9YEGYuoj31pAkhGlNL+xTQAeXKYTLeMmIZLWA9fAeo= +knative.dev/hack v0.0.0-20230818155117-9cc05a31e8c0/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= +knative.dev/networking v0.0.0-20230828082700-1e4e18318353 h1:Ll5uB/h54ghuaWjoVAOUoar4dTSVpV26XOmnvKKevHQ= +knative.dev/networking v0.0.0-20230828082700-1e4e18318353/go.mod h1:1voQlQD0tuot6U3Kldw+uch33mK2LV85fi3MfbV0CP8= +knative.dev/pkg v0.0.0-20230821102121-81e4ee140363 h1:TI2hMwTM5Bl+yaWu1gN5bXAHSvc+FtH9cqm3NzmDBtY= +knative.dev/pkg v0.0.0-20230821102121-81e4ee140363/go.mod h1:dA3TdhFTRm4KmmpvfknpGV43SbGNFkLHySjC8/+NczM= +knative.dev/serving v0.38.1-0.20230828144600-ae86b1df6b4c h1:II/YJ+fNQOWgG95hFGigsB0vsSfhcc/lHOn+O4kyDrU= +knative.dev/serving v0.38.1-0.20230828144600-ae86b1df6b4c/go.mod h1:LhC5vH2hhy0EgfWg3dMFptE/JAqkdes6DooWb2NXEtQ= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/.golangci.yml b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/.golangci.yml new file mode 100644 index 000000000..49202fc41 --- /dev/null +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/.golangci.yml @@ -0,0 +1,30 @@ +linters: + enable: + - megacheck + - revive + - govet + - unconvert + - megacheck + - gas + - gocyclo + - dupl + - misspell + - unparam + - unused + - typecheck + - ineffassign + - stylecheck + - exportloopref + - gocritic + - nakedret + - gosimple + - prealloc + fast: false + disable-all: true + +issues: + exclude-rules: + - path: _test\.go + linters: + - dupl + exclude-use-default: false diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/2q.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/2q.go index e474cd075..15fcad030 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/2q.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/2q.go @@ -44,7 +44,7 @@ func New2Q(size int) (*TwoQueueCache, error) { // New2QParams creates a new TwoQueueCache using the provided // parameter values. -func New2QParams(size int, recentRatio float64, ghostRatio float64) (*TwoQueueCache, error) { +func New2QParams(size int, recentRatio, ghostRatio float64) (*TwoQueueCache, error) { if size <= 0 { return nil, fmt.Errorf("invalid size") } @@ -138,7 +138,6 @@ func (c *TwoQueueCache) Add(key, value interface{}) { // Add to the recently seen list c.ensureSpace(false) c.recent.Add(key, value) - return } // ensureSpace is used to ensure we have space in the cache diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/LICENSE b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/LICENSE index be2cc4dfb..0e5d580e0 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/LICENSE +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/LICENSE @@ -1,3 +1,5 @@ +Copyright (c) 2014 HashiCorp, Inc. + Mozilla Public License, version 2.0 1. Definitions diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/README.md b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/README.md index 33e58cfaf..03bcfb5b7 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/README.md +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/README.md @@ -1,25 +1,7 @@ golang-lru ========== -This provides the `lru` package which implements a fixed-size -thread safe LRU cache. It is based on the cache in Groupcache. - -Documentation -============= - -Full docs are available on [Godoc](http://godoc.org/github.com/hashicorp/golang-lru) - -Example -======= - -Using the LRU is very simple: - -```go -l, _ := New(128) -for i := 0; i < 256; i++ { - l.Add(i, nil) -} -if l.Len() != 128 { - panic(fmt.Sprintf("bad len: %v", l.Len())) -} -``` +Please upgrade to github.com/hashicorp/golang-lru/v2 for all new code as v1 will +not be updated anymore. The v2 version supports generics and is faster; old code +can specify a specific tag, e.g. github.com/hashicorp/golang-lru/v1.0.2 for +backwards compatibility. diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/arc.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/arc.go index 555225a21..e396f8428 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/arc.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/arc.go @@ -173,7 +173,6 @@ func (c *ARCCache) Add(key, value interface{}) { // Add to the recently seen list c.t1.Add(key, value) - return } // replace is used to adaptively evict from either T1 or T2 diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/lru.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/lru.go index 4e5e9d8fd..895d8e3ea 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/lru.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/lru.go @@ -6,10 +6,17 @@ import ( "github.com/hashicorp/golang-lru/simplelru" ) +const ( + // DefaultEvictedBufferSize defines the default buffer size to store evicted key/val + DefaultEvictedBufferSize = 16 +) + // Cache is a thread-safe fixed size LRU cache. type Cache struct { - lru simplelru.LRUCache - lock sync.RWMutex + lru *simplelru.LRU + evictedKeys, evictedVals []interface{} + onEvictedCB func(k, v interface{}) + lock sync.RWMutex } // New creates an LRU of the given size. @@ -19,30 +26,63 @@ func New(size int) (*Cache, error) { // NewWithEvict constructs a fixed size cache with the given eviction // callback. -func NewWithEvict(size int, onEvicted func(key interface{}, value interface{})) (*Cache, error) { - lru, err := simplelru.NewLRU(size, simplelru.EvictCallback(onEvicted)) - if err != nil { - return nil, err +func NewWithEvict(size int, onEvicted func(key, value interface{})) (c *Cache, err error) { + // create a cache with default settings + c = &Cache{ + onEvictedCB: onEvicted, } - c := &Cache{ - lru: lru, + if onEvicted != nil { + c.initEvictBuffers() + onEvicted = c.onEvicted } - return c, nil + c.lru, err = simplelru.NewLRU(size, onEvicted) + return +} + +func (c *Cache) initEvictBuffers() { + c.evictedKeys = make([]interface{}, 0, DefaultEvictedBufferSize) + c.evictedVals = make([]interface{}, 0, DefaultEvictedBufferSize) +} + +// onEvicted save evicted key/val and sent in externally registered callback +// outside of critical section +func (c *Cache) onEvicted(k, v interface{}) { + c.evictedKeys = append(c.evictedKeys, k) + c.evictedVals = append(c.evictedVals, v) } // Purge is used to completely clear the cache. func (c *Cache) Purge() { + var ks, vs []interface{} c.lock.Lock() c.lru.Purge() + if c.onEvictedCB != nil && len(c.evictedKeys) > 0 { + ks, vs = c.evictedKeys, c.evictedVals + c.initEvictBuffers() + } c.lock.Unlock() + // invoke callback outside of critical section + if c.onEvictedCB != nil { + for i := 0; i < len(ks); i++ { + c.onEvictedCB(ks[i], vs[i]) + } + } } // Add adds a value to the cache. Returns true if an eviction occurred. func (c *Cache) Add(key, value interface{}) (evicted bool) { + var k, v interface{} c.lock.Lock() evicted = c.lru.Add(key, value) + if c.onEvictedCB != nil && evicted { + k, v = c.evictedKeys[0], c.evictedVals[0] + c.evictedKeys, c.evictedVals = c.evictedKeys[:0], c.evictedVals[:0] + } c.lock.Unlock() - return evicted + if c.onEvictedCB != nil && evicted { + c.onEvictedCB(k, v) + } + return } // Get looks up a key's value from the cache. @@ -75,13 +115,21 @@ func (c *Cache) Peek(key interface{}) (value interface{}, ok bool) { // recent-ness or deleting it for being stale, and if not, adds the value. // Returns whether found and whether an eviction occurred. func (c *Cache) ContainsOrAdd(key, value interface{}) (ok, evicted bool) { + var k, v interface{} c.lock.Lock() - defer c.lock.Unlock() - if c.lru.Contains(key) { + c.lock.Unlock() return true, false } evicted = c.lru.Add(key, value) + if c.onEvictedCB != nil && evicted { + k, v = c.evictedKeys[0], c.evictedVals[0] + c.evictedKeys, c.evictedVals = c.evictedKeys[:0], c.evictedVals[:0] + } + c.lock.Unlock() + if c.onEvictedCB != nil && evicted { + c.onEvictedCB(k, v) + } return false, evicted } @@ -89,47 +137,80 @@ func (c *Cache) ContainsOrAdd(key, value interface{}) (ok, evicted bool) { // recent-ness or deleting it for being stale, and if not, adds the value. // Returns whether found and whether an eviction occurred. func (c *Cache) PeekOrAdd(key, value interface{}) (previous interface{}, ok, evicted bool) { + var k, v interface{} c.lock.Lock() - defer c.lock.Unlock() - previous, ok = c.lru.Peek(key) if ok { + c.lock.Unlock() return previous, true, false } - evicted = c.lru.Add(key, value) + if c.onEvictedCB != nil && evicted { + k, v = c.evictedKeys[0], c.evictedVals[0] + c.evictedKeys, c.evictedVals = c.evictedKeys[:0], c.evictedVals[:0] + } + c.lock.Unlock() + if c.onEvictedCB != nil && evicted { + c.onEvictedCB(k, v) + } return nil, false, evicted } // Remove removes the provided key from the cache. func (c *Cache) Remove(key interface{}) (present bool) { + var k, v interface{} c.lock.Lock() present = c.lru.Remove(key) + if c.onEvictedCB != nil && present { + k, v = c.evictedKeys[0], c.evictedVals[0] + c.evictedKeys, c.evictedVals = c.evictedKeys[:0], c.evictedVals[:0] + } c.lock.Unlock() + if c.onEvictedCB != nil && present { + c.onEvictedCB(k, v) + } return } // Resize changes the cache size. func (c *Cache) Resize(size int) (evicted int) { + var ks, vs []interface{} c.lock.Lock() evicted = c.lru.Resize(size) + if c.onEvictedCB != nil && evicted > 0 { + ks, vs = c.evictedKeys, c.evictedVals + c.initEvictBuffers() + } c.lock.Unlock() + if c.onEvictedCB != nil && evicted > 0 { + for i := 0; i < len(ks); i++ { + c.onEvictedCB(ks[i], vs[i]) + } + } return evicted } // RemoveOldest removes the oldest item from the cache. -func (c *Cache) RemoveOldest() (key interface{}, value interface{}, ok bool) { +func (c *Cache) RemoveOldest() (key, value interface{}, ok bool) { + var k, v interface{} c.lock.Lock() key, value, ok = c.lru.RemoveOldest() + if c.onEvictedCB != nil && ok { + k, v = c.evictedKeys[0], c.evictedVals[0] + c.evictedKeys, c.evictedVals = c.evictedKeys[:0], c.evictedVals[:0] + } c.lock.Unlock() + if c.onEvictedCB != nil && ok { + c.onEvictedCB(k, v) + } return } // GetOldest returns the oldest entry -func (c *Cache) GetOldest() (key interface{}, value interface{}, ok bool) { - c.lock.Lock() +func (c *Cache) GetOldest() (key, value interface{}, ok bool) { + c.lock.RLock() key, value, ok = c.lru.GetOldest() - c.lock.Unlock() + c.lock.RUnlock() return } diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru.go index a86c8539e..9233583c9 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru.go @@ -25,7 +25,7 @@ type entry struct { // NewLRU constructs an LRU of the given size func NewLRU(size int, onEvict EvictCallback) (*LRU, error) { if size <= 0 { - return nil, errors.New("Must provide a positive size") + return nil, errors.New("must provide a positive size") } c := &LRU{ size: size, @@ -109,7 +109,7 @@ func (c *LRU) Remove(key interface{}) (present bool) { } // RemoveOldest removes the oldest item from the cache. -func (c *LRU) RemoveOldest() (key interface{}, value interface{}, ok bool) { +func (c *LRU) RemoveOldest() (key, value interface{}, ok bool) { ent := c.evictList.Back() if ent != nil { c.removeElement(ent) @@ -120,7 +120,7 @@ func (c *LRU) RemoveOldest() (key interface{}, value interface{}, ok bool) { } // GetOldest returns the oldest entry -func (c *LRU) GetOldest() (key interface{}, value interface{}, ok bool) { +func (c *LRU) GetOldest() (key, value interface{}, ok bool) { ent := c.evictList.Back() if ent != nil { kv := ent.Value.(*entry) diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru_interface.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru_interface.go index 92d70934d..cb7f8caf0 100644 --- a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru_interface.go +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/simplelru/lru_interface.go @@ -1,3 +1,4 @@ +// Package simplelru provides simple LRU implementation based on build-in container/list. package simplelru // LRUCache is the interface for simple LRU cache. @@ -34,6 +35,6 @@ type LRUCache interface { // Clears all cache entries. Purge() - // Resizes cache, returning number evicted - Resize(int) int + // Resizes cache, returning number evicted + Resize(int) int } diff --git a/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/testing.go b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/testing.go new file mode 100644 index 000000000..492760782 --- /dev/null +++ b/third_party/VENDOR-LICENSE/github.com/hashicorp/golang-lru/testing.go @@ -0,0 +1,16 @@ +package lru + +import ( + "crypto/rand" + "math" + "math/big" + "testing" +) + +func getRand(tb testing.TB) int64 { + out, err := rand.Int(rand.Reader, big.NewInt(math.MaxInt64)) + if err != nil { + tb.Fatal(err) + } + return out.Int64() +} diff --git a/third_party/VENDOR-LICENSE/github.com/prometheus/statsd_exporter/pkg/mapper/LICENSE b/third_party/VENDOR-LICENSE/github.com/prometheus/statsd_exporter/pkg/LICENSE similarity index 100% rename from third_party/VENDOR-LICENSE/github.com/prometheus/statsd_exporter/pkg/mapper/LICENSE rename to third_party/VENDOR-LICENSE/github.com/prometheus/statsd_exporter/pkg/LICENSE diff --git a/third_party/VENDOR-LICENSE/github.com/prometheus/statsd_exporter/pkg/mapper/NOTICE b/third_party/VENDOR-LICENSE/github.com/prometheus/statsd_exporter/pkg/NOTICE similarity index 100% rename from third_party/VENDOR-LICENSE/github.com/prometheus/statsd_exporter/pkg/mapper/NOTICE rename to third_party/VENDOR-LICENSE/github.com/prometheus/statsd_exporter/pkg/NOTICE diff --git a/third_party/VENDOR-LICENSE/go.uber.org/atomic/LICENSE.txt b/third_party/VENDOR-LICENSE/go.uber.org/atomic/LICENSE.txt deleted file mode 100644 index 8765c9fbc..000000000 --- a/third_party/VENDOR-LICENSE/go.uber.org/atomic/LICENSE.txt +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2016 Uber Technologies, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/benbjohnson/clock/README.md b/vendor/github.com/benbjohnson/clock/README.md index ee37dfe1b..4f1f82fc6 100644 --- a/vendor/github.com/benbjohnson/clock/README.md +++ b/vendor/github.com/benbjohnson/clock/README.md @@ -1,12 +1,15 @@ clock ===== +[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square)](https://pkg.go.dev/mod/github.com/benbjohnson/clock) + Clock is a small library for mocking time in Go. It provides an interface around the standard library's [`time`][time] package so that the application can use the realtime clock while tests can use the mock clock. -[time]: http://golang.org/pkg/time/ +The module is currently maintained by @djmitche. +[time]: https://pkg.go.dev/github.com/benbjohnson/clock ## Usage @@ -86,7 +89,7 @@ count := 0 // Kick off a timer to increment every 1 mock second. go func() { - ticker := clock.Ticker(1 * time.Second) + ticker := mock.Ticker(1 * time.Second) for { <-ticker.C count++ @@ -100,5 +103,3 @@ mock.Add(10 * time.Second) // This prints 10. fmt.Println(count) ``` - - diff --git a/vendor/github.com/benbjohnson/clock/clock.go b/vendor/github.com/benbjohnson/clock/clock.go index 6a4edb2e8..40555b303 100644 --- a/vendor/github.com/benbjohnson/clock/clock.go +++ b/vendor/github.com/benbjohnson/clock/clock.go @@ -1,11 +1,15 @@ package clock import ( + "context" "sort" "sync" "time" ) +// Re-export of time.Duration +type Duration = time.Duration + // Clock represents an interface to the functions in the standard library time // package. Two implementations are available in the clock package. The first // is a real-time clock which simply wraps the time package's functions. The @@ -16,10 +20,13 @@ type Clock interface { AfterFunc(d time.Duration, f func()) *Timer Now() time.Time Since(t time.Time) time.Duration + Until(t time.Time) time.Duration Sleep(d time.Duration) Tick(d time.Duration) <-chan time.Time Ticker(d time.Duration) *Ticker Timer(d time.Duration) *Timer + WithDeadline(parent context.Context, d time.Time) (context.Context, context.CancelFunc) + WithTimeout(parent context.Context, t time.Duration) (context.Context, context.CancelFunc) } // New returns an instance of a real-time clock. @@ -40,6 +47,8 @@ func (c *clock) Now() time.Time { return time.Now() } func (c *clock) Since(t time.Time) time.Duration { return time.Since(t) } +func (c *clock) Until(t time.Time) time.Duration { return time.Until(t) } + func (c *clock) Sleep(d time.Duration) { time.Sleep(d) } func (c *clock) Tick(d time.Duration) <-chan time.Time { return time.Tick(d) } @@ -54,7 +63,15 @@ func (c *clock) Timer(d time.Duration) *Timer { return &Timer{C: t.C, timer: t} } -// Mock represents a mock clock that only moves forward programmatically. +func (c *clock) WithDeadline(parent context.Context, d time.Time) (context.Context, context.CancelFunc) { + return context.WithDeadline(parent, d) +} + +func (c *clock) WithTimeout(parent context.Context, t time.Duration) (context.Context, context.CancelFunc) { + return context.WithTimeout(parent, t) +} + +// Mock represents a mock clock that only moves forward programmically. // It can be preferable to a real-time clock when testing time-based functionality. type Mock struct { mu sync.Mutex @@ -161,11 +178,16 @@ func (m *Mock) Now() time.Time { return m.now } -// Since returns time since the mock clock's wall time. +// Since returns time since `t` using the mock clock's wall time. func (m *Mock) Since(t time.Time) time.Duration { return m.Now().Sub(t) } +// Until returns time until `t` using the mock clock's wall time. +func (m *Mock) Until(t time.Time) time.Duration { + return t.Sub(m.Now()) +} + // Sleep pauses the goroutine for the given duration on the mock clock. // The clock must be moved forward in a separate goroutine. func (m *Mock) Sleep(d time.Duration) { @@ -284,16 +306,20 @@ type internalTimer Timer func (t *internalTimer) Next() time.Time { return t.next } func (t *internalTimer) Tick(now time.Time) { + // a gosched() after ticking, to allow any consequences of the + // tick to complete + defer gosched() + t.mock.mu.Lock() if t.fn != nil { - t.fn() + // defer function execution until the lock is released, and + defer t.fn() } else { t.c <- now } t.mock.removeClockTimer((*internalTimer)(t)) t.stopped = true t.mock.mu.Unlock() - gosched() } // Ticker holds a channel that receives "ticks" at regular intervals. @@ -321,7 +347,14 @@ func (t *Ticker) Stop() { func (t *Ticker) Reset(dur time.Duration) { if t.ticker != nil { t.ticker.Reset(dur) + return } + + t.mock.mu.Lock() + defer t.mock.mu.Unlock() + + t.d = dur + t.next = t.mock.now.Add(dur) } type internalTicker Ticker @@ -338,3 +371,8 @@ func (t *internalTicker) Tick(now time.Time) { // Sleep momentarily so that other goroutines can process. func gosched() { time.Sleep(1 * time.Millisecond) } + +var ( + // type checking + _ Clock = &Mock{} +) diff --git a/vendor/github.com/benbjohnson/clock/context.go b/vendor/github.com/benbjohnson/clock/context.go new file mode 100644 index 000000000..eb67594f2 --- /dev/null +++ b/vendor/github.com/benbjohnson/clock/context.go @@ -0,0 +1,86 @@ +package clock + +import ( + "context" + "fmt" + "sync" + "time" +) + +func (m *Mock) WithTimeout(parent context.Context, timeout time.Duration) (context.Context, context.CancelFunc) { + return m.WithDeadline(parent, m.Now().Add(timeout)) +} + +func (m *Mock) WithDeadline(parent context.Context, deadline time.Time) (context.Context, context.CancelFunc) { + if cur, ok := parent.Deadline(); ok && cur.Before(deadline) { + // The current deadline is already sooner than the new one. + return context.WithCancel(parent) + } + ctx := &timerCtx{clock: m, parent: parent, deadline: deadline, done: make(chan struct{})} + propagateCancel(parent, ctx) + dur := m.Until(deadline) + if dur <= 0 { + ctx.cancel(context.DeadlineExceeded) // deadline has already passed + return ctx, func() {} + } + ctx.Lock() + defer ctx.Unlock() + if ctx.err == nil { + ctx.timer = m.AfterFunc(dur, func() { + ctx.cancel(context.DeadlineExceeded) + }) + } + return ctx, func() { ctx.cancel(context.Canceled) } +} + +// propagateCancel arranges for child to be canceled when parent is. +func propagateCancel(parent context.Context, child *timerCtx) { + if parent.Done() == nil { + return // parent is never canceled + } + go func() { + select { + case <-parent.Done(): + child.cancel(parent.Err()) + case <-child.Done(): + } + }() +} + +type timerCtx struct { + sync.Mutex + + clock Clock + parent context.Context + deadline time.Time + done chan struct{} + + err error + timer *Timer +} + +func (c *timerCtx) cancel(err error) { + c.Lock() + defer c.Unlock() + if c.err != nil { + return // already canceled + } + c.err = err + close(c.done) + if c.timer != nil { + c.timer.Stop() + c.timer = nil + } +} + +func (c *timerCtx) Deadline() (deadline time.Time, ok bool) { return c.deadline, true } + +func (c *timerCtx) Done() <-chan struct{} { return c.done } + +func (c *timerCtx) Err() error { return c.err } + +func (c *timerCtx) Value(key interface{}) interface{} { return c.parent.Value(key) } + +func (c *timerCtx) String() string { + return fmt.Sprintf("clock.WithDeadline(%s [%s])", c.deadline, c.deadline.Sub(c.clock.Now())) +} diff --git a/vendor/github.com/go-kit/log/README.md b/vendor/github.com/go-kit/log/README.md index a0931951d..806779465 100644 --- a/vendor/github.com/go-kit/log/README.md +++ b/vendor/github.com/go-kit/log/README.md @@ -1,5 +1,10 @@ # package log +[![Go Reference](https://pkg.go.dev/badge/github.com/go-kit/log.svg)](https://pkg.go.dev/github.com/go-kit/log) +[![Go Report Card](https://goreportcard.com/badge/go-kit/log)](https://goreportcard.com/report/go-kit/log) +[![GitHub Actions](https://github.com/go-kit/log/actions/workflows/test.yml/badge.svg)](https://github.com/go-kit/log/actions/workflows/test.yml) +[![Coverage Status](https://coveralls.io/repos/github/go-kit/log/badge.svg?branch=main)](https://coveralls.io/github/go-kit/log?branch=main) + `package log` provides a minimal interface for structured logging in services. It may be wrapped to encode conventions, enforce type-safety, provide leveled logging, and so on. It can be used for both typical application log events, diff --git a/vendor/github.com/go-kit/log/json_logger.go b/vendor/github.com/go-kit/log/json_logger.go index 0cedbf824..d0faed4f0 100644 --- a/vendor/github.com/go-kit/log/json_logger.go +++ b/vendor/github.com/go-kit/log/json_logger.go @@ -68,7 +68,7 @@ func safeString(str fmt.Stringer) (s string) { if v := reflect.ValueOf(str); v.Kind() == reflect.Ptr && v.IsNil() { s = "NULL" } else { - panic(panicVal) + s = fmt.Sprintf("PANIC in String method: %v", panicVal) } } }() @@ -82,7 +82,7 @@ func safeError(err error) (s interface{}) { if v := reflect.ValueOf(err); v.Kind() == reflect.Ptr && v.IsNil() { s = nil } else { - panic(panicVal) + s = fmt.Sprintf("PANIC in Error method: %v", panicVal) } } }() diff --git a/vendor/github.com/go-kit/log/level/doc.go b/vendor/github.com/go-kit/log/level/doc.go index 505d307b1..fd681dcf9 100644 --- a/vendor/github.com/go-kit/log/level/doc.go +++ b/vendor/github.com/go-kit/log/level/doc.go @@ -7,6 +7,17 @@ // logger = level.NewFilter(logger, level.AllowInfo()) // <-- // logger = log.With(logger, "ts", log.DefaultTimestampUTC) // +// It's also possible to configure log level from a string. For instance from +// a flag, environment variable or configuration file. +// +// fs := flag.NewFlagSet("myprogram") +// lvl := fs.String("log", "info", "debug, info, warn, error") +// +// var logger log.Logger +// logger = log.NewLogfmtLogger(os.Stderr) +// logger = level.NewFilter(logger, level.Allow(level.ParseDefault(*lvl, level.InfoValue()))) // <-- +// logger = log.With(logger, "ts", log.DefaultTimestampUTC) +// // Then, at the callsites, use one of the level.Debug, Info, Warn, or Error // helper methods to emit leveled log events. // diff --git a/vendor/github.com/go-kit/log/level/level.go b/vendor/github.com/go-kit/log/level/level.go index c94756c6b..c641d9855 100644 --- a/vendor/github.com/go-kit/log/level/level.go +++ b/vendor/github.com/go-kit/log/level/level.go @@ -1,6 +1,14 @@ package level -import "github.com/go-kit/log" +import ( + "errors" + "strings" + + "github.com/go-kit/log" +) + +// ErrInvalidLevelString is returned whenever an invalid string is passed to Parse. +var ErrInvalidLevelString = errors.New("invalid level string") // Error returns a logger that includes a Key/ErrorValue pair. func Error(logger log.Logger) log.Logger { @@ -66,6 +74,22 @@ func (l *logger) Log(keyvals ...interface{}) error { // Option sets a parameter for the leveled logger. type Option func(*logger) +// Allow the provided log level to pass. +func Allow(v Value) Option { + switch v { + case debugValue: + return AllowDebug() + case infoValue: + return AllowInfo() + case warnValue: + return AllowWarn() + case errorValue: + return AllowError() + default: + return AllowNone() + } +} + // AllowAll is an alias for AllowDebug. func AllowAll() Option { return AllowDebug() @@ -100,6 +124,33 @@ func allowed(allowed level) Option { return func(l *logger) { l.allowed = allowed } } +// Parse a string to its corresponding level value. Valid strings are "debug", +// "info", "warn", and "error". Strings are normalized via strings.TrimSpace and +// strings.ToLower. +func Parse(level string) (Value, error) { + switch strings.TrimSpace(strings.ToLower(level)) { + case debugValue.name: + return debugValue, nil + case infoValue.name: + return infoValue, nil + case warnValue.name: + return warnValue, nil + case errorValue.name: + return errorValue, nil + default: + return nil, ErrInvalidLevelString + } +} + +// ParseDefault calls Parse and returns the default Value on error. +func ParseDefault(level string, def Value) Value { + v, err := Parse(level) + if err != nil { + return def + } + return v +} + // ErrNotAllowed sets the error to return from Log when it squelches a log // event disallowed by the configured Allow[Level] option. By default, // ErrNotAllowed is nil; in this case the log event is squelched with no diff --git a/vendor/github.com/go-kit/log/staticcheck.conf b/vendor/github.com/go-kit/log/staticcheck.conf new file mode 100644 index 000000000..528438b97 --- /dev/null +++ b/vendor/github.com/go-kit/log/staticcheck.conf @@ -0,0 +1 @@ +checks = ["all"] diff --git a/vendor/github.com/hashicorp/golang-lru/.golangci.yml b/vendor/github.com/hashicorp/golang-lru/.golangci.yml new file mode 100644 index 000000000..49202fc41 --- /dev/null +++ b/vendor/github.com/hashicorp/golang-lru/.golangci.yml @@ -0,0 +1,30 @@ +linters: + enable: + - megacheck + - revive + - govet + - unconvert + - megacheck + - gas + - gocyclo + - dupl + - misspell + - unparam + - unused + - typecheck + - ineffassign + - stylecheck + - exportloopref + - gocritic + - nakedret + - gosimple + - prealloc + fast: false + disable-all: true + +issues: + exclude-rules: + - path: _test\.go + linters: + - dupl + exclude-use-default: false diff --git a/vendor/github.com/hashicorp/golang-lru/2q.go b/vendor/github.com/hashicorp/golang-lru/2q.go index e474cd075..15fcad030 100644 --- a/vendor/github.com/hashicorp/golang-lru/2q.go +++ b/vendor/github.com/hashicorp/golang-lru/2q.go @@ -44,7 +44,7 @@ func New2Q(size int) (*TwoQueueCache, error) { // New2QParams creates a new TwoQueueCache using the provided // parameter values. -func New2QParams(size int, recentRatio float64, ghostRatio float64) (*TwoQueueCache, error) { +func New2QParams(size int, recentRatio, ghostRatio float64) (*TwoQueueCache, error) { if size <= 0 { return nil, fmt.Errorf("invalid size") } @@ -138,7 +138,6 @@ func (c *TwoQueueCache) Add(key, value interface{}) { // Add to the recently seen list c.ensureSpace(false) c.recent.Add(key, value) - return } // ensureSpace is used to ensure we have space in the cache diff --git a/vendor/github.com/hashicorp/golang-lru/LICENSE b/vendor/github.com/hashicorp/golang-lru/LICENSE index be2cc4dfb..0e5d580e0 100644 --- a/vendor/github.com/hashicorp/golang-lru/LICENSE +++ b/vendor/github.com/hashicorp/golang-lru/LICENSE @@ -1,3 +1,5 @@ +Copyright (c) 2014 HashiCorp, Inc. + Mozilla Public License, version 2.0 1. Definitions diff --git a/vendor/github.com/hashicorp/golang-lru/README.md b/vendor/github.com/hashicorp/golang-lru/README.md index 33e58cfaf..03bcfb5b7 100644 --- a/vendor/github.com/hashicorp/golang-lru/README.md +++ b/vendor/github.com/hashicorp/golang-lru/README.md @@ -1,25 +1,7 @@ golang-lru ========== -This provides the `lru` package which implements a fixed-size -thread safe LRU cache. It is based on the cache in Groupcache. - -Documentation -============= - -Full docs are available on [Godoc](http://godoc.org/github.com/hashicorp/golang-lru) - -Example -======= - -Using the LRU is very simple: - -```go -l, _ := New(128) -for i := 0; i < 256; i++ { - l.Add(i, nil) -} -if l.Len() != 128 { - panic(fmt.Sprintf("bad len: %v", l.Len())) -} -``` +Please upgrade to github.com/hashicorp/golang-lru/v2 for all new code as v1 will +not be updated anymore. The v2 version supports generics and is faster; old code +can specify a specific tag, e.g. github.com/hashicorp/golang-lru/v1.0.2 for +backwards compatibility. diff --git a/vendor/github.com/hashicorp/golang-lru/arc.go b/vendor/github.com/hashicorp/golang-lru/arc.go index 555225a21..e396f8428 100644 --- a/vendor/github.com/hashicorp/golang-lru/arc.go +++ b/vendor/github.com/hashicorp/golang-lru/arc.go @@ -173,7 +173,6 @@ func (c *ARCCache) Add(key, value interface{}) { // Add to the recently seen list c.t1.Add(key, value) - return } // replace is used to adaptively evict from either T1 or T2 diff --git a/vendor/github.com/hashicorp/golang-lru/lru.go b/vendor/github.com/hashicorp/golang-lru/lru.go index 4e5e9d8fd..895d8e3ea 100644 --- a/vendor/github.com/hashicorp/golang-lru/lru.go +++ b/vendor/github.com/hashicorp/golang-lru/lru.go @@ -6,10 +6,17 @@ import ( "github.com/hashicorp/golang-lru/simplelru" ) +const ( + // DefaultEvictedBufferSize defines the default buffer size to store evicted key/val + DefaultEvictedBufferSize = 16 +) + // Cache is a thread-safe fixed size LRU cache. type Cache struct { - lru simplelru.LRUCache - lock sync.RWMutex + lru *simplelru.LRU + evictedKeys, evictedVals []interface{} + onEvictedCB func(k, v interface{}) + lock sync.RWMutex } // New creates an LRU of the given size. @@ -19,30 +26,63 @@ func New(size int) (*Cache, error) { // NewWithEvict constructs a fixed size cache with the given eviction // callback. -func NewWithEvict(size int, onEvicted func(key interface{}, value interface{})) (*Cache, error) { - lru, err := simplelru.NewLRU(size, simplelru.EvictCallback(onEvicted)) - if err != nil { - return nil, err +func NewWithEvict(size int, onEvicted func(key, value interface{})) (c *Cache, err error) { + // create a cache with default settings + c = &Cache{ + onEvictedCB: onEvicted, } - c := &Cache{ - lru: lru, + if onEvicted != nil { + c.initEvictBuffers() + onEvicted = c.onEvicted } - return c, nil + c.lru, err = simplelru.NewLRU(size, onEvicted) + return +} + +func (c *Cache) initEvictBuffers() { + c.evictedKeys = make([]interface{}, 0, DefaultEvictedBufferSize) + c.evictedVals = make([]interface{}, 0, DefaultEvictedBufferSize) +} + +// onEvicted save evicted key/val and sent in externally registered callback +// outside of critical section +func (c *Cache) onEvicted(k, v interface{}) { + c.evictedKeys = append(c.evictedKeys, k) + c.evictedVals = append(c.evictedVals, v) } // Purge is used to completely clear the cache. func (c *Cache) Purge() { + var ks, vs []interface{} c.lock.Lock() c.lru.Purge() + if c.onEvictedCB != nil && len(c.evictedKeys) > 0 { + ks, vs = c.evictedKeys, c.evictedVals + c.initEvictBuffers() + } c.lock.Unlock() + // invoke callback outside of critical section + if c.onEvictedCB != nil { + for i := 0; i < len(ks); i++ { + c.onEvictedCB(ks[i], vs[i]) + } + } } // Add adds a value to the cache. Returns true if an eviction occurred. func (c *Cache) Add(key, value interface{}) (evicted bool) { + var k, v interface{} c.lock.Lock() evicted = c.lru.Add(key, value) + if c.onEvictedCB != nil && evicted { + k, v = c.evictedKeys[0], c.evictedVals[0] + c.evictedKeys, c.evictedVals = c.evictedKeys[:0], c.evictedVals[:0] + } c.lock.Unlock() - return evicted + if c.onEvictedCB != nil && evicted { + c.onEvictedCB(k, v) + } + return } // Get looks up a key's value from the cache. @@ -75,13 +115,21 @@ func (c *Cache) Peek(key interface{}) (value interface{}, ok bool) { // recent-ness or deleting it for being stale, and if not, adds the value. // Returns whether found and whether an eviction occurred. func (c *Cache) ContainsOrAdd(key, value interface{}) (ok, evicted bool) { + var k, v interface{} c.lock.Lock() - defer c.lock.Unlock() - if c.lru.Contains(key) { + c.lock.Unlock() return true, false } evicted = c.lru.Add(key, value) + if c.onEvictedCB != nil && evicted { + k, v = c.evictedKeys[0], c.evictedVals[0] + c.evictedKeys, c.evictedVals = c.evictedKeys[:0], c.evictedVals[:0] + } + c.lock.Unlock() + if c.onEvictedCB != nil && evicted { + c.onEvictedCB(k, v) + } return false, evicted } @@ -89,47 +137,80 @@ func (c *Cache) ContainsOrAdd(key, value interface{}) (ok, evicted bool) { // recent-ness or deleting it for being stale, and if not, adds the value. // Returns whether found and whether an eviction occurred. func (c *Cache) PeekOrAdd(key, value interface{}) (previous interface{}, ok, evicted bool) { + var k, v interface{} c.lock.Lock() - defer c.lock.Unlock() - previous, ok = c.lru.Peek(key) if ok { + c.lock.Unlock() return previous, true, false } - evicted = c.lru.Add(key, value) + if c.onEvictedCB != nil && evicted { + k, v = c.evictedKeys[0], c.evictedVals[0] + c.evictedKeys, c.evictedVals = c.evictedKeys[:0], c.evictedVals[:0] + } + c.lock.Unlock() + if c.onEvictedCB != nil && evicted { + c.onEvictedCB(k, v) + } return nil, false, evicted } // Remove removes the provided key from the cache. func (c *Cache) Remove(key interface{}) (present bool) { + var k, v interface{} c.lock.Lock() present = c.lru.Remove(key) + if c.onEvictedCB != nil && present { + k, v = c.evictedKeys[0], c.evictedVals[0] + c.evictedKeys, c.evictedVals = c.evictedKeys[:0], c.evictedVals[:0] + } c.lock.Unlock() + if c.onEvictedCB != nil && present { + c.onEvictedCB(k, v) + } return } // Resize changes the cache size. func (c *Cache) Resize(size int) (evicted int) { + var ks, vs []interface{} c.lock.Lock() evicted = c.lru.Resize(size) + if c.onEvictedCB != nil && evicted > 0 { + ks, vs = c.evictedKeys, c.evictedVals + c.initEvictBuffers() + } c.lock.Unlock() + if c.onEvictedCB != nil && evicted > 0 { + for i := 0; i < len(ks); i++ { + c.onEvictedCB(ks[i], vs[i]) + } + } return evicted } // RemoveOldest removes the oldest item from the cache. -func (c *Cache) RemoveOldest() (key interface{}, value interface{}, ok bool) { +func (c *Cache) RemoveOldest() (key, value interface{}, ok bool) { + var k, v interface{} c.lock.Lock() key, value, ok = c.lru.RemoveOldest() + if c.onEvictedCB != nil && ok { + k, v = c.evictedKeys[0], c.evictedVals[0] + c.evictedKeys, c.evictedVals = c.evictedKeys[:0], c.evictedVals[:0] + } c.lock.Unlock() + if c.onEvictedCB != nil && ok { + c.onEvictedCB(k, v) + } return } // GetOldest returns the oldest entry -func (c *Cache) GetOldest() (key interface{}, value interface{}, ok bool) { - c.lock.Lock() +func (c *Cache) GetOldest() (key, value interface{}, ok bool) { + c.lock.RLock() key, value, ok = c.lru.GetOldest() - c.lock.Unlock() + c.lock.RUnlock() return } diff --git a/vendor/github.com/hashicorp/golang-lru/simplelru/lru.go b/vendor/github.com/hashicorp/golang-lru/simplelru/lru.go index a86c8539e..9233583c9 100644 --- a/vendor/github.com/hashicorp/golang-lru/simplelru/lru.go +++ b/vendor/github.com/hashicorp/golang-lru/simplelru/lru.go @@ -25,7 +25,7 @@ type entry struct { // NewLRU constructs an LRU of the given size func NewLRU(size int, onEvict EvictCallback) (*LRU, error) { if size <= 0 { - return nil, errors.New("Must provide a positive size") + return nil, errors.New("must provide a positive size") } c := &LRU{ size: size, @@ -109,7 +109,7 @@ func (c *LRU) Remove(key interface{}) (present bool) { } // RemoveOldest removes the oldest item from the cache. -func (c *LRU) RemoveOldest() (key interface{}, value interface{}, ok bool) { +func (c *LRU) RemoveOldest() (key, value interface{}, ok bool) { ent := c.evictList.Back() if ent != nil { c.removeElement(ent) @@ -120,7 +120,7 @@ func (c *LRU) RemoveOldest() (key interface{}, value interface{}, ok bool) { } // GetOldest returns the oldest entry -func (c *LRU) GetOldest() (key interface{}, value interface{}, ok bool) { +func (c *LRU) GetOldest() (key, value interface{}, ok bool) { ent := c.evictList.Back() if ent != nil { kv := ent.Value.(*entry) diff --git a/vendor/github.com/hashicorp/golang-lru/simplelru/lru_interface.go b/vendor/github.com/hashicorp/golang-lru/simplelru/lru_interface.go index 92d70934d..cb7f8caf0 100644 --- a/vendor/github.com/hashicorp/golang-lru/simplelru/lru_interface.go +++ b/vendor/github.com/hashicorp/golang-lru/simplelru/lru_interface.go @@ -1,3 +1,4 @@ +// Package simplelru provides simple LRU implementation based on build-in container/list. package simplelru // LRUCache is the interface for simple LRU cache. @@ -34,6 +35,6 @@ type LRUCache interface { // Clears all cache entries. Purge() - // Resizes cache, returning number evicted - Resize(int) int + // Resizes cache, returning number evicted + Resize(int) int } diff --git a/vendor/github.com/hashicorp/golang-lru/testing.go b/vendor/github.com/hashicorp/golang-lru/testing.go new file mode 100644 index 000000000..492760782 --- /dev/null +++ b/vendor/github.com/hashicorp/golang-lru/testing.go @@ -0,0 +1,16 @@ +package lru + +import ( + "crypto/rand" + "math" + "math/big" + "testing" +) + +func getRand(tb testing.TB) int64 { + out, err := rand.Int(rand.Reader, big.NewInt(math.MaxInt64)) + if err != nil { + tb.Fatal(err) + } + return out.Int64() +} diff --git a/vendor/github.com/openzipkin/zipkin-go/Makefile b/vendor/github.com/openzipkin/zipkin-go/Makefile index 60f72d6c0..a1e591472 100644 --- a/vendor/github.com/openzipkin/zipkin-go/Makefile +++ b/vendor/github.com/openzipkin/zipkin-go/Makefile @@ -1,4 +1,4 @@ -# Copyright 2021 The OpenZipkin Authors +# Copyright 2022 The OpenZipkin Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,7 +16,8 @@ .PHONY: test test: - go test -v -race -cover ./... + # MallocNanoZone env var avoids problems in macOS Monterey: golang/go#49138 + MallocNanoZone=0 go test -v -race -cover ./... .PHONY: bench bench: @@ -25,8 +26,8 @@ bench: .PHONY: protoc protoc: protoc --go_out=module=github.com/openzipkin/zipkin-go:. proto/zipkin_proto3/zipkin.proto - protoc --go_out=module=github.com/openzipkin/zipkin-go:. proto/testing/service.proto - protoc --go-grpc_out=module=github.com/openzipkin/zipkin-go:. proto/testing/service.proto + protoc --go_out=module=github.com/openzipkin/zipkin-go:. proto/testing/*.proto + protoc --go-grpc_out=module=github.com/openzipkin/zipkin-go:. proto/testing/*.proto .PHONY: lint lint: diff --git a/vendor/github.com/openzipkin/zipkin-go/README.md b/vendor/github.com/openzipkin/zipkin-go/README.md index 347bbd813..68e7081e1 100644 --- a/vendor/github.com/openzipkin/zipkin-go/README.md +++ b/vendor/github.com/openzipkin/zipkin-go/README.md @@ -1,5 +1,5 @@