- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TestValidateUpdate (0.79 sec)
-
pkg/registry/core/event/strategy_test.go
fset := ToSelectableFields(&api.Event{}) apitesting.TestSelectableFieldLabelConversionsOfKind(t, "v1", "Event", fset, nil, ) } func TestValidateUpdate(t *testing.T) { makeEvent := func(name string) *api.Event { return &api.Event{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: "default", ResourceVersion: "123",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 4.3K bytes - Viewed (0) -
pkg/registry/core/replicationcontroller/strategy_test.go
apitesting.TestSelectableFieldLabelConversionsOfKind(t, "v1", "ReplicationController", ControllerToSelectableFields(&api.ReplicationController{}), nil, ) } func TestValidateUpdate(t *testing.T) { ctx := genericapirequest.NewDefaultContext() validSelector := map[string]string{"a": "b"} validPodTemplate := api.PodTemplate{ Template: api.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 13 16:56:29 UTC 2019 - 6.9K bytes - Viewed (0) -
pkg/registry/core/node/strategy_test.go
} if !reflect.DeepEqual(tc.node, tc.compareNode) { t.Errorf("%v: unexpected node spec: %v", tc.name, cmp.Diff(tc.node, tc.compareNode)) } }() } } func TestValidateUpdate(t *testing.T) { tests := []struct { oldNode api.Node node api.Node valid bool }{ {api.Node{ ObjectMeta: metav1.ObjectMeta{ Name: "hugepage-change-values-from-0", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 9.7K bytes - Viewed (0)