- Sort Score
- Result 10 results
- Languages All
Results 11 - 13 of 13 for EndpointSubset (0.19 sec)
-
staging/src/k8s.io/cli-runtime/pkg/printers/json_test.go
"pod": &v1.Pod{ObjectMeta: om("pod")}, "emptyPodList": &v1.PodList{}, "nonEmptyPodList": &v1.PodList{Items: []v1.Pod{{}}}, "endpoints": &v1.Endpoints{ Subsets: []v1.EndpointSubset{{ Addresses: []v1.EndpointAddress{{IP: "127.0.0.1"}, {IP: "localhost"}}, Ports: []v1.EndpointPort{{Port: 8080}}, }}}, } // Test PrintObj() success. for pName, p := range genericPrinters {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 4K bytes - Viewed (0) -
pkg/controlplane/reconcilers/helpers_test.go
Name: name, Labels: map[string]string{ discoveryv1.LabelSkipMirror: "true", }, }, } if len(ips) > 0 || len(ports) > 0 { endpoints.Subsets = []corev1.EndpointSubset{{ Addresses: make([]corev1.EndpointAddress, len(ips)), Ports: ports, }} for i := range ips { endpoints.Subsets[0].Addresses[i].IP = ips[i] } } return endpoints }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 27 12:46:23 UTC 2022 - 4K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/utils_test.go
gvk := schema.GroupVersionKind{Version: "v1", Kind: "Endpoints"} endpoints := v1.Endpoints{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", Namespace: "test", }, Subsets: []v1.EndpointSubset{{ Ports: []v1.EndpointPort{{Port: 80}}, }}, } ownerRef := metav1.NewControllerRef(&endpoints, gvk) testCases := []struct { name string tweakEndpoint func(ep *v1.Endpoints)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 23 15:40:23 UTC 2022 - 7.5K bytes - Viewed (0)