Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 212 for subresource (0.16 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller_test.go

    		Versions: []v1.CustomResourceDefinitionVersion{
    			{
    				Name:       "v1",
    				Served:     true,
    				Storage:    true,
    				Deprecated: false,
    				Subresources: &v1.CustomResourceSubresources{
    					// This CRD has a /status subresource
    					Status: &v1.CustomResourceSubresourceStatus{},
    				},
    				Schema: &v1.CustomResourceValidation{
    					OpenAPIV3Schema: &v1.JSONSchemaProps{
    						Type:       "object",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 17:10:53 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  2. plugin/pkg/auth/authorizer/node/node_authorizer.go

    	}
    
    	if attrs.GetSubresource() != "status" {
    		klog.V(2).Infof("NODE DENY: '%s' %#v", nodeName, attrs)
    		return authorizer.DecisionNoOpinion, "can only update status subresource", nil
    	}
    
    	return r.authorize(nodeName, startingType, attrs)
    }
    
    // authorizeGet authorizes "get" requests to objects of the specified type if they are related to the specified node
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    	result = &v1.CustomResourceDefinition{}
    	err = c.client.Patch(pt).
    		Resource("customresourcedefinitions").
    		Name(name).
    		SubResource(subresources...).
    		VersionedParams(&opts, scheme.ParameterCodec).
    		Body(data).
    		Do(ctx).
    		Into(result)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    	result = &v1beta1.CustomResourceDefinition{}
    	err = c.client.Patch(pt).
    		Resource("customresourcedefinitions").
    		Name(name).
    		SubResource(subresources...).
    		VersionedParams(&opts, scheme.ParameterCodec).
    		Body(data).
    		Do(ctx).
    		Into(result)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder.go

    	plural   string
    
    	namespaced bool
    }
    
    // subresource is a handy method to get subresource name. Valid inputs are:
    //
    //	input                     output
    //	""                        ""
    //	"/"                       ""
    //	"/{name}"                 ""
    //	"/{name}/scale"           "scale"
    //	"/{name}/scale/foo"       invalid input
    func subresource(path string) string {
    	parts := strings.Split(path, "/")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto

      // If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale`
      // subresource will default to the empty string.
      // +optional
      optional string labelSelectorPath = 3;
    }
    
    // CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller_test.go

    		Scope: v1.ClusterScoped,
    		Versions: []v1.CustomResourceDefinitionVersion{
    			{
    				Name:       "v1",
    				Served:     true,
    				Storage:    true,
    				Deprecated: false,
    				Subresources: &v1.CustomResourceSubresources{
    					// This CRD has a /status subresource
    					Status: &v1.CustomResourceSubresourceStatus{},
    				},
    				Schema: &v1.CustomResourceValidation{
    					// Unused by discovery
    					OpenAPIV3Schema: &v1.JSONSchemaProps{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

      optional CustomResourceValidation schema = 4;
    
      // subresources specify what subresources this version of the defined custom resource have.
      // Top-level and per-version subresources are mutually exclusive.
      // Per-version subresources must not all be set to identical values (top-level subresources should be used instead).
      // +optional
      optional CustomResourceSubresources subresources = 5;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter.go

    	// GVK, GVR, subresource
    	// Use the GVK, GVR that the matcher decided was equivalent to that of the request
    	// https://github.com/kubernetes/kubernetes/blob/90c362b3430bcbbf8f245fadbcd521dab39f1d7c/staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go#L182-L210
    	gvk := equivalentKind
    	gvr := equivalentGVR
    	subresource := attr.GetSubresource()
    
    	requestGVK := attr.GetKind()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/authorization/v1/types.go

    	// +optional
    	Resource string `json:"resource,omitempty" protobuf:"bytes,5,opt,name=resource"`
    	// Subresource is one of the existing resource types.  "" means none.
    	// +optional
    	Subresource string `json:"subresource,omitempty" protobuf:"bytes,6,opt,name=subresource"`
    	// Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top