Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,475 for subresource (0.18 sec)

  1. pkg/registry/core/pod/rest/subresources.go

    	"k8s.io/kubernetes/pkg/capabilities"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/kubelet/client"
    	"k8s.io/kubernetes/pkg/registry/core/pod"
    )
    
    // ProxyREST implements the proxy subresource for a Pod
    type ProxyREST struct {
    	Store          *genericregistry.Store
    	ProxyTransport http.RoundTripper
    }
    
    // Implement Connecter
    var _ = rest.Connecter(&ProxyREST{})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/buildmanagerinfo.go

    	groupVersion schema.GroupVersion
    	subresource  string
    }
    
    var _ Manager = &buildManagerInfoManager{}
    
    // NewBuildManagerInfoManager creates a new Manager that converts the manager name into a unique identifier
    // combining operation and version for update requests, and just operation for apply requests.
    func NewBuildManagerInfoManager(f Manager, gv schema.GroupVersion, subresource string) Manager {
    	return &buildManagerInfoManager{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/resource/helper.go

    func (m *Helper) WithFieldValidation(validationDirective string) *Helper {
    	m.FieldValidation = validationDirective
    	return m
    }
    
    // Subresource sets the helper to access (<resource>/[ns/<namespace>/]<name>/<subresource>)
    func (m *Helper) WithSubresource(subresource string) *Helper {
    	m.Subresource = subresource
    	return m
    }
    
    func (m *Helper) Get(namespace, name string) (runtime.Object, error) {
    	req := m.RESTClient.Get().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 26 03:45:13 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go

    	resource := requestInfo.Resource
    	subresource := requestInfo.Subresource
    	group := requestInfo.APIGroup
    	version := requestInfo.APIVersion
    
    	requestAbortsTotal.WithContext(req.Context()).WithLabelValues(reportedVerb, group, version, resource, subresource, scope).Inc()
    }
    
    // RecordDroppedRequest records that the request was rejected via http.TooManyRequests.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 35K bytes
    - Viewed (0)
  5. plugin/pkg/admission/certificates/signing/admission_test.go

    		allowedName string
    		allowed     bool
    		authzErr    error
    	}{
    		"wrong type": {
    			attributes: &testAttributes{
    				resource:    certificatesapi.Resource("certificatesigningrequests"),
    				subresource: "status",
    				oldObj:      &certificatesapi.CertificateSigningRequestList{},
    				obj:         &certificatesapi.CertificateSigningRequestList{},
    				operation:   admission.Update,
    			},
    			allowed: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 28 16:20:40 UTC 2020
    - 8.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo.go

    var specialVerbs = sets.NewString("proxy", "watch")
    
    // specialVerbsNoSubresources contains root verbs which do not allow subresources
    var specialVerbsNoSubresources = sets.NewString("proxy")
    
    // namespaceSubresources contains subresources of namespace
    // this list allows the parser to distinguish between a namespace subresource, and a namespaced resource
    var namespaceSubresources = sets.NewString("status", "finalize")
    
    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. staging/src/k8s.io/api/apidiscovery/v2/types.go

    	// subresources is a list of subresources provided by this resource. Subresources are located at /apis/<APIGroupDiscovery.objectMeta.name>/<APIVersionDiscovery.version>/<APIResourceDiscovery.Resource>/name-of-instance/<APIResourceDiscovery.subresources[i].subresource>
    	// +listType=map
    	// +listMapKey=subresource
    	Subresources []APISubresourceDiscovery `json:"subresources,omitempty" protobuf:"bytes,8,rep,name=subresources"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. pkg/kubelet/server/auth_test.go

    	}
    	testCases := []AuthzTestCase{}
    	for path, subresource := range testPaths {
    		testCases = append(testCases,
    			AuthzTestCase{"POST", path, "create", subresource},
    			AuthzTestCase{"GET", path, "get", subresource},
    			AuthzTestCase{"PUT", path, "update", subresource},
    			AuthzTestCase{"PATCH", path, "patch", subresource},
    			AuthzTestCase{"DELETE", path, "delete", subresource})
    	}
    	return testCases
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apidiscovery/v2beta1/types.go

    	// subresources is a list of subresources provided by this resource. Subresources are located at /apis/<APIGroupDiscovery.objectMeta.name>/<APIVersionDiscovery.version>/<APIResourceDiscovery.Resource>/name-of-instance/<APIResourceDiscovery.subresources[i].subresource>
    	// +listType=map
    	// +listMapKey=subresource
    	Subresources []APISubresourceDiscovery `json:"subresources,omitempty" protobuf:"bytes,8,rep,name=subresources"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 09 18:45:33 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  10. plugin/pkg/admission/alwayspullimages/admission_test.go

    		kind        string
    		resource    string
    		subresource string
    		object      runtime.Object
    		expectError bool
    	}{
    		{
    			name:     "non-pod resource",
    			kind:     "Foo",
    			resource: "foos",
    			object:   pod,
    		},
    		{
    			name:        "pod subresource",
    			kind:        "Pod",
    			resource:    "pods",
    			subresource: "exec",
    			object:      pod,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 30 22:59:57 UTC 2020
    - 8.5K bytes
    - Viewed (0)
Back to top