Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestEntryString (0.19 sec)

  1. pkg/proxy/ipvs/ipset/ipset_test.go

    		if valid != testCases[i].valid {
    			t.Errorf("case [%d]: unexpected mismatch, expect valid[%v], got valid[%v], desc: %s", i, testCases[i].valid, valid, testCases[i].entry)
    		}
    	}
    }
    
    func TestEntryString(t *testing.T) {
    	testCases := []struct {
    		name   string
    		entry  *Entry
    		expect string
    	}{
    		{
    			name: "test when SetType is HashIPPort",
    			entry: &Entry{
    				SetType:  HashIPPort,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
Back to top