- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for FromAPIVersionAndKind (0.12 sec)
-
pkg/controller/podautoscaler/replica_calculator_test.go
metrics := &cmapi.MetricValueList{} assert.NotNil(t, tc.metric.singleObject, "should have only requested a single-object metric when calling GetObjectMetricReplicas") gk := schema.FromAPIVersionAndKind(tc.metric.singleObject.APIVersion, tc.metric.singleObject.Kind).GroupKind() mapping, err := mapper.RESTMapping(gk) if err != nil { return true, nil, fmt.Errorf("unable to get mapping for %s: %v", gk.String(), err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Aug 19 03:31:34 UTC 2023 - 68.4K bytes - Viewed (0)