- Sort Score
- Result 10 results
- Languages All
Results 31 - 34 of 34 for APILifecycleRemoved (0.15 sec)
-
staging/src/k8s.io/api/admission/v1beta1/zz_generated.prerelease-lifecycle.go
} // APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. func (in *AdmissionReview) APILifecycleRemoved() (major, minor int) { return 1, 22
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/deleted_kinds.go
if err != nil { utilruntime.HandleError(err) return false } removed, ok := versionedPtr.(removedInterface) if !ok { return true } majorRemoved, minorRemoved := removed.APILifecycleRemoved() return e.ShouldServeForVersion(majorRemoved, minorRemoved) } func (e *resourceExpirationEvaluator) ShouldServeForVersion(majorRemoved, minorRemoved int) bool { if e.currentMajor < majorRemoved {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 16 03:02:49 UTC 2022 - 7.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/deprecation/deprecation_test.go
major int minor int removedMajor int removedMinor int } func (f *fakeRemovedObject) APILifecycleDeprecated() (int, int) { return f.major, f.minor } func (f *fakeRemovedObject) APILifecycleRemoved() (int, int) { return f.removedMajor, f.removedMinor } type fakeReplacedObject struct { unstructured.Unstructured major int minor int replacement schema.GroupVersionKind
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 11 20:04:19 UTC 2020 - 8.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/deleted_kinds_test.go
} func (r removedInObj) GetObjectKind() schema.ObjectKind { panic("don't do this") } func (r removedInObj) DeepCopyObject() runtime.Object { panic("don't do this either") } func (r removedInObj) APILifecycleRemoved() (major, minor int) { return r.major, r.minor } func Test_resourceExpirationEvaluator_shouldServe(t *testing.T) { tests := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 9.8K bytes - Viewed (0)