Home
last modified time | relevance | path

Searched refs:ClusterIPs (Results 1 – 25 of 87) sorted by relevance

1234

/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/registry/core/service/
H A Dstrategy.go172 if len(newSvc.Spec.ClusterIPs) > 1 {
173 newSvc.Spec.ClusterIPs = newSvc.Spec.ClusterIPs[0:1]
316 newSvc.Spec.ClusterIPs = oldSvc.Spec.ClusterIPs
397 if len(oldSvc.Spec.ClusterIPs) > 0 && len(newSvc.Spec.ClusterIPs) == 0 {
401 newSvc.Spec.ClusterIPs = oldSvc.Spec.ClusterIPs
410 if sameStringSlice(oldSvc.Spec.ClusterIPs, newSvc.Spec.ClusterIPs) {
411 newSvc.Spec.ClusterIPs = nil
419 if sameStringSlice(oldSvc.Spec.ClusterIPs, newSvc.Spec.ClusterIPs) {
470 newSvc.Spec.ClusterIPs = nil
526 samePlural := sameStringSlice(oldSvc.Spec.ClusterIPs, newSvc.Spec.ClusterIPs)
[all …]
H A Dstrategy_test.go89 ClusterIPs: []string{"1.2.3.4", "5:6:7::8"},
118 ClusterIPs: clusterIPs,
161 oldSvc.Spec.ClusterIPs = []string{"1.2.3.4"}
162 newSvc.Spec.ClusterIPs = []string{"4.3.2.1"}
702 for idx, clusterIP := range tc.newService.Spec.ClusterIPs {
729 svc.Spec.ClusterIPs = nil
733 svc.Spec.ClusterIPs[0] += "0"
969 if !reflect.DeepEqual(result.Spec.ClusterIPs, tc.expect.Spec.ClusterIPs) {
1070 ClusterIPs: tc.oldClusterIPs,
1080 if len(newService.Spec.ClusterIPs) != len(tc.expectedClusterIPs) {
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/registry/core/service/storage/
H A Drest.go678 if len(service.Spec.ClusterIPs) > 0 && service.Spec.ClusterIPs[0] == api.ClusterIPNone {
693 if service.Spec.ClusterIPs == nil {
699 service.Spec.ClusterIPs = append(service.Spec.ClusterIPs, "" /* just a marker */)
713 service.Spec.ClusterIPs[i] = ip
779 if len(oldService.Spec.ClusterIPs) > 0 && oldService.Spec.ClusterIPs[0] == api.ClusterIPNone {
795 if len(service.Spec.ClusterIPs) < 2 {
796 service.Spec.ClusterIPs = append(service.Spec.ClusterIPs, "" /* marker */)
845 if len(service.Spec.ClusterIPs) > 0 && service.Spec.ClusterIPs[0] == api.ClusterIPNone {
898 if len(service.Spec.ClusterIPs) != len(oldService.Spec.ClusterIPs) {
903 if oldService.Spec.ClusterIPs[i] != ip {
[all …]
H A Dstorage_test.go100 ClusterIPs: []string{"invalid"},
224 ClusterIPs: []string{api.ClusterIPNone},
240 ClusterIPs: []string{api.ClusterIPNone},
339 ClusterIPs: []string{"1.2.3.4"},
355 ClusterIPs: []string{"1.2.3.4"},
376 svc.Spec.ClusterIPs = nil
383 svc.Spec.ClusterIPs = []string{"2000::"}
393 svc.Spec.ClusterIPs = nil
406 list.Items[0].Spec.ClusterIPs = nil
465 if !reflect.DeepEqual(svc.Spec.ClusterIPs, exp.Spec.ClusterIPs) {
[all …]
H A Dstorage.go186 if len(service.Spec.ClusterIPs) == 0 {
188 service.Spec.ClusterIPs = []string{service.Spec.ClusterIP}
196 if len(service.Spec.ClusterIPs) == 1 && service.Spec.ClusterIPs[0] == api.ClusterIPNone {
227 ….Spec.IPFamilies = make([]api.IPFamily, len(service.Spec.ClusterIPs), len(service.Spec.ClusterIPs))
228 for idx, ip := range service.Spec.ClusterIPs {
H A Drest_test.go867 …if want, got := createdSvc.Spec.ClusterIPs, updatedSvc.Spec.ClusterIPs; !reflect.DeepEqual(want, g…
1592 update.Spec.ClusterIPs[0] = testIP
2009 ip, newSvc.Spec.ClusterIPs)
2014 ip, newSvc.Spec.ClusterIPs[i], i)
2298 s.Spec.ClusterIPs = append(s.Spec.ClusterIPs, "2000:0:0:0:0:0:0:1")
2314 s.Spec.ClusterIPs = append(s.Spec.ClusterIPs, "2000:0:0:0:0:0:0:1")
2345 s.Spec.ClusterIPs = append(s.Spec.ClusterIPs, "1.2.3.4")
2361 s.Spec.ClusterIPs = append(s.Spec.ClusterIPs, "1.2.3.4")
2484 s.Spec.ClusterIPs = s.Spec.ClusterIPs[0:1]
2500 s.Spec.ClusterIPs = s.Spec.ClusterIPs[0:1]
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/registry/core/service/ipallocator/controller/
H A Drepair_test.go153 ClusterIPs: []string{"192.168.1.1"},
161 ClusterIPs: []string{"192.168.1.100"},
169 ClusterIPs: []string{"192.168.0.1"},
177 ClusterIPs: []string{""},
184 ClusterIPs: []string{"192.168.1.1"},
192 ClusterIPs: []string{"None"},
514 ClusterIPs: []string{"2000::2"},
531 ClusterIPs: []string{"192.168.0.1"},
539 ClusterIPs: []string{"3000::1"},
568 ClusterIPs: []string{"192.168.1.1"},
[all …]
H A Drepair.go212 for _, ip := range svc.Spec.ClusterIPs {
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/apis/core/helper/
H A Dhelpers_test.go378 ClusterIPs: nil,
387 ClusterIPs: []string{"None"},
396 ClusterIPs: []string{"1.2.3.4"},
404 ClusterIPs: []string{"2001::1"},
412 ClusterIPs: []string{"1.2.3.4", "2001::1"},
420 ClusterIPs: []string{"2001::1", "1.2.3.4"},
/dports/net/gscloud/gscloud-0.11.0/vendor/k8s.io/client-go/applyconfigurations/core/v1/
H A Dservicespec.go31ClusterIPs []string `json:"clusterIPs,omitempty… member
96 b.ClusterIPs = append(b.ClusterIPs, values[i])
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/k8s.io/client-go/applyconfigurations/core/v1/
H A Dservicespec.go31ClusterIPs []string `json:"clusterIPs,omitempty… member
95 b.ClusterIPs = append(b.ClusterIPs, values[i])
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/grafana/loki/vendor/k8s.io/client-go/applyconfigurations/core/v1/
H A Dservicespec.go31ClusterIPs []string `json:"clusterIPs,omitempty… member
96 b.ClusterIPs = append(b.ClusterIPs, values[i])
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/k8s.io/client-go/applyconfigurations/core/v1/
H A Dservicespec.go31ClusterIPs []string `json:"clusterIPs,omitempty… member
96 b.ClusterIPs = append(b.ClusterIPs, values[i])
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/k8s.io/client-go/client-go-0.21.1/applyconfigurations/core/v1/
H A Dservicespec.go31ClusterIPs []string `json:"clusterIPs,omitempty… member
96 b.ClusterIPs = append(b.ClusterIPs, values[i])
/dports/net/traefik/traefik-2.6.1/vendor/k8s.io/client-go/applyconfigurations/core/v1/
H A Dservicespec.go31ClusterIPs []string `json:"clusterIPs,omitempty… member
95 b.ClusterIPs = append(b.ClusterIPs, values[i])
/dports/sysutils/kubectl/kubernetes-1.22.2/staging/src/k8s.io/client-go/applyconfigurations/core/v1/
H A Dservicespec.go31ClusterIPs []string `json:"clusterIPs,omitempty… member
95 b.ClusterIPs = append(b.ClusterIPs, values[i])
/dports/www/grafana8/grafana-8.3.6/vendor/k8s.io/client-go/applyconfigurations/core/v1/
H A Dservicespec.go31ClusterIPs []string `json:"clusterIPs,omitempty… member
95 b.ClusterIPs = append(b.ClusterIPs, values[i])
/dports/sysutils/kubectl/kubernetes-1.22.2/test/integration/dualstack/
H A Ddualstack_test.go234 ClusterIPs: tc.clusterIPs,
451 ClusterIPs: tc.clusterIPs,
679 ClusterIPs: tc.clusterIPs,
909 ClusterIPs: tc.clusterIPs,
1025 upgraded.Spec.ClusterIPs = upgraded.Spec.ClusterIPs[0:1]
1448 if len(svc.Spec.ClusterIPs) == 0 {
1453 if len(svc.Spec.ClusterIPs) > 0 && svc.Spec.ClusterIPs[0] != v1.ClusterIPNone {
1454 if len(svc.Spec.ClusterIPs) != len(svc.Spec.IPFamilies) {
1459 for j, ip := range svc.Spec.ClusterIPs {
1516 ClusterIPs: nil,
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/apis/core/validation/
H A Dvalidation_test.go11062 s.Spec.ClusterIPs = nil
13486 newSvc.Spec.ClusterIPs = nil
13585 newSvc.Spec.ClusterIPs = nil
13622 oldSvc.Spec.ClusterIPs = nil
13649 oldSvc.Spec.ClusterIPs = nil
13679 oldSvc.Spec.ClusterIPs = nil
13727 oldSvc.Spec.ClusterIPs = nil
13755 oldSvc.Spec.ClusterIPs = nil
13785 oldSvc.Spec.ClusterIPs = nil
13817 oldSvc.Spec.ClusterIPs = nil
[all …]
H A Dvalidation.go4313 if len(service.Spec.ClusterIPs) > 0 {
6312 if len(service.Spec.ClusterIPs) == 0 {
6319 if len(service.Spec.ClusterIPs) != 0 {
6369 if len(service.Spec.ClusterIPs) > 2 {
6432 case len(oldService.Spec.ClusterIPs) == len(service.Spec.ClusterIPs):
6440 case len(oldService.Spec.ClusterIPs) > len(service.Spec.ClusterIPs):
6448 len(service.Spec.ClusterIPs) > 0 &&
6449 service.Spec.ClusterIPs[0] != oldService.Spec.ClusterIPs[0] {
6460 case len(oldService.Spec.ClusterIPs) < len(service.Spec.ClusterIPs):
6464 service.Spec.ClusterIPs[0] != oldService.Spec.ClusterIPs[0] {
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/api/service/testing/
H A Dmake.go94 svc.Spec.ClusterIPs = nil
120 svc.Spec.ClusterIPs = ips
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/proxy/util/
H A Dutils_test.go954 ClusterIPs: []string{"10.0.0.10"},
966 ClusterIPs: []string{"10.0.0.10"},
978 ClusterIPs: []string{"2000::1"},
990 ClusterIPs: []string{"2000::1"},
1002 ClusterIPs: []string{"10.0.0.10", "2000::1"},
1014 ClusterIPs: []string{"10.0.0.10", "2000::1"},
1026 ClusterIPs: []string{"2000::1", "10.0.0.10"},
1038 ClusterIPs: []string{"2000::1", "10.0.0.10"},
H A Dutils.go453 if idx < len(service.Spec.ClusterIPs) {
454 return service.Spec.ClusterIPs[idx]
/dports/sysutils/kubectl/kubernetes-1.22.2/test/e2e/network/
H A Ddual_stack.go585 …:%v", config.TestContainerPod.Name, config.SessionAffinityService.Spec.ClusterIPs[1], e2enetwork.C…
588 …tEndpointsFromTestContainer("http", config.SessionAffinityService.Spec.ClusterIPs[1], e2enetwork.C…
603 …:%v", config.TestContainerPod.Name, config.SessionAffinityService.Spec.ClusterIPs[1], e2enetwork.C…
606 …etEndpointsFromTestContainer("udp", config.SessionAffinityService.Spec.ClusterIPs[1], e2enetwork.C…
720 if len(svc.Spec.ClusterIPs) != len(svc.Spec.IPFamilies) {
721 …%+v] does not match families [%+v]", svc.Namespace, svc.Name, svc.Spec.ClusterIPs, svc.Spec.IPFami…
725 if (family == v1.IPv6Protocol) != netutils.IsIPv6String(svc.Spec.ClusterIPs[idx]) {
726 … [%v]:%v does not match family:%v", svc.Namespace, svc.Name, idx, svc.Spec.ClusterIPs[idx], family)
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/printers/internalversion/
H A Dprinters_test.go1078 ClusterIPs: []string{"1.2.3.4"},
1096 ClusterIPs: []string{"1.3.4.5"},
1110 ClusterIPs: []string{"1.4.5.6"},
1128 ClusterIPs: []string{"1.5.6.7"},
1146 ClusterIPs: []string{"1.5.6.7"},
3297 ClusterIPs: []string{"10.9.8.7"},
3317 ClusterIPs: []string{"10.9.8.7"},
3338 ClusterIPs: []string{"10.9.8.7"},
3357 ClusterIPs: []string{"10.9.8.7"},
3490 ClusterIPs: []string{"10.9.8.7"},
[all …]

1234