Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 207 for serviceentry (0.22 sec)

  1. pkg/config/analysis/analyzers/testdata/serviceentry-missing-addresses-protocol-mesh-cfg.yaml

    Xiaopeng Han <******@****.***> 1654695840 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 08 13:44:00 UTC 2022
    - 108 bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/conversion.go

    	serviceEntry := cfg.Spec.(*networking.ServiceEntry)
    	if serviceEntry == nil {
    		return nil
    	}
    	if services == nil {
    		services = convertServices(cfg)
    	}
    
    	endpointsNum := len(serviceEntry.Endpoints)
    	hostnameToServiceInstance := false
    	if len(serviceEntry.Endpoints) == 0 && serviceEntry.WorkloadSelector == nil && isDNSTypeServiceEntry(serviceEntry) {
    		hostnameToServiceInstance = true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    				makeInstance(httpStatic, "2.2.2.2", 18080, httpStatic.Spec.(*networking.ServiceEntry).Ports[1], nil, MTLS),
    				makeInstance(httpStatic, "3.3.3.3", 1080, httpStatic.Spec.(*networking.ServiceEntry).Ports[0], nil, MTLS),
    				makeInstance(httpStatic, "3.3.3.3", 8080, httpStatic.Spec.(*networking.ServiceEntry).Ports[1], nil, MTLS),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		makeInstance(httpStatic, "2.2.2.2", 18080, httpStatic.Spec.(*networking.ServiceEntry).Ports[1], nil, MTLS),
    		makeInstance(httpStatic, "3.3.3.3", 1080, httpStatic.Spec.(*networking.ServiceEntry).Ports[0], nil, MTLS),
    		makeInstance(httpStatic, "3.3.3.3", 8080, httpStatic.Spec.(*networking.ServiceEntry).Ports[1], nil, MTLS),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/serviceentry/protocoladdresses.go

    var _ analysis.Analyzer = &ProtocolAddressesAnalyzer{}
    
    func (serviceEntry *ProtocolAddressesAnalyzer) Metadata() analysis.Metadata {
    	return analysis.Metadata{
    		Name:        "serviceentry.Analyzer",
    		Description: "Checks the validity of ServiceEntry",
    		Inputs: []config.GroupVersionKind{
    			gvk.ServiceEntry,
    			gvk.MeshConfig,
    		},
    	}
    }
    
    func (serviceEntry *ProtocolAddressesAnalyzer) Analyze(context analysis.Context) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceentry/store_test.go

    	}
    	instances := []*model.ServiceInstance{
    		makeInstance(selector, "1.1.1.1", 444, selector.Spec.(*networking.ServiceEntry).Ports[0], nil, PlainText),
    		makeInstance(selector, "1.1.1.1", 445, selector.Spec.(*networking.ServiceEntry).Ports[1], nil, PlainText),
    		makeInstance(dnsSelector, "1.1.1.1", 444, dnsSelector.Spec.(*networking.ServiceEntry).Ports[0], nil, PlainText),
    	}
    	cKey := configKey{
    		namespace: "default",
    		name:      "test-wle",
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/util/service_lookup.go

    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    func InitServiceEntryHostMap(ctx analysis.Context) map[ScopedFqdn]*v1alpha3.ServiceEntry {
    	result := make(map[ScopedFqdn]*v1alpha3.ServiceEntry)
    
    	ctx.ForEach(gvk.ServiceEntry, func(r *resource.Instance) bool {
    		s := r.Message.(*v1alpha3.ServiceEntry)
    		hostsNamespaceScope := string(r.Metadata.FullName.Namespace)
    
    		exportsToAll := false
    		for _, h := range s.GetHosts() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 21 21:37:53 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceregistry_test.go

    	})
    
    	t.Run("External only: the port name of the workloadEntry and serviceEntry does not match, "+
    		"and the serivceEntry target port is not set, use serviceEntry port.number", func(t *testing.T) {
    		store, _, fx := setupTest(t)
    		makeIstioObject(t, store, serviceEntry)
    		makeIstioObject(t, store, config.Config{
    			Meta: config.Meta{
    				Name:             "workload",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  9. pilot/pkg/xds/cds_test.go

    			}},
    		},
    	}
    	seEDS := config.Config{
    		Meta: config.Meta{
    			Name:             "service-entry",
    			Namespace:        "test",
    			GroupVersionKind: gvk.ServiceEntry,
    			Domain:           "cluster.local",
    		},
    		Spec: &networking.ServiceEntry{
    			Hosts: []string{"example.default.svc.cluster.local"},
    			Ports: []*networking.ServicePort{{
    				Number:   80,
    				Protocol: "HTTP",
    				Name:     "http",
    			}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 02:06:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. pilot/pkg/xds/testdata/nds-se.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: service-dns-no-addr
      namespace: ns2
    spec:
      hosts:
        - random-1.host.example
      # expect address to be auto allocated
      ports:
        - number: 80
          name: http
          protocol: HTTP
      resolution: DNS
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: service-dns-with-addr
      namespace: ns2
    spec:
      hosts:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 08 09:17:55 UTC 2021
    - 1.8K bytes
    - Viewed (0)
Back to top