Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for findAllMatches (0.1 sec)

  1. pkg/proxy/iptables/proxier_test.go

    		logger.Error(err, "metrics are not registered?")
    		return -1
    	}
    	return int(numRulesFloat)
    }
    
    // findAllMatches takes an array of lines and a pattern with one parenthesized group, and
    // returns a sorted array of all of the unique matches of the parenthesized group.
    func findAllMatches(lines []string, pattern string) []string {
    	regex := regexp.MustCompile(pattern)
    	allMatches := sets.New[string]()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
Back to top