Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for FQDN (0.09 sec)

  1. pkg/config/analysis/analyzers/util/hosts_test.go

    	g := NewWithT(t)
    
    	ns, fqdn := ScopedFqdn("default/reviews.default.svc.cluster.local").GetScopeAndFqdn()
    	g.Expect(ns).To(Equal("default"))
    	g.Expect(fqdn).To(Equal("reviews.default.svc.cluster.local"))
    
    	ns, fqdn = ScopedFqdn("*/reviews.default.svc.cluster.local").GetScopeAndFqdn()
    	g.Expect(ns).To(Equal("*"))
    	g.Expect(fqdn).To(Equal("reviews.default.svc.cluster.local"))
    
    	ns, fqdn = ScopedFqdn("foo/*.xyz.abc").GetScopeAndFqdn()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. pkg/kubelet/util/util.go

    		}
    		kernelHostname = fqdn
    	}
    	return kernelHostname, nil
    }
    
    // GetContainerByIndex validates and extracts the container at index "idx" from
    // "containers" with respect to "statuses".
    // It returns true if the container is valid, else returns false.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 18:07:39 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. pilot/pkg/networking/telemetry/telemetry_test.go

    		},
    		{
    			"Service FQDN With Port pattern",
    			"%SERVICE_FQDN%_%SERVICE_PORT%",
    			FilterChainMetadata{InstanceHostname: "reviews.default.svc.cluster.local", KubernetesServiceName: "reviews", KubernetesServiceNamespace: "default"},
    			"",
    			7443,
    			"grpc-svc",
    			"reviews.default.svc.cluster.local_7443",
    		},
    		{
    			"Service FQDN With Port Name pattern",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 02:38:43 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/cluster.go

    type ClusterFilter struct {
    	FQDN      host.Name
    	Port      int
    	Subset    string
    	Direction model.TrafficDirection
    }
    
    // Verify returns true if the passed cluster matches the filter fields
    func (c *ClusterFilter) Verify(cluster *cluster.Cluster) bool {
    	name := cluster.Name
    	if c.FQDN == "" && c.Port == 0 && c.Subset == "" && c.Direction == "" {
    		return true
    	}
    	if c.FQDN != "" && !strings.Contains(name, string(c.FQDN)) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. pkg/kubelet/util/util_test.go

    		expectError:       false,
    	}, {
    		description:       "FQDN is too long, setHostnameAsFQDN false",
    		hostname:          "1234567.1234567",                                         //8*2-1=15 chars
    		hostDomain:        "1234567.1234567.1234567.1234567.1234567.1234567.1234567", //8*7-1=55 chars
    		setHostnameAsFQDN: false,                                                     //FQDN=15 + 1(dot) + 55 = 71 chars
    		expectedHostname:  "1234567.1234567",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 14:16:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. src/net/dnsclient_unix.go

    	}
    	var queryFn func(fqdn string, qtype dnsmessage.Type)
    	var responseFn func(fqdn string, qtype dnsmessage.Type) result
    	if conf.singleRequest {
    		queryFn = func(fqdn string, qtype dnsmessage.Type) {}
    		responseFn = func(fqdn string, qtype dnsmessage.Type) result {
    			dnsWaitGroup.Add(1)
    			defer dnsWaitGroup.Done()
    			p, server, err := r.tryOneName(ctx, conf, fqdn, qtype)
    			return result{p, server, err}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. pkg/test/framework/components/authz/kube.go

    }
    
    func (s *serverImpl) Providers() []Provider {
    	return append([]Provider{}, s.providers...)
    }
    
    func (s *serverImpl) templateArgs() map[string]any {
    	fqdn := fmt.Sprintf("ext-authz.%s.svc.cluster.local", s.ns.Name())
    	return map[string]any{
    		"fqdn":     fqdn,
    		"httpName": httpName,
    		"grpcName": grpcName,
    		"httpPort": httpPort,
    		"grpcPort": grpcPort,
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. pilot/pkg/model/config.go

    		} else {
    			// parse namespace from FQDN. This is very hacky, but meant for backward compatibility only
    			// This is a legacy FQDN format. Transform name.ns.svc.cluster.local -> ns/name
    			i := strings.Index(gwname, ".")
    			fqdn := strings.Index(gwname[i+1:], ".")
    			if fqdn == -1 {
    				out = gwname[i+1:] + "/" + gwname[:i]
    			} else {
    				out = gwname[i+1:i+1+fqdn] + "/" + gwname[:i]
    			}
    		}
    	} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. pkg/config/validation/agent/validation_test.go

    func TestValidateFQDN(t *testing.T) {
    	tests := []struct {
    		fqdn  string
    		valid bool
    		name  string
    	}{
    		{
    			fqdn:  strings.Repeat("x", 256),
    			valid: false,
    			name:  "long FQDN",
    		},
    		{
    			fqdn:  "",
    			valid: false,
    			name:  "empty FQDN",
    		},
    		{
    			fqdn:  "istio.io",
    			valid: true,
    			name:  "standard FQDN",
    		},
    		{
    			fqdn:  "istio.io.",
    			valid: true,
    			name:  "unambiguous FQDN",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  10. src/net/hosts.go

    	canonicalName string
    }
    
    // hosts contains known host entries.
    var hosts struct {
    	sync.Mutex
    
    	// Key for the list of literal IP addresses must be a host
    	// name. It would be part of DNS labels, a FQDN or an absolute
    	// FQDN.
    	// For now the key is converted to lower case for convenience.
    	byName map[string]byName
    
    	// Key for the list of host names must be a literal IP address
    	// including IPv6 address with zone identifier.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top