Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 924 for SVC (0.03 sec)

  1. pilot/pkg/serviceregistry/memory/discovery.go

    func (sd *ServiceDiscovery) AddService(svc *model.Service) {
    	sd.mutex.Lock()
    	svc.Attributes.ServiceRegistry = provider.Mock
    	var old *model.Service
    	event := model.EventAdd
    	if o, f := sd.services[svc.Hostname]; f {
    		old = o
    		event = model.EventUpdate
    	}
    	sd.services[svc.Hostname] = svc
    
    	if sd.XdsUpdater != nil {
    		sd.XdsUpdater.SvcUpdate(sd.shardKey(), string(svc.Hostname), svc.Attributes.Namespace, model.EventAdd)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 23:10:01 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. pkg/api/v1/service/util_test.go

    		annotations[v1.AnnotationLoadBalancerSourceRangesKey] = v
    		svc := v1.Service{}
    		svc.Annotations = annotations
    		_, err := GetLoadBalancerSourceRanges(&svc)
    		if err == nil {
    			t.Errorf("Expected error parsing: %q", v)
    		}
    		svc = v1.Service{}
    		svc.Spec.LoadBalancerSourceRanges = strings.Split(v, ",")
    		_, err = GetLoadBalancerSourceRanges(&svc)
    		if err == nil {
    			t.Errorf("Expected error parsing: %q", v)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  3. tests/integration/security/testdata/requestauthn/global-jwt.yaml.tmpl

      rules:
      - to:
        - operation:
            hosts:
    {{- range $svc := .Services }}
            - "example.{{ $svc.ServiceName }}.com"
    {{- end }}
        from:
        - source:
            requestPrincipals: ["******@****.***/sub-1"]
      - to:
        - operation:
            hosts:
      {{- range $svc := .Services }}
            - "any-request-principal-ok.{{ $svc.ServiceName }}.com"
      {{- end }}
        from:
        - source:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/network.go

    			for _, gw := range v.Gateways {
    				if gwSvcName := gw.GetRegistryServiceName(); gwSvcName != "" {
    					svc := host.Name(gwSvcName)
    					n.registryServiceNameGateways[svc] = append(n.registryServiceNameGateways[svc], model.NetworkGateway{
    						Network: network.ID(id),
    						Cluster: n.clusterID,
    						Port:    gw.GetPort(),
    					})
    				}
    			}
    		}
    
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 22:23:22 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/conversion_test.go

    		Ports:    ports,
    		Hostname: "httpbin-wildcard.default.svc.domain.suffix",
    	},
    	{
    		Attributes: model.ServiceAttributes{
    			Namespace: "default",
    		},
    		Ports:    ports,
    		Hostname: "foo-svc.default.svc.domain.suffix",
    	},
    	{
    		Attributes: model.ServiceAttributes{
    			Namespace: "default",
    		},
    		Ports:    ports,
    		Hostname: "httpbin-other.default.svc.domain.suffix",
    	},
    	{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceentry/controller.go

    	shard := model.ShardKeyFromRegistry(s)
    
    	for _, svc := range addedSvcs {
    		s.XdsUpdater.SvcUpdate(shard, string(svc.Hostname), svc.Attributes.Namespace, model.EventAdd)
    		configsUpdated.Insert(makeConfigKey(svc))
    	}
    
    	for _, svc := range updatedSvcs {
    		s.XdsUpdater.SvcUpdate(shard, string(svc.Hostname), svc.Attributes.Namespace, model.EventUpdate)
    		configsUpdated.Insert(makeConfigKey(svc))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/aggregate/controller_test.go

    		},
    		mock.WorldService.Hostname: {
    			"cluster-2": []string{"10.2.0.0"},
    		},
    	}
    	for _, svc := range services {
    		if !reflect.DeepEqual(svc.ClusterVIPs.Addresses, ClusterVIPs[svc.Hostname]) {
    			t.Fatalf("Service %s ClusterVIPs actual %v, expected %v", svc.Hostname,
    				svc.ClusterVIPs.Addresses, ClusterVIPs[svc.Hostname])
    		}
    	}
    
    	registry2.RemoveService(mock.HelloService.Hostname)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/testdata/virtualservice_overlappingmatches.yaml

    kind: VirtualService
    metadata:
      name: non-method-get
    spec:
      hosts:
      - sample.baz.svc.cluster.local
      http:
      - name: "send product to sample.foo"
        match:
        - uri:
            prefix: "/api/v1/product"
        - uri:
            prefix: "/api/v1/products"
          method:
            exact: GET
        route:
        - destination:
            host: sample.foo.svc.cluster.local
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/serviceexportcache.go

    	if svc == nil {
    		// Default policy when the service doesn't exist.
    		return model.DiscoverableFromSameCluster
    	}
    
    	if strings.HasSuffix(svc.Hostname.String(), "."+constants.DefaultClusterSetLocalDomain) {
    		return ec.clusterSetLocalPolicySelector(svc)
    	}
    
    	return ec.clusterLocalPolicySelector(svc)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/util/ipvs.go

    func (svc *VirtualServer) Equal(other *VirtualServer) bool {
    	return svc.Address.Equal(other.Address) &&
    		svc.Protocol == other.Protocol &&
    		svc.Port == other.Port &&
    		svc.Scheduler == other.Scheduler &&
    		svc.Flags == other.Flags &&
    		svc.Timeout == other.Timeout
    }
    
    func (svc *VirtualServer) String() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top