Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 962 for subresource (0.17 sec)

  1. pkg/kubelet/server/auth.go

    	case isSubpath(requestPath, logsPath):
    		// "log" to match other log subresources (pods/log, etc)
    		attrs.Subresource = "log"
    	case isSubpath(requestPath, checkpointPath):
    		attrs.Subresource = "checkpoint"
    	}
    
    	klog.V(5).InfoS("Node request attributes", "user", attrs.GetUser().GetName(), "verb", attrs.GetVerb(), "resource", attrs.GetResource(), "subresource", attrs.GetSubresource())
    
    	return attrs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/mapper.go

    	keyFunc func(resource schema.GroupResource) string
    	// resources maps key -> subresource -> equivalent resources (subresource is not included in the returned resources).
    	// main resources are stored with subresource="".
    	resources map[string]map[string][]schema.GroupVersionResource
    	// kinds maps resource -> subresource -> kind
    	kinds map[schema.GroupVersionResource]map[string]schema.GroupVersionKind
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 18:26:06 UTC 2019
    - 3.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/managedfields/extract.go

    //
    // The provided object MUST bo a root resource object since subresource objects
    // do not contain their own managed fields. For example, an autoscaling.Scale
    // object read from a "scale" subresource does not have any managed fields and so
    // cannot be used as the object.
    //
    // If the fields of a subresource are a subset of the fields of the root object,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 03:17:15 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/fieldmanager.go

    // configurations.
    type FieldManager struct {
    	fieldManager Manager
    	subresource  string
    }
    
    // NewFieldManager creates a new FieldManager that decodes, manages, then re-encodes managedFields
    // on update and apply requests.
    func NewFieldManager(f Manager, subresource string) *FieldManager {
    	return &FieldManager{fieldManager: f, subresource: subresource}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top