From c1ff9cf4e8113ce17215ac71b3bc7ef419626b64 Mon Sep 17 00:00:00 2001 From: zhangzhifei16 Date: Thu, 10 Apr 2025 21:16:47 +0800 Subject: [PATCH] chore: Upgrade the mockery version to v2.53.3. --- hack/tools/go.mod | 30 ++++---- hack/tools/go.sum | 70 +++++++++---------- .../podresources/testing/cpus_provider.go | 4 +- .../podresources/testing/devices_provider.go | 8 +-- .../testing/dynamic_resources_provider.go | 2 +- .../podresources/testing/memory_provider.go | 4 +- .../podresources/testing/pods_provider.go | 4 +- pkg/kubelet/cadvisor/testing/cadvisor_mock.go | 10 +-- .../cm/testing/mock_container_manager.go | 48 ++++++------- .../cm/testing/mock_pod_container_manager.go | 4 +- .../container/testing/mock_runtime_cache.go | 2 +- pkg/kubelet/container/testing/mockdirentry.go | 10 +-- pkg/kubelet/container/testing/runtime_mock.go | 6 +- .../eviction/mock_cgroup_notifier_test.go | 8 +-- .../eviction/mock_notifier_factory_test.go | 2 +- .../eviction/mock_threshold_notifier_test.go | 8 +-- pkg/kubelet/pod/testing/mock_manager.go | 18 ++--- .../stats/testing/mock_stats_provider.go | 14 ++-- .../stats/testing/mock_summary_provider.go | 2 +- .../testing/mock_pod_status_provider.go | 2 +- .../rest/mock_backoff_manager_test.go | 6 +- .../csi-test/driver/mock_controller_server.go | 2 +- .../csi-test/driver/mock_identity_server.go | 2 +- .../csi-test/driver/mock_node_server.go | 2 +- test/utils/oidc/handlers/mock_jwks_handler.go | 4 +- .../utils/oidc/handlers/mock_token_handler.go | 4 +- 26 files changed, 134 insertions(+), 142 deletions(-) diff --git a/hack/tools/go.mod b/hack/tools/go.mod index 22d9d830fdd..8942c2c7dfd 100644 --- a/hack/tools/go.mod +++ b/hack/tools/go.mod @@ -10,7 +10,7 @@ require ( github.com/client9/misspell v0.3.4 github.com/golangci/golangci-lint v1.64.5 github.com/jcchavezs/porto v0.6.0 - github.com/vektra/mockery/v2 v2.40.3 + github.com/vektra/mockery/v2 v2.53.3 go.uber.org/automaxprocs v1.6.0 golang.org/x/mod v0.23.0 gotest.tools/gotestsum v1.12.0 @@ -58,14 +58,14 @@ require ( github.com/ckaznocha/intrange v0.3.0 // indirect github.com/curioswitch/go-reassign v0.3.0 // indirect github.com/daixiang0/gci v0.13.5 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect + github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/denis-tingaikin/go-header v0.5.0 // indirect github.com/dnephin/pflag v1.0.7 // indirect github.com/ettle/strcase v0.2.0 // indirect github.com/fatih/color v1.18.0 // indirect github.com/fatih/structtag v1.2.0 // indirect github.com/firefart/nonamedreturns v1.0.5 // indirect - github.com/fsnotify/fsnotify v1.7.0 // indirect + github.com/fsnotify/fsnotify v1.8.0 // indirect github.com/fzipp/gocyclo v0.6.0 // indirect github.com/ghostiam/protogetter v0.3.9 // indirect github.com/go-critic/go-critic v0.12.0 // indirect @@ -99,14 +99,13 @@ require ( github.com/hashicorp/go-immutable-radix/v2 v2.1.0 // indirect github.com/hashicorp/go-version v1.7.0 // indirect github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect - github.com/hashicorp/hcl v1.0.0 // indirect github.com/hexops/gotextdiff v1.0.3 // indirect github.com/huandu/xstrings v1.4.0 // indirect - github.com/iancoleman/strcase v0.2.0 // indirect + github.com/iancoleman/strcase v0.3.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jgautheron/goconst v1.7.1 // indirect github.com/jingyugao/rowserrcheck v1.1.1 // indirect - github.com/jinzhu/copier v0.3.5 // indirect + github.com/jinzhu/copier v0.4.0 // indirect github.com/jjti/go-spancheck v0.6.4 // indirect github.com/julz/importas v0.2.0 // indirect github.com/karamaru-alpha/copyloopvar v1.2.1 // indirect @@ -122,7 +121,6 @@ require ( github.com/ldez/usetesting v0.4.2 // indirect github.com/leonklingele/grouper v1.1.2 // indirect github.com/macabu/inamedparam v0.1.3 // indirect - github.com/magiconair/properties v1.8.7 // indirect github.com/maratori/testableexamples v1.0.0 // indirect github.com/maratori/testpackage v1.1.1 // indirect github.com/matoous/godox v1.1.0 // indirect @@ -140,7 +138,7 @@ require ( github.com/nunnatsa/ginkgolinter v0.19.0 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect github.com/pelletier/go-toml/v2 v2.2.3 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/polyfloyd/go-errorlint v1.7.1 // indirect github.com/prometheus/client_golang v1.12.1 // indirect github.com/prometheus/client_model v0.2.0 // indirect @@ -154,9 +152,10 @@ require ( github.com/raeperd/recvcheck v0.2.0 // indirect github.com/rivo/uniseg v0.4.7 // indirect github.com/rogpeppe/go-internal v1.13.1 // indirect - github.com/rs/zerolog v1.29.0 // indirect + github.com/rs/zerolog v1.33.0 // indirect github.com/ryancurrah/gomodguard v1.3.5 // indirect github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect + github.com/sagikazarmark/locafero v0.7.0 // indirect github.com/sanposhiho/wastedassign/v2 v2.1.0 // indirect github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 // indirect github.com/sashamelentyev/interfacebloat v1.1.0 // indirect @@ -166,18 +165,18 @@ require ( github.com/sivchari/containedctx v1.0.3 // indirect github.com/sivchari/tenv v1.12.1 // indirect github.com/sonatard/noctx v0.1.0 // indirect + github.com/sourcegraph/conc v0.3.0 // indirect github.com/sourcegraph/go-diff v0.7.0 // indirect github.com/spf13/afero v1.12.0 // indirect - github.com/spf13/cast v1.5.0 // indirect + github.com/spf13/cast v1.7.1 // indirect github.com/spf13/cobra v1.8.1 // indirect - github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/spf13/pflag v1.0.6 // indirect - github.com/spf13/viper v1.15.0 // indirect + github.com/spf13/viper v1.20.0 // indirect github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect github.com/stbenjam/no-sprintf-host-port v0.2.0 // indirect github.com/stretchr/objx v0.5.2 // indirect github.com/stretchr/testify v1.10.0 // indirect - github.com/subosito/gotenv v1.4.2 // indirect + github.com/subosito/gotenv v1.6.0 // indirect github.com/tdakkota/asciicheck v0.4.0 // indirect github.com/tetafro/godot v1.4.20 // indirect github.com/timakin/bodyclose v0.0.0-20241017074812-ed6a65f985e3 // indirect @@ -196,17 +195,16 @@ require ( go-simpler.org/musttag v0.13.0 // indirect go-simpler.org/sloglint v0.9.0 // indirect go.uber.org/atomic v1.9.0 // indirect - go.uber.org/multierr v1.8.0 // indirect + go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.24.0 // indirect golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac // indirect golang.org/x/sync v0.11.0 // indirect golang.org/x/sys v0.30.0 // indirect - golang.org/x/term v0.18.0 // indirect + golang.org/x/term v0.29.0 // indirect golang.org/x/text v0.22.0 // indirect golang.org/x/tools v0.30.0 // indirect google.golang.org/protobuf v1.36.4 // indirect - gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect mvdan.cc/gofumpt v0.7.0 // indirect diff --git a/hack/tools/go.sum b/hack/tools/go.sum index 80462d11a06..569a05407e1 100644 --- a/hack/tools/go.sum +++ b/hack/tools/go.sum @@ -131,15 +131,16 @@ github.com/ckaznocha/intrange v0.3.0/go.mod h1:+I/o2d2A1FBHgGELbGxzIcyd3/9l9Duwj github.com/client9/misspell v0.3.4 h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/coreos/go-systemd/v22 v22.3.3-0.20220203105225-a9a7ef127534/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= +github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/curioswitch/go-reassign v0.3.0 h1:dh3kpQHuADL3cobV/sSGETA8DOv457dwl+fbBAhrQPs= github.com/curioswitch/go-reassign v0.3.0/go.mod h1:nApPCCTtqLJN/s8HfItCcKV0jIPwluBOvZP+dsJGA88= github.com/daixiang0/gci v0.13.5 h1:kThgmH1yBmZSBCh1EJVxQ7JsHpm5Oms0AMed/0LaH4c= github.com/daixiang0/gci v0.13.5/go.mod h1:12etP2OniiIdP4q+kjUGrC/rUagga7ODbqsom5Eo5Yk= 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= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/denis-tingaikin/go-header v0.5.0 h1:SRdnP5ZKvcO9KKRP1KJrhFR3RrlGuD+42t4429eC9k8= github.com/denis-tingaikin/go-header v0.5.0/go.mod h1:mMenU5bWrok6Wl2UsZjy+1okegmwQ3UgWl4V1D8gjlY= github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI= @@ -160,10 +161,11 @@ github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4 github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= github.com/firefart/nonamedreturns v1.0.5 h1:tM+Me2ZaXs8tfdDw3X6DOX++wMCOqzYUho6tUTYIdRA= github.com/firefart/nonamedreturns v1.0.5/go.mod h1:gHJjDqhGM4WyPt639SOZs+G89Ko7QKH5R5BhnO6xJhw= -github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= -github.com/frankban/quicktest v1.14.4/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= -github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= +github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= +github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= +github.com/fsnotify/fsnotify v1.8.0 h1:dAwr6QBTBZIkG8roQaJjGof0pp0EeF+tNV7YBP3F/8M= +github.com/fsnotify/fsnotify v1.8.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0= github.com/fzipp/gocyclo v0.6.0 h1:lsblElZG7d3ALtGMx9fmxeTKZaLLpU8mET09yN4BBLo= github.com/fzipp/gocyclo v0.6.0/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlyaLkLoA= github.com/ghostiam/protogetter v0.3.9 h1:j+zlLLWzqLay22Cz/aYwTHKQ88GE2DQ6GkWSYFOI4lQ= @@ -322,14 +324,12 @@ github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= -github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= github.com/huandu/xstrings v1.4.0 h1:D17IlohoQq4UcpqD7fDk80P7l+lwAmlFaBHgOipl2FU= github.com/huandu/xstrings v1.4.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= -github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHLwW0= -github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= +github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI= +github.com/iancoleman/strcase v0.3.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= @@ -339,8 +339,8 @@ github.com/jgautheron/goconst v1.7.1 h1:VpdAG7Ca7yvvJk5n8dMwQhfEZJh95kl/Hl9S1OI5 github.com/jgautheron/goconst v1.7.1/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4= github.com/jingyugao/rowserrcheck v1.1.1 h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjzq7gFzUs= github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c= -github.com/jinzhu/copier v0.3.5 h1:GlvfUwHk62RokgqVNvYsku0TATCF7bAHVwEXoBh3iJg= -github.com/jinzhu/copier v0.3.5/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg= +github.com/jinzhu/copier v0.4.0 h1:w3ciUoD19shMCRargcpm0cm91ytaBhDvuRpz1ODO/U8= +github.com/jinzhu/copier v0.4.0/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg= github.com/jjti/go-spancheck v0.6.4 h1:Tl7gQpYf4/TMU7AT84MN83/6PutY21Nb9fuQjFTpRRc= github.com/jjti/go-spancheck v0.6.4/go.mod h1:yAEYdKJ2lRkDA8g7X+oKUHXOWVAXSBJRv04OhF+QUjk= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= @@ -391,8 +391,6 @@ github.com/leonklingele/grouper v1.1.2 h1:o1ARBDLOmmasUaNDesWqWCIFH3u7hoFlM84Yrj github.com/leonklingele/grouper v1.1.2/go.mod h1:6D0M/HVkhs2yRKRFZUoGjeDy7EZTfFBE9gl4kjmIGkA= github.com/macabu/inamedparam v0.1.3 h1:2tk/phHkMlEL/1GNe/Yf6kkR/hkcUdAEY3L0hjYV1Mk= github.com/macabu/inamedparam v0.1.3/go.mod h1:93FLICAIk/quk7eaPPQvbzihUdn/QkGDwIZEoLtpH6I= -github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= -github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/maratori/testableexamples v1.0.0 h1:dU5alXRrD8WKSjOUnmJZuzdxWOEQ57+7s93SLMxb2vI= github.com/maratori/testableexamples v1.0.0/go.mod h1:4rhjL1n20TUTT4vdh3RDqSizKLyXp7K2u6HgraZCGzE= github.com/maratori/testpackage v1.1.1 h1:S58XVV5AD7HADMmD0fNnziNHqKvSdDuEKdPD1rNTU04= @@ -401,11 +399,9 @@ github.com/matoous/godox v1.1.0 h1:W5mqwbyWrwZv6OQ5Z1a/DHGMOvXYCBP3+Ht7KMoJhq4= github.com/matoous/godox v1.1.0/go.mod h1:jgE/3fUXiTurkdHOLT5WEkThTSuE7yxHv5iWPa80afs= github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE= github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU= -github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE= github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= @@ -458,8 +454,9 @@ github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -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/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/polyfloyd/go-errorlint v1.7.1 h1:RyLVXIbosq1gBdk/pChWA8zWYLsq9UEw7a1L5TVMCnA= github.com/polyfloyd/go-errorlint v1.7.1/go.mod h1:aXjNb1x2TNhoLsk26iv1yl7a+zTnXPhwEMtEXukiLR8= github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g= @@ -505,14 +502,16 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII= github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= -github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= -github.com/rs/zerolog v1.29.0 h1:Zes4hju04hjbvkVkOhdl2HpZa+0PmVwigmo8XoORE5w= -github.com/rs/zerolog v1.29.0/go.mod h1:NILgTygv/Uej1ra5XxGf82ZFSLk58MFGAUS2o6usyD0= +github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= +github.com/rs/zerolog v1.33.0 h1:1cU2KZkvPxNyfgEmhHAz/1A9Bz+llsdYzklWFzgp0r8= +github.com/rs/zerolog v1.33.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryancurrah/gomodguard v1.3.5 h1:cShyguSwUEeC0jS7ylOiG/idnd1TpJ1LfHGpV3oJmPU= github.com/ryancurrah/gomodguard v1.3.5/go.mod h1:MXlEPQRxgfPQa62O8wzK3Ozbkv9Rkqr+wKjSxTdsNJE= github.com/ryanrolds/sqlclosecheck v0.5.1 h1:dibWW826u0P8jNLsLN+En7+RqWWTYrjCB9fJfSfdyCU= github.com/ryanrolds/sqlclosecheck v0.5.1/go.mod h1:2g3dUjoS6AL4huFdv6wn55WpLIDjY7ZgUR4J8HOO/XQ= +github.com/sagikazarmark/locafero v0.7.0 h1:5MqpDsTGNDhY8sGp0Aowyf0qKsPrhewaLSsFaodPcyo= +github.com/sagikazarmark/locafero v0.7.0/go.mod h1:2za3Cg5rMaTMoG/2Ulr9AwtFaIppKXTRYnozin4aB5k= github.com/sanposhiho/wastedassign/v2 v2.1.0 h1:crurBF7fJKIORrV85u9UUpePDYGWnwvv3+A96WvwXT0= github.com/sanposhiho/wastedassign/v2 v2.1.0/go.mod h1:+oSmSC+9bQ+VUAxA66nBb0Z7N8CK7mscKTDYC6aIek4= github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 h1:PKK9DyHxif4LZo+uQSgXNqs0jj5+xZwwfKHgph2lxBw= @@ -536,22 +535,22 @@ github.com/sivchari/tenv v1.12.1 h1:+E0QzjktdnExv/wwsnnyk4oqZBUfuh89YMQT1cyuvSY= github.com/sivchari/tenv v1.12.1/go.mod h1:1LjSOUCc25snIr5n3DtGGrENhX3LuWefcplwVGC24mw= github.com/sonatard/noctx v0.1.0 h1:JjqOc2WN16ISWAjAk8M5ej0RfExEXtkEyExl2hLW+OM= github.com/sonatard/noctx v0.1.0/go.mod h1:0RvBxqY8D4j9cTTTWE8ylt2vqj2EPI8fHmrxHdsaZ2c= +github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= +github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= github.com/sourcegraph/go-diff v0.7.0 h1:9uLlrd5T46OXs5qpp8L/MTltk0zikUGi0sNNyCpA8G0= github.com/sourcegraph/go-diff v0.7.0/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= github.com/spf13/afero v1.12.0 h1:UcOPyRBYczmFn6yvphxkn9ZEOY65cpwGKb5mL36mrqs= github.com/spf13/afero v1.12.0/go.mod h1:ZTlWwG4/ahT8W7T0WQ5uYmjI9duaLQGy3Q2OAl4sk/4= -github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= -github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= +github.com/spf13/cast v1.7.1 h1:cuNEagBQEHWN1FnbGEjCXL2szYEXqfJPbP2HNUaca9Y= +github.com/spf13/cast v1.7.1/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= -github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.15.0 h1:js3yy885G8xwJa6iOISGFwd+qlUo5AvyXb7CiihdtiU= -github.com/spf13/viper v1.15.0/go.mod h1:fFcTBJxvhhzSJiZy8n+PeW6t8l+KeT/uTARa0jHOQLA= +github.com/spf13/viper v1.20.0 h1:zrxIyR3RQIOsarIrgL8+sAvALXul9jeEPa06Y0Ph6vY= +github.com/spf13/viper v1.20.0/go.mod h1:P9Mdzt1zoHIG8m2eZQinpiBjo6kCmZSKBClNNqjJvu4= github.com/ssgreg/nlreturn/v2 v2.2.1 h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0= github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I= github.com/stbenjam/no-sprintf-host-port v0.2.0 h1:i8pxvGrt1+4G0czLr/WnmyH7zbZ8Bg8etvARQ1rpyl4= @@ -573,8 +572,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= -github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= +github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= +github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= github.com/tdakkota/asciicheck v0.4.0 h1:VZ13Itw4k1i7d+dpDSNS8Op645XgGHpkCEh/WHicgWw= github.com/tdakkota/asciicheck v0.4.0/go.mod h1:0k7M3rCfRXb0Z6bwgvkEIMleKH3kXNz9UqJ9Xuqopr8= github.com/tenntenn/modver v1.0.1 h1:2klLppGhDgzJrScMpkj9Ujy3rXPUspSjAcev9tSEBgA= @@ -599,8 +598,8 @@ github.com/uudashr/gocognit v1.2.0 h1:3BU9aMr1xbhPlvJLSydKwdLN3tEUUrzPSSM8S4hDYR github.com/uudashr/gocognit v1.2.0/go.mod h1:k/DdKPI6XBZO1q7HgoV2juESI2/Ofj9AcHPZhBBdrTU= github.com/uudashr/iface v1.3.1 h1:bA51vmVx1UIhiIsQFSNq6GZ6VPTk3WNMZgRiCe9R29U= github.com/uudashr/iface v1.3.1/go.mod h1:4QvspiRd3JLPAEXBQ9AiZpLbJlrWWgRChOKDJEuQTdg= -github.com/vektra/mockery/v2 v2.40.3 h1:IZ2lydSDFsY0khnEsbSu13VLcqSsa6UYSS/8F+uOJmo= -github.com/vektra/mockery/v2 v2.40.3/go.mod h1:KYBZF/7sqOa86BaOZPYsoCZWEWLS90a5oBLg2pVudxY= +github.com/vektra/mockery/v2 v2.53.3 h1:yBU8XrzntcZdcNRRv+At0anXgSaFtgkyVUNm3f4an3U= +github.com/vektra/mockery/v2 v2.53.3/go.mod h1:hIFFb3CvzPdDJJiU7J4zLRblUMv7OuezWsHPmswriwo= github.com/xen0n/gosmopolitan v1.2.2 h1:/p2KTnMzwRexIW8GlKawsTWOxn7UHA+jCMF/V8HHtvU= github.com/xen0n/gosmopolitan v1.2.2/go.mod h1:7XX7Mj61uLYrj0qmeN0zi7XDon9JRAEhYQqAPLVNTeg= github.com/yagipy/maintidx v1.0.0 h1:h5NvIsCz+nRDapQ0exNv4aJ0yXSI0420omVANTv3GJM= @@ -629,15 +628,14 @@ go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -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.6.0 h1:O3y2/QNTOdbF+e/dpXNNW7Rx2hZ4sTIPyybbxyNqTUs= go.uber.org/automaxprocs v1.6.0/go.mod h1:ifeIMSnPZuznNm6jmdzmU3/bfk01Fe2fotchwEFJ8r8= go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI= go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= -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.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= +go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= @@ -812,8 +810,6 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211105183446-c75c47738b0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -847,8 +843,9 @@ golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= +golang.org/x/term v0.29.0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU= +golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s= 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= @@ -1017,8 +1014,6 @@ gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8 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/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= -gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -1027,7 +1022,6 @@ gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 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-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= gotest.tools/gotestsum v1.12.0 h1:CmwtaGDkHxrZm4Ib0Vob89MTfpc3GrEFMJKovliPwGk= diff --git a/pkg/kubelet/apis/podresources/testing/cpus_provider.go b/pkg/kubelet/apis/podresources/testing/cpus_provider.go index 972b2bfe133..ff193543d3e 100644 --- a/pkg/kubelet/apis/podresources/testing/cpus_provider.go +++ b/pkg/kubelet/apis/podresources/testing/cpus_provider.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing @@ -33,7 +33,7 @@ func (_m *MockCPUsProvider) EXPECT() *MockCPUsProvider_Expecter { return &MockCPUsProvider_Expecter{mock: &_m.Mock} } -// GetAllocatableCPUs provides a mock function with given fields: +// GetAllocatableCPUs provides a mock function with no fields func (_m *MockCPUsProvider) GetAllocatableCPUs() []int64 { ret := _m.Called() diff --git a/pkg/kubelet/apis/podresources/testing/devices_provider.go b/pkg/kubelet/apis/podresources/testing/devices_provider.go index 862f4535351..db086aa6b9c 100644 --- a/pkg/kubelet/apis/podresources/testing/devices_provider.go +++ b/pkg/kubelet/apis/podresources/testing/devices_provider.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing @@ -37,7 +37,7 @@ func (_m *MockDevicesProvider) EXPECT() *MockDevicesProvider_Expecter { return &MockDevicesProvider_Expecter{mock: &_m.Mock} } -// GetAllocatableDevices provides a mock function with given fields: +// GetAllocatableDevices provides a mock function with no fields func (_m *MockDevicesProvider) GetAllocatableDevices() []*v1.ContainerDevices { ret := _m.Called() @@ -133,7 +133,7 @@ func (_c *MockDevicesProvider_GetDevices_Call) RunAndReturn(run func(string, str return _c } -// UpdateAllocatedDevices provides a mock function with given fields: +// UpdateAllocatedDevices provides a mock function with no fields func (_m *MockDevicesProvider) UpdateAllocatedDevices() { _m.Called() } @@ -161,7 +161,7 @@ func (_c *MockDevicesProvider_UpdateAllocatedDevices_Call) Return() *MockDevices } func (_c *MockDevicesProvider_UpdateAllocatedDevices_Call) RunAndReturn(run func()) *MockDevicesProvider_UpdateAllocatedDevices_Call { - _c.Call.Return(run) + _c.Run(run) return _c } diff --git a/pkg/kubelet/apis/podresources/testing/dynamic_resources_provider.go b/pkg/kubelet/apis/podresources/testing/dynamic_resources_provider.go index 7d0cec493b1..e68ba5f8fda 100644 --- a/pkg/kubelet/apis/podresources/testing/dynamic_resources_provider.go +++ b/pkg/kubelet/apis/podresources/testing/dynamic_resources_provider.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing diff --git a/pkg/kubelet/apis/podresources/testing/memory_provider.go b/pkg/kubelet/apis/podresources/testing/memory_provider.go index bf0a7af34cc..506778e8508 100644 --- a/pkg/kubelet/apis/podresources/testing/memory_provider.go +++ b/pkg/kubelet/apis/podresources/testing/memory_provider.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing @@ -37,7 +37,7 @@ func (_m *MockMemoryProvider) EXPECT() *MockMemoryProvider_Expecter { return &MockMemoryProvider_Expecter{mock: &_m.Mock} } -// GetAllocatableMemory provides a mock function with given fields: +// GetAllocatableMemory provides a mock function with no fields func (_m *MockMemoryProvider) GetAllocatableMemory() []*v1.ContainerMemory { ret := _m.Called() diff --git a/pkg/kubelet/apis/podresources/testing/pods_provider.go b/pkg/kubelet/apis/podresources/testing/pods_provider.go index e0e23736e64..9cd9c3eef7f 100644 --- a/pkg/kubelet/apis/podresources/testing/pods_provider.go +++ b/pkg/kubelet/apis/podresources/testing/pods_provider.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing @@ -96,7 +96,7 @@ func (_c *MockPodsProvider_GetPodByName_Call) RunAndReturn(run func(string, stri return _c } -// GetPods provides a mock function with given fields: +// GetPods provides a mock function with no fields func (_m *MockPodsProvider) GetPods() []*v1.Pod { ret := _m.Called() diff --git a/pkg/kubelet/cadvisor/testing/cadvisor_mock.go b/pkg/kubelet/cadvisor/testing/cadvisor_mock.go index 60c926ea0b1..3073773ba68 100644 --- a/pkg/kubelet/cadvisor/testing/cadvisor_mock.go +++ b/pkg/kubelet/cadvisor/testing/cadvisor_mock.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing @@ -326,7 +326,7 @@ func (_c *MockInterface_ImagesFsInfo_Call) RunAndReturn(run func(context.Context return _c } -// MachineInfo provides a mock function with given fields: +// MachineInfo provides a mock function with no fields func (_m *MockInterface) MachineInfo() (*v1.MachineInfo, error) { ret := _m.Called() @@ -383,7 +383,7 @@ func (_c *MockInterface_MachineInfo_Call) RunAndReturn(run func() (*v1.MachineIn return _c } -// RootFsInfo provides a mock function with given fields: +// RootFsInfo provides a mock function with no fields func (_m *MockInterface) RootFsInfo() (v2.FsInfo, error) { ret := _m.Called() @@ -438,7 +438,7 @@ func (_c *MockInterface_RootFsInfo_Call) RunAndReturn(run func() (v2.FsInfo, err return _c } -// Start provides a mock function with given fields: +// Start provides a mock function with no fields func (_m *MockInterface) Start() error { ret := _m.Called() @@ -483,7 +483,7 @@ func (_c *MockInterface_Start_Call) RunAndReturn(run func() error) *MockInterfac return _c } -// VersionInfo provides a mock function with given fields: +// VersionInfo provides a mock function with no fields func (_m *MockInterface) VersionInfo() (*v1.VersionInfo, error) { ret := _m.Called() diff --git a/pkg/kubelet/cm/testing/mock_container_manager.go b/pkg/kubelet/cm/testing/mock_container_manager.go index 03fc5a4ca42..0d56cec6ffd 100644 --- a/pkg/kubelet/cm/testing/mock_container_manager.go +++ b/pkg/kubelet/cm/testing/mock_container_manager.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing @@ -109,7 +109,7 @@ func (_c *MockContainerManager_ContainerHasExclusiveCPUs_Call) RunAndReturn(run return _c } -// GetAllocatableCPUs provides a mock function with given fields: +// GetAllocatableCPUs provides a mock function with no fields func (_m *MockContainerManager) GetAllocatableCPUs() []int64 { ret := _m.Called() @@ -156,7 +156,7 @@ func (_c *MockContainerManager_GetAllocatableCPUs_Call) RunAndReturn(run func() return _c } -// GetAllocatableDevices provides a mock function with given fields: +// GetAllocatableDevices provides a mock function with no fields func (_m *MockContainerManager) GetAllocatableDevices() []*podresourcesv1.ContainerDevices { ret := _m.Called() @@ -203,7 +203,7 @@ func (_c *MockContainerManager_GetAllocatableDevices_Call) RunAndReturn(run func return _c } -// GetAllocatableMemory provides a mock function with given fields: +// GetAllocatableMemory provides a mock function with no fields func (_m *MockContainerManager) GetAllocatableMemory() []*podresourcesv1.ContainerMemory { ret := _m.Called() @@ -250,7 +250,7 @@ func (_c *MockContainerManager_GetAllocatableMemory_Call) RunAndReturn(run func( return _c } -// GetAllocateResourcesPodAdmitHandler provides a mock function with given fields: +// GetAllocateResourcesPodAdmitHandler provides a mock function with no fields func (_m *MockContainerManager) GetAllocateResourcesPodAdmitHandler() lifecycle.PodAdmitHandler { ret := _m.Called() @@ -394,7 +394,7 @@ func (_c *MockContainerManager_GetCapacity_Call) RunAndReturn(run func(bool) v1. return _c } -// GetDevicePluginResourceCapacity provides a mock function with given fields: +// GetDevicePluginResourceCapacity provides a mock function with no fields func (_m *MockContainerManager) GetDevicePluginResourceCapacity() (v1.ResourceList, v1.ResourceList, []string) { ret := _m.Called() @@ -560,7 +560,7 @@ func (_c *MockContainerManager_GetDynamicResources_Call) RunAndReturn(run func(* return _c } -// GetHealthCheckers provides a mock function with given fields: +// GetHealthCheckers provides a mock function with no fields func (_m *MockContainerManager) GetHealthCheckers() []healthz.HealthChecker { ret := _m.Called() @@ -656,7 +656,7 @@ func (_c *MockContainerManager_GetMemory_Call) RunAndReturn(run func(string, str return _c } -// GetMountedSubsystems provides a mock function with given fields: +// GetMountedSubsystems provides a mock function with no fields func (_m *MockContainerManager) GetMountedSubsystems() *cm.CgroupSubsystems { ret := _m.Called() @@ -703,7 +703,7 @@ func (_c *MockContainerManager_GetMountedSubsystems_Call) RunAndReturn(run func( return _c } -// GetNodeAllocatableAbsolute provides a mock function with given fields: +// GetNodeAllocatableAbsolute provides a mock function with no fields func (_m *MockContainerManager) GetNodeAllocatableAbsolute() v1.ResourceList { ret := _m.Called() @@ -750,7 +750,7 @@ func (_c *MockContainerManager_GetNodeAllocatableAbsolute_Call) RunAndReturn(run return _c } -// GetNodeAllocatableReservation provides a mock function with given fields: +// GetNodeAllocatableReservation provides a mock function with no fields func (_m *MockContainerManager) GetNodeAllocatableReservation() v1.ResourceList { ret := _m.Called() @@ -797,7 +797,7 @@ func (_c *MockContainerManager_GetNodeAllocatableReservation_Call) RunAndReturn( return _c } -// GetNodeConfig provides a mock function with given fields: +// GetNodeConfig provides a mock function with no fields func (_m *MockContainerManager) GetNodeConfig() cm.NodeConfig { ret := _m.Called() @@ -842,7 +842,7 @@ func (_c *MockContainerManager_GetNodeConfig_Call) RunAndReturn(run func() cm.No return _c } -// GetPluginRegistrationHandlers provides a mock function with given fields: +// GetPluginRegistrationHandlers provides a mock function with no fields func (_m *MockContainerManager) GetPluginRegistrationHandlers() map[string]cache.PluginHandler { ret := _m.Called() @@ -889,7 +889,7 @@ func (_c *MockContainerManager_GetPluginRegistrationHandlers_Call) RunAndReturn( return _c } -// GetPodCgroupRoot provides a mock function with given fields: +// GetPodCgroupRoot provides a mock function with no fields func (_m *MockContainerManager) GetPodCgroupRoot() string { ret := _m.Called() @@ -934,7 +934,7 @@ func (_c *MockContainerManager_GetPodCgroupRoot_Call) RunAndReturn(run func() st return _c } -// GetQOSContainersInfo provides a mock function with given fields: +// GetQOSContainersInfo provides a mock function with no fields func (_m *MockContainerManager) GetQOSContainersInfo() cm.QOSContainersInfo { ret := _m.Called() @@ -1039,7 +1039,7 @@ func (_c *MockContainerManager_GetResources_Call) RunAndReturn(run func(context. return _c } -// InternalContainerLifecycle provides a mock function with given fields: +// InternalContainerLifecycle provides a mock function with no fields func (_m *MockContainerManager) InternalContainerLifecycle() cm.InternalContainerLifecycle { ret := _m.Called() @@ -1086,7 +1086,7 @@ func (_c *MockContainerManager_InternalContainerLifecycle_Call) RunAndReturn(run return _c } -// NewPodContainerManager provides a mock function with given fields: +// NewPodContainerManager provides a mock function with no fields func (_m *MockContainerManager) NewPodContainerManager() cm.PodContainerManager { ret := _m.Called() @@ -1272,7 +1272,7 @@ func (_c *MockContainerManager_PrepareDynamicResources_Call) RunAndReturn(run fu return _c } -// ShouldResetExtendedResourceCapacity provides a mock function with given fields: +// ShouldResetExtendedResourceCapacity provides a mock function with no fields func (_m *MockContainerManager) ShouldResetExtendedResourceCapacity() bool { ret := _m.Called() @@ -1370,7 +1370,7 @@ func (_c *MockContainerManager_Start_Call) RunAndReturn(run func(context.Context return _c } -// Status provides a mock function with given fields: +// Status provides a mock function with no fields func (_m *MockContainerManager) Status() cm.Status { ret := _m.Called() @@ -1415,7 +1415,7 @@ func (_c *MockContainerManager_Status_Call) RunAndReturn(run func() cm.Status) * return _c } -// SystemCgroupsLimit provides a mock function with given fields: +// SystemCgroupsLimit provides a mock function with no fields func (_m *MockContainerManager) SystemCgroupsLimit() v1.ResourceList { ret := _m.Called() @@ -1509,7 +1509,7 @@ func (_c *MockContainerManager_UnprepareDynamicResources_Call) RunAndReturn(run return _c } -// UpdateAllocatedDevices provides a mock function with given fields: +// UpdateAllocatedDevices provides a mock function with no fields func (_m *MockContainerManager) UpdateAllocatedDevices() { _m.Called() } @@ -1537,7 +1537,7 @@ func (_c *MockContainerManager_UpdateAllocatedDevices_Call) Return() *MockContai } func (_c *MockContainerManager_UpdateAllocatedDevices_Call) RunAndReturn(run func()) *MockContainerManager_UpdateAllocatedDevices_Call { - _c.Call.Return(run) + _c.Run(run) return _c } @@ -1571,7 +1571,7 @@ func (_c *MockContainerManager_UpdateAllocatedResourcesStatus_Call) Return() *Mo } func (_c *MockContainerManager_UpdateAllocatedResourcesStatus_Call) RunAndReturn(run func(*v1.Pod, *v1.PodStatus)) *MockContainerManager_UpdateAllocatedResourcesStatus_Call { - _c.Call.Return(run) + _c.Run(run) return _c } @@ -1622,7 +1622,7 @@ func (_c *MockContainerManager_UpdatePluginResources_Call) RunAndReturn(run func return _c } -// UpdateQOSCgroups provides a mock function with given fields: +// UpdateQOSCgroups provides a mock function with no fields func (_m *MockContainerManager) UpdateQOSCgroups() error { ret := _m.Called() @@ -1667,7 +1667,7 @@ func (_c *MockContainerManager_UpdateQOSCgroups_Call) RunAndReturn(run func() er return _c } -// Updates provides a mock function with given fields: +// Updates provides a mock function with no fields func (_m *MockContainerManager) Updates() <-chan resourceupdates.Update { ret := _m.Called() diff --git a/pkg/kubelet/cm/testing/mock_pod_container_manager.go b/pkg/kubelet/cm/testing/mock_pod_container_manager.go index a32b9b5c99f..97467682b06 100644 --- a/pkg/kubelet/cm/testing/mock_pod_container_manager.go +++ b/pkg/kubelet/cm/testing/mock_pod_container_manager.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing @@ -178,7 +178,7 @@ func (_c *MockPodContainerManager_Exists_Call) RunAndReturn(run func(*v1.Pod) bo return _c } -// GetAllPodsFromCgroups provides a mock function with given fields: +// GetAllPodsFromCgroups provides a mock function with no fields func (_m *MockPodContainerManager) GetAllPodsFromCgroups() (map[types.UID]cm.CgroupName, error) { ret := _m.Called() diff --git a/pkg/kubelet/container/testing/mock_runtime_cache.go b/pkg/kubelet/container/testing/mock_runtime_cache.go index e4cd71d80b3..fac6ffa3119 100644 --- a/pkg/kubelet/container/testing/mock_runtime_cache.go +++ b/pkg/kubelet/container/testing/mock_runtime_cache.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing diff --git a/pkg/kubelet/container/testing/mockdirentry.go b/pkg/kubelet/container/testing/mockdirentry.go index 0a091df1d49..596f914614c 100644 --- a/pkg/kubelet/container/testing/mockdirentry.go +++ b/pkg/kubelet/container/testing/mockdirentry.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing @@ -37,7 +37,7 @@ func (_m *MockDirEntry) EXPECT() *MockDirEntry_Expecter { return &MockDirEntry_Expecter{mock: &_m.Mock} } -// Info provides a mock function with given fields: +// Info provides a mock function with no fields func (_m *MockDirEntry) Info() (fs.FileInfo, error) { ret := _m.Called() @@ -94,7 +94,7 @@ func (_c *MockDirEntry_Info_Call) RunAndReturn(run func() (fs.FileInfo, error)) return _c } -// IsDir provides a mock function with given fields: +// IsDir provides a mock function with no fields func (_m *MockDirEntry) IsDir() bool { ret := _m.Called() @@ -139,7 +139,7 @@ func (_c *MockDirEntry_IsDir_Call) RunAndReturn(run func() bool) *MockDirEntry_I return _c } -// Name provides a mock function with given fields: +// Name provides a mock function with no fields func (_m *MockDirEntry) Name() string { ret := _m.Called() @@ -184,7 +184,7 @@ func (_c *MockDirEntry_Name_Call) RunAndReturn(run func() string) *MockDirEntry_ return _c } -// Type provides a mock function with given fields: +// Type provides a mock function with no fields func (_m *MockDirEntry) Type() fs.FileMode { ret := _m.Called() diff --git a/pkg/kubelet/container/testing/runtime_mock.go b/pkg/kubelet/container/testing/runtime_mock.go index d53f2089b1a..9e49560b37d 100644 --- a/pkg/kubelet/container/testing/runtime_mock.go +++ b/pkg/kubelet/container/testing/runtime_mock.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing @@ -53,7 +53,7 @@ func (_m *MockRuntime) EXPECT() *MockRuntime_Expecter { return &MockRuntime_Expecter{mock: &_m.Mock} } -// APIVersion provides a mock function with given fields: +// APIVersion provides a mock function with no fields func (_m *MockRuntime) APIVersion() (container.Version, error) { ret := _m.Called() @@ -1264,7 +1264,7 @@ func (_c *MockRuntime_SyncPod_Call) RunAndReturn(run func(context.Context, *core return _c } -// Type provides a mock function with given fields: +// Type provides a mock function with no fields func (_m *MockRuntime) Type() string { ret := _m.Called() diff --git a/pkg/kubelet/eviction/mock_cgroup_notifier_test.go b/pkg/kubelet/eviction/mock_cgroup_notifier_test.go index 5c128ec98cd..618fff9951c 100644 --- a/pkg/kubelet/eviction/mock_cgroup_notifier_test.go +++ b/pkg/kubelet/eviction/mock_cgroup_notifier_test.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package eviction @@ -62,11 +62,11 @@ func (_c *MockCgroupNotifier_Start_Call) Return() *MockCgroupNotifier_Start_Call } func (_c *MockCgroupNotifier_Start_Call) RunAndReturn(run func(chan<- struct{})) *MockCgroupNotifier_Start_Call { - _c.Call.Return(run) + _c.Run(run) return _c } -// Stop provides a mock function with given fields: +// Stop provides a mock function with no fields func (_m *MockCgroupNotifier) Stop() { _m.Called() } @@ -94,7 +94,7 @@ func (_c *MockCgroupNotifier_Stop_Call) Return() *MockCgroupNotifier_Stop_Call { } func (_c *MockCgroupNotifier_Stop_Call) RunAndReturn(run func()) *MockCgroupNotifier_Stop_Call { - _c.Call.Return(run) + _c.Run(run) return _c } diff --git a/pkg/kubelet/eviction/mock_notifier_factory_test.go b/pkg/kubelet/eviction/mock_notifier_factory_test.go index 3bdc12173b4..4e27024ba2a 100644 --- a/pkg/kubelet/eviction/mock_notifier_factory_test.go +++ b/pkg/kubelet/eviction/mock_notifier_factory_test.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package eviction diff --git a/pkg/kubelet/eviction/mock_threshold_notifier_test.go b/pkg/kubelet/eviction/mock_threshold_notifier_test.go index 47841bd0109..0b2f13d5ed6 100644 --- a/pkg/kubelet/eviction/mock_threshold_notifier_test.go +++ b/pkg/kubelet/eviction/mock_threshold_notifier_test.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package eviction @@ -36,7 +36,7 @@ func (_m *MockThresholdNotifier) EXPECT() *MockThresholdNotifier_Expecter { return &MockThresholdNotifier_Expecter{mock: &_m.Mock} } -// Description provides a mock function with given fields: +// Description provides a mock function with no fields func (_m *MockThresholdNotifier) Description() string { ret := _m.Called() @@ -81,7 +81,7 @@ func (_c *MockThresholdNotifier_Description_Call) RunAndReturn(run func() string return _c } -// Start provides a mock function with given fields: +// Start provides a mock function with no fields func (_m *MockThresholdNotifier) Start() { _m.Called() } @@ -109,7 +109,7 @@ func (_c *MockThresholdNotifier_Start_Call) Return() *MockThresholdNotifier_Star } func (_c *MockThresholdNotifier_Start_Call) RunAndReturn(run func()) *MockThresholdNotifier_Start_Call { - _c.Call.Return(run) + _c.Run(run) return _c } diff --git a/pkg/kubelet/pod/testing/mock_manager.go b/pkg/kubelet/pod/testing/mock_manager.go index 134b9383f00..a12a6eeff9a 100644 --- a/pkg/kubelet/pod/testing/mock_manager.go +++ b/pkg/kubelet/pod/testing/mock_manager.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing @@ -69,7 +69,7 @@ func (_c *MockManager_AddPod_Call) Return() *MockManager_AddPod_Call { } func (_c *MockManager_AddPod_Call) RunAndReturn(run func(*v1.Pod)) *MockManager_AddPod_Call { - _c.Call.Return(run) + _c.Run(run) return _c } @@ -431,7 +431,7 @@ func (_c *MockManager_GetPodByUID_Call) RunAndReturn(run func(types.UID) (*v1.Po return _c } -// GetPods provides a mock function with given fields: +// GetPods provides a mock function with no fields func (_m *MockManager) GetPods() []*v1.Pod { ret := _m.Called() @@ -478,7 +478,7 @@ func (_c *MockManager_GetPods_Call) RunAndReturn(run func() []*v1.Pod) *MockMana return _c } -// GetPodsAndMirrorPods provides a mock function with given fields: +// GetPodsAndMirrorPods provides a mock function with no fields func (_m *MockManager) GetPodsAndMirrorPods() ([]*v1.Pod, []*v1.Pod, []string) { ret := _m.Called() @@ -546,7 +546,7 @@ func (_c *MockManager_GetPodsAndMirrorPods_Call) RunAndReturn(run func() ([]*v1. return _c } -// GetStaticPodToMirrorPodMap provides a mock function with given fields: +// GetStaticPodToMirrorPodMap provides a mock function with no fields func (_m *MockManager) GetStaticPodToMirrorPodMap() map[*v1.Pod]*v1.Pod { ret := _m.Called() @@ -593,7 +593,7 @@ func (_c *MockManager_GetStaticPodToMirrorPodMap_Call) RunAndReturn(run func() m return _c } -// GetUIDTranslations provides a mock function with given fields: +// GetUIDTranslations provides a mock function with no fields func (_m *MockManager) GetUIDTranslations() (map[kubelettypes.ResolvedPodUID]kubelettypes.MirrorPodUID, map[kubelettypes.MirrorPodUID]kubelettypes.ResolvedPodUID) { ret := _m.Called() @@ -681,7 +681,7 @@ func (_c *MockManager_RemovePod_Call) Return() *MockManager_RemovePod_Call { } func (_c *MockManager_RemovePod_Call) RunAndReturn(run func(*v1.Pod)) *MockManager_RemovePod_Call { - _c.Call.Return(run) + _c.Run(run) return _c } @@ -714,7 +714,7 @@ func (_c *MockManager_SetPods_Call) Return() *MockManager_SetPods_Call { } func (_c *MockManager_SetPods_Call) RunAndReturn(run func([]*v1.Pod)) *MockManager_SetPods_Call { - _c.Call.Return(run) + _c.Run(run) return _c } @@ -793,7 +793,7 @@ func (_c *MockManager_UpdatePod_Call) Return() *MockManager_UpdatePod_Call { } func (_c *MockManager_UpdatePod_Call) RunAndReturn(run func(*v1.Pod)) *MockManager_UpdatePod_Call { - _c.Call.Return(run) + _c.Run(run) return _c } diff --git a/pkg/kubelet/server/stats/testing/mock_stats_provider.go b/pkg/kubelet/server/stats/testing/mock_stats_provider.go index 892598cf3c3..b3c94442f67 100644 --- a/pkg/kubelet/server/stats/testing/mock_stats_provider.go +++ b/pkg/kubelet/server/stats/testing/mock_stats_provider.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing @@ -178,7 +178,7 @@ func (_c *MockProvider_GetCgroupStats_Call) RunAndReturn(run func(string, bool) return _c } -// GetNode provides a mock function with given fields: +// GetNode provides a mock function with no fields func (_m *MockProvider) GetNode() (*v1.Node, error) { ret := _m.Called() @@ -235,7 +235,7 @@ func (_c *MockProvider_GetNode_Call) RunAndReturn(run func() (*v1.Node, error)) return _c } -// GetNodeConfig provides a mock function with given fields: +// GetNodeConfig provides a mock function with no fields func (_m *MockProvider) GetNodeConfig() cm.NodeConfig { ret := _m.Called() @@ -397,7 +397,7 @@ func (_c *MockProvider_GetPodByName_Call) RunAndReturn(run func(string, string) return _c } -// GetPodCgroupRoot provides a mock function with given fields: +// GetPodCgroupRoot provides a mock function with no fields func (_m *MockProvider) GetPodCgroupRoot() string { ret := _m.Called() @@ -442,7 +442,7 @@ func (_c *MockProvider_GetPodCgroupRoot_Call) RunAndReturn(run func() string) *M return _c } -// GetPods provides a mock function with given fields: +// GetPods provides a mock function with no fields func (_m *MockProvider) GetPods() []*v1.Pod { ret := _m.Called() @@ -905,7 +905,7 @@ func (_c *MockProvider_ListVolumesForPod_Call) RunAndReturn(run func(types.UID) return _c } -// RlimitStats provides a mock function with given fields: +// RlimitStats provides a mock function with no fields func (_m *MockProvider) RlimitStats() (*v1alpha1.RlimitStats, error) { ret := _m.Called() @@ -962,7 +962,7 @@ func (_c *MockProvider_RlimitStats_Call) RunAndReturn(run func() (*v1alpha1.Rlim return _c } -// RootFsStats provides a mock function with given fields: +// RootFsStats provides a mock function with no fields func (_m *MockProvider) RootFsStats() (*v1alpha1.FsStats, error) { ret := _m.Called() diff --git a/pkg/kubelet/server/stats/testing/mock_summary_provider.go b/pkg/kubelet/server/stats/testing/mock_summary_provider.go index 7e9f12bc8b2..3a39a51e9ee 100644 --- a/pkg/kubelet/server/stats/testing/mock_summary_provider.go +++ b/pkg/kubelet/server/stats/testing/mock_summary_provider.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing diff --git a/pkg/kubelet/status/testing/mock_pod_status_provider.go b/pkg/kubelet/status/testing/mock_pod_status_provider.go index 31261d4d994..dcfe31b4dc1 100644 --- a/pkg/kubelet/status/testing/mock_pod_status_provider.go +++ b/pkg/kubelet/status/testing/mock_pod_status_provider.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package testing diff --git a/staging/src/k8s.io/client-go/rest/mock_backoff_manager_test.go b/staging/src/k8s.io/client-go/rest/mock_backoff_manager_test.go index 3cd4585ae9e..938bc82d4f4 100644 --- a/staging/src/k8s.io/client-go/rest/mock_backoff_manager_test.go +++ b/staging/src/k8s.io/client-go/rest/mock_backoff_manager_test.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package rest @@ -114,7 +114,7 @@ func (_c *MockBackoffManager_Sleep_Call) Return() *MockBackoffManager_Sleep_Call } func (_c *MockBackoffManager_Sleep_Call) RunAndReturn(run func(time.Duration)) *MockBackoffManager_Sleep_Call { - _c.Call.Return(run) + _c.Run(run) return _c } @@ -149,7 +149,7 @@ func (_c *MockBackoffManager_UpdateBackoff_Call) Return() *MockBackoffManager_Up } func (_c *MockBackoffManager_UpdateBackoff_Call) RunAndReturn(run func(*url.URL, error, int)) *MockBackoffManager_UpdateBackoff_Call { - _c.Call.Return(run) + _c.Run(run) return _c } diff --git a/test/e2e/storage/drivers/csi-test/driver/mock_controller_server.go b/test/e2e/storage/drivers/csi-test/driver/mock_controller_server.go index 8b2a9f71280..3aef0fd37ee 100644 --- a/test/e2e/storage/drivers/csi-test/driver/mock_controller_server.go +++ b/test/e2e/storage/drivers/csi-test/driver/mock_controller_server.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package driver diff --git a/test/e2e/storage/drivers/csi-test/driver/mock_identity_server.go b/test/e2e/storage/drivers/csi-test/driver/mock_identity_server.go index 9e7038e45f1..3e02f50ad57 100644 --- a/test/e2e/storage/drivers/csi-test/driver/mock_identity_server.go +++ b/test/e2e/storage/drivers/csi-test/driver/mock_identity_server.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package driver diff --git a/test/e2e/storage/drivers/csi-test/driver/mock_node_server.go b/test/e2e/storage/drivers/csi-test/driver/mock_node_server.go index e67b14762b8..4b3f1069142 100644 --- a/test/e2e/storage/drivers/csi-test/driver/mock_node_server.go +++ b/test/e2e/storage/drivers/csi-test/driver/mock_node_server.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package driver diff --git a/test/utils/oidc/handlers/mock_jwks_handler.go b/test/utils/oidc/handlers/mock_jwks_handler.go index ce201884c79..c1955493c73 100644 --- a/test/utils/oidc/handlers/mock_jwks_handler.go +++ b/test/utils/oidc/handlers/mock_jwks_handler.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package handlers @@ -36,7 +36,7 @@ func (_m *MockJWKsHandler) EXPECT() *MockJWKsHandler_Expecter { return &MockJWKsHandler_Expecter{mock: &_m.Mock} } -// KeySet provides a mock function with given fields: +// KeySet provides a mock function with no fields func (_m *MockJWKsHandler) KeySet() jose.JSONWebKeySet { ret := _m.Called() diff --git a/test/utils/oidc/handlers/mock_token_handler.go b/test/utils/oidc/handlers/mock_token_handler.go index 2ff6c0ae7e1..532408d77db 100644 --- a/test/utils/oidc/handlers/mock_token_handler.go +++ b/test/utils/oidc/handlers/mock_token_handler.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by mockery v2.40.3. DO NOT EDIT. +// Code generated by mockery v2.53.3. DO NOT EDIT. package handlers @@ -33,7 +33,7 @@ func (_m *MockTokenHandler) EXPECT() *MockTokenHandler_Expecter { return &MockTokenHandler_Expecter{mock: &_m.Mock} } -// Token provides a mock function with given fields: +// Token provides a mock function with no fields func (_m *MockTokenHandler) Token() (Token, error) { ret := _m.Called()