Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for DeleteCollection (0.19 sec)

  1. 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)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/authorization/authorizer/interfaces.go

    	// GetUser returns the user.Info object to authorize
    	GetUser() user.Info
    
    	// GetVerb returns the kube verb associated with API requests (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy),
    	// or the lowercased HTTP verb associated with non-API requests (this includes get, put, post, patch, and delete)
    	GetVerb() string
    
    	// When IsReadOnly() == true, the request has no side effects, other than
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 14:36:14 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/audit_test.go

    	ac := audit.AuditContextFrom(ctx)
    	ac.Event.Level = auditinternal.LevelMetadata
    	auditHandler := WithAudit(handler)
    	a := attributes()
    
    	// Simulate the scenario store.DeleteCollection
    	workers := 2
    	wg := &sync.WaitGroup{}
    	wg.Add(workers)
    	for i := 0; i < workers; i++ {
    		go func() {
    			defer wg.Done()
    			mutator, ok := handler.(MutationInterface)
    			require.True(t, ok)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/openapi/openapi.go

    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/kube-openapi/pkg/util"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    var verbs = util.NewTrie([]string{"get", "log", "read", "replace", "patch", "delete", "deletecollection", "watch", "connect", "proxy", "list", "create", "patch"})
    
    const (
    	extensionGVK = "x-kubernetes-group-version-kind"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 09 18:11:41 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker.go

    // contain the Name field set. Figure out if we can somehow get it for the
    // more accurate cost estimation.
    //
    // TODO(wojtek-t): Figure out how to approach DELETECOLLECTION calls.
    func (w *watchTracker) GetInterestedWatchCount(requestInfo *request.RequestInfo) int {
    	if requestInfo == nil || readOnlyVerbs.Has(requestInfo.Verb) {
    		return 0
    	}
    
    	result := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
Back to top