- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 36 for deleteCollection (0.23 sec)
-
pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 07:34:23 UTC 2023 - 15.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder.go
routes = append(routes, b.buildRoute(root, "", "POST", "post", "create", sample).Reads(sample)) routes = append(routes, b.buildRoute(root, "", "DELETE", "deletecollection", "deletecollection", status)) routes = append(routes, b.buildRoute(root, "/{name}", "GET", "get", "read", sample)) routes = append(routes, b.buildRoute(root, "/{name}", "PUT", "put", "replace", sample).Reads(sample))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 22.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo.go
requestInfo.Name = name } } } } // if there's no name on the request and we thought it was a delete before, then the actual verb is deletecollection if len(requestInfo.Name) == 0 && requestInfo.Verb == "delete" { requestInfo.Verb = "deletecollection" } return &requestInfo, nil } type requestInfoKeyType int
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 23 13:24:29 UTC 2023 - 9.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller.go
continue } foundVersion = true verbs := metav1.Verbs([]string{"delete", "deletecollection", "get", "list", "patch", "create", "update", "watch"}) // if we're terminating we don't allow some verbs if apiextensionshelpers.IsCRDConditionTrue(crd, apiextensionsv1.Terminating) { verbs = metav1.Verbs([]string{"delete", "deletecollection", "get", "list", "watch"}) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 21 11:40:03 UTC 2024 - 12.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/rest.go
// of RESTful resources. type CollectionDeleter interface { // DeleteCollection selects all resources in the storage matching given 'listOptions' // and deletes them. The delete attempt is validated by the deleteValidation first. // If 'options' are provided, the resource will attempt to honor them or return an // invalid request error. // DeleteCollection may not be atomic - i.e. it may delete some objects and still
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 20 14:29:25 UTC 2023 - 18.6K bytes - Viewed (0) -
pkg/apis/rbac/helpers.go
// this a common bug return PolicyRule{}, fmt.Errorf("resource rule must have apiGroups: %#v", r.PolicyRule) } // if resource names are set, then the verb must not be list, watch, create, or deletecollection // since verbs are largely opaque, we don't want to accidentally prevent things like "impersonate", so // we will backlist common mistakes, not whitelist acceptable options. if len(r.PolicyRule.ResourceNames) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 23 15:11:00 UTC 2020 - 12.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/fieldselector_test.go
}, }...) } t.Run("watch", func(t *testing.T) { testWatch(ctx, t, tcs, dynamicClient) }) t.Run("list", func(t *testing.T) { testList(ctx, t, tcs, dynamicClient) }) t.Run("deleteCollection", func(t *testing.T) { testDeleteCollection(ctx, t, tcs, dynamicClient) }) } func testWatch(ctx context.Context, t *testing.T, tcs []selectableFieldTestCase, dynamicClient dynamic.Interface) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 15:53:03 UTC 2024 - 27K 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)