Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for WatchList (0.15 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    	if watchListOptions, hasWatchListOptionsPrepared, watchListOptionsErr := watchlist.PrepareWatchListOptionsFromListOptions(opts); watchListOptionsErr != nil {
    		klog.Warningf("Failed preparing watchlist options for examples, falling back to the standard LIST semantics, err = %v", watchListOptionsErr)
    	} else if hasWatchListOptionsPrepared {
    		result, err := c.watchList(ctx, watchListOptions)
    		if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    	if watchListOptions, hasWatchListOptionsPrepared, watchListOptionsErr := watchlist.PrepareWatchListOptionsFromListOptions(opts); watchListOptionsErr != nil {
    		klog.Warningf("Failed preparing watchlist options for customresourcedefinitions, falling back to the standard LIST semantics, err = %v", watchListOptionsErr)
    	} else if hasWatchListOptionsPrepared {
    		result, err := c.watchList(ctx, watchListOptions)
    		if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    	if watchListOptions, hasWatchListOptionsPrepared, watchListOptionsErr := watchlist.PrepareWatchListOptionsFromListOptions(opts); watchListOptionsErr != nil {
    		klog.Warningf("Failed preparing watchlist options for customresourcedefinitions, falling back to the standard LIST semantics, err = %v", watchListOptionsErr)
    	} else if hasWatchListOptionsPrepared {
    		result, err := c.watchList(ctx, watchListOptions)
    		if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/validation/validation_test.go

    	}, {
    		name: "watch-sendInitialEvents-no-watchlist-fg-disabled",
    		opts: internalversion.ListOptions{
    			Watch:                true,
    			SendInitialEvents:    boolPtrFn(true),
    			ResourceVersionMatch: metav1.ResourceVersionMatchNotOlderThan,
    			AllowWatchBookmarks:  true,
    		},
    		expectErrors: []string{"sendInitialEvents: Forbidden: sendInitialEvents is forbidden for watch unless the WatchList feature gate is enabled"},
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics_test.go

    			initialVerb:   "LIST",
    			suggestedVerb: "WATCHLIST",
    			request: &http.Request{
    				Method: "GET",
    				URL: &url.URL{
    					RawQuery: "/api/v1/watch/pods",
    				},
    			},
    			expectedVerb: "WATCH",
    		},
    		{
    			desc:         "WATCHLIST should be transformed to WATCH",
    			initialVerb:  "WATCHLIST",
    			request:      nil,
    			expectedVerb: "WATCH",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  6. api/openapi-spec/README.md

    are associated with a [kubernetes resource](https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources).
    Action can be one of `get`, `list`, `put`, `patch`, `post`, `delete`, `deletecollection`, `watch`, `watchlist`, `proxy`, or `connect`.
    
    
    For example:
    
    ``` json
    "paths": {
        ...
        "/api/v1/namespaces/{namespace}/pods/{name}": {
            ...
            "get": {
            ...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 15 01:29:23 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/validation/validation.go

    		}
    		if !isWatchListFeatureEnabled {
    			allErrs = append(allErrs, field.Forbidden(field.NewPath("sendInitialEvents"), "sendInitialEvents is forbidden for watch unless the WatchList feature gate is enabled"))
    		}
    	}
    	if len(match) > 0 {
    		if options.SendInitialEvents == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 09:55:40 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/features/kube_features.go

    	InPlacePodVerticalScaling featuregate.Feature = "InPlacePodVerticalScaling"
    
    	// owner: @p0lyn0mial
    	// alpha: v1.27
    	//
    	// Allow the API server to stream individual items instead of chunking
    	WatchList featuregate.Feature = "WatchList"
    
    	// owner: @serathius
    	// kep: http://kep.k8s.io/2340
    	// alpha: v1.28
    	//
    	// Allow the API server to serve consistent lists from cache
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:36:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/get.go

    			scope.err(err, w, req)
    			return
    		}
    
    		metainternalversion.SetListOptionsDefaults(&opts, utilfeature.DefaultFeatureGate.Enabled(features.WatchList))
    		if errs := metainternalversionvalidation.ValidateListOptions(&opts, utilfeature.DefaultFeatureGate.Enabled(features.WatchList)); len(errs) > 0 {
    			err := errors.NewInvalid(schema.GroupKind{Group: metav1.GroupName, Kind: "ListOptions"}, "", errs)
    			scope.err(err, w, req)
    			return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:22:16 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go

    		},
    	}
    	for _, scenario := range scenarios {
    		t.Run(scenario.name, func(t *testing.T) {
    			if scenario.enableWatchList {
    				featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.WatchList, true)
    			}
    			origCtx, store, _ := testSetup(t, scenario.setupFn)
    			ctx, cancel := context.WithCancel(origCtx)
    			defer cancel()
    
    			w, err := store.watcher.Watch(ctx, "/abc", 0, scenario.requestOpts)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top