Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for ipaddresses (0.16 sec)

  1. pilot/pkg/serviceregistry/kube/controller/endpoint_builder.go

    			ClusterID: c.Cluster(),
    		},
    		tlsMode:  model.GetTLSModeFromEndpointLabels(proxy.Labels),
    		nodeName: proxy.GetNodeName(),
    	}
    	var networkID network.ID
    	if len(proxy.IPAddresses) > 0 {
    		networkID = out.endpointNetwork(proxy.IPAddresses[0])
    	}
    	out.labels = labelutil.AugmentLabels(proxy.Labels, c.Cluster(), locality, out.nodeName, networkID)
    	return out
    }
    
    func (b *EndpointBuilder) buildIstioEndpoint(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/options/agent.go

    			PurgeInterval:         wasmPurgeInterval,
    			HTTPRequestTimeout:    wasmHTTPRequestTimeout,
    			HTTPRequestMaxRetries: wasmHTTPRequestMaxRetries,
    		},
    		ProxyIPAddresses:            proxy.IPAddresses,
    		ServiceNode:                 proxy.ServiceNode(),
    		EnvoyStatusPort:             envoyStatusPortEnv,
    		EnvoyPrometheusPort:         envoyPrometheusPortEnv,
    		MinimumDrainDuration:        minimumDrainDurationEnv,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/default_storage_factory_builder.go

    		// graduated to GA:
    		//
    		// TODO (https://github.com/kubernetes/kubernetes/issues/108451): remove the override in 1.25.
    		// apisstorage.Resource("csistoragecapacities").WithVersion("v1beta1"),
    		networking.Resource("ipaddresses").WithVersion("v1alpha1"),
    		networking.Resource("servicecidrs").WithVersion("v1alpha1"),
    		certificates.Resource("clustertrustbundles").WithVersion("v1alpha1"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:14:51 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. cmd/net.go

    	}
    
    	return apiEndpoints
    }
    
    // isHostIP - helper for validating if the provided arg is an ip address.
    func isHostIP(ipAddress string) bool {
    	host, _, err := net.SplitHostPort(ipAddress)
    	if err != nil {
    		host = ipAddress
    	}
    	// Strip off IPv6 zone information.
    	if i := strings.Index(host, "%"); i > -1 {
    		host = host[:i]
    	}
    	return net.ParseIP(host) != nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. pilot/pkg/xds/workload.go

    	}
    
    	subs := sets.New(w.ResourceNames...)
    	var addresses sets.String
    	if isReq {
    		// this is from request, we only send response for the subscribed address
    		// At t0, a client request A, we only send A and additional resources back to the client.
    		// At t1, a client request B, we only send B and additional resources back to the client, no A here.
    		addresses = req.Delta.Subscribed
    	} else {
    		if w.Wildcard {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 14:14:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. pkg/kubelet/certificate/kubelet_test.go

    func TestAddressesToHostnamesAndIPs(t *testing.T) {
    	tests := []struct {
    		name         string
    		addresses    []v1.NodeAddress
    		wantDNSNames []string
    		wantIPs      []net.IP
    	}{
    		{
    			name:         "empty",
    			addresses:    nil,
    			wantDNSNames: nil,
    			wantIPs:      nil,
    		},
    		{
    			name:         "ignore empty values",
    			addresses:    []v1.NodeAddress{{Type: v1.NodeHostName, Address: ""}},
    			wantDNSNames: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:40 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/services.go

    			Source:        kind.ServiceEntry,
    			Waypoint:      waypointKey,
    		}
    	})
    }
    
    func (a *index) constructServiceEntries(svc *networkingclient.ServiceEntry, w *Waypoint) []*workloadapi.Service {
    	addresses, err := slices.MapErr(svc.Spec.Addresses, a.toNetworkAddressFromCidr)
    	if err != nil {
    		// TODO: perhaps we should support CIDR in the future?
    		return nil
    	}
    	ports := make([]*workloadapi.Port, 0, len(svc.Spec.Ports))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/services_test.go

    			inputs: []any{},
    			se: &networkingclient.ServiceEntry{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    				},
    				Spec: networking.ServiceEntry{
    					Addresses: []string{"1.2.3.4"},
    					Hosts:     []string{"a.example.com", "b.example.com"},
    					Ports: []*networking.ServicePort{{
    						Number: 80,
    						Name:   "http",
    					}},
    					SubjectAltNames: []string{"san1"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/net/ipsock.go

    	// Some operating systems provide no support for mapping IPv4
    	// addresses to IPv6, and a runtime check is unnecessary.
    	switch runtime.GOOS {
    	case "dragonfly", "openbsd":
    		return false
    	}
    
    	ipStackCaps.Once.Do(ipStackCaps.probe)
    	return ipStackCaps.ipv4MappedIPv6Enabled
    }
    
    // An addrList represents a list of network endpoint addresses.
    type addrList []Addr
    
    // isIPv4 reports whether addr contains an IPv4 address.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/net/addrselect.go

    		return preferDB
    	}
    
    	// Rule 3: Avoid deprecated addresses.
    	// If Source(DA) is deprecated and Source(DB) is not, then prefer DB.
    	// Similarly, if Source(DA) is not deprecated and Source(DB) is
    	// deprecated, then prefer DA.
    
    	// TODO(bradfitz): implement? low priority for now.
    
    	// Rule 4: Prefer home addresses.
    	// If Source(DA) is simultaneously a home address and care-of address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 00:24:06 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top