Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WorkloadsForWaypoint (0.26 sec)

  1. pilot/pkg/model/push_context.go

    			return true
    		}
    	}
    	return false
    }
    
    // WorkloadsForWaypoint returns all workloads associated with a given waypoint identified by it's WaypointKey
    // Used when calculating the workloads which should be configured for a specific waypoint proxy
    func (ps *PushContext) WorkloadsForWaypoint(key WaypointKey) []WorkloadInfo {
    	return ps.ambientIndex.WorkloadsForWaypoint(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)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	s := newAmbientTestServer(t, "", testNW)
    
    	assertWaypoint := func(t *testing.T, waypointNetwork string, waypointAddress string, expected ...string) {
    		t.Helper()
    		wl := sets.New(slices.Map(s.WorkloadsForWaypoint(model.WaypointKey{
    			Network:   waypointNetwork,
    			Addresses: []string{waypointAddress},
    		}), func(e model.WorkloadInfo) string {
    			return e.ResourceName()
    		})...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top