Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 76 for watchEvents (0.21 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/registration_test.go

    		}
    	}
    
    	addEvents := 0
    	for addEvents < len(instances) {
    		select {
    		case watchEvent := <-noxuNamespacedWatch.ResultChan():
    			if e, a := watch.Added, watchEvent.Type; e != a {
    				t.Fatalf("expected %v, got %v", e, a)
    			}
    			name, err := meta.NewAccessor().Name(watchEvent.Object)
    			if err != nil {
    				t.Fatalf("unable to retrieve object name:%v", err)
    			}
    			if instances[name].Added {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 11:58:05 UTC 2022
    - 15.4K bytes
    - Viewed (0)
  2. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    	statsCalculator.calcAndStoreStats()
    
    	event, err := WatchEvent(eventStore)
    	assert.Nil(t, err)
    	assert.Equal(t, fmt.Sprintf("Warning VolumeConditionAbnormal Volume %s: The target path of the volume doesn't exist", "vol0"), event)
    }
    
    func WatchEvent(eventChan <-chan string) (string, error) {
    	select {
    	case event := <-eventChan:
    		return event, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. api/openapi-spec/v3/apis__networking.k8s.io__v1_openapi.json

                "version": "v1"
              },
              {
                "group": "autoscaling",
                "kind": "WatchEvent",
                "version": "v2"
              },
              {
                "group": "autoscaling",
                "kind": "WatchEvent",
                "version": "v2beta1"
              },
              {
                "group": "autoscaling",
                "kind": "WatchEvent",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 324.8K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__storage.k8s.io__v1_openapi.json

                "version": "v1"
              },
              {
                "group": "autoscaling",
                "kind": "WatchEvent",
                "version": "v2"
              },
              {
                "group": "autoscaling",
                "kind": "WatchEvent",
                "version": "v2beta1"
              },
              {
                "group": "autoscaling",
                "kind": "WatchEvent",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 481.9K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/apis__resource.k8s.io__v1alpha2_openapi.json

                "version": "v1"
              },
              {
                "group": "autoscaling",
                "kind": "WatchEvent",
                "version": "v2"
              },
              {
                "group": "autoscaling",
                "kind": "WatchEvent",
                "version": "v2beta1"
              },
              {
                "group": "autoscaling",
                "kind": "WatchEvent",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 656.6K bytes
    - Viewed (0)
  6. api/openapi-spec/v3/apis__admissionregistration.k8s.io__v1_openapi.json

                "version": "v1"
              },
              {
                "group": "autoscaling",
                "kind": "WatchEvent",
                "version": "v2"
              },
              {
                "group": "autoscaling",
                "kind": "WatchEvent",
                "version": "v2beta1"
              },
              {
                "group": "autoscaling",
                "kind": "WatchEvent",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 388.1K bytes
    - Viewed (0)
  7. pkg/kubelet/config/file_unsupported.go

    import (
    	"fmt"
    
    	"k8s.io/klog/v2"
    )
    
    func (s *sourceFile) startWatch() {
    	klog.ErrorS(nil, "Watching source file is unsupported in this build")
    }
    
    func (s *sourceFile) consumeWatchEvent(e *watchEvent) error {
    	return fmt.Errorf("consuming watch event is unsupported in this build")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 908 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response_test.go

    			}
    		})
    	}
    }
    
    func TestWatchEncoderIdentifier(t *testing.T) {
    	eventFields := reflect.VisibleFields(reflect.TypeOf(metav1.WatchEvent{}))
    	if len(eventFields) != 2 {
    		t.Error("New field was added to metav1.WatchEvent.")
    		t.Error("  Ensure that the following places are updated accordingly:")
    		t.Error("  - watchEncoder::doEncode method when creating outEvent")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 09:07:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/resources.go

    		if err != nil {
    			return false, err
    		}
    		defer noxuWatch.Stop()
    
    		select {
    		case watchEvent := <-noxuWatch.ResultChan():
    			if watch.Error == watchEvent.Type {
    				return false, nil
    			}
    			if watch.Deleted != watchEvent.Type {
    				return false, fmt.Errorf("expected DELETE, but got %#v", watchEvent)
    			}
    		case <-time.After(5 * time.Second):
    			return false, fmt.Errorf("gave up waiting for watch event")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 02:01:40 UTC 2021
    - 21.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go

    func (in *WatchEvent) DeepCopyInto(out *WatchEvent) {
    	*out = *in
    	in.Object.DeepCopyInto(&out.Object)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatchEvent.
    func (in *WatchEvent) DeepCopy() *WatchEvent {
    	if in == nil {
    		return nil
    	}
    	out := new(WatchEvent)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:25 UTC 2023
    - 32.2K bytes
    - Viewed (0)
Back to top