- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for expectPath (0.12 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview_test.go
testcases := []struct { name string uid types.UID mutating bool review runtime.Object expectAuditAnnotations map[string]string expectAllowed bool expectPatch []byte expectPatchType admissionv1.PatchType expectResult *metav1.Status expectErr string }{ // Allowed validating { name: "v1beta1 allowed validating",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 16:56:12 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/registry/core/pod/strategy_test.go
fieldSelector fields.Selector expectMatch bool }{ { in: &api.Pod{ Spec: api.PodSpec{NodeName: "nodeA"}, }, fieldSelector: fields.ParseSelectorOrDie("spec.nodeName=nodeA"), expectMatch: true, }, { in: &api.Pod{ Spec: api.PodSpec{NodeName: "nodeB"}, }, fieldSelector: fields.ParseSelectorOrDie("spec.nodeName=nodeA"), expectMatch: false, }, { in: &api.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 76.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go
} func TestSelectorMatches(t *testing.T) { expectMatch(t, "", Set{"x": "y"}) expectMatch(t, "x=y", Set{"x": "y"}) expectMatch(t, "x=y,z=w", Set{"x": "y", "z": "w"}) expectMatch(t, "x!=y,z!=w", Set{"x": "z", "z": "a"}) expectMatch(t, "notin=in", Set{"notin": "in"}) // in and notin in exactMatch expectMatch(t, "x", Set{"x": "z"}) expectMatch(t, "!x", Set{"y": "z"}) expectMatch(t, "x>1", Set{"x": "2"})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 14 16:39:04 UTC 2022 - 29.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/errors/errors_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jul 24 13:16:21 UTC 2022 - 12.7K bytes - Viewed (0)