Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,419 for subresource1 (0.18 sec)

  1. plugin/pkg/admission/antiaffinity/admission_test.go

    // subresources, and non-pods.
    func TestOtherResources(t *testing.T) {
    	namespace := "testnamespace"
    	name := "testname"
    	pod := &api.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: namespace},
    	}
    	tests := []struct {
    		name        string
    		kind        string
    		resource    string
    		subresource string
    		object      runtime.Object
    		expectError bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/mapper_test.go

    			// register
    			for _, data := range kindsToRegister {
    				mapper.RegisterKindFor(data.gvr, data.subresource, data.gvk)
    			}
    			// verify
    			for _, data := range kindsToRegister {
    				if kind := mapper.KindFor(data.gvr, data.subresource); kind != data.gvk {
    					t.Errorf("KindFor(%#v, %v) returned %#v, expected %#v", data.gvr, data.subresource, kind, data.gvk)
    				}
    			}
    
    			// Verify equivalents to primary resource
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.yaml

        plural: pluralValue
        shortNames:
        - shortNamesValue
        singular: singularValue
      preserveUnknownFields: true
      scope: scopeValue
      selectableFields:
      - jsonPath: jsonPathValue
      subresources:
        scale:
          labelSelectorPath: labelSelectorPathValue
          specReplicasPath: specReplicasPathValue
          statusReplicasPath: statusReplicasPathValue
        status: {}
      validation:
        openAPIV3Schema:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go

    	// +optional
    	Schema *CustomResourceValidation `json:"schema,omitempty" protobuf:"bytes,4,opt,name=schema"`
    	// subresources specify what subresources this version of the defined custom resource have.
    	// +optional
    	Subresources *CustomResourceSubresources `json:"subresources,omitempty" protobuf:"bytes,5,opt,name=subresources"`
    	// additionalPrinterColumns specifies additional columns returned in Table output.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder.go

    	routes = append(routes, b.buildRoute(root, "/{name}", "PATCH", "patch", "patch", sample).Reads(patch))
    
    	subresources, err := apiextensionshelpers.GetSubresourcesForVersion(crd, version)
    	if err != nil {
    		return nil, err
    	}
    	if subresources != nil && subresources.Status != nil {
    		routes = append(routes, b.buildRoute(root, "/{name}/status", "GET", "get", "read", sample))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/apidiscovery/v2beta1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			m.Subresources = append(m.Subresources, APISubresourceDiscovery{})
    			if err := m.Subresources[len(m.Subresources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/node/node_authorizer.go

    	if rbac.RulesAllow(attrs, r.nodeRules...) {
    		return authorizer.DecisionAllow, "", nil
    	}
    	return authorizer.DecisionNoOpinion, "", nil
    }
    
    // authorizeStatusUpdate authorizes get/update/patch requests to status subresources of the specified type if they are related to the specified node
    func (r *NodeAuthorizer) authorizeStatusUpdate(nodeName string, startingType vertexType, attrs authorizer.Attributes) (authorizer.Decision, string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apidiscovery/v2/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			m.Subresources = append(m.Subresources, APISubresourceDiscovery{})
    			if err := m.Subresources[len(m.Subresources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 44.9K bytes
    - Viewed (0)
Back to top