Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetComp (0.07 sec)

  1. pilot/pkg/leaderelection/leaderelection_test.go

    }
    
    type LeaderComparison func(string, *LeaderElection) bool
    
    type instance struct {
    	revision string
    	remote   bool
    	comp     string
    }
    
    func (i instance) GetComp() (LeaderComparison, string) {
    	key := i.revision
    	switch i.comp {
    	case "location":
    		if i.remote {
    			key = remoteIstiodPrefix + key
    		}
    		return LocationPrioritizedComparison, key
    	case "simple":
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top