kubernetes/test/integration/client
Siyuan Zhang 8fc3a33454 Refactor compatibility version code
Replace DefaultComponentGlobalsRegistry with new instance of componentGlobalsRegistry in test api server.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

move kube effective version validation out of component base.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

move DefaultComponentGlobalsRegistry out of component base.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

move ComponentGlobalsRegistry out of featuregate pkg.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

remove usage of DefaultComponentGlobalsRegistry in test files.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

change non-test DefaultKubeEffectiveVersion to use DefaultBuildEffectiveVersion.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

Restore useDefaultBuildBinaryVersion in effective version.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

rename DefaultKubeEffectiveVersion to DefaultKubeEffectiveVersionForTest.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

pass options.ComponentGlobalsRegistry into config for controller manager and scheduler.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

Pass apiserver effective version to DefaultResourceEncodingConfig.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

change statusz registry to take effective version from the components.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

Address review comments

Signed-off-by: Siyuan Zhang <sizhang@google.com>

update vendor

Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-02-05 16:10:53 -08:00
..
metrics test/integration: adapt numbers in TestAPIServerTransportMetrics with less rest client creations 2024-07-21 17:41:50 +02:00
testdata test/integration/client: test exec calls metric 2021-05-21 09:20:47 -04:00
cert_rotation_test.go fix: enable bool-compare rule from testifylint linter (#125135) 2024-06-28 10:58:05 -07:00
client_test.go Refactor compatibility version code 2025-02-05 16:10:53 -08:00
dynamic_client_test.go Wire serving codecs to CBOR feature gate. 2024-11-06 15:41:39 -05:00
exec_test.go replaced spew.Sprintf with a util pretty print function 2023-03-27 09:24:22 +08:00
main_test.go use testmain in integration tests 2017-07-12 17:34:55 -07:00