Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for resultChan (0.08 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	if _, err := registry.DeleteCollection(testContext, rest.ValidateAllObjectFunc, nil, &metainternalversion.ListOptions{}); err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    
    	got, open := <-watcher.ResultChan()
    	if !open {
    		t.Errorf("Unexpected channel close")
    	} else {
    		if got.Type != "DELETED" {
    			t.Errorf("Unexpected event type: %s", got.Type)
    		}
    		gotObject := got.Object.(*example.Pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
Back to top