Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ResourceVersionMatchExact (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		rv:          fmt.Sprintf("%d", objRV),
    		rvMatch:     metav1.ResourceVersionMatchExact,
    	}, {
    		name:        "existing key, resourceVersion=previous, resourceVersionMatch=exact",
    		key:         key,
    		pred:        storage.Everything,
    		expectedOut: []example.Pod{*prevStoredObj},
    		rv:          fmt.Sprintf("%d", prevRV),
    		rvMatch:     metav1.ResourceVersionMatchExact,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    			rv:          "200",
    			rvMatch:     metav1.ResourceVersionMatchNotOlderThan,
    			expectedRev: 0,
    		},
    		{
    			name:        "specified rev if ResourceVersionMatchExact",
    			rv:          "200",
    			rvMatch:     metav1.ResourceVersionMatchExact,
    			expectedRev: 200,
    		},
    		{
    			name:        "rev resolve to 0 if not recursive",
    			rv:          "200",
    			limit:       1,
    			expectedRev: 0,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    		{opts: storage.ListOptions{ResourceVersion: "", ResourceVersionMatch: metav1.ResourceVersionMatchExact}, expectBypass: true},
    		{opts: storage.ListOptions{ResourceVersion: "0", ResourceVersionMatch: metav1.ResourceVersionMatchExact}, expectBypass: true},
    		{opts: storage.ListOptions{ResourceVersion: "1", ResourceVersionMatch: metav1.ResourceVersionMatchExact}, expectBypass: true},
    	}
    
    	t.Run("ConsistentListFromStorage", func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
Back to top