- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestTypeConverter (0.29 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/versionconverter_test.go
gvkForVersion("v1beta1"): objForGroupVersion("apps/v1beta1"), gvkForVersion("v1"): objForGroupVersion("apps/v1"), } vc := newVersionConverter(testTypeConverter, oc, schema.GroupVersion{Group: "apps", Version: runtime.APIVersionInternal}) input, err := testTypeConverter.ObjectToTyped(objForGroupVersion("apps/v1beta1")) if err != nil { t.Fatalf("error creating converting input object to a typed value: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/typeconverter_test.go
"sigs.k8s.io/yaml" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/kube-openapi/pkg/validation/spec" ) func TestTypeConverter(t *testing.T) { dtc := NewDeducedTypeConverter() testCases := []struct { name string yaml string }{ { name: "apps/v1.Deployment", yaml: ` apiVersion: apps/v1 kind: Deployment
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 6.6K bytes - Viewed (0)