Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 146 for deleteCollection (0.29 sec)

  1. 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)
  2. staging/src/k8s.io/api/apidiscovery/v2beta1/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)
  3. common-protos/k8s.io/api/apidiscovery/v2beta1/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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. pkg/apis/apidiscovery/types.go

    	SingularResource string
    	// 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
    	Verbs []string
    	// shortNames is a list of suggested short names of the resource.
    	// +listType=set
    	ShortNames []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 09 18:45:33 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apidiscovery/v2/types.go

    	// 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
    	Verbs []string `json:"verbs" protobuf:"bytes,5,opt,name=verbs"`
    	// shortNames is a list of suggested short names of the resource.
    	// +listType=set
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. 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)
  7. pkg/registry/registrytest/endpoint.go

    			if endpoint.Name != name {
    				newList = append(newList, endpoint)
    			}
    		}
    		e.Endpoints.Items = newList
    	}
    	return nil, true, nil
    }
    
    func (e *EndpointRegistry) DeleteCollection(ctx context.Context, _ rest.ValidateObjectFunc, _ *metav1.DeleteOptions, _ *metainternalversion.ListOptions) (runtime.Object, error) {
    	return nil, fmt.Errorf("unimplemented!")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 16:50:16 UTC 2019
    - 4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/apidiscovery/v2beta1/types.go

    	// 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
    	Verbs []string `json:"verbs" protobuf:"bytes,5,opt,name=verbs"`
    	// shortNames is a list of suggested short names of the resource.
    	// +listType=set
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 09 18:45:33 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top