- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for asPartialObjectMetadataList (0.37 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response_test.go
pomGVs := []schema.GroupVersion{metav1beta1.SchemeGroupVersion, metav1.SchemeGroupVersion} for _, gv := range pomGVs { t.Run(fmt.Sprintf("as %s PartialObjectMetadataList", gv), func(t *testing.T) { list, err := asPartialObjectMetadataList(pods, gv) if err != nil { t.Fatalf("failed to transform object: %v", err) } var listMeta metav1.ListMeta switch gv { case metav1beta1.SchemeGroupVersion:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 09:07:03 UTC 2023 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response.go
return obj, nil case target.Kind == "PartialObjectMetadata": return asPartialObjectMetadata(obj, target.GroupVersion()) case target.Kind == "PartialObjectMetadataList": return asPartialObjectMetadataList(obj, target.GroupVersion()) case target.Kind == "Table": options, ok := opts.(*metav1.TableOptions) if !ok { return nil, fmt.Errorf("unexpected TableOptions, got %T", opts) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 09:07:03 UTC 2023 - 16.5K bytes - Viewed (0)