Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ResourceVersionMatchNotOlderThan (0.43 sec)

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

    		t.Fatalf("failed to list objects: %v", err)
    	}
    
    	expectNoDiff(t, "incorrect lists", result1, result2)
    
    	// Now also verify the  ResourceVersionMatchNotOlderThan.
    	options.ResourceVersionMatch = metav1.ResourceVersionMatchNotOlderThan
    
    	result3 := example.PodList{}
    	if err := store.GetList(ctx, "/pods", options, &result3); err != nil {
    		t.Fatalf("failed to list objects: %v", err)
    	}
    
    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/cacher/cacher.go

    	hasLimit := pred.Limit > 0 && resourceVersion != "0"
    	// Watch cache only supports ResourceVersionMatchNotOlderThan (default).
    	unsupportedMatch := match != "" && match != metav1.ResourceVersionMatchNotOlderThan
    
    	return consistentReadFromStorage || hasContinuation || hasLimit || unsupportedMatch
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    //
    // See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
    // details.
    type ResourceVersionMatch string
    
    const (
    	// ResourceVersionMatchNotOlderThan matches data at least as new as the provided
    	// resourceVersion.
    	ResourceVersionMatchNotOlderThan ResourceVersionMatch = "NotOlderThan"
    	// ResourceVersionMatchExact matches data at the exact resourceVersion
    	// provided.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (1)
Back to top