- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for AsSelector (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
if !ok { return nil, nil, fmt.Errorf("invalid object") } return labels.Set(pod.Labels), nil, nil } predicate := storage.SelectionPredicate{ Label: labels.Set{"even": "true"}.AsSelector(), GetAttrs: getAttrs, Limit: 4, } result1 := example.PodList{} options := storage.ListOptions{ Predicate: predicate, Recursive: true, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 91.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller_test.go
expectEvents(t, events, Event{Type: "service", ID: "selector.com", Namespace: selector.Namespace}, Event{Type: "service", ID: "updated.com", Namespace: selector.Namespace}, Event{Type: "eds cache", ID: "selector.com", Namespace: selector.Namespace}, Event{Type: "xds full", ID: "selector.com,updated.com"}, ) }) t.Run("add dns service entry", func(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 92.9K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1/generated.proto
optional string namespace = 2; // selector can be used to match multiple param objects based on their labels. // Supply selector: {} to match all resources of the ParamKind. // // If multiple params are found, they are all evaluated with the policy expressions // and the results are ANDed together. // // One of `name` or `selector` must be set, but `name` and `selector` are
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 51.8K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
}, }, { desc: "External name with selector should not receive endpoint slices", service: &v1.Service{ ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespace}, Spec: v1.ServiceSpec{ Selector: map[string]string{"foo": "bar"}, Type: v1.ServiceTypeExternalName, }, }, }, { desc: "External name without selector and ports should not receive endpoint slices",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1/types.go
// selector can be used to match multiple param objects based on their labels. // Supply selector: {} to match all resources of the ParamKind. // // If multiple params are found, they are all evaluated with the policy expressions // and the results are ANDed together. // // One of `name` or `selector` must be set, but `name` and `selector` are
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 61.6K bytes - Viewed (0) -
staging/src/k8s.io/api/apps/v1/types.go
Selector *metav1.LabelSelector `json:"selector" protobuf:"bytes,1,opt,name=selector"` // An object that describes the pod that will be created. // The DaemonSet will create exactly one copy of this pod on every node // that matches the template's node selector (or on every node if no node // selector is specified).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 49.1K bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation.go
} if pr.Selector != nil { allErrors = append(allErrors, field.Forbidden(fldPath.Child("name"), `name and selector are mutually exclusive`)) } } if pr.Selector != nil { labelSelectorValidationOpts := metav1validation.LabelSelectorValidationOptions{} allErrors = append(allErrors, metav1validation.ValidateLabelSelector(pr.Selector, labelSelectorValidationOpts, fldPath.Child("selector"))...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 56.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceregistry_test.go
Name: "http", Port: 80, }}, Selector: labels, ClusterIP: "9.9.9.9", }, } headlessServiceHTTP := &v1.Service{ ObjectMeta: metav1.ObjectMeta{ Name: "service", Namespace: namespace, }, Spec: v1.ServiceSpec{ Ports: []v1.ServicePort{{ Name: "http", Port: 80, }}, Selector: labels, ClusterIP: v1.ClusterIPNone, }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 51.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
svcPorts []corev1.ServicePort, selector map[string]string, t *testing.T, ) { service := &corev1.Service{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: namespace, Annotations: annotations, }, Spec: corev1.ServiceSpec{ ClusterIP: "10.0.0.1", // FIXME: generate? Ports: svcPorts, Selector: selector, Type: corev1.ServiceTypeClusterIP, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:33:46 UTC 2024 - 76.2K bytes - Viewed (0)