Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for true (0.15 sec)

  1. istioctl/pkg/describe/describe.go

    func (ingress *ingressInfo) match(gw *clientnetworking.Gateway) bool {
    	if ingress == nil || gw == nil {
    		return false
    	}
    	if gw.Spec.Selector == nil {
    		return true
    	}
    	for _, p := range ingress.pods {
    		if maps.Contains(p.GetLabels(), gw.Spec.Selector) {
    			return true
    		}
    	}
    	return false
    }
    
    func (ingress *ingressInfo) getIngressIP() string {
    	if ingress == nil || ingress.service == nil || len(ingress.pods) == 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top