mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue (batch tested with PRs 46801, 45184, 45930, 46192, 45563) Tweak client-gen to support metrics API This PR adds support to client-gen for readonly APIs as well as for customizing the resource name used for a given type. This is required to support the clients generated for `k8s.io/metrics/pkg/apis/metrics`. cc @caesarxuchao Currently based on #45180 **Release note**: ```release-note NONE ``` |
||
---|---|---|
.. | ||
BUILD | ||
interfaces.go | ||
legacy_metrics_client.go | ||
legacy_metrics_client_test.go | ||
rest_metrics_client.go | ||
rest_metrics_client_test.go | ||
utilization.go |