- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for BeginUpdate (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
mile("AfterUpdate") }, beginUpdate: func(_ context.Context, obj, _ runtime.Object, _ *metav1.UpdateOptions) (FinishFunc, error) { mile("BeginUpdate") return func(_ context.Context, success bool) { mile(fmt.Sprintf("FinishUpdate(%v)", success)) }, nil }, expectMilestones: []string{"BeginUpdate", "FinishUpdate(true)", "AfterUpdate", "Decorator"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/registry/certificates/certificates/storage/storage.go
// dedicated strategies. statusStore := *store statusStore.UpdateStrategy = csrregistry.StatusStrategy statusStore.ResetFieldsStrategy = csrregistry.StatusStrategy statusStore.BeginUpdate = countCSRDurationMetric(csrDurationRequested, csrDurationHonored) approvalStore := *store approvalStore.UpdateStrategy = csrregistry.ApprovalStrategy approvalStore.ResetFieldsStrategy = csrregistry.ApprovalStrategy
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 6.3K bytes - Viewed (0) -
pkg/registry/core/service/storage/storage.go
proxyTransport: proxyTransport, } store.Decorator = genericStore.defaultOnRead store.AfterDelete = genericStore.afterDelete store.BeginCreate = genericStore.beginCreate store.BeginUpdate = genericStore.beginUpdate // users can patch the status to remove the finalizer, // hence statusStore must participate on the AfterDelete // hook to release the allocated resources
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:33 UTC 2024 - 22.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go
UpdateStrategy rest.RESTUpdateStrategy // BeginUpdate is an optional hook that returns a "transaction-like" // commit/revert function which will be called at the end of the operation, // but before AfterUpdate and Decorator, indicating via the argument // whether the operation succeeded. If this returns an error, the function // is not called. Almost nobody should use this hook. BeginUpdate BeginUpdateFunc
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 23:22:44 UTC 2024 - 60.8K bytes - Viewed (0)