Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sniHosts (0.14 sec)

  1. pilot/pkg/model/gateway.go

    	}
    	// sanitize the server hosts as it could contain hosts of form ns/host
    	sniHosts := sets.String{}
    	for _, h := range server.Hosts {
    		if strings.Contains(h, "/") {
    			parts := strings.Split(h, "/")
    			h = parts[1]
    		}
    		// do not add hosts, that have already been added
    		sniHosts.Insert(h)
    	}
    	return sets.SortedList(sniHosts)
    }
    
    // CheckDuplicates returns all of the hosts provided that are already known
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top