Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for adsupdate (0.39 sec)

  1. pilot/pkg/xds/delta_test.go

    		Services: []*model.Service{
    			{
    				Hostname:       "adsupdate.example.com",
    				DefaultAddress: "10.11.0.1",
    				Ports: []*model.Port{
    					{
    						Name:     "http-main",
    						Port:     2080,
    						Protocol: protocol.HTTP,
    					},
    				},
    				Attributes: model.ServiceAttributes{
    					Name:      "adsupdate",
    					Namespace: "default",
    				},
    			},
    			{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. pilot/pkg/xds/ads_test.go

    	ads := s.ConnectADS()
    
    	s.MemRegistry.AddService(&model.Service{
    		Hostname:       "adsupdate.default.svc.cluster.local",
    		DefaultAddress: "10.11.0.1",
    		Ports: []*model.Port{
    			{
    				Name:     "http-main",
    				Port:     2080,
    				Protocol: protocol.HTTP,
    			},
    		},
    		Attributes: model.ServiceAttributes{
    			Name:      "adsupdate",
    			Namespace: "default",
    		},
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceentry/controller.go

    	shard := model.ShardKeyFromRegistry(s)
    	// This is delete.
    	if len(endpoints) == 0 {
    		for k := range keys {
    			s.XdsUpdater.EDSUpdate(shard, string(k.hostname), k.namespace, nil)
    		}
    	} else {
    		for k, eps := range endpoints {
    			s.XdsUpdater.EDSUpdate(shard, string(k.hostname), k.namespace, eps)
    		}
    	}
    }
    
    // buildEndpoints builds endpoints for the instance keys.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/memory/discovery.go

    	for _, port := range svc.Ports {
    		key := fmt.Sprintf("%s:%s", service, port.Name)
    		for _, i := range sd.instancesByPortName[key] {
    			eps = append(eps, i.Endpoint)
    		}
    	}
    	if sd.XdsUpdater != nil {
    		sd.XdsUpdater.EDSUpdate(sd.shardKey(), string(service), svc.Attributes.Namespace, eps)
    	}
    }
    
    // AddEndpoint adds an endpoint to a service.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 23:10:01 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. pilot/pkg/xds/eds.go

    	if event == model.EventDelete {
    		inboundServiceDeletes.Increment()
    		s.Env.EndpointIndex.DeleteServiceShard(shard, hostname, namespace, false)
    	} else {
    		inboundServiceUpdates.Increment()
    	}
    }
    
    // EDSUpdate computes destination address membership across all clusters and networks.
    // This is the main method implementing EDS.
    // It replaces InstancesByPort in model - instead of iterating over all endpoints it uses
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 15:58:06 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/fake.go

    	}
    
    	env := model.NewEnvironment()
    	env.Watcher = mesh.NewFixedWatcher(m)
    
    	xdsUpdater := opts.XDSUpdater
    	if xdsUpdater == nil {
    		xdsUpdater = model.NewEndpointIndexUpdater(env.EndpointIndex)
    	}
    
    	serviceDiscovery := aggregate.NewController(aggregate.Options{})
    	se := serviceentry.NewController(
    		configController,
    		xdsUpdater,
    		env.Watcher,
    		serviceentry.WithClusterID(opts.ClusterID))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. pilot/test/xds/fake.go

    			s.ConfigUpdate(&model.PushRequest{
    				Full:   true,
    				Reason: model.NewReasonStats(model.NetworksTrigger),
    			})
    		})
    	}
    	var xdsUpdater model.XDSUpdater = s
    	if opts.EnableFakeXDSUpdater {
    		xdsUpdater = xdsfake.NewWithDelegate(s)
    	}
    	mc := multicluster.NewFakeController()
    	creds := kubesecrets.NewMulticluster(opts.DefaultClusterName, mc)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    	SystemNamespace string
    	DomainSuffix    string
    	ClusterID       cluster.ID
    	XDSUpdater      model.XDSUpdater
    	Network         LookupNetwork
    }
    
    type Options struct {
    	Client kubeclient.Client
    
    	Revision        string
    	SystemNamespace string
    	DomainSuffix    string
    	ClusterID       cluster.ID
    	XDSUpdater      model.XDSUpdater
    	LookupNetwork   LookupNetwork
    }
    
    func New(options Options) Index {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/multicluster.go

    		k.MeshServiceController.DeleteRegistry(clusterID, provider.External)
    	}
    	if err := k.Controller.Cleanup(); err != nil {
    		log.Warnf("failed cleaning up services in %s: %v", clusterID, err)
    	}
    	if k.opts.XDSUpdater != nil {
    		k.opts.XDSUpdater.ConfigUpdate(&model.PushRequest{Full: true, Reason: model.NewReasonStats(model.ClusterUpdate)})
    	}
    }
    
    // Multicluster structure holds the remote kube Controllers and multicluster specific attributes.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. pilot/pkg/model/network.go

    func NewNetworkManager(env *Environment, xdsUpdater XDSUpdater) (*NetworkManager, error) {
    	nameCache, err := newNetworkGatewayNameCache()
    	if err != nil {
    		return nil, err
    	}
    	mgr := &NetworkManager{
    		env:             env,
    		NameCache:       nameCache,
    		xdsUpdater:      xdsUpdater,
    		NetworkGateways: &NetworkGateways{},
    		Unresolved:      &NetworkGateways{},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 16.9K bytes
    - Viewed (0)
Back to top