Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_sortNFTablesTransaction (0.28 sec)

  1. pkg/proxy/nftables/helpers_test.go

    	add element ip testing service-ips { 192.168.99.22 . tcp . 80 : goto external-42NFTM6N-ns2/svc2/tcp/p80 }
    	add element ip testing service-nodeports { tcp . 3001 : goto external-42NFTM6N-ns2/svc2/tcp/p80 }
    	`)
    
    func Test_sortNFTablesTransaction(t *testing.T) {
    	output := sortNFTablesTransaction(testInput)
    	expected := strings.TrimSpace(testExpected)
    
    	diff := cmp.Diff(expected, output)
    	if diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 09:57:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top