Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for remainingItemCount (0.26 sec)

  1. staging/src/k8s.io/apimachinery/pkg/test/api_meta_meta_test.go

    	ResourceVersion    string                  `json:"resourceVersion,omitempty"`
    	Continue           string                  `json:"next,omitempty"`
    	RemainingItemCount *int64                  `json:"remainingItemCount,omitempty"`
    	APIVersion         string                  `json:"apiVersion,omitempty"`
    	Labels             map[string]string       `json:"labels,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 14 10:11:56 UTC 2022
    - 12.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go

    func (u *Unstructured) GetRemainingItemCount() *int64 {
    	return getNestedInt64Pointer(u.Object, "metadata", "remainingItemCount")
    }
    
    func (u *Unstructured) SetRemainingItemCount(c *int64) {
    	if c == nil {
    		RemoveNestedField(u.Object, "metadata", "remainingItemCount")
    	} else {
    		u.setNestedField(*c, "metadata", "remainingItemCount")
    	}
    }
    
    func (u *Unstructured) GetCreationTimestamp() metav1.Time {
    	var timestamp metav1.Time
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/features/kube_features.go

    	// owner: @caesarxuchao
    	// alpha: v1.15
    	// beta: v1.16
    	// stable: 1.29
    	//
    	// Allow apiservers to show a count of remaining items in the response
    	// to a chunking list request.
    	RemainingItemCount featuregate.Feature = "RemainingItemCount"
    
    	// owner: @wojtek-t
    	// beta: v1.31
    	//
    	// Enables resilient watchcache initialization to avoid controlplane
    	// overload.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:36:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/interfaces.go

    	// passes that value to the server in a subsequent call. remainingItemCount indicates the number
    	// of remaining objects if the list is partial. The remainingItemCount field is omitted during
    	// serialization if it is set to nil.
    	UpdateList(obj runtime.Object, resourceVersion uint64, continueValue string, remainingItemCount *int64) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:53:48 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    		if err != nil {
    			return err
    		}
    		var remainingItemCount *int64
    		// getResp.Count counts in objects that do not match the pred.
    		// Instead of returning inaccurate count for non-empty selectors, we return nil.
    		// Only set remainingItemCount if the predicate is empty.
    		if opts.Predicate.Empty() {
    			c := int64(getResp.Count - opts.Predicate.Limit)
    			remainingItemCount = &c
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response.go

    			list.Items = append(list.Items, *partial)
    			return nil
    		})
    		if err != nil {
    			return nil, err
    		}
    		list.ResourceVersion = li.GetResourceVersion()
    		list.Continue = li.GetContinue()
    		list.RemainingItemCount = li.GetRemainingItemCount()
    		return list, nil
    
    	case groupVersion == metav1.SchemeGroupVersion:
    		list := &metav1.PartialObjectMetadataList{}
    		err := meta.EachListItem(result, func(obj runtime.Object) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 09:07:03 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *ListMeta) DeepCopyInto(out *ListMeta) {
    	*out = *in
    	if in.RemainingItemCount != nil {
    		in, out := &in.RemainingItemCount, &out.RemainingItemCount
    		*out = new(int64)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListMeta.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:25 UTC 2023
    - 32.2K bytes
    - Viewed (0)
  8. pkg/features/kube_features.go

    	genericfeatures.MutatingAdmissionPolicy: {Default: false, PreRelease: featuregate.Alpha},
    
    	genericfeatures.OpenAPIEnums: {Default: true, PreRelease: featuregate.Beta},
    
    	genericfeatures.RemainingItemCount: {Default: true, PreRelease: featuregate.GA, LockToDefault: true},
    
    	genericfeatures.ResilientWatchCacheInitialization: {Default: true, PreRelease: featuregate.Beta},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top