Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for orderByCommentServiceName (0.25 sec)

  1. pkg/proxy/iptables/proxier_test.go

    					t.Errorf("got wrong error: %v (expected %q)", err, tc.error)
    				}
    			}
    		})
    	}
    }
    
    // orderByCommentServiceName is a helper function that orders two IPTables rules
    // based on the service name in their comment. (If either rule has no comment then the
    // return value is undefined.)
    func orderByCommentServiceName(rule1, rule2 *iptablestest.Rule) bool {
    	if rule1.Comment == nil || rule2.Comment == nil {
    		return false
    	}
    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