Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 139 for DeleteCollection (0.44 sec)

  1. api/openapi-spec/README.md

    are associated with a [kubernetes resource](https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources).
    Action can be one of `get`, `list`, `put`, `patch`, `post`, `delete`, `deletecollection`, `watch`, `watchlist`, `proxy`, or `connect`.
    
    
    For example:
    
    ``` json
    "paths": {
        ...
        "/api/v1/namespaces/{namespace}/pods/{name}": {
            ...
            "get": {
            ...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 15 01:29:23 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/fake/fake_example.go

    	_, err := c.Fake.
    		Invokes(testing.NewDeleteActionWithOptions(examplesResource, c.ns, name, opts), &v1.Example{})
    
    	return err
    }
    
    // DeleteCollection deletes a collection of objects.
    func (c *FakeExamples) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error {
    	action := testing.NewDeleteCollectionAction(examplesResource, c.ns, listOpts)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go

    					Namespaced: true,
    					Kind:       "Pod",
    					Verbs:      []string{"get", "list", "delete", "deletecollection", "create", "update"},
    				},
    				{
    					Name:       "services",
    					Namespaced: true,
    					Kind:       "Service",
    					Verbs:      []string{"get", "list", "delete", "deletecollection", "create", "update"},
    				},
    			},
    		},
    		{
    			GroupVersion: "apps/v1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apidiscovery/v2/generated.proto

      optional string singularResource = 4;
    
      // verbs is a list of supported API operation types (this includes
      // but is not limited to get, list, watch, create, update, patch,
      // delete, deletecollection, and proxy).
      // +listType=set
      repeated string verbs = 5;
    
      // shortNames is a list of suggested short names of the resource.
      // +listType=set
      repeated string shortNames = 6;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/fake/fake_customresourcedefinition.go

    	_, err := c.Fake.
    		Invokes(testing.NewRootDeleteActionWithOptions(customresourcedefinitionsResource, name, opts), &v1.CustomResourceDefinition{})
    	return err
    }
    
    // DeleteCollection deletes a collection of objects.
    func (c *FakeCustomResourceDefinitions) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error {
    	action := testing.NewRootDeleteCollectionAction(customresourcedefinitionsResource, listOpts)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/fake/fake_customresourcedefinition.go

    		Invokes(testing.NewRootDeleteActionWithOptions(customresourcedefinitionsResource, name, opts), &v1beta1.CustomResourceDefinition{})
    	return err
    }
    
    // DeleteCollection deletes a collection of objects.
    func (c *FakeCustomResourceDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error {
    	action := testing.NewRootDeleteCollectionAction(customresourcedefinitionsResource, listOpts)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete_test.go

    	scope := &RequestScope{
    		Namer: &mockNamer{},
    		Serializer: &fakeSerializer{
    			serializer: runtime.NewCodec(runtime.NoopEncoder{}, runtime.NoopDecoder{}),
    		},
    	}
    	handler := DeleteCollection(fakeCollectionDeleterFunc(fakeDeleterFn), false, scope, nil)
    
    	request, err := http.NewRequest("GET", "/test", nil)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top