Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetAddrs (0.18 sec)

  1. pilot/test/xdstest/endpoints.go

    )
    
    type LbEpInfo struct {
    	Address string
    	// nolint: structcheck
    	Weight uint32
    }
    
    type LocLbEpInfo struct {
    	LbEps  []LbEpInfo
    	Weight uint32
    }
    
    func (i LocLbEpInfo) GetAddrs() []string {
    	addrs := make([]string, 0)
    	for _, ep := range i.LbEps {
    		addrs = append(addrs, ep.Address)
    	}
    	return addrs
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top