Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for one (0.13 sec)

  1. cni/pkg/nodeagent/net_test.go

    		podUID,
    		true,
    	).Return(nil)
    
    	fixture.ipsetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("2.2.2.2"),
    		ipProto,
    		podUID,
    		true,
    	).Return(nil)
    
    	// List should return one IP not in our "pod snapshot", which means we prune
    	fixture.ipsetDeps.On("listEntriesByIP",
    		"foo-v4",
    	).Return([]netip.Addr{
    		netip.MustParseAddr("2.2.2.2"),
    		netip.MustParseAddr("6.6.6.6"),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  2. cmd/net_test.go

    		{
    			ipList:       []string{"127.0.0.1", "192.168.1.106"},
    			sortedIPList: []string{"192.168.1.106", "127.0.0.1"},
    		},
    		// With a list of only one element nothing to sort.
    		{
    			ipList:       []string{"hostname"},
    			sortedIPList: []string{"hostname"},
    		},
    		// With a list of only one element nothing to sort.
    		{
    			ipList:       []string{"127.0.0.1"},
    			sortedIPList: []string{"127.0.0.1"},
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top