Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for deleteCollection (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/installer_test.go

    				},
    				{
    					Name:       "cronjobs/status",
    					Namespaced: true,
    					Kind:       "CronJob",
    					Group:      "batch",
    					Version:    "v1",
    					ShortNames: []string{"cj"},
    					Verbs:      []string{"create", "delete", "deletecollection", "get", "list", "patch", "update", "watch"},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. api/discovery/api__v1.json

          "shortNames": [
            "cm"
          ],
          "singularName": "configmap",
          "storageVersionHash": "qFsyl6wFWjQ=",
          "verbs": [
            "create",
            "delete",
            "deletecollection",
            "get",
            "list",
            "patch",
            "update",
            "watch"
          ]
        },
        {
          "kind": "Endpoints",
          "name": "endpoints",
          "namespaced": true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 18:18:19 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  3. pkg/registry/batch/job/storage/storage_test.go

    		},
    		{
    			description:   "deleteCollection: no policy, v1, warning",
    			expectWarning: true,
    			deleteOptions: &metav1.DeleteOptions{},
    			listOptions:   &internalversion.ListOptions{},
    			requestInfo:   &genericapirequest.RequestInfo{APIGroup: "batch", APIVersion: "v1"},
    		},
    		{
    			description:   "deleteCollection: no policy, v2, no warning",
    			expectWarning: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml

        - statefulsets
        - statefulsets/scale
        verbs:
        - create
        - delete
        - deletecollection
        - patch
        - update
      - apiGroups:
        - autoscaling
        resources:
        - horizontalpodautoscalers
        verbs:
        - create
        - delete
        - deletecollection
        - patch
        - update
      - apiGroups:
        - batch
        resources:
        - cronjobs
        - jobs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 08:11:08 UTC 2023
    - 24.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo_test.go

    		// deletecollection verb identification
    		{"DELETE", "/api/v1/nodes", "deletecollection", "api", "", "v1", "", "nodes", "", "", []string{"nodes"}},
    		{"DELETE", "/api/v1/namespaces", "deletecollection", "api", "", "v1", "", "namespaces", "", "", []string{"namespaces"}},
    		{"DELETE", "/api/v1/namespaces/other/pods", "deletecollection", "api", "", "v1", "other", "pods", "", "", []string{"pods"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 15 12:19:21 UTC 2018
    - 11.3K bytes
    - Viewed (0)
  6. pkg/controller/namespace/deletion/namespaced_resources_deleter.go

    			return namespace, nil
    		}
    	}
    	return namespace, err
    }
    
    // deleteCollection is a helper function that will delete the collection of resources
    // it returns true if the operation was supported on the server.
    // it returns an error if the operation was supported on the server but was unable to complete.
    func (d *namespacedResourcesDeleter) deleteCollection(ctx context.Context, gvr schema.GroupVersionResource, namespace string) (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete.go

    		defer span.AddEvent("Writing http response done")
    		transformResponseObject(ctx, scope, req, w, status, outputMediaType, result)
    	}
    }
    
    // DeleteCollection returns a function that will handle a collection deletion
    func DeleteCollection(r rest.CollectionDeleter, checkBody bool, scope *RequestScope, admit admission.Interface) http.HandlerFunc {
    	return func(w http.ResponseWriter, req *http.Request) {
    		ctx := req.Context()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:32 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller_test.go

    	Resources: []apidiscoveryv2.APIResourceDiscovery{
    		{
    			Resource:         "coolfoos",
    			Scope:            apidiscoveryv2.ScopeCluster,
    			SingularResource: "coolfoo",
    			Verbs:            []string{"delete", "deletecollection", "get", "list", "patch", "create", "update", "watch"},
    			ShortNames:       []string{"foo"},
    			Categories:       []string{"cool"},
    			ResponseKind: &metav1.GroupVersionKind{
    				Group:   "stable.example.com",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    	return c.client.Delete().
    		Resource("customresourcedefinitions").
    		Name(name).
    		Body(&opts).
    		Do(ctx).
    		Error()
    }
    
    // DeleteCollection deletes a collection of objects.
    func (c *customResourceDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error {
    	var timeout time.Duration
    	if listOpts.TimeoutSeconds != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    	return c.client.Delete().
    		Resource("customresourcedefinitions").
    		Name(name).
    		Body(&opts).
    		Do(ctx).
    		Error()
    }
    
    // DeleteCollection deletes a collection of objects.
    func (c *customResourceDefinitions) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error {
    	var timeout time.Duration
    	if listOpts.TimeoutSeconds != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top