- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 146 for DELETECOLLECTION (0.39 sec)
-
pkg/apis/rbac/helpers_test.go
urls: nil, expected: false, policyRule: rbac.PolicyRule{}, }, { testName: "resourceNames with illegal verb", verbs: []string{"list", "watch", "create", "deletecollection"}, groups: []string{""}, resources: []string{"pod"}, names: []string{"gakki"}, urls: nil, expected: false, policyRule: rbac.PolicyRule{}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 9.2K bytes - Viewed (0) -
pkg/controller/testutil/test_utils.go
m.DeleteWaitChan <- struct{}{} } m.lock.Unlock() }() m.DeletedNodes = append(m.DeletedNodes, NewNode(id)) return nil } // DeleteCollection deletes a collection of Nodes from the fake store. func (m *FakeNodeHandler) DeleteCollection(_ context.Context, opt metav1.DeleteOptions, listOpts metav1.ListOptions) error { return nil } // Update updates a Node in the fake store.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 15.6K bytes - Viewed (0) -
tests/integration/operator/switch_cr_test.go
var err error // clean up dynamically created secret and configmaps if e := cs.Kube().CoreV1().Secrets(IstioNamespace).DeleteCollection( context.Background(), metav1.DeleteOptions{}, metav1.ListOptions{}); e != nil { err = multierror.Append(err, e) } if e := cs.Kube().CoreV1().ConfigMaps(IstioNamespace).DeleteCollection( context.Background(), metav1.DeleteOptions{}, metav1.ListOptions{}); e != nil { err = multierror.Append(err, e) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 20:33:28 UTC 2024 - 17.5K bytes - Viewed (0) -
pkg/kubelet/cm/dra/plugin/noderesources.go
// because no plugin has registered yet. We could do a DeleteCollection // to speed this up. // - Wait a bit, then sync. If all plugins have re-registered in the meantime, // we might not need to change any ResourceSlice. // // For now syncing starts immediately, with no DeleteCollection. This // can be reconsidered later. // Wait until we're able to get a Node object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 20:12:53 UTC 2024 - 16.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder_test.go
"/apis/foo-group/foo-version/namespaces/{namespace}/foos": {expectNamespaceParam: true, expectNameParam: false, expectedActions: sets.NewString("post", "list", "deletecollection")}, "/apis/foo-group/foo-version/namespaces/{namespace}/foos/{name}": {expectNamespaceParam: true, expectNameParam: true, expectedActions: sets.NewString("get", "put", "patch", "delete")},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 26.2K bytes - Viewed (0) -
cluster/gce/gci/audit_policy_test.go
at.testResources(request, kubelet, node, npd, npdSA, "update", "patch", nodeStatus, podStatus) at.testResources(request, namespaceController, "deletecollection", pods, namespaces) at.testResources(metadata, defaultSA, anonymous, npd, namespaceController, "get", "create", "update", secrets, configmaps, sysConfigmaps, tokenReviews)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 30 06:23:50 UTC 2021 - 9.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit.go
// we will track latency in annotation only when the total latency // of the given request exceeds 500ms, this is in keeping with the // traces in rest/handlers for create, delete, update, // get, list, and deletecollection. const threshold = 500 * time.Millisecond latency := ev.StageTimestamp.Time.Sub(ev.RequestReceivedTimestamp.Time) if latency <= threshold { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 8.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go
continue } // don't retry deleting the same namespace deletedNamespaces.Insert(metadata.GetNamespace()) nsCtx := genericapirequest.WithNamespace(ctx, metadata.GetNamespace()) if _, err := crClient.DeleteCollection(nsCtx, rest.ValidateAllObjectFunc, nil, nil); err != nil { deleteErrors = append(deleteErrors, err) continue } } if deleteError := utilerrors.NewAggregate(deleteErrors); deleteError != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 12.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/conversion_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 05:32:34 UTC 2023 - 47.1K bytes - Viewed (0)