Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 126 for zone2 (0.05 sec)

  1. src/net/net_fake.go

    	assignIP := func(addr sockaddr) error {
    		var (
    			ip   IP
    			port int
    			zone string
    		)
    		switch addr := addr.(type) {
    		case *TCPAddr:
    			if addr != nil {
    				ip = addr.IP
    				port = addr.Port
    				zone = addr.Zone
    			}
    		case *UDPAddr:
    			if addr != nil {
    				ip = addr.IP
    				port = addr.Port
    				zone = addr.Zone
    			}
    		default:
    			return validate(addr)
    		}
    
    		if ip == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		}
    		return nil
    	}
    
    	region := node.GetLabels()[v1.LabelTopologyRegion]
    	zone := node.GetLabels()[v1.LabelTopologyZone]
    	subzone := node.GetLabels()[label.TopologySubzone.Name]
    
    	if region == "" && zone == "" && subzone == "" {
    		return nil
    	}
    
    	return &workloadapi.Locality{
    		Region:  region,
    		Zone:    zone,
    		Subzone: subzone,
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. src/net/tcpsock.go

    	na, _ := netip.AddrFromSlice(a.IP)
    	na = na.WithZone(a.Zone)
    	return netip.AddrPortFrom(na, uint16(a.Port))
    }
    
    // Network returns the address's network name, "tcp".
    func (a *TCPAddr) Network() string { return "tcp" }
    
    func (a *TCPAddr) String() string {
    	if a == nil {
    		return "<nil>"
    	}
    	ip := ipEmptyString(a.IP)
    	if a.Zone != "" {
    		return JoinHostPort(ip+"%"+a.Zone, itoa.Itoa(a.Port))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. src/net/udpsock.go

    	na, _ := netip.AddrFromSlice(a.IP)
    	na = na.WithZone(a.Zone)
    	return netip.AddrPortFrom(na, uint16(a.Port))
    }
    
    // Network returns the address's network name, "udp".
    func (a *UDPAddr) Network() string { return "udp" }
    
    func (a *UDPAddr) String() string {
    	if a == nil {
    		return "<nil>"
    	}
    	ip := ipEmptyString(a.IP)
    	if a.Zone != "" {
    		return JoinHostPort(ip+"%"+a.Zone, itoa.Itoa(a.Port))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 16:58:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. src/net/udpsock_test.go

    		}
    		if la, ok := c1.LocalAddr().(*UDPAddr); !ok || !tt.nameLookup && la.Zone == "" {
    			t.Fatalf("got %v; expected a proper address with zone identifier", la)
    		}
    
    		c2, err := Dial(tt.network, ls.PacketConn.LocalAddr().String())
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer c2.Close()
    		if la, ok := c2.LocalAddr().(*UDPAddr); !ok || !tt.nameLookup && la.Zone == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  6. tools/packaging/common/envoy_bootstrap.json

        "locality": {
          {{- if .region }}
          "region": "{{ .region }}"
          {{- end }}
          {{- if .zone }}
          {{- if .region }}
          ,
          {{- end }}
          "zone": "{{ .zone }}"
          {{- end }}
          {{- if .sub_zone }}
          {{- if or .region .zone }}
          ,
          {{- end }}
          "sub_zone": "{{ .sub_zone }}"
          {{- end }}
        },
        "metadata": {{ .meta_json_str }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. src/net/tcpsock_test.go

    			t.Fatalf("got %v; expected a proper address with zone identifier", la)
    		}
    
    		c, err := Dial(tt.network, ls.Listener.Addr().String())
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer c.Close()
    		if la, ok := c.LocalAddr().(*TCPAddr); !ok || !tt.nameLookup && la.Zone == "" {
    			t.Fatalf("got %v; expected a proper address with zone identifier", la)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  8. pkg/apis/batch/types.go

    	Schedule string
    
    	// The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
    	// If not specified, this will default to the time zone of the kube-controller-manager process.
    	// The set of valid time zone names and the time zone offset is loaded from the system-wide time zone
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  9. pkg/api/pod/warnings_test.go

    				`spec.nodeSelector[failure-domain.beta.kubernetes.io/region]: deprecated since v1.17; use "topology.kubernetes.io/region" instead`,
    				`spec.nodeSelector[failure-domain.beta.kubernetes.io/zone]: deprecated since v1.17; use "topology.kubernetes.io/zone" instead`,
    			},
    		},
    		{
    			name: "node labels in affinity requiredDuringSchedulingIgnoredDuringExecution",
    			template: &api.PodTemplateSpec{
    				Spec: api.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/batch/v1/types.go

    	// The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
    	// If not specified, this will default to the time zone of the kube-controller-manager process.
    	// The set of valid time zone names and the time zone offset is loaded from the system-wide time zone
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top