Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 696 for ipaddresses (0.5 sec)

  1. pilot/pkg/autoregistration/controller.go

    		return ""
    	}
    	if len(proxy.IPAddresses) == 0 {
    		log.Errorf("auto-registration of %v failed: missing IP addresses", proxy.ID)
    		return ""
    	}
    	if len(proxy.Metadata.Namespace) == 0 {
    		log.Errorf("auto-registration of %v failed: missing namespace", proxy.ID)
    		return ""
    	}
    	p := []string{proxy.Metadata.AutoRegisterGroup, sanitizeIP(proxy.IPAddresses[0])}
    	if proxy.Metadata.Network != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. src/crypto/x509/verify.go

    func (c *Certificate) VerifyHostname(h string) error {
    	// IP addresses may be written in [ ].
    	candidateIP := h
    	if len(h) >= 3 && h[0] == '[' && h[len(h)-1] == ']' {
    		candidateIP = h[1 : len(h)-1]
    	}
    	if ip := net.ParseIP(candidateIP); ip != nil {
    		// We only match IP addresses against IP SANs.
    		// See RFC 6125, Appendix B.2.
    		for _, candidate := range c.IPAddresses {
    			if ip.Equal(candidate) {
    				return nil
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  3. pkg/istio-agent/agent_test.go

    	}{
    		{
    			in: &Proxy{
    				Type:        model.SidecarProxy,
    				IPAddresses: []string{"10.1.1.0"},
    				ID:          "v0.default",
    				DNSDomain:   "default.svc.cluster.local",
    			},
    			out: "sidecar~10.1.1.0~v0.default~default.svc.cluster.local",
    		},
    		{
    			in: &Proxy{
    				Type:        model.Router,
    				ID:          "random",
    				IPAddresses: []string{"10.3.3.3"},
    				DNSDomain:   "local",
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. pkg/kubelet/certificate/kubelet.go

    		// don't return a template if we have no addresses to request for
    		if len(hostnames) == 0 && len(ips) == 0 {
    			return nil
    		}
    		return &x509.CertificateRequest{
    			Subject: pkix.Name{
    				CommonName:   fmt.Sprintf("system:node:%s", nodeName),
    				Organization: []string{"system:nodes"},
    			},
    			DNSNames:    hostnames,
    			IPAddresses: ips,
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/certs/certs_test.go

    	}
    
    	assert.ElementsMatch(t, certConfig.AltNames.DNSNames, csr.DNSNames, "dns names not equal")
    
    	assert.Len(t, csr.IPAddresses, len(certConfig.AltNames.IPs))
    
    	for i, ip := range csr.IPAddresses {
    		if !ip.Equal(certConfig.AltNames.IPs[i]) {
    			t.Errorf("[%d]: %v != %v", i, ip, certConfig.AltNames.IPs[i])
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. pilot/pkg/xds/bench_test.go

    				NetworksWatcher: mesh.NewFixedNetworksWatcher(&meshconfig.MeshNetworks{
    					Networks: createGateways(numNetworks),
    				}),
    			})
    			proxy := &model.Proxy{
    				Type:            model.SidecarProxy,
    				IPAddresses:     []string{"10.3.3.3"},
    				ID:              "random",
    				ConfigNamespace: "default",
    				Metadata:        &model.NodeMetadata{},
    			}
    			push := s.PushContext()
    			proxy.SetSidecarScope(push)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. pkg/registry/core/service/ipallocator/cidrallocator.go

    // on the nodes. Since each allocator doesn't stored the IPAddresses because it reads
    // them from the informer cache, it is cheap to create and delete IP Allocators.
    // MetaAllocator forwards the request to any of the internal allocators that has free
    // addresses.
    
    // MetaAllocator implements current allocator interface using
    // ServiceCIDR and IPAddress API objects.
    type MetaAllocator struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. pkg/controller/servicecidrs/servicecidrs_controller_test.go

    			},
    			cidrSynced: deletingServiceCIDR.Name,
    			actions:    [][]string{},
    		},
    		{
    			name: "service CIDR being deleted with IPv4 addresses should update the status",
    			cidrs: []*networkingapiv1alpha1.ServiceCIDR{
    				deletedServiceCIDR,
    			},
    			ips: []*networkingapiv1alpha1.IPAddress{
    				makeIPAddress("192.168.0.1"),
    			},
    			cidrSynced: deletedServiceCIDR.Name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 22K bytes
    - Viewed (0)
  9. pilot/pkg/xds/proxy_dependencies_test.go

    	)
    
    	type Case struct {
    		name    string
    		proxy   *model.Proxy
    		configs sets.Set[model.ConfigKey]
    		want    bool
    	}
    
    	sidecar := &model.Proxy{
    		Type: model.SidecarProxy, IPAddresses: []string{"127.0.0.1"}, Metadata: &model.NodeMetadata{},
    		SidecarScope: &model.SidecarScope{Name: generalName, Namespace: nsName},
    	}
    	gateway := &model.Proxy{
    		Type:            model.Router,
    		ConfigNamespace: nsName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. pilot/pkg/xds/eds_test.go

    	// Let initial updates settle
    	s.EnsureSynced(t)
    
    	adscConn := s.Connect(&model.Proxy{Locality: util.ConvertLocality(asdcLocality), IPAddresses: []string{"10.10.10.10"}}, nil, watchAll)
    	adscConn2 := s.Connect(&model.Proxy{Locality: util.ConvertLocality(asdc2Locality), IPAddresses: []string{"10.10.10.11"}}, nil, watchAll)
    
    	t.Run("TCPEndpoints", func(t *testing.T) {
    		testTCPEndpoints("127.0.0.1", adscConn, t)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
Back to top