Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for memberInList (0.09 sec)

  1. pkg/apis/flowcontrol/validation/validation.go

    		return field.Invalid(fldPath, path, "wildcard can only do suffix matching")
    	}
    	return nil
    }
    
    func hasWildcard(operations []string) bool {
    	return memberInList("*", operations...)
    }
    
    func memberInList(seek string, a ...string) bool {
    	for _, ai := range a {
    		if ai == seek {
    			return true
    		}
    	}
    	return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 26.7K bytes
    - Viewed (0)
Back to top