Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsServiceVisible (0.12 sec)

  1. pilot/pkg/model/sidecar.go

    func pickFirstVisibleNamespace(ps *PushContext, byNamespace map[string]*Service, configNamespace string) string {
    	nss := make([]string, 0, len(byNamespace))
    	for ns := range byNamespace {
    		if ps.IsServiceVisible(byNamespace[ns], configNamespace) {
    			nss = append(nss, ns)
    		}
    	}
    	if len(nss) > 0 {
    		sort.Strings(nss)
    		return nss[0]
    	}
    	return ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top