Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DecodeContinue (0.37 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    	}
    
    	newItemFunc := getNewItemFunc(listObj, v)
    
    	var continueRV, withRev int64
    	var continueKey string
    	if opts.Recursive && len(opts.Predicate.Continue) > 0 {
    		continueKey, continueRV, err = storage.DecodeContinue(opts.Predicate.Continue, keyPrefix)
    		if err != nil {
    			return apierrors.NewBadRequest(fmt.Sprintf("invalid continue token: %v", err))
    		}
    		preparedKey = continueKey
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		t.Fatalf("Unable to get second page: %v", err)
    	}
    	if len(out.Continue) != 0 {
    		t.Fatalf("Unexpected continuation token set")
    	}
    	key, rv, err := storage.DecodeContinue(continueFromSecondItem, "/pods")
    	t.Logf("continue token was %d %s %v", rv, key, err)
    	expectNoDiff(t, "incorrect second page", []example.Pod{*preset[1].storedObj, *preset[2].storedObj}, out.Items)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top