- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ResourceVersionMatchExact (0.29 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
opts: internalversion.ListOptions{ ResourceVersion: "1", ResourceVersionMatch: metav1.ResourceVersionMatchExact, }, }, { name: "invalid-resourceversionmatch-exact", opts: internalversion.ListOptions{ ResourceVersion: "0", ResourceVersionMatch: metav1.ResourceVersionMatchExact, },
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/apiserver/pkg/storage/testing/store_tests.go
rv: fmt.Sprintf("%d", objRV), rvMatch: metav1.ResourceVersionMatchExact, }, { name: "existing key, resourceVersion=previous, resourceVersionMatch=exact", key: key, pred: storage.Everything, expectedOut: []example.Pod{*prevStoredObj}, rv: fmt.Sprintf("%d", prevRV), rvMatch: metav1.ResourceVersionMatchExact, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 91.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 26.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go
} if len(j.Finalizers) == 0 { j.Finalizers = nil } }, func(j *metav1.ResourceVersionMatch, c fuzz.Continue) { matches := []metav1.ResourceVersionMatch{"", metav1.ResourceVersionMatchExact, metav1.ResourceVersionMatchNotOlderThan} *j = matches[c.Rand.Intn(len(matches))] }, func(j *metav1.ListMeta, c fuzz.Continue) { j.ResourceVersion = strconv.FormatUint(c.RandUint64(), 10)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 15:12:26 UTC 2024 - 9.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
{opts: storage.ListOptions{ResourceVersion: "", ResourceVersionMatch: metav1.ResourceVersionMatchExact}, expectBypass: true}, {opts: storage.ListOptions{ResourceVersion: "0", ResourceVersionMatch: metav1.ResourceVersionMatchExact}, expectBypass: true}, {opts: storage.ListOptions{ResourceVersion: "1", ResourceVersionMatch: metav1.ResourceVersionMatchExact}, expectBypass: true}, } t.Run("ConsistentListFromStorage", func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go
case metav1.ResourceVersionMatchNotOlderThan: // The not older than constraint is checked after we get a response from etcd, // and returnedRV is then set to the revision we get from the etcd response. case metav1.ResourceVersionMatchExact: withRev = int64(parsedRV) case "": // legacy case if opts.Recursive && opts.Predicate.Limit > 0 && parsedRV > 0 { withRev = int64(parsedRV) } default:
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/apimachinery/pkg/apis/meta/v1/types.go
// resourceVersion. ResourceVersionMatchNotOlderThan ResourceVersionMatch = "NotOlderThan" // ResourceVersionMatchExact matches data at the exact resourceVersion // provided. ResourceVersionMatchExact ResourceVersionMatch = "Exact" ) // +k8s:conversion-gen:explicit-from=net/url.Values // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 10:52:25 UTC 2024 - 79.2K bytes - Viewed (0)