- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 83 for remainingItemCount (0.38 sec)
-
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) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/meta.go
func (meta *ListMeta) SetContinue(c string) { meta.Continue = c } func (meta *ListMeta) GetRemainingItemCount() *int64 { return meta.RemainingItemCount } func (meta *ListMeta) SetRemainingItemCount(c *int64) { meta.RemainingItemCount = c } func (obj *TypeMeta) GetObjectKind() schema.ObjectKind { return obj } // SetGroupVersionKind satisfies the ObjectKind interface for all objects that embed TypeMeta
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 20:12:50 UTC 2022 - 7.7K bytes - Viewed (0) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/registry/rest/table.go
if err := fn(object); err != nil { return nil, err } } if m, err := meta.ListAccessor(object); err == nil { table.ResourceVersion = m.GetResourceVersion() table.Continue = m.GetContinue() table.RemainingItemCount = m.GetRemainingItemCount() } else { if m, err := meta.CommonAccessor(object); err == nil { table.ResourceVersion = m.GetResourceVersion() } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 14 17:25:12 UTC 2022 - 3.4K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/tableconvertor/tableconvertor.go
if !noHeaders { table.ColumnDefinitions = c.headers } if m, err := meta.ListAccessor(obj); err == nil { table.ResourceVersion = m.GetResourceVersion() table.Continue = m.GetContinue() table.RemainingItemCount = m.GetRemainingItemCount() } else { if m, err := meta.CommonAccessor(obj); err == nil { table.ResourceVersion = m.GetResourceVersion() } } var err error buf := &bytes.Buffer{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 23 20:21:32 UTC 2022 - 5.2K bytes - Viewed (0) -
pkg/printers/tablegenerator.go
Rows: results[0].Interface().([]metav1.TableRow), } if m, err := meta.ListAccessor(obj); err == nil { table.ResourceVersion = m.GetResourceVersion() table.Continue = m.GetContinue() table.RemainingItemCount = m.GetRemainingItemCount() } else { if m, err := meta.CommonAccessor(obj); err == nil { table.ResourceVersion = m.GetResourceVersion() } } return table, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 5.9K bytes - Viewed (0) -
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) -
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)