Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for makeProxyKey (0.2 sec)

  1. pilot/pkg/autoregistration/connections.go

    			conns = append(conns, maps.Values(connections)...)
    		}
    	}
    	return conns
    }
    
    func (m *adsConnections) Connect(conn connection) {
    	m.Lock()
    	defer m.Unlock()
    	k := makeProxyKey(conn.Proxy())
    
    	connections := m.byProxy[k]
    	if connections == nil {
    		connections = make(map[string]connection)
    		m.byProxy[k] = connections
    	}
    	connections[conn.ID()] = conn
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top