- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ResourceVersionMatchNotOlderThan (0.41 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/validation/validation.go
} if match != metav1.ResourceVersionMatchExact && match != metav1.ResourceVersionMatchNotOlderThan { allErrs = append(allErrs, field.NotSupported(field.NewPath("resourceVersionMatch"), match, []string{string(metav1.ResourceVersionMatchExact), string(metav1.ResourceVersionMatchNotOlderThan), ""})) } if match == metav1.ResourceVersionMatchExact && options.ResourceVersion == "0" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 09:55:40 UTC 2023 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/validation/validation_test.go
ResourceVersionMatch: metav1.ResourceVersionMatchNotOlderThan, AllowWatchBookmarks: true, }, watchListFeatureEnabled: true, }, { name: "valid-watch-sendInitialEvents-off", opts: internalversion.ListOptions{ Watch: true, SendInitialEvents: boolPtrFn(false), ResourceVersionMatch: metav1.ResourceVersionMatchNotOlderThan, AllowWatchBookmarks: true, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 7.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/defaults_test.go
expectedObj: ListOptions{LabelSelector: labels.Everything(), FieldSelector: fields.Everything(), Watch: true, SendInitialEvents: boolPtrFn(true), ResourceVersionMatch: metav1.ResourceVersionMatchNotOlderThan}, }, { name: "defaults applied, match on RV=0", watchListFeatureEnabled: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 10:00:32 UTC 2023 - 5.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/defaults.go
} legacy := obj.ResourceVersion == "" || obj.ResourceVersion == "0" if obj.Watch && legacy { turnOnInitialEvents := true obj.SendInitialEvents = &turnOnInitialEvents obj.ResourceVersionMatch = metav1.ResourceVersionMatchNotOlderThan }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 10:00:32 UTC 2023 - 1.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go
hasLimit := opts.Limit > 0 && resourceVersion != "0" // Watch cache only supports ResourceVersionMatchNotOlderThan (default). unsupportedMatch := match != "" && match != metav1.ResourceVersionMatchNotOlderThan return consistentReadFromStorage || hasContinuation || hasLimit || unsupportedMatch
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 11:56:42 UTC 2024 - 7K bytes - Viewed (0)