Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getProxyConnection (0.2 sec)

  1. pilot/pkg/xds/statusgen.go

    		return status.ConfigStatus_SYNCED
    	}
    	return status.ConfigStatus_STALE
    }
    
    func (sg *StatusGen) debugConfigDump(proxyID string) (model.Resources, error) {
    	conn := sg.Server.getProxyConnection(proxyID)
    	if conn == nil {
    		// This is "like" a 404.  The error is the client's.  However, this endpoint
    		// only tracks a single "shard" of connections.  The client may try another instance.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 23:30:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. pilot/pkg/xds/debug.go

    	for k, v := range proxy.WatchedResources {
    		// nolint: govet
    		v := *v
    		out.WatchedResources[k] = &v
    	}
    	return out
    }
    
    func (s *DiscoveryServer) getProxyConnection(proxyID string) *Connection {
    	for _, con := range s.Clients() {
    		if strings.Contains(con.ID(), proxyID) {
    			out := *con
    			out.proxy = cloneProxy(con.proxy)
    			return &out
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
Back to top