Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for w2 (0.02 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	w2, err := cacher.Watch(context.TODO(), "pods/ns", storage.ListOptions{ResourceVersion: "999", Predicate: storage.Everything})
    	if err != nil {
    		t.Fatalf("Failed to create watch: %v", err)
    	}
    	defer w2.Stop()
    
    	shouldContinue := true
    	currentRV := uint64(0)
    	for shouldContinue {
    		select {
    		case event, ok := <-w2.ResultChan():
    			if !ok {
    				shouldContinue = false
    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