Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for EncodeContinue (1.22 sec)

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

    	}
    }
    
    const dummyPrefix = "adapter"
    
    func encodeContinueOrDie(key string, resourceVersion int64) string {
    	token, err := storage.EncodeContinue(dummyPrefix+key, dummyPrefix, resourceVersion)
    	if err != nil {
    		panic(err)
    	}
    	return token
    }
    
    func testCheckEventType(t *testing.T, w watch.Interface, expectEventType watch.EventType) {
    	select {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 07:26:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    	// we never return a key that the client wouldn't be allowed to see
    	if hasMore {
    		// we want to start immediately after the last key
    		next, err := storage.EncodeContinue(string(lastKey)+"\x00", keyPrefix, withRev)
    		if err != nil {
    			return err
    		}
    		var remainingItemCount *int64
    		// getResp.Count counts in objects that do not match the pred.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top