Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ServicesForWaypoint (0.72 sec)

  1. pilot/pkg/networking/core/waypoint.go

    func findWaypointResources(node *model.Proxy, push *model.PushContext) ([]model.WorkloadInfo, *waypointServices) {
    	key := model.WaypointKeyForProxy(node)
    	workloads := push.WorkloadsForWaypoint(key)
    	serviceInfos := push.ServicesForWaypoint(key)
    
    	waypointServices := &waypointServices{}
    	for _, s := range serviceInfos {
    		hostName := host.Name(s.Service.Hostname)
    		svc, ok := push.ServiceIndex.HostnameAndNamespace[hostName][s.Namespace]
    		if !ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/aggregate/controller.go

    	model.NetworkGatewaysHandler
    }
    
    func (c *Controller) ServicesForWaypoint(key model.WaypointKey) []model.ServiceInfo {
    	if !features.EnableAmbient {
    		return nil
    	}
    	var res []model.ServiceInfo
    	for _, p := range c.GetRegistries() {
    		res = append(res, p.ServicesForWaypoint(key)...)
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    	"istio.io/istio/pkg/workloadapi"
    )
    
    type Index interface {
    	Lookup(key string) []model.AddressInfo
    	All() []model.AddressInfo
    	WorkloadsForWaypoint(key model.WaypointKey) []model.WorkloadInfo
    	ServicesForWaypoint(key model.WaypointKey) []model.ServiceInfo
    	SyncAll()
    	HasSynced() bool
    	model.AmbientIndexes
    }
    
    var _ Index = &index{}
    
    type workloadsCollection struct {
    	krt.Collection[model.WorkloadInfo]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/memory/discovery.go

    	sets.String,
    ) sets.String {
    	return nil
    }
    
    func (sd *ServiceDiscovery) Policies(sets.Set[model.ConfigKey]) []model.WorkloadAuthorization {
    	return nil
    }
    
    func (sd *ServiceDiscovery) ServicesForWaypoint(model.WaypointKey) []model.ServiceInfo {
    	return nil
    }
    
    func (sd *ServiceDiscovery) Waypoint(string, string) []netip.Addr {
    	return nil
    }
    
    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/model/service.go

    	AdditionalPodSubscriptions(
    		proxy *Proxy,
    		allAddresses sets.String,
    		currentSubs sets.String,
    	) sets.String
    	Policies(requested sets.Set[ConfigKey]) []WorkloadAuthorization
    	ServicesForWaypoint(WaypointKey) []ServiceInfo
    	WorkloadsForWaypoint(WaypointKey) []WorkloadInfo
    }
    
    // WaypointKey is a multi-address extension of NetworkAddress which is commonly used for lookups in AmbientIndex
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  6. pilot/pkg/model/push_context.go

    	return ps.ambientIndex.WorkloadsForWaypoint(key)
    }
    
    // ServicesForWaypoint returns all services associated with a given waypoint identified by it's WaypointKey
    // Used when calculating the services which should be configured for a specific waypoint proxy
    func (ps *PushContext) ServicesForWaypoint(key WaypointKey) []ServiceInfo {
    	return ps.ambientIndex.ServicesForWaypoint(key)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top